aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoDecoderVP8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'videocodec/OMXVideoDecoderVP8.cpp')
-rw-r--r--videocodec/OMXVideoDecoderVP8.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/videocodec/OMXVideoDecoderVP8.cpp b/videocodec/OMXVideoDecoderVP8.cpp
index 7acbed9..9121866 100644
--- a/videocodec/OMXVideoDecoderVP8.cpp
+++ b/videocodec/OMXVideoDecoderVP8.cpp
@@ -109,8 +109,12 @@ OMX_ERRORTYPE OMXVideoDecoderVP8::SetParamVideoVp8(OMX_PTR pStructure) {
OMX_COLOR_FORMATTYPE OMXVideoDecoderVP8::GetOutputColorFormat(int width, int height)
{
#ifdef USE_GEN_HW
+#ifdef USE_X_TILE
return (OMX_COLOR_FORMATTYPE)HAL_PIXEL_FORMAT_NV12_X_TILED_INTEL;
#else
+ return (OMX_COLOR_FORMATTYPE)OMX_INTEL_COLOR_FormatYUV420PackedSemiPlanar_Tiled;
+#endif
+#else
return OMXVideoDecoderBase::GetOutputColorFormat(width, height);
#endif
}