summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2016-03-22 19:09:53 +0100
committerwm4 <nfxjfg@googlemail.com>2016-04-21 14:23:36 +0200
commit7fc329e2dd6226dfecaa4a1d7adf353bf2773726 (patch)
tree697dd1faba6f7a1104fba355f171da913ca90c78 /doc
parenta0b92788a885f4a424d74e04b942ade0cca25403 (diff)
lavc: introduce a new decoding/encoding API with decoupled input/output
Until now, the decoding API was restricted to outputting 0 or 1 frames per input packet. It also enforces a somewhat rigid dataflow in general. This new API seeks to relax these restrictions by decoupling input and output. Instead of doing a single call on each decode step, which may consume the packet and may produce output, the new API requires the user to send input first, and then ask for output. For now, there are no codecs supporting this API. The API can work with codecs using the old API, and most code added here is to make them interoperate. The reverse is not possible, although for audio it might. From Libav commit 05f66706d182eb0c36af54d72614bf4c33e957a9. Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index 8a14e77776..02e4d70713 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -15,6 +15,11 @@ libavutil: 2015-08-28
API changes, most recent first:
+2016-xx-xx - xxxxxxx - lavc 57.37.100 - avcodec.h
+ Add a new audio/video encoding and decoding API with decoupled input
+ and output -- avcodec_send_packet(), avcodec_receive_frame(),
+ avcodec_send_frame() and avcodec_receive_packet().
+
2016-xx-xx - xxxxxxx - lavc 57.15.0 - avcodec.h
Add a new bitstream filtering API working with AVPackets.
Deprecate the old bistream filtering API.