aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLi Zeng <li.zeng@intel.com>2014-03-29 02:02:17 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 22:02:58 -0700
commit39007118cdc61495e672ab276a977dcb730395ed (patch)
treed643a2fcceb97165e3facfa28277f4a60138573b
parent12654b707eb7c53bff659edcd04aba32b14a5849 (diff)
downloadandroid_hardware_intel_common_omx-components-39007118cdc61495e672ab276a977dcb730395ed.tar.gz
android_hardware_intel_common_omx-components-39007118cdc61495e672ab276a977dcb730395ed.tar.bz2
android_hardware_intel_common_omx-components-39007118cdc61495e672ab276a977dcb730395ed.zip
Decode: when width is above 2048, don't use tiling format
BZ: 181914 when width is above 2048, don't use tiling format. It's not supported by gfx currently. Change-Id: I94919ca566995f6291952cd04bc443af4f2c75c3
-rw-r--r--videocodec/OMXVideoDecoderBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/videocodec/OMXVideoDecoderBase.cpp b/videocodec/OMXVideoDecoderBase.cpp
index b40e30d..c7eafbc 100644
--- a/videocodec/OMXVideoDecoderBase.cpp
+++ b/videocodec/OMXVideoDecoderBase.cpp
@@ -960,7 +960,7 @@ OMX_COLOR_FORMATTYPE OMXVideoDecoderBase::GetOutputColorFormat(int width, int he
#ifndef VED_TILING
return OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar;
#else
- if (width > 1280) {
+ if (width > 1280 && width <= 2048) {
LOGI("HD Video and use tiled format");
return OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled;
} else {