History

Merge commit 'd8b31be6caebd8d1321ecb754b6e7daaf81dc111'

* commit 'd8b31be6caebd8d1321ecb754b6e7daaf81dc111': Add the bumps and APIchanges entries for reference counted buffers changes. Conflicts: Changelog doc/APIchanges libavcodec/version.h libavdevice/version.h libavfilter/version.h libavformat/version.h

Michael Niedermayer committed 13 years ago

Commit a75f01d2 parents c292e34 d8b31be6 files · +48 −13Browse 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
2since the last major version increase or the API was added.2since the last major version increase or the API was added.
3 3
4The last version increases were:4The last version increases were:
5libavcodec: 2012-01-275libavcodec: 2013-03-xx
6libavdevice: 2011-04-186libavdevice: 2013-03-xx
7libavfilter: 2012-06-227libavfilter: 2012-06-22
8libavformat: 2012-01-278libavformat: 2013-03-xx
9libavresample: 2012-10-059libavresample: 2012-10-05
10libpostproc: 2011-04-1810libpostproc: 2011-04-18
11libswresample: 2011-09-1911libswresample: 2011-09-19
@@ -144,6 +144,40 @@ API changes, most recent first: · 132 unmodified lines
1442012-03-26 - a67d9cf - lavfi 2.66.1001442012-03-26 - a67d9cf - lavfi 2.66.100
145 Add avfilter_fill_frame_from_{audio_,}buffer_ref() functions.145 Add avfilter_fill_frame_from_{audio_,}buffer_ref() functions.
146 146
1472013-03-xx - Reference counted buffers - lavu 52.8.0, lavc 55.0.0, lavf 55.0.0,
148lavd 54.0.0, lavfi 3.5.0
149 xxxxxxx, xxxxxxx - add a new API for reference counted buffers and buffer
150 pools (new header libavutil/buffer.h).
151 xxxxxxx - add AVPacket.buf to allow reference counting for the AVPacket data.
152 Add av_packet_from_data() function for constructing packets from
153 av_malloc()ed data.
154 xxxxxxx - move AVFrame from lavc to lavu (new header libavutil/frame.h), add
155 AVFrame.buf/extended_buf to allow reference counting for the AVFrame
156 data. Add new API for working with reference-counted AVFrames.
157 xxxxxxx - add the refcounted_frames field to AVCodecContext to make audio and
158 video decoders return reference-counted frames. Add get_buffer2()
159 callback to AVCodecContext which allocates reference-counted frames.
160 Add avcodec_default_get_buffer2() as the default get_buffer2()
161 implementation.
162 Deprecate AVCodecContext.get_buffer() / release_buffer() /
163 reget_buffer(), avcodec_default_get_buffer(),
164 avcodec_default_reget_buffer(), avcodec_default_release_buffer().
165 Remove avcodec_default_free_buffers(), which should not have ever
166 been called from outside of lavc.
167 Deprecate the following AVFrame fields:
168 * base -- is now stored in AVBufferRef
169 * reference, type, buffer_hints -- are unnecessary in the new API
170 * hwaccel_picture_private, owner, thread_opaque -- should not
171 have been acessed from outside of lavc
172 * qscale_table, qstride, qscale_type, mbskip_table, motion_val,
173 mb_type, dct_coeff, ref_index -- mpegvideo-specific tables,
174 which are not exported anymore.
175 xxxxxxx - switch libavfilter to use AVFrame instead of AVFilterBufferRef. Add
176 av_buffersrc_add_frame(), deprecate av_buffersrc_buffer().
177 Add av_buffersink_get_frame() and av_buffersink_get_samples(),
178 deprecate av_buffersink_read() and av_buffersink_read_samples().
179 Deprecate AVFilterBufferRef and all functions for working with it.
180
1472013-xx-xx - xxxxxxx - lavu 52.8.0 - avstring.h1812013-xx-xx - xxxxxxx - lavu 52.8.0 - avstring.h
148 Add av_isdigit, av_isgraph, av_isspace, av_isxdigit.182 Add av_isdigit, av_isgraph, av_isspace, av_isxdigit.
149 183

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