diff options
| author | Li Zeng <li.zeng@intel.com> | 2013-11-13 08:39:13 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:55 -0700 |
| commit | cf6d1d58e1166215c884de49af6d427bb12407d4 (patch) | |
| tree | 49f6fecc3e33e73a8ba9e68698502b049ef18fdb /videocodec/OMXVideoDecoderBase.cpp | |
| parent | 34dc9ab15e6b6c6a9bd0c24d1529224e937d429f (diff) | |
| download | android_hardware_intel_common_omx-components-cf6d1d58e1166215c884de49af6d427bb12407d4.tar.gz android_hardware_intel_common_omx-components-cf6d1d58e1166215c884de49af6d427bb12407d4.tar.bz2 android_hardware_intel_common_omx-components-cf6d1d58e1166215c884de49af6d427bb12407d4.zip | |
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 <li.zeng@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderBase.cpp')
| -rwxr-xr-x | videocodec/OMXVideoDecoderBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<PortVideo *>(this->ports[INPORT_INDEX]); |
