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/OMXVideoDecoderVP8.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/OMXVideoDecoderVP8.cpp')
| -rw-r--r-- | videocodec/OMXVideoDecoderVP8.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp index d3d7fcd..7acbed9 100644 --- a/videocodec/OMXVideoDecoderVP8.cpp +++ b/videocodec/OMXVideoDecoderVP8.cpp @@ -106,6 +106,14 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::SetParamVideoVp8(OMX_PTR pStructure) { return OMX_ErrorNone; } +OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::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.VP8", "video_decoder.vp8", OMXVideoDecoderVP8); |
