Use I420 image buffers instead of YUVA for mosaic bridge. Impact on CPU usage for...
authorAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 20:58:14 +0000 (20:58 +0000)
committerAntoine Cellerier <dionoea@videolan.org>
Mon, 2 Apr 2007 20:58:14 +0000 (20:58 +0000)
modules/stream_out/mosaic_bridge.c

index f109de6..7d9595c 100644 (file)
@@ -438,7 +438,11 @@ static int Send( sout_stream_t *p_stream, sout_stream_id_t *id,
             memset( &fmt_out, 0, sizeof(video_format_t) );
             fmt_in = p_sys->p_decoder->fmt_out.video;
 
             memset( &fmt_out, 0, sizeof(video_format_t) );
             fmt_in = p_sys->p_decoder->fmt_out.video;
 
+#if 0
             fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
             fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A');
+#else
+            fmt_out.i_chroma = VLC_FOURCC('I','4','2','0');
+#endif
 
             if ( !p_sys->i_height )
             {
 
             if ( !p_sys->i_height )
             {