vaPutImage and vaCreateImage functions not implemented for RGB kind format in Gen10+ platform
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
Call vaCreateImage or vaPutImage failed on gen10+ platform for ARGB ABGR xRGB, etc formats.
Step:
Use
status = vaCreateSurfaces (display, GST_VAAPI_CHROMA_TYPE_RGB32, 64, 64,
&surface_id, 1,
some_attribs, att_num);
create a surface
Use
status = vaCreateImage (display,
the_rgba_va_format,
64, 64, &image_id);
create a image
and use:
status = vaPutImage (display,
surface, image_id, 0, 0, width, height)
to try to upload the image
For a lot of format, either vaCreateImage or vaPutImage return failed. the error number
vaErrorStr(VAStatus error_status)
return the requested function is not implemented
Only NV12, YUY2, P010_10LE now can successfully pass all theses functions
Contributor guide
Assessment
This issue has not been assessed yet.