[FFmpeg-devel] [PATCH] Introduce av_fill_image_planesizes() (was: swscale-test: add md5 output)

Stefano Sabatini stefano.sabatini-lala
Fri Nov 5 13:51:00 CET 2010


On date Sunday 2010-09-26 18:12:27 -0300, Ramiro Polla encoded:
> On Wed, Sep 22, 2010 at 6:31 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
[...]
> > That said iam not too happy about this api bloat with odd wrapers
> 
> New patch attached with updated documentation (mentions desired
> linesize instead of telling user to use av_image_fill_liniesizes()).
> 
> Getting the plane size from a function is useful to do stuff for each
> plane independently (like allocating or copying memory, or running
> crc) without needing some pix_fmt/chroma-specific code for every code
> that needs this.

> diff --git a/doc/APIchanges b/doc/APIchanges
> index 9ccb75a..8be2d85 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -13,6 +13,9 @@ libavutil:   2009-03-08
>  
>  API changes, most recent first:
>  
> +2010-09-xx - rxxxxx - lavcore 0.10.0 - imgutils.h
> +  Add function av_image_fill_planesizes(), declared in libavcore/imgutils.h.
> +

wrong description

[...]
-- 
FFmpeg = Frightening & Frenzy Mega Purposeless Elastic Gem



More information about the ffmpeg-devel mailing list