[FFmpeg-devel] [PATCH] yuv4mpeg: correctly handle chroma for odd luma sizes.

Derek Buitenhuis derek.buitenhuis at gmail.com
Tue Jun 25 00:33:20 CEST 2013


On 2013-06-24 6:31 PM, Ronald S. Bultje wrote:
> +        width  = -((-width)  >> h_chroma_shift);
> +        height = -((-height) >> v_chroma_shift);

What this does isn't exactly straightforward. Care to explain?

- Derek


More information about the ffmpeg-devel mailing list