[Bug 797264] vaapih265dec: Support 422 10bit decode.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Oct 31 18:55:46 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=797264
Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #374024|none |needs-work
status| |
--- Comment #8 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 374024:
--> (https://bugzilla.gnome.org/review?bug=797264&attachment=374024)
overall it looks good, just a couple library version guards.
Also, Nicolas already merged the color space definition patches.
::: gst-libs/gst/vaapi/gstvaapisurface.h
@@ +82,3 @@
GST_VAAPI_CHROMA_TYPE_RGB16,
+ GST_VAAPI_CHROMA_TYPE_YUV420_10BPP,
+ GST_VAAPI_CHROMA_TYPE_YUV422_10BPP
nitpick: add a comma at the end, thus if a new chroma type is added, wouldn't
be need to modify the previous line as in this case.
::: gst-libs/gst/vaapi/gstvaapiutils.c
@@ +403,3 @@
break;
+ case VA_RT_FORMAT_YUV422_10:
+ chroma_type = GST_VAAPI_CHROMA_TYPE_YUV422_10BPP;
VA_RT_FORMAT_YUV422_10 was defined in VA version of 1.4 so you must guard this
code around a
#if VA_CHECK_VERSION(1,4,0)
@@ +454,3 @@
break;
+ case GST_VAAPI_CHROMA_TYPE_YUV422_10BPP:
+ format = VA_RT_FORMAT_YUV422_10;
same here
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list