[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 1286, Sat Dec 20 15:30:03 2003 UTC revision 1294, Sun Dec 21 16:19:41 2003 UTC
# Line 161  Line 161 
161          {"qpel",                                        &reg.qpel,                                              0},          {"qpel",                                        &reg.qpel,                                              0},
162          {"gmc",                                         &reg.gmc,                                               0},          {"gmc",                                         &reg.gmc,                                               0},
163          {"reduced_resolution",          &reg.reduced_resolution,                0},          {"reduced_resolution",          &reg.reduced_resolution,                0},
164      {"use_bvop",                                &reg.use_bvop,                          0},      {"use_bvop",                                &reg.use_bvop,                          1},
165          {"max_bframes",                         &reg.max_bframes,                               2},          {"max_bframes",                         &reg.max_bframes,                               2},
166          {"bquant_ratio",                        &reg.bquant_ratio,                              150},   /* 100-base float */          {"bquant_ratio",                        &reg.bquant_ratio,                              150},   /* 100-base float */
167          {"bquant_offset",                       &reg.bquant_offset,                             100},   /* 100-base float */          {"bquant_offset",                       &reg.bquant_offset,                             100},   /* 100-base float */
168          {"packed",                                      &reg.packed,                                    0},          {"packed",                                      &reg.packed,                                    1},
169          {"closed_gov",                          &reg.closed_gov,                                1},          {"closed_gov",                          &reg.closed_gov,                                1},
170    
171          /* aspect ratio */          /* aspect ratio */
# Line 199  Line 199 
199    
200      /* motion */      /* motion */
201      {"motion_search",                   &reg.motion_search,                             6},      {"motion_search",                   &reg.motion_search,                             6},
202          {"vhq_mode",                            &reg.vhq_mode,                                  0},          {"vhq_mode",                            &reg.vhq_mode,                                  1},
203      {"chromame",                                &reg.chromame,                                  0},      {"chromame",                                &reg.chromame,                                  1},
204      {"cartoon_mode",                    &reg.cartoon_mode,                              0},      {"cartoon_mode",                    &reg.cartoon_mode,                              0},
205            {"turbo",                                       &reg.turbo,                                             0},
206          {"max_key_interval",            &reg.max_key_interval,                  300},          {"max_key_interval",            &reg.max_key_interval,                  300},
207          {"frame_drop_ratio",            &reg.frame_drop_ratio,                  0},          {"frame_drop_ratio",            &reg.frame_drop_ratio,                  0},
208    
# Line 692  Line 693 
693      int weight_en, quant_en;      int weight_en, quant_en;
694      int cpu_force;      int cpu_force;
695      int custom_quant, bvops;      int custom_quant, bvops;
696          int ar_mode, ar_par, ar_select;          int ar_mode, ar_par;
697    
698      switch(idd) {      switch(idd) {
699      case IDD_PROFILE :      case IDD_PROFILE :
# Line 876  Line 877 
877                  SendDlgItemMessage(hDlg, IDC_VHQ, CB_SETCURSEL, config->vhq_mode, 0);                  SendDlgItemMessage(hDlg, IDC_VHQ, CB_SETCURSEL, config->vhq_mode, 0);
878          CheckDlg(hDlg, IDC_CHROMAME, config->chromame);          CheckDlg(hDlg, IDC_CHROMAME, config->chromame);
879          CheckDlg(hDlg, IDC_CARTOON, config->cartoon_mode);          CheckDlg(hDlg, IDC_CARTOON, config->cartoon_mode);
880            CheckDlg(hDlg, IDC_TURBO, config->turbo);
881                  SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE);                  SetDlgItemInt(hDlg, IDC_FRAMEDROP, config->frame_drop_ratio, FALSE);
882                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);
883          break;          break;
# Line 1011  Line 1013 
1013                  config->vhq_mode = SendDlgItemMessage(hDlg, IDC_VHQ, CB_GETCURSEL, 0, 0);                  config->vhq_mode = SendDlgItemMessage(hDlg, IDC_VHQ, CB_GETCURSEL, 0, 0);
1014                  config->chromame = IsDlgChecked(hDlg, IDC_CHROMAME);                  config->chromame = IsDlgChecked(hDlg, IDC_CHROMAME);
1015                  config->cartoon_mode = IsDlgChecked(hDlg, IDC_CARTOON);                  config->cartoon_mode = IsDlgChecked(hDlg, IDC_CARTOON);
1016                    config->turbo = IsDlgChecked(hDlg, IDC_TURBO);
1017    
1018          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);
1019    

Legend:
Removed from v.1286  
changed lines
  Added in v.1294

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