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.
Showing the changes to doc/APIchanges (1 of 5 files). Show all
Unified · Split
| @@ -14,6 +14,11 @@ libavutil: 2021-04-27 · 13 unmodified lines | ||
| 14 | 14 | |
| 15 | 15 | API changes, most recent first: |
| 16 | 16 | |
| 17 | +2022-09-26 - xxxxxxxxxx - lavc 59.48.100 - avcodec.h | |
| 18 | + Deprecate avcodec_enum_to_chroma_pos() and avcodec_chroma_pos_to_enum(). | |
| 19 | + Use av_chroma_location_enum_to_pos() or av_chroma_location_pos_to_enum() | |
| 20 | + instead. | |
| 21 | + | |
| 17 | 22 | 2022-09-26 - xxxxxxxxxx - lavu 57.37.100 - pixdesc.h |
| 18 | 23 | Add av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum(). |
| 19 | 24 | |