History

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.

Andreas Rheinhardt committed 4 years ago

Commit a02a0e81 parent 832e6565 files · +17 −17Browse 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
14 14
15API changes, most recent first:15API changes, most recent first:
16 16
172022-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
172022-09-26 - xxxxxxxxxx - lavu 57.37.100 - pixdesc.h222022-09-26 - xxxxxxxxxx - lavu 57.37.100 - pixdesc.h
18 Add av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum().23 Add av_chroma_location_enum_to_pos() and av_chroma_location_pos_to_enum().
19 24

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