Line | Code | Value | Export IDENTIFIER |
48 | if(AfxGetApp()->GetProfileBinary(_T("Capture\\") + CString(DisplayName), _T("MediaType"), &pData, &len)) | Capture\\ | |
| | MediaType | |
59 | if(AfxGetApp()->GetProfileBinary(_T("Capture\\") + CString(DisplayName), _T("Format"), &pData, &len)) | Capture\\ | |
| | Format | |
77 | AfxGetApp()->WriteProfileBinary(_T("Capture\\") + CString(DisplayName), _T("MediaType"), (BYTE*)pmt, sizeof(AM_MEDIA_TYPE)); | Capture\\ | |
| | MediaType | |
78 | AfxGetApp()->WriteProfileBinary(_T("Capture\\") + CString(DisplayName), _T("Format"), pmt->pbFormat, pmt->cbFormat); | Capture\\ | |
| | Format | |
88 | CString DisplayName = AfxGetApp()->GetProfileString(_T("Capture\\") + CStringFromGUID(cat), _T("DisplayName")); | Capture\\ | |
| | DisplayName | |
112 | AfxGetApp()->WriteProfileString(_T("Capture\\") + guid, NULL, NULL); | Capture\\ | |
121 | AfxGetApp()->WriteProfileString(_T("Capture\\") + guid, _T("DisplayName"), CString(codec.DisplayName)); | Capture\\ | |
| | DisplayName | |
395 | box.SetItemData(box.AddString(_T("Uncompressed")), (DWORD_PTR)-1); | Uncompressed | |
420 | if(FAILED(pPB->Read(CComBSTR(_T("FriendlyName")), &var, NULL))) | FriendlyName | |
427 | c.FriendlyName = _T("(DMO) ") + c.FriendlyName; | (DMO) | |
429 | c.FriendlyName = _T("(DS) ") + c.FriendlyName; | (DS) | |
431 | c.FriendlyName = _T("(VfW) ") + c.FriendlyName; | (VfW) | |
589 | AfxGetApp()->WriteProfileInt(_T("Capture\\") + CString(m_VidDisplayName), _T("Channel"), lChannel); | Capture\\ | |
| | Channel | |
649 | _stscanf(fps, _T("%f"), &ffps); | %f | |
777 | fps.Format(_T("%.4f"), (float)(10000000.0 / ((VIDEOINFOHEADER*)pmt->pbFormat)->AvgTimePerFrame)); | %.4f | |
872 | m_recordbtn.SetWindowText(_T("Record")); | Record | |
887 | m_recordbtn.SetWindowText(_T("Stop")); | Stop | |
916 | case PhysConn_Video_Tuner: str = _T("Tuner"); break; | Tuner | |
917 | case PhysConn_Video_Composite: str = _T("Composite"); break; | Composite | |
918 | case PhysConn_Video_SVideo: str = _T("SVideo"); break; | SVideo | |
919 | case PhysConn_Video_RGB: str = _T("RGB"); break; | RGB | |
920 | case PhysConn_Video_YRYBY: str = _T("YRYBY"); break; | YRYBY | |
921 | case PhysConn_Video_SerialDigital: str = _T("SerialDigital"); break; | SerialDigital | |
922 | case PhysConn_Video_ParallelDigital: str = _T("ParallelDigital"); break; | ParallelDigital | |
923 | case PhysConn_Video_SCSI: str = _T("SCSI"); break; | SCSI | |
924 | case PhysConn_Video_AUX: str = _T("AUX"); break; | AUX | |
926 | case PhysConn_Video_USB: str = _T("USB"); break; | USB | |
927 | case PhysConn_Video_VideoDecoder: str = _T("VideoDecoder"); break; | VideoDecoder | |
928 | case PhysConn_Video_VideoEncoder: str = _T("VideoEncoder"); break; | VideoEncoder | |
929 | case PhysConn_Video_SCART: str = _T("SCART"); break; | SCART | |
930 | default: str.Format(_T("PhysicalType %d"), PhysicalType); break; | PhysicalType %d | |
1019 | m_vidinput.SetItemData(m_vidinput.AddString(_T("Source")), (DWORD_PTR)VfwCaptureDialog_Source); | Source | |
1021 | m_vidinput.SetItemData(m_vidinput.AddString(_T("Format")), (DWORD_PTR)VfwCaptureDialog_Format); | Format | |
1023 | m_vidinput.SetItemData(m_vidinput.AddString(_T("Display")), (DWORD_PTR)VfwCaptureDialog_Display); | Display | |
1253 | m_fEnableOgm = IsCLSIDRegistered(_T("{8cae96b7-85b1-4605-b23c-17ff5262b296}")); | {8cae96b7-85b1-4605-b23c-17ff5262b296} | |
1255 | m_nVidBuffers = AfxGetApp()->GetProfileInt(_T("Capture"), _T("VidBuffers"), 50); | Capture | |
| | VidBuffers | |
1256 | m_nAudBuffers = AfxGetApp()->GetProfileInt(_T("Capture"), _T("AudBuffers"), 50); | Capture | |
| | AudBuffers | |
1257 | m_fVidOutput = !!AfxGetApp()->GetProfileInt(_T("Capture"), _T("VidOutput"), TRUE); | Capture | |
| | VidOutput | |
1258 | m_fAudOutput = !!AfxGetApp()->GetProfileInt(_T("Capture"), _T("AudOutput"), TRUE); | Capture | |
| | AudOutput | |
1259 | m_fVidPreview = AfxGetApp()->GetProfileInt(_T("Capture"), _T("VidPreview"), TRUE); | Capture | |
| | VidPreview | |
1260 | m_fAudPreview = AfxGetApp()->GetProfileInt(_T("Capture"), _T("AudPreview"), TRUE); | Capture | |
| | AudPreview | |
1261 | m_muxtype = AfxGetApp()->GetProfileInt(_T("Capture"), _T("FileFormat"), 0); | Capture | |
| | FileFormat | |
1262 | m_file = AfxGetApp()->GetProfileString(_T("Capture"), _T("FileName"), _T("")); | Capture | |
| | FileName | |
1263 | m_fSepAudio = AfxGetApp()->GetProfileInt(_T("Capture"), _T("SepAudio"), TRUE); | Capture | |
| | SepAudio | |
1265 | m_muxctrl.AddString(_T("AVI")); | AVI | |
1266 | m_muxctrl.AddString(_T("Ogg Media")); | Ogg Media | |
1267 | m_muxctrl.AddString(_T("Matroska")); | Matroska | |
1268 | m_muxctrl.AddString(_T("DirectShow Media")); | DirectShow Media | |
1284 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("VidOutput"), m_fVidOutput); | Capture | |
| | VidOutput | |
1285 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("AudOutput"), m_fAudOutput); | Capture | |
| | AudOutput | |
1286 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("VidPreview"), m_fVidPreview); | Capture | |
| | VidPreview | |
1287 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("AudPreview"), m_fAudPreview); | Capture | |
| | AudPreview | |
1288 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("FileFormat"), m_muxtype); | Capture | |
| | FileFormat | |
1289 | AfxGetApp()->WriteProfileString(_T("Capture"), _T("FileName"), m_file); | Capture | |
| | FileName | |
1290 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("SepAudio"), m_fSepAudio); | Capture | |
| | SepAudio | |
1377 | fps.Format(_T("%.4f"), (float)(10000000.0 / ((VIDEOINFOHEADER*)pvfe->mt.pbFormat)->AvgTimePerFrame)); | %.4f | |
1477 | _T("Media files (*.avi,*.ogm,*.mkv,*.dsm)|*.avi;*.ogm;*.mkv;*.dsm|"), this, 0); | Media files (*.avi,*.ogm,*.mkv,*.dsm)|*.avi;*.ogm;*.mkv;*.dsm| | |
1484 | if(ext == _T("avi")) m_muxtype = 0; | avi | |
1485 | else if(ext == _T("ogm")) m_muxtype = 1; | ogm | |
1486 | else if(ext == _T("mkv")) m_muxtype = 2; | mkv | |
1487 | else if(ext == _T("dsm")) m_muxtype = 3; | dsm | |
1490 | if(m_muxtype == 0) str += _T(".avi"); | .avi | |
1491 | else if(m_muxtype == 1) str += _T(".ogm"); | .ogm | |
1492 | else if(m_muxtype == 2) str += _T(".mkv"); | .mkv | |
1493 | else if(m_muxtype == 3) str += _T(".dsm"); | .dsm | |
1531 | AfxMessageBox(_T("Error initializing the output file")); | Error initializing the output file | |
1538 | audfn += _T("wav"); | wav | |
1556 | AfxMessageBox(_T("Error initializing the audio output file")); | Error initializing the audio output file | |
1582 | if(FILE* f = _tfopen(m_file, _T("rb+"))) | rb+ | |
1601 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("VidBuffers"), max(m_nVidBuffers, 0)); | Capture | |
| | VidBuffers | |
1607 | AfxGetApp()->WriteProfileInt(_T("Capture"), _T("AudBuffers"), max(m_nAudBuffers, 0)); | Capture | |
| | AudBuffers | |
1645 | if(m_muxtype == 0 && ext != _T("avi")) | avi | |
1646 | m_file = m_file.Left(m_file.GetLength()-4) + _T(".avi"); | .avi | |
1647 | else if(m_muxtype == 1 && ext != _T("ogm")) | ogm | |
1648 | m_file = m_file.Left(m_file.GetLength()-4) + _T(".ogm"); | .ogm | |
1649 | else if(m_muxtype == 2 && ext != _T("mkv")) | mkv | |
1650 | m_file = m_file.Left(m_file.GetLength()-4) + _T(".mkv"); | .mkv | |
1651 | else if(m_muxtype == 3 && ext != _T("dsm")) | dsm | |
1652 | m_file = m_file.Left(m_file.GetLength()-4) + _T(".dsm"); | .dsm | |
| | | |