[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 1284, Fri Dec 19 13:48:47 2003 UTC revision 1294, Sun Dec 21 16:19:41 2003 UTC
# Line 129  Line 129 
129          { "AS @ L5",           0xf5,  720, 576, 30,  4, 4860, 1620,  48600,  25, 112*16368, 16384, 8000, PROFILE_AS },          { "AS @ L5",           0xf5,  720, 576, 30,  4, 4860, 1620,  48600,  25, 112*16368, 16384, 8000, PROFILE_AS },
130    
131  #ifdef DXN_PROFILES  #ifdef DXN_PROFILES
   
132          { "DXN Handheld",          0x00,  176, 144, 15, -1,  198,   99,   1485, 100,  16*16368,    -1,  128, PROFILE_ADAPTQUANT },          { "DXN Handheld",          0x00,  176, 144, 15, -1,  198,   99,   1485, 100,  16*16368,    -1,  128, PROFILE_ADAPTQUANT },
133          { "DXN Portable NTSC", 0x00,  352, 240, 30, -1,  990,  330,   9900, 100,  64*16368,    -1,  768, PROFILE_ADAPTQUANT|PROFILE_BVOP },          { "DXN Portable NTSC", 0x00,  352, 240, 30, -1,  990,  330,   9900, 100,  64*16368,    -1,  768, PROFILE_ADAPTQUANT|PROFILE_BVOP },
134          { "DXN Portable PAL",  0x00,  352, 288, 25, -1, 1188,  396,   9900, 100,  64*16368,    -1,  768, PROFILE_ADAPTQUANT|PROFILE_BVOP },          { "DXN Portable PAL",  0x00,  352, 288, 25, -1, 1188,  396,   9900, 100,  64*16368,    -1,  768, PROFILE_ADAPTQUANT|PROFILE_BVOP },
135          { "DXN HT NTSC",           0x00,  720, 480, 30, -1, 4050, 1350,  40500, 100, 192*16368,    -1, 4000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },          { "DXN HT NTSC",           0x00,  720, 480, 30, -1, 4050, 1350,  40500, 100, 192*16368,    -1, 4000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },
136          { "DXN HT PAL",        0x00,  720, 576, 25, -1, 4860, 1620,  40500, 100, 192*16368,    -1, 4000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },          { "DXN HT PAL",        0x00,  720, 576, 25, -1, 4860, 1620,  40500, 100, 192*16368,    -1, 4000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },
137          { "DXN HDTV",          0x00, 1280, 720, 30, -1,10800, 3600, 108000, 100, 384*16368,    -1, 8000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },          { "DXN HDTV",          0x00, 1280, 720, 30, -1,10800, 3600, 108000, 100, 384*16368,    -1, 8000, PROFILE_ADAPTQUANT|PROFILE_BVOP|PROFILE_INTERLACE },
   
138  #endif  #endif
139    
140      { "(unrestricted)",    0x00,    0,   0,  0,  0,    0,    0,      0, 100,   0*16368,     0,    0, 0xffffffff },      { "(unrestricted)",    0x00,    0,   0,  0,  0,    0,    0,      0, 100,   0*16368,     0,    0, 0xffffffff },
# Line 163  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 201  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 694  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 878  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 1013  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.1284  
changed lines
  Added in v.1294

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