[Bug 797222] [regression] JPEG Decode broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Sep 29 05:57:46 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=797222

--- Comment #8 from Fei <fei.w.wang at intel.com> ---
(In reply to Nicolas Dufresne (ndufresne) from comment #7)
> What I can see from the images is that so we get a 4:2:0 buffer, but we
> think it's 4:2:2. As a result, luma is fine, because it's the same, but the
> chroma is off. I assume we allocated to 4:2:2 buffer since we didn't crash
> on a buffer overrun.

Emm, I guess not. If in this case, all decode will have same problem. But now
only vaapijpegdec fails but all other decode codecs looks good. This issue only
happens on intel-vaapi-driver, but works fine with media-driver.

In our previous solution, when create vasurface with
gst_vaapi_surface_new(gst-libs/gst/vaapi/gstvaapisurface.c +333),
VASurfaceAttrib will be set as NULL, and now VASurfaceAttrib is filled with
VASurfaceAttribPixelFormat of NV12.
With this change, vaapijpegdec fails.

-- 
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