OpenCV
5.0.0-pre
Open Source Computer Vision
|
Functions | |
void | cv::directx::convertFromD3D10Texture2D (ID3D10Texture2D *pD3D10Texture2D, OutputArray dst) |
Converts ID3D10Texture2D to OutputArray. | |
void | cv::directx::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. | |
void | cv::directx::convertFromDirect3DSurface9 (IDirect3DSurface9 *pDirect3DSurface9, OutputArray dst, void *surfaceSharedHandle=NULL) |
Converts IDirect3DSurface9 to OutputArray. | |
void | cv::directx::convertToD3D10Texture2D (InputArray src, ID3D10Texture2D *pD3D10Texture2D) |
Converts InputArray to ID3D10Texture2D. | |
void | cv::directx::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. | |
void | cv::directx::convertToDirect3DSurface9 (InputArray src, IDirect3DSurface9 *pDirect3DSurface9, void *surfaceSharedHandle=NULL) |
Converts InputArray to IDirect3DSurface9. | |
int | cv::directx::getTypeFromD3DFORMAT (const int iD3DFORMAT) |
Get OpenCV type from DirectX type. | |
int | cv::directx::getTypeFromDXGI_FORMAT (const int iDXGI_FORMAT) |
Get OpenCV type from DirectX type. | |
Context & | cv::directx::ocl::initializeContextFromD3D10Device (ID3D10Device *pD3D10Device) |
Creates OpenCL context from D3D10 device. | |
Context & | cv::directx::ocl::initializeContextFromD3D11Device (ID3D11Device *pD3D11Device) |
Creates OpenCL context from D3D11 device. | |
Context & | cv::directx::ocl::initializeContextFromDirect3DDevice9 (IDirect3DDevice9 *pDirect3DDevice9) |
Creates OpenCL context from Direct3DDevice9 device. | |
Context & | cv::directx::ocl::initializeContextFromDirect3DDevice9Ex (IDirect3DDevice9Ex *pDirect3DDevice9Ex) |
Creates OpenCL context from Direct3DDevice9Ex device. | |
void cv::directx::convertFromD3D10Texture2D | ( | ID3D10Texture2D * | pD3D10Texture2D, |
OutputArray | dst | ||
) |
#include <opencv2/core/directx.hpp>
Converts ID3D10Texture2D to OutputArray.
pD3D10Texture2D | - source D3D10 texture |
dst | - destination OutputArray |
void cv::directx::convertFromD3D11Texture2D | ( | ID3D11Texture2D * | pD3D11Texture2D, |
OutputArray | dst | ||
) |
#include <opencv2/core/directx.hpp>
Converts ID3D11Texture2D to OutputArray. If input texture format is DXGI_FORMAT_NV12 then data will be upsampled and color-converted to BGR format.
pD3D11Texture2D | - source D3D11 texture |
dst | - destination OutputArray |
void cv::directx::convertFromDirect3DSurface9 | ( | IDirect3DSurface9 * | pDirect3DSurface9, |
OutputArray | dst, | ||
void * | surfaceSharedHandle = NULL |
||
) |
#include <opencv2/core/directx.hpp>
Converts IDirect3DSurface9 to OutputArray.
pDirect3DSurface9 | - source D3D10 texture |
dst | - destination OutputArray |
surfaceSharedHandle | - shared handle |
void cv::directx::convertToD3D10Texture2D | ( | InputArray | src, |
ID3D10Texture2D * | pD3D10Texture2D | ||
) |
#include <opencv2/core/directx.hpp>
Converts InputArray to ID3D10Texture2D.
src | - source InputArray |
pD3D10Texture2D | - destination D3D10 texture |
void cv::directx::convertToD3D11Texture2D | ( | InputArray | src, |
ID3D11Texture2D * | pD3D11Texture2D | ||
) |
#include <opencv2/core/directx.hpp>
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.
src | - source InputArray |
pD3D11Texture2D | - destination D3D11 texture |
void cv::directx::convertToDirect3DSurface9 | ( | InputArray | src, |
IDirect3DSurface9 * | pDirect3DSurface9, | ||
void * | surfaceSharedHandle = NULL |
||
) |
#include <opencv2/core/directx.hpp>
Converts InputArray to IDirect3DSurface9.
src | - source InputArray |
pDirect3DSurface9 | - destination D3D10 texture |
surfaceSharedHandle | - shared handle |
int cv::directx::getTypeFromD3DFORMAT | ( | const int | iD3DFORMAT | ) |
#include <opencv2/core/directx.hpp>
Get OpenCV type from DirectX type.
iD3DFORMAT | - enum D3DTYPE for D3D9 |
int cv::directx::getTypeFromDXGI_FORMAT | ( | const int | iDXGI_FORMAT | ) |
#include <opencv2/core/directx.hpp>
Get OpenCV type from DirectX type.
iDXGI_FORMAT | - enum DXGI_FORMAT for D3D10/D3D11 |
Context & cv::directx::ocl::initializeContextFromD3D10Device | ( | ID3D10Device * | pD3D10Device | ) |
#include <opencv2/core/directx.hpp>
Creates OpenCL context from D3D10 device.
pD3D10Device | - pointer to D3D10 device |
Context & cv::directx::ocl::initializeContextFromD3D11Device | ( | ID3D11Device * | pD3D11Device | ) |
#include <opencv2/core/directx.hpp>
Creates OpenCL context from D3D11 device.
pD3D11Device | - pointer to D3D11 device |
Context & cv::directx::ocl::initializeContextFromDirect3DDevice9 | ( | IDirect3DDevice9 * | pDirect3DDevice9 | ) |
#include <opencv2/core/directx.hpp>
Creates OpenCL context from Direct3DDevice9 device.
pDirect3DDevice9 | - pointer to Direct3Device9 device |
Context & cv::directx::ocl::initializeContextFromDirect3DDevice9Ex | ( | IDirect3DDevice9Ex * | pDirect3DDevice9Ex | ) |
#include <opencv2/core/directx.hpp>
Creates OpenCL context from Direct3DDevice9Ex device.
pDirect3DDevice9Ex | - pointer to Direct3DDevice9Ex device |