Commit ace55f9c authored by Martin Storsjö's avatar Martin Storsjö

iomx: Override the hal format for qcom decoders on honeycomb

This fixes direct rendering playback on one tested honeycomb
device.
Signed-off-by: default avatarMartin Storsjö <martin@martin.st>
parent 04451330
...@@ -118,6 +118,10 @@ int IOMXHWBuffer_GetHalFormat( const char *comp_name, int* hal_format ) ...@@ -118,6 +118,10 @@ int IOMXHWBuffer_GetHalFormat( const char *comp_name, int* hal_format )
else if( !strcmp( comp_name, "OMX.TI.720P.Decoder" ) || else if( !strcmp( comp_name, "OMX.TI.720P.Decoder" ) ||
!strcmp( comp_name, "OMX.TI.Video.Decoder" ) ) !strcmp( comp_name, "OMX.TI.Video.Decoder" ) )
*hal_format = 0x14; // HAL_PIXEL_FORMAT_YCbCr_422_I *hal_format = 0x14; // HAL_PIXEL_FORMAT_YCbCr_422_I
#if ANDROID_API <= 13 // Required on msm8660 on 3.2, not required on 4.1
else if( !strcmp( comp_name, "OMX.qcom.video.decoder.avc" ))
*hal_format = 0x108;
#endif
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment