OSDN Git Service

pgssubdec: fix incorrect colors.
authorAlexandre Colucci <alexandre@elgato.com>
Fri, 25 Mar 2011 16:31:28 +0000 (17:31 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 24 May 2011 17:10:34 +0000 (19:10 +0200)
commitd980d7b1295290cedd978ef53118513838aa1484
treee44199401f0e9f3024a4a6341760a12a3c40a104
parent676eaf84335fa91ee6a699fc03207762b8a7d6ae
pgssubdec: fix incorrect colors.

On Blu-ray colors are stored in the order YCrCb (and not YCbCr) as mentioned in the specifications:
see System Description Blu-ray Disc Read-Only Format, 9.14.4.2.2.1 Palette Definition Segment

When decoding a Blu-ray subtitle, the colors were incorrectly set.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/pgssubdec.c