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

Unified · Split

6 files
  1. Changelog +1 −0
  2. doc/APIchanges +37 −3
  3. libavcodec/version.h +3 −3
  4. libavdevice/version.h +2 −2
  5. libavfilter/version.h +1 −1
  6. libavformat/version.h +3 −3
Changelog+1−0
@@ -4,6 +4,7 @@ releases are sorted from youngest to oldest. · 3 unmodified lines
4version 10:4version 10:
5- av_strnstr5- av_strnstr
6- support ID3v2 tags in ASF files6- support ID3v2 tags in ASF files
7- reference-counting for AVFrame and AVPacket data
7 8
8 9
9version 9:10version 9:
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.2since the last major version increase.
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
10libswscale: 2011-06-2010libswscale: 2011-06-20
11libavutil: 2012-10-2211libavutil: 2012-10-22
@@ -13,6 +13,40 @@ libavutil: 2012-10-22 · 1 unmodified line
13 13
14API changes, most recent first:14API changes, most recent first:
15 15
162013-03-xx - Reference counted buffers - lavu 52.8.0, lavc 55.0.0, lavf 55.0.0,
17lavd 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
162013-xx-xx - xxxxxxx - lavu 52.8.0 - avstring.h502013-xx-xx - xxxxxxx - lavu 52.8.0 - avstring.h
17 Add av_isdigit, av_isgraph, av_isspace, av_isxdigit.51 Add av_isdigit, av_isgraph, av_isspace, av_isxdigit.
18 52
libavcodec/version.h+3−3
@@ -26,9 +26,9 @@ · 25 unmodified lines
26 * Libavcodec version macros.26 * Libavcodec version macros.
27 */27 */
28 28
29#define LIBAVCODEC_VERSION_MAJOR 5429#define LIBAVCODEC_VERSION_MAJOR 55
30#define LIBAVCODEC_VERSION_MINOR 4130#define LIBAVCODEC_VERSION_MINOR 0
31#define LIBAVCODEC_VERSION_MICRO 131#define LIBAVCODEC_VERSION_MICRO 0
32 32
33#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \33#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \
34 LIBAVCODEC_VERSION_MINOR, \34 LIBAVCODEC_VERSION_MINOR, \
libavdevice/version.h+2−2
@@ -27,8 +27,8 @@ · 26 unmodified lines
27 27
28#include "libavutil/avutil.h"28#include "libavutil/avutil.h"
29 29
30#define LIBAVDEVICE_VERSION_MAJOR 5330#define LIBAVDEVICE_VERSION_MAJOR 54
31#define LIBAVDEVICE_VERSION_MINOR 231#define LIBAVDEVICE_VERSION_MINOR 0
32#define LIBAVDEVICE_VERSION_MICRO 032#define LIBAVDEVICE_VERSION_MICRO 0
33 33
34#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \34#define LIBAVDEVICE_VERSION_INT AV_VERSION_INT(LIBAVDEVICE_VERSION_MAJOR, \
libavfilter/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29#include "libavutil/avutil.h"29#include "libavutil/avutil.h"
30 30
31#define LIBAVFILTER_VERSION_MAJOR 331#define LIBAVFILTER_VERSION_MAJOR 3
32#define LIBAVFILTER_VERSION_MINOR 432#define LIBAVFILTER_VERSION_MINOR 5
33#define LIBAVFILTER_VERSION_MICRO 033#define LIBAVFILTER_VERSION_MICRO 0
34 34
35#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \35#define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
libavformat/version.h+3−3
@@ -29,9 +29,9 @@ · 28 unmodified lines
29 29
30#include "libavutil/avutil.h"30#include "libavutil/avutil.h"
31 31
32#define LIBAVFORMAT_VERSION_MAJOR 5432#define LIBAVFORMAT_VERSION_MAJOR 55
33#define LIBAVFORMAT_VERSION_MINOR 2133#define LIBAVFORMAT_VERSION_MINOR 0
34#define LIBAVFORMAT_VERSION_MICRO 334#define LIBAVFORMAT_VERSION_MICRO 0
35 35
36#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \36#define LIBAVFORMAT_VERSION_INT AV_VERSION_INT(LIBAVFORMAT_VERSION_MAJOR, \
37 LIBAVFORMAT_VERSION_MINOR, \37 LIBAVFORMAT_VERSION_MINOR, \

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