Searched refs:mediaTypeOut (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/videoio/src/ |
D | cap_msmf.cpp | 4244 _ComPtr<IMFMediaType> mediaTypeOut; in InitializeSinkWriter() local 4261 hr = MFCreateMediaType(&mediaTypeOut); in InitializeSinkWriter() 4265 hr = mediaTypeOut->SetGUID(MF_MT_MAJOR_TYPE, MFMediaType_Video); in InitializeSinkWriter() 4269 hr = mediaTypeOut->SetGUID(MF_MT_SUBTYPE, encodingFormat); in InitializeSinkWriter() 4273 hr = mediaTypeOut->SetUINT32(MF_MT_AVG_BITRATE, bitRate); in InitializeSinkWriter() 4277 hr = mediaTypeOut->SetUINT32(MF_MT_INTERLACE_MODE, MFVideoInterlace_Progressive); in InitializeSinkWriter() 4281 hr = MFSetAttributeSize(mediaTypeOut.Get(), MF_MT_FRAME_SIZE, videoWidth, videoHeight); in InitializeSinkWriter() 4285 hr = MFSetAttributeRatio(mediaTypeOut.Get(), MF_MT_FRAME_RATE, (UINT32)fps, 1); in InitializeSinkWriter() 4289 hr = MFSetAttributeRatio(mediaTypeOut.Get(), MF_MT_PIXEL_ASPECT_RATIO, 1, 1); in InitializeSinkWriter() 4294 hr = sinkWriter->AddStream(mediaTypeOut.Get(), &streamIndex); in InitializeSinkWriter()
|