History

Add the bumps and APIchanges entries for reference counted buffers changes.

Anton Khirnov committed 13 years ago

Commit d8b31be1 parent 8df23e96 files · +47 −12Browse files

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

Unified · Split

doc/APIchanges+37−3
@@ -2,10 +2,10 @@ Never assume the API of libav* to be stable unless at least 1 month has passed · 1 unmodified line
22 since the last major version increase.
33
44 The last version increases were:
5−libavcodec: 2012-01-27
6−libavdevice: 2011-04-18
5+libavcodec: 2013-03-xx
6+libavdevice: 2013-03-xx
77 libavfilter: 2012-06-22
8−libavformat: 2012-01-27
8+libavformat: 2013-03-xx
99 libavresample: 2012-10-05
1010 libswscale: 2011-06-20
1111 libavutil: 2012-10-22
@@ -13,6 +13,40 @@ libavutil: 2012-10-22 · 1 unmodified line
1313
1414 API changes, most recent first:
1515
16+2013-03-xx - Reference counted buffers - lavu 52.8.0, lavc 55.0.0, lavf 55.0.0,
17+lavd 54.0.0, lavfi 3.5.0
18+ xxxxxxx, xxxxxxx - add a new API for reference counted buffers and buffer
19+ pools (new header libavutil/buffer.h).
20+ xxxxxxx - add AVPacket.buf to allow reference counting for the AVPacket data.
21+ Add av_packet_from_data() function for constructing packets from
22+ av_malloc()ed data.
23+ xxxxxxx - move AVFrame from lavc to lavu (new header libavutil/frame.h), add
24+ AVFrame.buf/extended_buf to allow reference counting for the AVFrame
25+ data. Add new API for working with reference-counted AVFrames.
26+ xxxxxxx - add the refcounted_frames field to AVCodecContext to make audio and
27+ video decoders return reference-counted frames. Add get_buffer2()
28+ callback to AVCodecContext which allocates reference-counted frames.
29+ Add avcodec_default_get_buffer2() as the default get_buffer2()
30+ implementation.
31+ Deprecate AVCodecContext.get_buffer() / release_buffer() /
32+ reget_buffer(), avcodec_default_get_buffer(),
33+ avcodec_default_reget_buffer(), avcodec_default_release_buffer().
34+ Remove avcodec_default_free_buffers(), which should not have ever
35+ been called from outside of lavc.
36+ Deprecate the following AVFrame fields:
37+ * base -- is now stored in AVBufferRef
38+ * reference, type, buffer_hints -- are unnecessary in the new API
39+ * hwaccel_picture_private, owner, thread_opaque -- should not
40+ have been acessed from outside of lavc
41+ * qscale_table, qstride, qscale_type, mbskip_table, motion_val,
42+ mb_type, dct_coeff, ref_index -- mpegvideo-specific tables,
43+ which are not exported anymore.
44+ xxxxxxx - switch libavfilter to use AVFrame instead of AVFilterBufferRef. Add
45+ av_buffersrc_add_frame(), deprecate av_buffersrc_buffer().
46+ Add av_buffersink_get_frame() and av_buffersink_get_samples(),
47+ deprecate av_buffersink_read() and av_buffersink_read_samples().
48+ Deprecate AVFilterBufferRef and all functions for working with it.
49+
1650 2013-xx-xx - xxxxxxx - lavu 52.8.0 - avstring.h
1751 Add av_isdigit, av_isgraph, av_isspace, av_isxdigit.
1852

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