[FFmpeg-devel] [PATCH] swscale-test: add md5 output

Stefano Sabatini stefano.sabatini-lala
Thu Aug 19 12:32:21 CEST 2010


On date Thursday 2010-08-19 00:44:17 -0300, Ramiro Polla encoded:
> On Tue, Aug 17, 2010 at 9:14 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> > On Mon, Aug 16, 2010 at 05:09:35PM -0300, Ramiro Polla wrote:
> BTW we're currently allocating stride*height for all planes, it'd be
> nice if there was a function that could give back the result of the
> size[] calculation from av_fill_image_pointers() (Stefano might want
> to do this =).

You can use av_fill_image_pointers() and pass NULL to ptr.
Check how it's done in avfilter_default_get_video_buffer().

Regards.
-- 
FFmpeg = Free and Fiendish Marvellous Prodigious Elegant Guru



More information about the ffmpeg-devel mailing list