Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gst-vaapi][ICL] vaCreateImage can not used ayuv(8bit/444sample) format to create image. #375

Closed
feiwan1 opened this issue Oct 23, 2018 · 5 comments · Fixed by #458
Closed

Comments

@feiwan1
Copy link
Contributor

feiwan1 commented Oct 23, 2018

By using ayuv format in vaCreateImage, un-implemented status will be return. This format required by Iotg, may need your help to support this format.

@feiwan1
Copy link
Contributor Author

feiwan1 commented Oct 23, 2018

Also AYUV should be supported in vaPutImage.

@feiwan1
Copy link
Contributor Author

feiwan1 commented Dec 11, 2018

Reproduce step:
using master of gstramer-vaapi and cmdline:
$ gst-launch-1.0 filesrc location=main_444_8bit.h265 ! h265parse ! vaapih265dec ! fakesink

@wangyan42164
Copy link
Contributor

@feiwan1 The format error is gone after I applied #425. But I am not sure if it is gst-vaapi issue like the following log:
[LIBVA]:ENTER - DdiMedia_MapBufferInternal
0:00:00.076540831 3717 0x18680f0 ERROR vaapi gstvaapidecoder_h265.c:2264:decode_picture: failed to reset quantizer matrix
0:00:00.076559255 3717 0x18680f0 ERROR vaapidecode gstvaapidecode.c:755:gst_vaapidecode_handle_frame: decode error 10
ERROR: from element /GstPipeline:pipeline0/GstH265Parse:h265parse0: Internal data stream error.
Additional debug info:
gstbaseparse.c(3634): gst_base_parse_loop (): /GstPipeline:pipeline0/GstH265Parse:h265parse0:
streaming stopped, reason not-supported (-6)
ERROR: pipeline doesn't want to preroll.

@wangyan42164
Copy link
Contributor

@feiwan1 ensure_quant_matri() in gstvaapidecoder_h265.c will return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CHROMA_FORMAT.
From comments, it should only support 4:2:0.

@feiwan1
Copy link
Contributor Author

feiwan1 commented Dec 11, 2018

Hi @wangyan42164 , you can use TSCTX_8bit_RExt_SHARP_1.bin this stream to reproduce this issue.

wangyan42164 added a commit to wangyan42164/media-driver that referenced this issue Dec 11, 2018
Fixes intel#375.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
wangyan42164 added a commit to wangyan42164/media-driver that referenced this issue Jan 22, 2019
Fixes intel#375.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
wangyan42164 added a commit to wangyan42164/media-driver that referenced this issue Apr 11, 2019
Fixes intel#375.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
intel-mediadev pushed a commit that referenced this issue Apr 12, 2019
Fixes #375.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
djie1 pushed a commit to djie1/media-driver that referenced this issue May 20, 2019
Fixes intel#375.

Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants