[FFmpeg-devel] [PATCH] lavu/imgutils: create misc functions for dealing with buffers

Stefano Sabatini stefasab at gmail.com
Tue Jun 19 19:23:16 CEST 2012


On date Tuesday 2012-06-19 18:07:40 +0200, Stefano Sabatini encoded:
> On date Tuesday 2012-06-19 15:14:18 +0200, Michael Niedermayer encoded:
[...]
> Bikeshed time: the patchset now contains the names:
> 
> av_image_fill()        fill data/linesize given a buffer
> av_image_fill_buffer() copy data to a buffer
> av_image_get_size()    return the size required for a buffer to contain a given image
> 
> Alternatives for av_image_fill():
> av_image_fill_from_buffer()
> av_image_fill_arrays_from_buffer()
> av_image_fill_arrays()
> 
> Alternatives for av_image_fill_buffer() (which now I realize is a bad
> name):
> av_image_copy_to_buffer()
> 
> Alternatives for av_image_get_size():
> av_image_get_buffer_size()
> 

> My personal choice is for:
> av_image_fill_arrays()
> av_image_copy_to_buffer()
> av_image_get_buffer_size()
> 
> which is also consistent with the samplefmt API.

Updated.
-- 
FFmpeg = Frightening and Fabulous Mortal Proud EnGraver
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavu-imgutils-create-misc-functions-for-dealing-with.patch
Type: text/x-diff
Size: 13170 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120619/92c31ce2/attachment.bin>


More information about the ffmpeg-devel mailing list