[FFmpeg-devel] [PATCH 1/2] vble: move 2nd pass bitreading into vble_restore_plane() this improves data cache hits and speeds up grayscale only decoding

Derek Buitenhuis derek.buitenhuis at gmail.com
Mon Nov 14 18:20:53 CET 2011

On 14/11/2011 11:37 AM, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer<michaelni at gmx.at>
> ---
>   libavcodec/vble.c |   22 ++++++++++------------
>   1 files changed, 10 insertions(+), 12 deletions(-)

Looks good. Just one nit, noted below.

> -static void vble_restore_plane(VBLEContext *ctx, int plane, int offset,
> +static void vble_restore_plane(VBLEContext *ctx, GetBitContext *gb, int plane, int offset,
>                                 int width, int height)

Nit: I would like it if you could modify these to lines (and
the line break) so that they file in 80 cols.

- Derek

More information about the ffmpeg-devel mailing list