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().
Showing the changes to doc/APIchanges (1 of 6 files). Show all
Unified · Split
| @@ -22,6 +22,10 @@ API changes, most recent first: · 21 unmodified lines | |||
| 22 | 201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h | 22 | 201x-xx-xx - xxxxxxx - lavc 56.8.0 - avcodec.h |
| 23 | Add AVCodecContext.sw_pix_fmt. | 23 | Add AVCodecContext.sw_pix_fmt. |
| 24 | 24 | ||
| 25 | 2014-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 | |||
| 25 | 2014-11-xx - xxxxxxx - lavf 56.06.3 - avformat.h | 29 | 2014-11-xx - xxxxxxx - lavf 56.06.3 - avformat.h |
| 26 | Add AVFormatContext.avoid_negative_ts. | 30 | Add AVFormatContext.avoid_negative_ts. |
| 27 | 31 | ||