I’d like to code a kernel that processes a video. I used a directshow sample(VMR9Allocator) to allocate a Direct3D surface and got Direct3D Texture from this surface. Then I want to pass this texture to CUDA for processing video. But the result show that the texture can’t be passed into CUDA through DirectX interoperability API (cudaD3D9RegisterResource, cudaD3D9MapResources, cudaD3D9ResourceGetMappedPointer). Any ideas how to do this connect between VMR9 and CUDA? Thank you.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
CUDA and VMR9 | 0 | 1047 | February 9, 2009 | |
Graphics interoperability and CUDA | 0 | 4199 | June 11, 2010 | |
CUDA for real-time video processing? | 1 | 4291 | April 24, 2007 | |
CUDA-DirectX interoperability question | 0 | 1278 | October 27, 2008 | |
Cuda DiectX pixel data exchange | 4 | 12563 | May 23, 2008 | |
How to use a Direct3D 2D texture as both a buffer for a render view as well as a CUDA resource? | 0 | 933 | October 10, 2023 | |
Accessing textures | 1 | 17077 | April 2, 2007 | |
displaying CUDA result as picture/video kernel -> texture, I think | 1 | 3831 | May 28, 2007 | |
D3D9 resource for CUDA output | 0 | 477 | July 24, 2017 | |
CUDA and Direct3D | 5 | 4139 | January 21, 2008 |