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 --- libavutil/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavutil/version.h') diff --git a/libavutil/version.h b/libavutil/version.h index b40009e621..215ecb2056 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -54,7 +54,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 54 -#define LIBAVUTIL_VERSION_MINOR 5 +#define LIBAVUTIL_VERSION_MINOR 6 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ -- cgit v1.2.3