1105 |
EnableDlgWindow(hDlg, IDC_CPU_MMXEXT, cpu_force); |
EnableDlgWindow(hDlg, IDC_CPU_MMXEXT, cpu_force); |
1106 |
EnableDlgWindow(hDlg, IDC_CPU_SSE, cpu_force); |
EnableDlgWindow(hDlg, IDC_CPU_SSE, cpu_force); |
1107 |
EnableDlgWindow(hDlg, IDC_CPU_SSE2, cpu_force); |
EnableDlgWindow(hDlg, IDC_CPU_SSE2, cpu_force); |
1108 |
|
EnableDlgWindow(hDlg, IDC_CPU_SSE3, cpu_force); |
1109 |
|
EnableDlgWindow(hDlg, IDC_CPU_SSE4, cpu_force); |
1110 |
EnableDlgWindow(hDlg, IDC_CPU_3DNOW, cpu_force); |
EnableDlgWindow(hDlg, IDC_CPU_3DNOW, cpu_force); |
1111 |
EnableDlgWindow(hDlg, IDC_CPU_3DNOWEXT, cpu_force); |
EnableDlgWindow(hDlg, IDC_CPU_3DNOWEXT, cpu_force); |
1112 |
break; |
break; |
1258 |
CheckDlg(hDlg, IDC_CPU_MMXEXT, (config->cpu & XVID_CPU_MMXEXT)); |
CheckDlg(hDlg, IDC_CPU_MMXEXT, (config->cpu & XVID_CPU_MMXEXT)); |
1259 |
CheckDlg(hDlg, IDC_CPU_SSE, (config->cpu & XVID_CPU_SSE)); |
CheckDlg(hDlg, IDC_CPU_SSE, (config->cpu & XVID_CPU_SSE)); |
1260 |
CheckDlg(hDlg, IDC_CPU_SSE2, (config->cpu & XVID_CPU_SSE2)); |
CheckDlg(hDlg, IDC_CPU_SSE2, (config->cpu & XVID_CPU_SSE2)); |
1261 |
|
CheckDlg(hDlg, IDC_CPU_SSE3, (config->cpu & XVID_CPU_SSE3)); |
1262 |
|
CheckDlg(hDlg, IDC_CPU_SSE4, (config->cpu & XVID_CPU_SSE41)); |
1263 |
CheckDlg(hDlg, IDC_CPU_3DNOW, (config->cpu & XVID_CPU_3DNOW)); |
CheckDlg(hDlg, IDC_CPU_3DNOW, (config->cpu & XVID_CPU_3DNOW)); |
1264 |
CheckDlg(hDlg, IDC_CPU_3DNOWEXT, (config->cpu & XVID_CPU_3DNOWEXT)); |
CheckDlg(hDlg, IDC_CPU_3DNOWEXT, (config->cpu & XVID_CPU_3DNOWEXT)); |
1265 |
|
|
1457 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_MMXEXT) ? XVID_CPU_MMXEXT : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_MMXEXT) ? XVID_CPU_MMXEXT : 0; |
1458 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE) ? XVID_CPU_SSE : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE) ? XVID_CPU_SSE : 0; |
1459 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE2) ? XVID_CPU_SSE2 : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE2) ? XVID_CPU_SSE2 : 0; |
1460 |
|
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE3) ? XVID_CPU_SSE3 : 0; |
1461 |
|
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_SSE4) ? XVID_CPU_SSE41 : 0; |
1462 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_3DNOW) ? XVID_CPU_3DNOW : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_3DNOW) ? XVID_CPU_3DNOW : 0; |
1463 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_3DNOWEXT) ? XVID_CPU_3DNOWEXT : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_3DNOWEXT) ? XVID_CPU_3DNOWEXT : 0; |
1464 |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_FORCE) ? XVID_CPU_FORCE : 0; |
config->cpu |= IsDlgChecked(hDlg, IDC_CPU_FORCE) ? XVID_CPU_FORCE : 0; |
1751 |
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_NOAPPLYNOW | PSH_NOCONTEXTHELP; |
psh.dwFlags = PSH_PROPSHEETPAGE | PSH_NOAPPLYNOW | PSH_NOCONTEXTHELP; |
1752 |
psh.hwndParent = hParent; |
psh.hwndParent = hParent; |
1753 |
psh.hInstance = g_hInst; |
psh.hInstance = g_hInst; |
1754 |
psh.pszCaption = (LPSTR) "XviD Configuration"; |
psh.pszCaption = (LPSTR) "Xvid Configuration"; |
1755 |
psh.nPages = size; |
psh.nPages = size; |
1756 |
psh.nStartPage = 0; |
psh.nStartPage = 0; |
1757 |
psh.ppsp = (LPCPROPSHEETPAGE)&psp; |
psh.ppsp = (LPCPROPSHEETPAGE)&psp; |