- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using Intel Media SDK to build a libva - opencl interop program.
When I use clCreateFromVA_APIMediaSurfaceINTEL to create a cl_mem object of the plane[0] (or plane[1], plane[2]),
the API returns -30 (CL_INVALID_VALUE). So I am wondering that does Media SDK 2018 R1 suport nv12 surfaces only?
Thanks
- Tags:
- Development Tools
- Graphics
- Intel® Media SDK
- Intel® Media Server Studio
- Media Processing
- Optimization
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Basically NV12 is a native format for MediaSDK decoders/encoders on BDW/SKL. VPP supports more formats but they all 8bit formats (on BDW/SKL). As for KBL/CFL/ICL there is 422, 444 support. You may refer to https://github.com/Intel-Media-SDK/MediaSDK and https://github.com/intel/media-driver for more details. Please note that for this OCL rotate filter we still plan to support NV12 only. This is because extension of this filter has a low priority, this is just for demonstration purposes. It doesn't mean 444 can't work there, we simply didn't try. Also please note that clCreateFromVA_APIMediaSurfaceINTEL is a part of OCL run-time, not MediaSDK. You may refer to https://github.com/intel/compute-runtime for details.
Regards,
Dmitry
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Basically NV12 is a native format for MediaSDK decoders/encoders on BDW/SKL. VPP supports more formats but they all 8bit formats (on BDW/SKL). As for KBL/CFL/ICL there is 422, 444 support. You may refer to https://github.com/Intel-Media-SDK/MediaSDK and https://github.com/intel/media-driver for more details. Please note that for this OCL rotate filter we still plan to support NV12 only. This is because extension of this filter has a low priority, this is just for demonstration purposes. It doesn't mean 444 can't work there, we simply didn't try. Also please note that clCreateFromVA_APIMediaSurfaceINTEL is a part of OCL run-time, not MediaSDK. You may refer to https://github.com/intel/compute-runtime for details.
Regards,
Dmitry
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page