diff options
| author | Li Zeng <li.zeng@intel.com> | 2014-03-29 02:02:17 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:58 -0700 |
| commit | 39007118cdc61495e672ab276a977dcb730395ed (patch) | |
| tree | d643a2fcceb97165e3facfa28277f4a60138573b | |
| parent | 12654b707eb7c53bff659edcd04aba32b14a5849 (diff) | |
| download | android_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.cpp | 2 |
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 { |
