History

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

Stefano Sabatini committed 14 years ago

Commit e6674e41 parent fd91a3e7 files · +154 −87Browse files

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

Unified · Split

doc/APIchanges+6−0
@@ -15,6 +15,12 @@ libavutil: 2011-04-18 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2012-06-26 - xxxxxxx - lavu 51.63.100 - imgutils.h
19+ Add functions to libavutil/imgutils.h:
20+ av_image_get_buffer_size()
21+ av_image_fill_arrays()
22+ av_image_copy_to_buffer()
23+
1824 2012-06-24 - xxxxxxx - lavu 51.62.100 - version.h
1925 version moved from avutil.h to version.h
2026

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