[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 1312, Tue Jan 20 14:11:39 2004 UTC revision 1323, Thu Jan 22 16:13:59 2004 UTC
# Line 76  Line 76 
76  HINSTANCE g_hInst;  HINSTANCE g_hInst;
77  HWND g_hTooltip;  HWND g_hTooltip;
78    
79    int pp_dy, pp_duv, pp_dr, pp_fe; /* decoder options */
80    
81  /* enumerates child windows, assigns tooltips */  /* enumerates child windows, assigns tooltips */
82  BOOL CALLBACK enum_tooltips(HWND hWnd, LPARAM lParam)  BOOL CALLBACK enum_tooltips(HWND hWnd, LPARAM lParam)
83  {  {
# Line 220  Line 222 
222          {"debug",                                       &reg.debug,                                             0x0},          {"debug",                                       &reg.debug,                                             0x0},
223          {"vop_debug",                           &reg.vop_debug,                                 0},          {"vop_debug",                           &reg.vop_debug,                                 0},
224          {"display_status",                &reg.display_status,                  1},          {"display_status",                &reg.display_status,                  1},
225    
226            /* decoder, shared with dshow */
227            {"Deblock_Y",                           &pp_dy,                                                 0},
228            {"Deblock_UV",                          &pp_duv,                                                0},
229            {"Dering",                                      &pp_dr,                                                 0},
230            {"FilmEffect",                          &pp_fe,                                                 0},
231    
232  };  };
233    
234  static const REG_STR reg_strs[] = {  static const REG_STR reg_strs[] = {
# Line 922  Line 931 
931                  CheckDlg(hDlg, IDC_VOPDEBUG, config->vop_debug);                  CheckDlg(hDlg, IDC_VOPDEBUG, config->vop_debug);
932                  CheckDlg(hDlg, IDC_DISPLAY_STATUS, config->display_status);                  CheckDlg(hDlg, IDC_DISPLAY_STATUS, config->display_status);
933                  break;                  break;
934    
935            case IDD_DEC :
936                    CheckDlg(hDlg, IDC_DEC_DY,      pp_dy);
937                    CheckDlg(hDlg, IDC_DEC_DUV,     pp_duv);
938                    CheckDlg(hDlg, IDC_DEC_DR,      pp_dr);
939                    CheckDlg(hDlg, IDC_DEC_FE,      pp_fe);
940                    break;
941          }          }
942  }  }
943    
# Line 1067  Line 1083 
1083                  config->vop_debug = IsDlgChecked(hDlg, IDC_VOPDEBUG);                  config->vop_debug = IsDlgChecked(hDlg, IDC_VOPDEBUG);
1084                  config->display_status = IsDlgChecked(hDlg, IDC_DISPLAY_STATUS);                  config->display_status = IsDlgChecked(hDlg, IDC_DISPLAY_STATUS);
1085                  break;                  break;
1086    
1087            case IDD_DEC :
1088                    pp_dy = IsDlgChecked(hDlg, IDC_DEC_DY);
1089                    pp_duv = IsDlgChecked(hDlg, IDC_DEC_DUV);
1090                    pp_dr = IsDlgChecked(hDlg, IDC_DEC_DR);
1091                    pp_fe = IsDlgChecked(hDlg, IDC_DEC_FE);
1092                    break;
1093          }          }
1094  }  }
1095    
# Line 1411  Line 1434 
1434  static const int pass1_dlgs[] = { IDD_RC_2PASS1 };  static const int pass1_dlgs[] = { IDD_RC_2PASS1 };
1435  static const int pass2_dlgs[] = { IDD_RC_2PASS2 };  static const int pass2_dlgs[] = { IDD_RC_2PASS2 };
1436  static const int zone_dlgs[] = { IDD_ZONE };  static const int zone_dlgs[] = { IDD_ZONE };
1437  static const int bitrate_dlgs[] = { IDD_CALC };  static const int decoder_dlgs[] = { IDD_DEC };
1438  static const int adv_dlgs[] = { IDD_MOTION, IDD_QUANT, IDD_DEBUG};  static const int adv_dlgs[] = { IDD_MOTION, IDD_QUANT, IDD_DEBUG};
1439    
1440    
# Line 1544  Line 1567 
1567                                  main_upload(hDlg, config);                                  main_upload(hDlg, config);
1568                                  break;                                  break;
1569    
1570                          case IDC_BITRATE_CALC :                          case IDC_DECODER :
1571                                  main_download(hDlg, config);                                  main_download(hDlg, config);
1572                                  adv_dialog(hDlg, config, bitrate_dlgs, sizeof(bitrate_dlgs)/sizeof(int));                                  adv_dialog(hDlg, config, decoder_dlgs, sizeof(decoder_dlgs)/sizeof(int));
                                 //SetDlgItemInt(hDlg, IDC_BITRATE, config->bitrate, FALSE);  
1573                                  main_mode(hDlg, config);                                  main_mode(hDlg, config);
1574                                  break;                                  break;
1575    

Legend:
Removed from v.1312  
changed lines
  Added in v.1323

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