From e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 10 Dec 2014 12:20:49 +0000 Subject: imgutils: create misc functions for dealing with buffers Move the lavc/imgconvert functions and rename them as follows: avpicture_get_size -> av_image_get_buffer_size() avpicture_fill -> av_image_fill_arrays() avpicture_layout -> av_image_copy_to_buffer() The new functions have an align parameter, which allows to define the linesize alignment assumed in the buffer (which is set or read). The names of the functions are consistent with the lavu/samples API (av_samples_get_buffer_size(), av_samples_fill_arrays()). A redundant check has been dropped from av_image_fill_arrays(). Signed-off-by: Vittorio Giovara --- doc/APIchanges | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc') diff --git a/doc/APIchanges b/doc/APIchanges index fce42e3..e1bf415 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -22,6 +22,10 @@ API changes, most recent first: 201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h Add AVCodecContext.sw_pix_fmt. +2014-11-xx - xxxxxxx - lavu 54.6.0 - imgutils.h + Add utility functions for image manipulation: av_image_get_buffer_size() + av_image_fill_arrays() and av_image_copy_to_buffer(). + 2014-11-xx - xxxxxxx - lavf 56.06.3 - avformat.h Add AVFormatContext.avoid_negative_ts. -- cgit v1.1