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

Ramiro Polla ramiro.polla
Thu Sep 9 17:53:13 CEST 2010


On Wed, Sep 8, 2010 at 11:52 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Sat, Sep 04, 2010 at 01:56:42PM -0300, Ramiro Polla wrote:
> [...]
>> @@ -93,6 +93,18 @@ int av_fill_image_pointers(uint8_t *data[4], enum PixelFormat pix_fmt, int heigh
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? uint8_t *ptr, const int linesizes[4]);
>>
>> ?/**
>> + * Fill plane sizes for an image with pixel format pix_fmt and height height.
>> + *
>> + * @param planesizes[4] array to be filled with the size for each image plane
>> + * @param linesizes[4] the array containing the linesize for each
>> + * plane, should be filled by av_fill_image_linesizes()
>> + * @return the size in bytes required for the image buffer, a negative
>> + * error code in case of failure
>> + */
>> +int av_fill_image_planesizes(int planesizes[4], enum PixelFormat pix_fmt, int height,
>> + ? ? ? ? ? ? ? ? ? ? ? ? ? ? const int linesizes[4]);
>> +
>
> this needs to be updated to the hierachical naming

Updated.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_av_image_fill_planesizes.diff
Type: application/octet-stream
Size: 2628 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100909/0a30221a/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: use_av_image_fill_planesizes.diff
Type: application/octet-stream
Size: 5439 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100909/0a30221a/attachment-0001.obj>



More information about the ffmpeg-devel mailing list