diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-21 02:42:48 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-26 03:02:49 +0200 |
commit | a02a0e8db492ae91672449ac3be8ff084a903402 (patch) | |
tree | c5b5421ec7902f3e0430fc8b2bdd134ec16b2461 /doc | |
parent | 832e6563df9bb6ca79b8a9b39c6a7e8dc28808e2 (diff) | |
download | ffmpeg-a02a0e8db492ae91672449ac3be8ff084a903402.tar.gz |
avcodec/avcodec: Deprecate lavc chroma pos API functions
avcodec_enum_to_chroma_pos() and avcodec_chroma_pos_to_enum()
deal with enum AVChromaLocation which is defined in lavu.
These functions are therefore replaced by
av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum().
This commit provides the necessary deprecations. Also already make
these functions wrappers around the corresponding lavu functions
as not doing so would force one to disable deprecation warnings.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/APIchanges | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index 535e4e56bd..b0a41c9e37 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -14,6 +14,11 @@ libavutil: 2021-04-27 API changes, most recent first: +2022-09-26 - xxxxxxxxxx - lavc 59.48.100 - avcodec.h + Deprecate avcodec_enum_to_chroma_pos() and avcodec_chroma_pos_to_enum(). + Use av_chroma_location_enum_to_pos() or av_chroma_location_pos_to_enum() + instead. + 2022-09-26 - xxxxxxxxxx - lavu 57.37.100 - pixdesc.h Add av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum(). |