Home
last modified time | relevance | path

Searched refs:CHECK_HR (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/videoio/src/
Dcap_msmf.cpp1199 #define CHECK_HR(x) if (FAILED(x)) { goto done; } macro
1297 CHECK_HR(hr = RawImage::CreateInstance(&ig_RIFirst, sizeRawImage)); in initImageGrabber()
1298 CHECK_HR(hr = RawImage::CreateInstance(&ig_RISecond, sizeRawImage)); in initImageGrabber()
1435 CHECK_HR(hr); in initImageGrabber()
1436 CHECK_HR(hr = RawImage::CreateInstance(&ig_RIFirst, MT.MF_MT_SAMPLE_SIZE)); in initImageGrabber()
1437 CHECK_HR(hr = RawImage::CreateInstance(&ig_RISecond, MT.MF_MT_SAMPLE_SIZE)); in initImageGrabber()
1442 CHECK_HR(hr = MFCreateMediaType(pType.GetAddressOf())); in initImageGrabber()
1443 CHECK_HR(hr = pType->SetGUID(MF_MT_MAJOR_TYPE, MT.MF_MT_MAJOR_TYPE)); in initImageGrabber()
1444 CHECK_HR(hr = pType->SetGUID(MF_MT_SUBTYPE, MT.MF_MT_SUBTYPE)); in initImageGrabber()
1446CHECK_HR(hr = MFCreateSampleGrabberSinkActivate(pType.Get(), this, pSinkActivate.GetAddressOf())); in initImageGrabber()
[all …]
Dcap_msmf.hpp1001 CHECK_HR(hr = MFGetAttributesAsBlobSize(_spAttributes.Get(), &cbSize)); in SerializeToBlob()
1006 CHECK_HR(hr = E_OUTOFMEMORY); in SerializeToBlob()
1009 CHECK_HR(hr = MFGetAttributesAsBlob(_spAttributes.Get(), pBuffer, cbSize)); in SerializeToBlob()