[Bug 783267] jpegdec: Outputting garbled colors

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jan 8 16:04:07 UTC 2018


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

--- Comment #7 from Antonio Ospite <ao2 at ao2.it> ---
I took another look and come up with some changes which improves things in some
cases.

One thing that I noticed is that the current code considers r_v =
dec->cinfo.comp_info[0].v_samp_factor; but I found this not general enough when
dealing with the problematic variant of 4:2:2 so I changed it to be an actual
ratio between the sampling factors.

The proposed changes sacrifice one case (4:4:0 images in one of the two
variant) in the name of better support for most used formats (4:2:2 and 4:4:4).

More info in the commit messages of the attached patches.

Ah, the patches are against the 1.12 branch, so they don't apply cleanly to
master because of the interlaced MJPEG changes.

I don't think I'll be able to do some more work on this myself anytime soon,
but I wanted to post something to get things moving.


Ciao,
   Antonio

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