History

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().

Stefano Sabatini committed 11 years ago

Commit e2ad0b61 parent cf70ba36 files · +158 −89Browse files

Showing the changes to doc/APIchanges (1 of 6 files). Show all

Unified · Split

doc/APIchanges+4−0
@@ -22,6 +22,10 @@ API changes, most recent first: · 21 unmodified lines
22201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h22201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h
23 Add AVCodecContext.sw_pix_fmt.23 Add AVCodecContext.sw_pix_fmt.
24 24
252014-11-xx - xxxxxxx - lavu 54.6.0 - imgutils.h
26 Add utility functions for image manipulation: av_image_get_buffer_size()
27 av_image_fill_arrays() and av_image_copy_to_buffer().
28
252014-11-xx - xxxxxxx - lavf 56.06.3 - avformat.h292014-11-xx - xxxxxxx - lavf 56.06.3 - avformat.h
26 Add AVFormatContext.avoid_negative_ts.30 Add AVFormatContext.avoid_negative_ts.
27 31

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t