xpra icon
Bug tracker and wiki

Opened 10 months ago

Last modified 11 days ago

#1438 assigned enhancement

decode webp and jpeg to YUV

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 2.3
Component: encodings Version: trunk
Keywords: jpeg Cc:


Split from #1423.

For some unknown reason, the YUV data loses some precision and so we decompress to RGB.
The opengl backend could use the YUV data directly. (the code is commented out as of r15062)

Change History (2)

comment:1 Changed 2 weeks ago by Antoine Martin

Milestone: 3.02.3
Status: newassigned
Summary: decode jpeg to YUVdecode webp and jpeg to YUV

comment:2 Changed 11 days ago by Antoine Martin

  • r17543 + r17544 + r17545 + r17546 + r17547: minor updates, cleanups + decoding jpeg to YUV???P can be enabled with XPRA_JPEG_YUV=1
  • r17548: decoding webp (#1694) to YUV can be enabled with XPRA_WEBP_YUV=1, defaults to 0 because we always compress from RGB and libwebp only currently supports YUV420P: the loss of quality is visible, even at very low quality settings

The type of colour shade that goes MIA is seen here: ticket:1423#comment:3.
webp doesn't have this problem (only the subsampling issue), so the paint code is unlikely to be the problem.

Note: See TracTickets for help on using tickets.