Changeset e2ad0b66 in ffmpeg

Timestamp:
Jan 14, 2015, 4:17:24 PM (10 years ago)
Author:
Vittorio Giovara <vittorio.giovara@gmail.com>
Branches:
master
Children:
0e6c7dfa, 55dc253
Parents:
cf70ba37
git-author:
Stefano Sabatini <stefasab@gmail.com> (12/10/14 12:20:49)
git-committer:
Vittorio Giovara <vittorio.giovara@gmail.com> (01/14/15 16:17:24)
Message:

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>

(No files)

Note: See TracChangeset for help on using the changeset viewer.