[vlc-commits] omxil: force hal_format for omap3 decoders

Thomas Guillem git at videolan.org
Sat Jul 26 13:08:50 CEST 2014


vlc | branch: master | Thomas Guillem <guillem at archos.com> | Fri Jul 25 15:46:50 2014 +0200| [e69072b9d8a4f860dd9559132e04d0a66f1467d7] | committer: Martin Storsjö

omxil: force hal_format for omap3 decoders

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e69072b9d8a4f860dd9559132e04d0a66f1467d7
---

 modules/codec/omxil/omxil.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index cbb71e2..875f5a2 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -2133,6 +2133,9 @@ static int HwBuffer_AllocateBuffers( decoder_t *p_dec, OmxPort *p_port )
             break;
         }
     }
+    else if( !strcmp( p_sys->psz_component, "OMX.TI.720P.Decoder" ) ||
+        !strcmp( p_sys->psz_component, "OMX.TI.Video.Decoder" ) )
+        colorFormat = 0x14; // HAL_PIXEL_FORMAT_YCbCr_422_I
 
     omx_error = pf_get_graphic_buffer_usage( p_port->omx_handle,
                                              p_port->i_port_index,



More information about the vlc-commits mailing list