Searched refs:mediaTypeIn (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/videoio/src/ |
D | cap_msmf.cpp | 4245 _ComPtr<IMFMediaType> mediaTypeIn; in InitializeSinkWriter() local 4300 hr = MFCreateMediaType(&mediaTypeIn); in InitializeSinkWriter() 4304 hr = mediaTypeIn->SetGUID(MF_MT_MAJOR_TYPE, MFMediaType_Video); in InitializeSinkWriter() 4308 hr = mediaTypeIn->SetGUID(MF_MT_SUBTYPE, inputFormat); in InitializeSinkWriter() 4312 hr = mediaTypeIn->SetUINT32(MF_MT_INTERLACE_MODE, MFVideoInterlace_Progressive); in InitializeSinkWriter() 4316 hr = MFSetAttributeSize(mediaTypeIn.Get(), MF_MT_FRAME_SIZE, videoWidth, videoHeight); in InitializeSinkWriter() 4320 hr = MFSetAttributeRatio(mediaTypeIn.Get(), MF_MT_FRAME_RATE, (UINT32)fps, 1); in InitializeSinkWriter() 4324 hr = MFSetAttributeRatio(mediaTypeIn.Get(), MF_MT_PIXEL_ASPECT_RATIO, 1, 1); in InitializeSinkWriter() 4329 hr = sinkWriter->SetInputMediaType(streamIndex, mediaTypeIn.Get(), NULL); in InitializeSinkWriter()
|