diff options
| author | Tang, XiaoxiX <xiaoxix.tang@intel.com> | 2013-12-02 15:33:13 +0800 |
|---|---|---|
| committer | Patrick Tjin <pattjin@google.com> | 2014-07-21 22:02:56 -0700 |
| commit | 94733f48696cae1d610bf80c3127a464dc82c5f9 (patch) | |
| tree | 97a7d3f894beb54a7c040e6b9f0f3438c75c59da /videocodec/OMXVideoDecoderH263.cpp | |
| parent | ba72edfc22d5567a208ce814ea5df6cf63b8837f (diff) | |
| download | android_hardware_intel_common_omx-components-94733f48696cae1d610bf80c3127a464dc82c5f9.tar.gz android_hardware_intel_common_omx-components-94733f48696cae1d610bf80c3127a464dc82c5f9.tar.bz2 android_hardware_intel_common_omx-components-94733f48696cae1d610bf80c3127a464dc82c5f9.zip | |
omx-component: enable tile format for VXD392 on Baytrail platform
BZ: 141202
Change the eColorFormat's value to HAL_PIXEL_FORMAT_NV12_X_TILED_INTEL
and pass the tiling information by the flag mVASurfaceAttrib->flags.
Change-Id: Id005eb9c8057ddb9e68a3b468678fa5db8800bc5
Signed-off-by: Tang, XiaoxiX <xiaoxix.tang@intel.com>
Diffstat (limited to 'videocodec/OMXVideoDecoderH263.cpp')
| -rw-r--r-- | videocodec/OMXVideoDecoderH263.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderH263.cpp b/videocodec/OMXVideoDecoderH263.cpp index 424ab54..7e95125 100644 --- a/videocodec/OMXVideoDecoderH263.cpp +++ b/videocodec/OMXVideoDecoderH263.cpp @@ -135,5 +135,14 @@ OMX_ERRORTYPE OMXVideoDecoderH263::SetParamVideoH263ProfileLevel(OMX_PTR pStruct return OMX_ErrorUnsupportedSetting; } +OMX_COLOR_FORMATTYPE OMXVideoDecoderH263::GetOutputColorFormat(int width, int height) +{ +#ifdef USE_GEN_HW + return (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_NV12_X_TILED_INTEL; +#else + return OMXVideoDecoderBase::GetOutputColorFormat(width, height); +#endif +} + DECLARE_OMX_COMPONENT("OMX.Intel.VideoDecoder.H263", "video_decoder.h263", OMXVideoDecoderH263); |
