[FFmpeg-devel] [PATCH] swscale-test: add md5 output
Thu Aug 19 16:52:52 CEST 2010
On Thu, Aug 19, 2010 at 7:32 AM, Stefano Sabatini
<stefano.sabatini-lala at poste.it> wrote:
> 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().
That's not so straight-forward. From what I understood in the
function, to get the size of each plane I'd have to calculate some
more based on data pointers, total size, and number of planes. And the
size array in that function should already contain what I need.
More information about the ffmpeg-devel