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 | 1040 | February 9, 2009 | |
Accessing textures | 1 | 17059 | April 2, 2007 | |
CUDA for real-time video processing? | 1 | 4257 | April 24, 2007 | |
Graphics interoperability and CUDA | 0 | 4185 | June 11, 2010 | |
CUDA and Direct3D | 5 | 4109 | January 21, 2008 | |
Textures from MDX Can I use these? | 0 | 2052 | May 23, 2008 | |
displaying CUDA result as picture/video kernel -> texture, I think | 1 | 3819 | May 28, 2007 | |
Why CUDA does not support 3D texture | 3 | 4822 | October 5, 2007 | |
D3D9 resource for CUDA output | 0 | 473 | July 24, 2017 | |
How to copy from cuda allocated memory to directx10 texture memory | 1 | 4621 | October 13, 2010 |