History

avcodec: add a get_encode_buffer() callback to AVCodecContext

This callback is functionally the same as get_buffer2() is for decoders, and implements for the new encode API the functionality of the old encode API had where the user could provide their own buffers.

James Almer committed 5 years ago

Commit 6e7e3a31 parent 2c96e6c7 files · +131 −4Browse files

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

Unified · Split

doc/APIchanges+7−0
@@ -15,6 +15,13 @@ libavutil: 2017-10-21 · 14 unmodified lines
1515
1616 API changes, most recent first:
1717
18+2021-03-12 - xxxxxxxxxx - lavc 58.131.100 - avcodec.h codec.h
19+ Add a get_encode_buffer callback to AVCodecContext, similar to
20+ get_buffer2 but for encoders.
21+ Add avcodec_default_get_encode_buffer().
22+ Add AV_GET_ENCODE_BUFFER_FLAG_REF.
23+ Encoders may now be flagged as AV_CODEC_CAP_DR1 capable.
24+
1825 2021-03-10 - xxxxxxxxxx - lavf 58.72.100 - avformat.h
1926 Change AVBufferRef related AVStream function and struct size
2027 parameter and fields type to size_t at next major bump.

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