fix OSD size in certain modes

This commit is contained in:
marqs 2019-10-08 01:08:18 +03:00
parent ba4614a4f8
commit 3771d5cb14
3 changed files with 6395 additions and 6393 deletions

View File

@ -218,7 +218,7 @@ set_global_assignment -name ENABLE_SIGNALTAP OFF
set_global_assignment -name USE_SIGNALTAP_FILE output_files/ossc_la.stp
set_global_assignment -name FITTER_EFFORT "AUTO FIT"
set_global_assignment -name SEED 4
set_global_assignment -name SEED 2

File diff suppressed because it is too large Load Diff

View File

@ -657,7 +657,7 @@ void program_mode()
osd_x_size = (video_modes[cm.id].v_active > 700) ? 1 : 0;
osd_y_size = osd_x_size;
} else {
osd_x_size = 1 - cm.tx_pixelrep;
osd_x_size = 1 - cm.tx_pixelrep + (cm.fpga_hmultmode == FPGA_H_MULTMODE_OPTIMIZED_1X);
osd_y_size = 0;
}
osd->osd_config.x_size = osd_x_size;