video: support GBR mode h264 decoding
commit1ccf6a1bebe5ceb3c5ff55595e25266e72e01deb
authorUoti Urpala <uau@mplayer2.org>
Wed, 22 Aug 2012 14:58:21 +0000 (22 17:58 +0300)
committerUoti Urpala <uau@mplayer2.org>
Mon, 27 Aug 2012 21:17:44 +0000 (28 00:17 +0300)
tree623a7034233d0839af35c07812a83233a5f136b6
parentf98e47574de1556f915668f2ca19e0b1f9b63d34
video: support GBR mode h264 decoding

Add support for GBR pixel formats (used by special x264 encoding
mode). When these formats are not directly supported, converting them
to RGB would be sanest. However, it seems that currently libswscale
only supports GBRP* -> RGB conversions in the 8-bit case. So only add
entries to the vf_scale preferred conversions list for that case.

Also add 422P9 support (for some reason only depths 8, 10 and 16 were
supported for 422).
fmt-conversion.c
libmpcodecs/img_format.c
libmpcodecs/img_format.h
libmpcodecs/mp_image.c
libmpcodecs/vf_scale.c