From cf6d1d58e1166215c884de49af6d427bb12407d4 Mon Sep 17 00:00:00 2001 From: Li Zeng Date: Wed, 13 Nov 2013 08:39:13 +0800 Subject: omx decode: set tiling flag in config structure if using tiling format BZ: 151378 set tiling flag in config structure if using tiling format Change-Id: I3ac5bde0824f8da4826c239e1995b4b3311aa53b Signed-off-by: Li Zeng --- videocodec/OMXVideoDecoderBase.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'videocodec/OMXVideoDecoderBase.cpp') diff --git a/videocodec/OMXVideoDecoderBase.cpp b/videocodec/OMXVideoDecoderBase.cpp index cd70a05..6f740d6 100755 --- a/videocodec/OMXVideoDecoderBase.cpp +++ b/videocodec/OMXVideoDecoderBase.cpp @@ -444,6 +444,8 @@ OMX_ERRORTYPE OMXVideoDecoderBase::PrepareConfigBuffer(VideoConfigBuffer *p) { p->graphicBufferColorFormat = mGraphicBufferParam.graphicBufferColorFormat; p->graphicBufferWidth = mGraphicBufferParam.graphicBufferWidth; p->graphicBufferHeight = mGraphicBufferParam.graphicBufferHeight; + if (p->graphicBufferColorFormat == OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled) + p->flag |= USE_TILING_MEMORY; PortVideo *port = NULL; port = static_cast(this->ports[INPORT_INDEX]); -- cgit v1.2.3