]> git.sesse.net Git - vlc/commit
omxil: Don't trust a qcom decoder claiming to output 420 planar
authorMartin Storsjö <martin@martin.st>
Wed, 28 Sep 2011 09:33:45 +0000 (12:33 +0300)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Sep 2011 12:10:30 +0000 (14:10 +0200)
commitc29926b6a3336c4dce1af2e0f995022d6ea8acbe
treebbcbac9d869ae1c37ec0dd99686916bb315e6716
parent6825a61ca202e4fcf3a3d4187e5479c0d2f4c390
omxil: Don't trust a qcom decoder claiming to output 420 planar

Also move the color format definition to the header, making
it available to omxil.c.

In practice on Nexus One with stock firmware, it is NV21
even though the decoder says it's planar. (On CyanogenMod with
OMX decoder built from source, the decoder returns
OMX_QCOM_COLOR_FormatYVU420SemiPlanar as pixel format, though.)

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/codec/omxil/omxil.c
modules/codec/omxil/omxil_utils.h
modules/codec/omxil/utils.c