96 |
{"packed", ®.packed, 0}, |
{"packed", ®.packed, 0}, |
97 |
{"dx50bvop", ®.dx50bvop, 0}, |
{"dx50bvop", ®.dx50bvop, 0}, |
98 |
{"debug", ®.debug, 0}, |
{"debug", ®.debug, 0}, |
99 |
|
{"frame_drop_ratio", ®.frame_drop_ratio, 0}, |
100 |
#endif |
#endif |
101 |
|
|
102 |
{"min_iquant", ®.min_iquant, 1}, |
{"min_iquant", ®.min_iquant, 1}, |
718 |
SetDlgItemInt(hDlg, IDC_NUMTHREADS, config->num_threads, FALSE); |
SetDlgItemInt(hDlg, IDC_NUMTHREADS, config->num_threads, FALSE); |
719 |
#endif |
#endif |
720 |
|
|
721 |
|
#ifdef BFRAMES |
722 |
|
SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE); |
723 |
|
#endif |
724 |
|
|
725 |
SetDlgItemInt(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor, FALSE); |
SetDlgItemInt(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor, FALSE); |
726 |
SetDlgItemInt(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period, FALSE); |
SetDlgItemInt(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period, FALSE); |
727 |
SetDlgItemInt(hDlg, IDC_CBR_BUFFER, config->rc_buffer, FALSE); |
SetDlgItemInt(hDlg, IDC_CBR_BUFFER, config->rc_buffer, FALSE); |
870 |
#ifdef _SMP |
#ifdef _SMP |
871 |
config->num_threads = config_get_uint(hDlg, IDC_NUMTHREADS, config->num_threads); |
config->num_threads = config_get_uint(hDlg, IDC_NUMTHREADS, config->num_threads); |
872 |
#endif |
#endif |
873 |
|
#ifdef BFRAMES |
874 |
|
config->frame_drop_ratio = config_get_uint(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio); |
875 |
|
#endif |
876 |
|
|
877 |
config->rc_reaction_delay_factor = config_get_uint(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor); |
config->rc_reaction_delay_factor = config_get_uint(hDlg, IDC_CBR_REACTIONDELAY, config->rc_reaction_delay_factor); |
878 |
config->rc_averaging_period = config_get_uint(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period); |
config->rc_averaging_period = config_get_uint(hDlg, IDC_CBR_AVERAGINGPERIOD, config->rc_averaging_period); |
1108 |
SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"Medium"); |
SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"Medium"); |
1109 |
SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"High"); |
SendDlgItemMessage(hDlg, IDC_CURVETYPE, CB_ADDSTRING, 0, (LPARAM)"High"); |
1110 |
} |
} |
|
#ifndef _SMP |
|
1111 |
else if (psi->page == DLG_CPU) |
else if (psi->page == DLG_CPU) |
1112 |
{ |
{ |
1113 |
|
#ifndef _SMP |
1114 |
|
|
1115 |
EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS_STATIC), FALSE); |
EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS_STATIC), FALSE); |
1116 |
EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS), FALSE); |
EnableWindow(GetDlgItem(hDlg, IDC_NUMTHREADS), FALSE); |
|
} |
|
1117 |
#endif |
#endif |
1118 |
|
#ifndef BFRAMES |
1119 |
|
EnableWindow(GetDlgItem(hDlg, IDC_FRAMEDROP_STATIC), FALSE); |
1120 |
|
EnableWindow(GetDlgItem(hDlg, IDC_FRAMEDROP), FALSE); |
1121 |
|
#endif |
1122 |
|
} |
1123 |
|
|
1124 |
if (hTooltip) |
if (hTooltip) |
1125 |
{ |
{ |