diff options
author | Niklas Haas <git@haasn.dev> | 2022-06-28 15:10:00 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2022-07-30 11:42:06 +0200 |
commit | e1a0f2df3d8c150016bfa2f0dfde7d6b56c6bf3f (patch) | |
tree | f00a11e0e5d97b605c7c65afdb4927592f32b745 /doc | |
parent | 61ffa23c2e42887b32d469d9e69e9eb887b29e9c (diff) | |
download | ffmpeg-e1a0f2df3d8c150016bfa2f0dfde7d6b56c6bf3f.tar.gz |
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.
Signed-off-by: Niklas Haas <git@haasn.dev>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/APIchanges | 5 | ||||
-rw-r--r-- | doc/codecs.texi | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index b3563cd528..e374f3ca81 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,6 +14,11 @@ libavutil: 2021-04-27 API changes, most recent first: +2022-07-xx - xxxxxxxxx - lavc 59.40.100 - avcodec.h + Add the AV_CODEC_FLAG2_ICC_PROFILES flag to AVCodecContext, to enable + automatic reading and writing of embedded ICC profiles in image files. + The "flags2" option now supports the corresponding flag "icc_profiles". + 2022-07-xx - xxxxxxxxxx - lavu 57.30.100 - frame.h Add AVFrame.duration, deprecate AVFrame.pkt_duration. diff --git a/doc/codecs.texi b/doc/codecs.texi index 5e10020900..1adacd2b59 100644 --- a/doc/codecs.texi +++ b/doc/codecs.texi @@ -644,6 +644,8 @@ for codecs that support it. See also @file{doc/examples/export_mvs.c}. Do not skip samples and export skip information as frame side data. @item ass_ro_flush_noop Do not reset ASS ReadOrder field on flush. +@item icc_profiles +Generate/parse embedded ICC profiles from/to colorimetry tags. @end table @item export_side_data @var{flags} (@emph{decoding/encoding,audio,video,subtitles}) |