aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2014-12-10 12:20:49 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-01-14 17:17:24 +0100
commite2ad0b66fa273c5c823978e8f601f2c0d9ee42f8 (patch)
treed746c75e7edf7f24faf96980c9392fcf744abe4e /tools
parentcf70ba37ba74089a18295b29e77dead0a3222c9e (diff)
downloadffmpeg-e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8.tar.gz
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 <vittorio.giovara@gmail.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions