Home
last modified time | relevance | path

Searched refs:SAFE_RELEASE (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc49 #define SAFE_RELEASE(p) do { if ((p)) { (p)->Release(); (p) = NULL; } } while(0) macro
315 SAFE_RELEASE(pIMMD); in CoreAudioIsSupported()
561 SAFE_RELEASE(ptrDMO); in AudioDeviceWindowsCore()
577 SAFE_RELEASE(_ptrEnumerator); in ~AudioDeviceWindowsCore()
724 SAFE_RELEASE(_ptrRenderCollection); in Terminate()
725 SAFE_RELEASE(_ptrCaptureCollection); in Terminate()
726 SAFE_RELEASE(_ptrDeviceOut); in Terminate()
727 SAFE_RELEASE(_ptrDeviceIn); in Terminate()
728 SAFE_RELEASE(_ptrClientOut); in Terminate()
729 SAFE_RELEASE(_ptrClientIn); in Terminate()
[all …]
/external/opencv3/samples/directx/
Dd3d11_interop.cpp289 SAFE_RELEASE(m_pSurface); in cleanup()
290 SAFE_RELEASE(m_pBackBuffer); in cleanup()
291 SAFE_RELEASE(m_pD3D11SwapChain); in cleanup()
292 SAFE_RELEASE(m_pRenderTarget); in cleanup()
293 SAFE_RELEASE(m_pD3D11Dev); in cleanup()
294 SAFE_RELEASE(m_pD3D11Ctx); in cleanup()
Dd3d10_interop.cpp285 SAFE_RELEASE(m_pSurface); in cleanup()
286 SAFE_RELEASE(m_pBackBuffer); in cleanup()
287 SAFE_RELEASE(m_pD3D10SwapChain); in cleanup()
288 SAFE_RELEASE(m_pRenderTarget); in cleanup()
289 SAFE_RELEASE(m_pD3D10Dev); in cleanup()
Dd3d9ex_interop.cpp286 SAFE_RELEASE(m_pSurface); in cleanup()
287 SAFE_RELEASE(m_pBackBuffer); in cleanup()
288 SAFE_RELEASE(m_pD3D9DevEx); in cleanup()
289 SAFE_RELEASE(m_pD3D9Ex); in cleanup()
Dd3d9_interop.cpp285 SAFE_RELEASE(m_pSurface); in cleanup()
286 SAFE_RELEASE(m_pBackBuffer); in cleanup()
287 SAFE_RELEASE(m_pD3D9Dev); in cleanup()
288 SAFE_RELEASE(m_pD3D9); in cleanup()
Dd3dsample.hpp17 #define SAFE_RELEASE(p) if (p) { p->Release(); p = NULL; } macro