[vlc-devel] [PATCH 17/21] Pretend that the new qcom pixel format is normal I420

Martin Storsjö martin at martin.st
Mon Sep 5 14:31:21 CEST 2011


This is a hack for testing decoders producing this (HTC Sensation).
---
 modules/codec/omxil/utils.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/codec/omxil/utils.cpp b/modules/codec/omxil/utils.cpp
index 3940c85..5ef3e4c 100644
--- a/modules/codec/omxil/utils.cpp
+++ b/modules/codec/omxil/utils.cpp
@@ -392,6 +392,7 @@ static const struct
     { VLC_CODEC_I420, OMX_COLOR_FormatYUV420PackedPlanar, 3, 1, 2 },
     { VLC_CODEC_I420, OMX_COLOR_FormatYUV420SemiPlanar, 3, 1, 2 },
     { VLC_CODEC_I420, (OMX_COLOR_FORMATTYPE) OMX_QCOM_COLOR_FormatYVU420SemiPlanar, 3, 1, 2 },
+    { VLC_CODEC_I420, (OMX_COLOR_FORMATTYPE) QOMX_COLOR_FormatYUV420PackedSemiPlanar64x32Tile2m8ka, 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 },
-- 
1.7.2.5




More information about the vlc-devel mailing list