[svn] / branches / dev-api-4 / xvidcore / vfw / src / config.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/config.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1203, Tue Nov 11 16:25:39 2003 UTC revision 1242, Fri Dec 5 14:44:35 2003 UTC
# Line 180  Line 180 
180      /* 2pass2 */      /* 2pass2 */
181          {"keyframe_boost",                      &reg.keyframe_boost,                    0},          {"keyframe_boost",                      &reg.keyframe_boost,                    0},
182          {"kfreduction",                         &reg.kfreduction,                               20},          {"kfreduction",                         &reg.kfreduction,                               20},
183            {"kfthreshold",                         &reg.kfthreshold,                               1},
184          {"curve_compression_high",      &reg.curve_compression_high,    0},          {"curve_compression_high",      &reg.curve_compression_high,    0},
185          {"curve_compression_low",       &reg.curve_compression_low,             0},          {"curve_compression_low",       &reg.curve_compression_low,             0},
186          {"overflow_control_strength", &reg.overflow_control_strength, 10},          {"overflow_control_strength", &reg.overflow_control_strength, 10},
# Line 192  Line 193 
193      {"chromame",                                &reg.chromame,                                  0},      {"chromame",                                &reg.chromame,                                  0},
194      {"cartoon_mode",                    &reg.cartoon_mode,                              0},      {"cartoon_mode",                    &reg.cartoon_mode,                              0},
195          {"max_key_interval",            &reg.max_key_interval,                  300},          {"max_key_interval",            &reg.max_key_interval,                  300},
         {"min_key_interval",            &reg.min_key_interval,                  1},  
196          {"frame_drop_ratio",            &reg.frame_drop_ratio,                  0},          {"frame_drop_ratio",            &reg.frame_drop_ratio,                  0},
197    
198      /* quant */      /* quant */
# Line 797  Line 797 
797    
798                  SetDlgItemInt(hDlg, IDC_CURVECOMPH, config->curve_compression_high, FALSE);                  SetDlgItemInt(hDlg, IDC_CURVECOMPH, config->curve_compression_high, FALSE);
799                  SetDlgItemInt(hDlg, IDC_CURVECOMPL, config->curve_compression_low, FALSE);                  SetDlgItemInt(hDlg, IDC_CURVECOMPL, config->curve_compression_low, FALSE);
800                    SetDlgItemInt(hDlg, IDC_MINKEY, config->kfthreshold, FALSE);
801                  break;                  break;
802    
803      case IDD_ZONE :      case IDD_ZONE :
# Line 822  Line 823 
823          CheckDlg(hDlg, IDC_CARTOON, config->cartoon_mode);          CheckDlg(hDlg, IDC_CARTOON, config->cartoon_mode);
824                  SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE);                  SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE);
825                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);
                 SetDlgItemInt(hDlg, IDC_MINKEY, config->min_key_interval, FALSE);  
826          break;          break;
827    
828          case IDD_QUANT :          case IDD_QUANT :
# Line 917  Line 917 
917                  CONSTRAINVAL(config->curve_compression_high, 0, 100);                  CONSTRAINVAL(config->curve_compression_high, 0, 100);
918                  CONSTRAINVAL(config->curve_compression_low, 0, 100);                  CONSTRAINVAL(config->curve_compression_low, 0, 100);
919    
920                    config->kfthreshold = config_get_uint(hDlg, IDC_MINKEY, config->kfthreshold);
921    
922                  break;                  break;
923    
924      case IDD_ZONE :      case IDD_ZONE :
# Line 947  Line 949 
949          config->frame_drop_ratio = config_get_uint(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio);          config->frame_drop_ratio = config_get_uint(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio);
950    
951                  config->max_key_interval = config_get_uint(hDlg, IDC_MAXKEY, config->max_key_interval);                  config->max_key_interval = config_get_uint(hDlg, IDC_MAXKEY, config->max_key_interval);
                 config->min_key_interval = config_get_uint(hDlg, IDC_MINKEY, config->min_key_interval);  
952                  break;                  break;
953    
954          case IDD_QUANT :          case IDD_QUANT :
# Line 1437  Line 1438 
1438              case IDC_BITRATE_CALC :              case IDC_BITRATE_CALC :
1439                  main_download(hDlg, config);                  main_download(hDlg, config);
1440                  adv_dialog(hDlg, config, bitrate_dlgs, sizeof(bitrate_dlgs)/sizeof(int));                  adv_dialog(hDlg, config, bitrate_dlgs, sizeof(bitrate_dlgs)/sizeof(int));
1441                  SetDlgItemInt(hDlg, IDC_BITRATE, config->bitrate, FALSE);                  //SetDlgItemInt(hDlg, IDC_BITRATE, config->bitrate, FALSE);
1442                  main_mode(hDlg, config);                  main_mode(hDlg, config);
1443                  break;                  break;
1444    

Legend:
Removed from v.1203  
changed lines
  Added in v.1242

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4