intel / intel/media-driver

vaPutImage and vaCreateImage functions not implemented for RGB kind format in Gen10+ platform

Open
#401 8 comments 1 reaction 1 assignee Claimed by @XinfengZhang View on GitHub
Common Feature Request P3
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.