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

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

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

revision 838, Wed Feb 12 13:31:24 2003 UTC revision 839, Wed Feb 12 13:43:47 2003 UTC
# Line 87  Line 87 
87          {"motion_search",                       &reg.motion_search,                             6},          {"motion_search",                       &reg.motion_search,                             6},
88          {"quant_type",                          &reg.quant_type,                                0},          {"quant_type",                          &reg.quant_type,                                0},
89          {"fourcc_used",                         &reg.fourcc_used,                               0},          {"fourcc_used",                         &reg.fourcc_used,                               0},
90            {"vhq_mode",                            &reg.vhq_mode,                                  0},
91          {"max_key_interval",            &reg.max_key_interval,                  300},          {"max_key_interval",            &reg.max_key_interval,                  300},
92          {"min_key_interval",            &reg.min_key_interval,                  1},          {"min_key_interval",            &reg.min_key_interval,                  1},
93          {"lum_masking",                         &reg.lum_masking,                               0},          {"lum_masking",                         &reg.lum_masking,                               0},
# Line 642  Line 643 
643                  SendDlgItemMessage(hDlg, IDC_MOTION, CB_SETCURSEL, config->motion_search, 0);                  SendDlgItemMessage(hDlg, IDC_MOTION, CB_SETCURSEL, config->motion_search, 0);
644                  SendDlgItemMessage(hDlg, IDC_QUANTTYPE, CB_SETCURSEL, config->quant_type, 0);                  SendDlgItemMessage(hDlg, IDC_QUANTTYPE, CB_SETCURSEL, config->quant_type, 0);
645                  SendDlgItemMessage(hDlg, IDC_FOURCC, CB_SETCURSEL, config->fourcc_used, 0);                  SendDlgItemMessage(hDlg, IDC_FOURCC, CB_SETCURSEL, config->fourcc_used, 0);
646                    SendDlgItemMessage(hDlg, IDC_VHQ, CB_SETCURSEL, config->vhq_mode, 0);
647                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);                  SetDlgItemInt(hDlg, IDC_MAXKEY, config->max_key_interval, FALSE);
648                  SetDlgItemInt(hDlg, IDC_MINKEY, config->min_key_interval, FALSE);                  SetDlgItemInt(hDlg, IDC_MINKEY, config->min_key_interval, FALSE);
649                  CheckDlgButton(hDlg, IDC_LUMMASK, config->lum_masking ? BST_CHECKED : BST_UNCHECKED);                  CheckDlgButton(hDlg, IDC_LUMMASK, config->lum_masking ? BST_CHECKED : BST_UNCHECKED);
# Line 777  Line 779 
779                  config->motion_search = SendDlgItemMessage(hDlg, IDC_MOTION, CB_GETCURSEL, 0, 0);                  config->motion_search = SendDlgItemMessage(hDlg, IDC_MOTION, CB_GETCURSEL, 0, 0);
780                  config->quant_type = SendDlgItemMessage(hDlg, IDC_QUANTTYPE, CB_GETCURSEL, 0, 0);                  config->quant_type = SendDlgItemMessage(hDlg, IDC_QUANTTYPE, CB_GETCURSEL, 0, 0);
781                  config->fourcc_used = SendDlgItemMessage(hDlg, IDC_FOURCC, CB_GETCURSEL, 0, 0);                  config->fourcc_used = SendDlgItemMessage(hDlg, IDC_FOURCC, CB_GETCURSEL, 0, 0);
782                    config->vhq_mode = SendDlgItemMessage(hDlg, IDC_VHQ, CB_GETCURSEL, 0, 0);
783                  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);
784                  config->min_key_interval = config_get_uint(hDlg, IDC_MINKEY, config->min_key_interval);                  config->min_key_interval = config_get_uint(hDlg, IDC_MINKEY, config->min_key_interval);
785                  config->lum_masking = ISDLGSET(IDC_LUMMASK);                  config->lum_masking = ISDLGSET(IDC_LUMMASK);
# Line 1273  Line 1276 
1276                          SendDlgItemMessage(hDlg, IDC_FOURCC, CB_ADDSTRING, 0, (LPARAM)"DIVX");                          SendDlgItemMessage(hDlg, IDC_FOURCC, CB_ADDSTRING, 0, (LPARAM)"DIVX");
1277                          SendDlgItemMessage(hDlg, IDC_FOURCC, CB_ADDSTRING, 0, (LPARAM)"DX50");                          SendDlgItemMessage(hDlg, IDC_FOURCC, CB_ADDSTRING, 0, (LPARAM)"DX50");
1278    
1279                            SendDlgItemMessage(hDlg, IDC_VHQ, CB_ADDSTRING, 0, (LPARAM)"0 - Off");
1280                            SendDlgItemMessage(hDlg, IDC_VHQ, CB_ADDSTRING, 0, (LPARAM)"1 - Mode Decision");
1281                            SendDlgItemMessage(hDlg, IDC_VHQ, CB_ADDSTRING, 0, (LPARAM)"2 - Limited Search");
1282                            SendDlgItemMessage(hDlg, IDC_VHQ, CB_ADDSTRING, 0, (LPARAM)"3 - Medium Search");
1283                            SendDlgItemMessage(hDlg, IDC_VHQ, CB_ADDSTRING, 0, (LPARAM)"4 - Wide Search");
1284                          /* XXX: reduced resolution is not ready for prime-time */                          /* XXX: reduced resolution is not ready for prime-time */
1285                          ShowWindow(GetDlgItem(hDlg, IDC_REDUCED), SW_HIDE);                          ShowWindow(GetDlgItem(hDlg, IDC_REDUCED), SW_HIDE);
1286                  }                  }

Legend:
Removed from v.838  
changed lines
  Added in v.839

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