OpenCV  3.4.19
Open Source Computer Vision
Namespaces | Functions
cv::directx Namespace Reference

Namespaces

 ocl
 

Functions

void convertFromD3D10Texture2D (ID3D10Texture2D *pD3D10Texture2D, OutputArray dst)
 Converts ID3D10Texture2D to OutputArray. More...
 
void convertFromD3D11Texture2D (ID3D11Texture2D *pD3D11Texture2D, OutputArray dst)
 Converts ID3D11Texture2D to OutputArray. If input texture format is DXGI_FORMAT_NV12 then data will be upsampled and color-converted to BGR format. More...
 
void convertFromDirect3DSurface9 (IDirect3DSurface9 *pDirect3DSurface9, OutputArray dst, void *surfaceSharedHandle=NULL)
 Converts IDirect3DSurface9 to OutputArray. More...
 
void convertToD3D10Texture2D (InputArray src, ID3D10Texture2D *pD3D10Texture2D)
 Converts InputArray to ID3D10Texture2D. More...
 
void convertToD3D11Texture2D (InputArray src, ID3D11Texture2D *pD3D11Texture2D)
 Converts InputArray to ID3D11Texture2D. If destination texture format is DXGI_FORMAT_NV12 then input UMat expected to be in BGR format and data will be downsampled and color-converted to NV12. More...
 
void convertToDirect3DSurface9 (InputArray src, IDirect3DSurface9 *pDirect3DSurface9, void *surfaceSharedHandle=NULL)
 Converts InputArray to IDirect3DSurface9. More...
 
int getTypeFromD3DFORMAT (const int iD3DFORMAT)
 Get OpenCV type from DirectX type. More...
 
int getTypeFromDXGI_FORMAT (const int iDXGI_FORMAT)
 Get OpenCV type from DirectX type. More...