History

avcodec: add API for automatic handling of icc profiles

This functionally already exists, but as pointed out in #9672 and #9673, requiring users to manually include filters is clumsy, error-prone and hard to use together with tools like ffplay. To streamline ICC profile support, add a new AVCodecContext flag to globally enable reading and writing ICC profiles, automatically, for all appropriate media types. Note that this commit only includes the new API. The implementation is split off to separate commits for readability.

Niklas Haas committed 4 years ago

Commit e1a0f2d1 parent 61ffa235 files · +15 −1Browse files

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

Unified · Split

doc/APIchanges+5−0
@@ -14,6 +14,11 @@ libavutil: 2021-04-27 · 13 unmodified lines
1414
1515 API changes, most recent first:
1616
17+2022-07-xx - xxxxxxxxx - lavc 59.40.100 - avcodec.h
18+ Add the AV_CODEC_FLAG2_ICC_PROFILES flag to AVCodecContext, to enable
19+ automatic reading and writing of embedded ICC profiles in image files.
20+ The "flags2" option now supports the corresponding flag "icc_profiles".
21+
1722 2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h
1823 Add AVFrame.duration, deprecate AVFrame.pkt_duration.
1924

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