Changeset 602d3bac845de6eb84a091ce30979b6886836b52

Show
Ignore:
Timestamp:
02/04/07 22:58:14 (2 years ago)
Author:
Antoine Cellerier <dionoea@videolan.org>
git-committer:
Antoine Cellerier <dionoea@videolan.org> 1175547494 +0000
git-parent:

[1106a14087d306e0d1951fd57ab527332d086615]

git-author:
Antoine Cellerier <dionoea@videolan.org> 1175547494 +0000
Message:

Use I420 image buffers instead of YUVA for mosaic bridge. Impact on CPU usage for test case (http://people.videolan.org/~dionoea/mosaic/ basically a 6x5 mosaic displayed locally) is 155% -> 85% if alpha == 255, 166% -> 110% if alpha == 128.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/stream_out/mosaic_bridge.c

    rd3fe7f2 r602d3ba  
    439439            fmt_in = p_sys->p_decoder->fmt_out.video; 
    440440 
     441#if 0 
    441442            fmt_out.i_chroma = VLC_FOURCC('Y','U','V','A'); 
     443#else 
     444            fmt_out.i_chroma = VLC_FOURCC('I','4','2','0'); 
     445#endif 
    442446 
    443447            if ( !p_sys->i_height )