[vlc-commits] omxil: Add OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

Martin Storsjö git at videolan.org
Wed Apr 4 15:08:28 CEST 2012


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Apr  4 15:17:52 2012 +0300| [b87e4029ee373779c656fea1952767105c093b84] | committer: Jean-Baptiste Kempf

omxil: Add OMX_TI_COLOR_FormatYUV420PackedSemiPlanar

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b87e4029ee373779c656fea1952767105c093b84
---

 modules/codec/omxil/omxil_utils.h |    1 +
 modules/codec/omxil/utils.c       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/codec/omxil/omxil_utils.h b/modules/codec/omxil/omxil_utils.h
index f5bc2b1..79b7406 100644
--- a/modules/codec/omxil/omxil_utils.h
+++ b/modules/codec/omxil/omxil_utils.h
@@ -185,5 +185,6 @@ unsigned int GetAudioParamSize(OMX_INDEXTYPE index);
  * Vendor specific color formats
  *****************************************************************************/
 #define OMX_QCOM_COLOR_FormatYVU420SemiPlanar 0x7FA30C00
+#define OMX_TI_COLOR_FormatYUV420PackedSemiPlanar 0x7F000100
 
 #define OMX_IndexVendorSetYUV420pMode 0x7f000003
diff --git a/modules/codec/omxil/utils.c b/modules/codec/omxil/utils.c
index 94435e5..7608167 100644
--- a/modules/codec/omxil/utils.c
+++ b/modules/codec/omxil/utils.c
@@ -349,6 +349,7 @@ static const struct
     { VLC_CODEC_I420, OMX_COLOR_FormatYUV420PackedPlanar, 3, 1, 2 },
     { VLC_CODEC_NV12, OMX_COLOR_FormatYUV420SemiPlanar, 3, 1, 1 },
     { VLC_CODEC_NV21, OMX_QCOM_COLOR_FormatYVU420SemiPlanar, 3, 1, 1 },
+    { VLC_CODEC_NV12, OMX_TI_COLOR_FormatYUV420PackedSemiPlanar, 3, 1, 2 },
     { VLC_CODEC_YUYV, OMX_COLOR_FormatYCbYCr, 4, 2, 0 },
     { VLC_CODEC_YVYU, OMX_COLOR_FormatYCrYCb, 4, 2, 0 },
     { VLC_CODEC_UYVY, OMX_COLOR_FormatCbYCrY, 4, 2, 0 },



More information about the vlc-commits mailing list