History

avcodec: MPEG-5 EVC codec registration

Added prerequisites that must be met before providing support for the MPEG-5 EVC codec - Added new entry to codec IDs list - Added new entry to the codec descriptor list - Bumped libavcodec minor version - Added profiles for EVC codec

Dawid Kozinski committed 3 years ago

Commit 637afea1 parent 45fa85a7 files · +23 −1Browse files

Unified · Split

7 files
  1. doc/APIchanges +3 −0
  2. libavcodec/avcodec.h +3 −0
  3. libavcodec/codec_desc.c +8 −0
  4. libavcodec/codec_id.h +1 −0
  5. libavcodec/profiles.c +6 −0
  6. libavcodec/profiles.h +1 −0
  7. libavcodec/version.h +1 −1
doc/APIchanges+3−0
@@ -2,6 +2,9 @@ The last version increases of all libraries were on 2023-02-09 · 1 unmodified line
2 2
3API changes, most recent first:3API changes, most recent first:
4 4
52023-05-29 - xxxxxxxxxx - lavc 60.16.100 - avcodec.h codec_id.h
6 Add AV_CODEC_ID_EVC, FF_PROFILE_EVC_BASELINE, and FF_PROFILE_EVC_MAIN.
7
52023-05-29 - xxxxxxxxxx - lavu 58.12.100 - mathematics.h82023-05-29 - xxxxxxxxxx - lavu 58.12.100 - mathematics.h
6 Add av_bessel_i0()9 Add av_bessel_i0()
7 10
libavcodec/avcodec.h+3−0
@@ -1715,6 +1715,9 @@ typedef struct AVCodecContext { · 1714 unmodified lines
1715#define FF_PROFILE_KLVA_SYNC 01715#define FF_PROFILE_KLVA_SYNC 0
1716#define FF_PROFILE_KLVA_ASYNC 11716#define FF_PROFILE_KLVA_ASYNC 1
1717 1717
1718#define FF_PROFILE_EVC_BASELINE 0
1719#define FF_PROFILE_EVC_MAIN 1
1720
1718 /**1721 /**
1719 * level1722 * level
1720 * - encoding: Set by user.1723 * - encoding: Set by user.
libavcodec/codec_desc.c+8−0
@@ -1938,6 +1938,14 @@ static const AVCodecDescriptor codec_descriptors[] = { · 1937 unmodified lines
1938 .long_name = NULL_IF_CONFIG_SMALL("PDV (PlayDate Video)"),1938 .long_name = NULL_IF_CONFIG_SMALL("PDV (PlayDate Video)"),
1939 .props = AV_CODEC_PROP_LOSSY,1939 .props = AV_CODEC_PROP_LOSSY,
1940 },1940 },
1941 {
1942 .id = AV_CODEC_ID_EVC,
1943 .type = AVMEDIA_TYPE_VIDEO,
1944 .name = "evc",
1945 .long_name = NULL_IF_CONFIG_SMALL("MPEG-5 EVC (Essential Video Coding)"),
1946 .props = AV_CODEC_PROP_LOSSY | AV_CODEC_PROP_REORDER,
1947 .profiles = NULL_IF_CONFIG_SMALL(ff_evc_profiles),
1948 },
1941 1949
1942 /* various PCM "codecs" */1950 /* various PCM "codecs" */
1943 {1951 {
libavcodec/codec_id.h+1−0
@@ -321,6 +321,7 @@ enum AVCodecID { · 320 unmodified lines
321 AV_CODEC_ID_MEDIA100,321 AV_CODEC_ID_MEDIA100,
322 AV_CODEC_ID_VQC,322 AV_CODEC_ID_VQC,
323 AV_CODEC_ID_PDV,323 AV_CODEC_ID_PDV,
324 AV_CODEC_ID_EVC,
324 325
325 /* various PCM "codecs" */326 /* various PCM "codecs" */
326 AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs327 AV_CODEC_ID_FIRST_AUDIO = 0x10000, ///< A dummy id pointing at the start of audio codecs
libavcodec/profiles.c+6−0
@@ -194,4 +194,10 @@ const AVProfile ff_arib_caption_profiles[] = { · 193 unmodified lines
194 { FF_PROFILE_UNKNOWN }194 { FF_PROFILE_UNKNOWN }
195};195};
196 196
197const AVProfile ff_evc_profiles[] = {
198 { FF_PROFILE_EVC_BASELINE, "Baseline" },
199 { FF_PROFILE_EVC_MAIN, "Main" },
200 { FF_PROFILE_UNKNOWN },
201};
202
197#endif /* !CONFIG_SMALL */203#endif /* !CONFIG_SMALL */
libavcodec/profiles.h+1−0
@@ -74,5 +74,6 @@ extern const AVProfile ff_sbc_profiles[]; · 73 unmodified lines
74extern const AVProfile ff_prores_profiles[];74extern const AVProfile ff_prores_profiles[];
75extern const AVProfile ff_mjpeg_profiles[];75extern const AVProfile ff_mjpeg_profiles[];
76extern const AVProfile ff_arib_caption_profiles[];76extern const AVProfile ff_arib_caption_profiles[];
77extern const AVProfile ff_evc_profiles[];
77 78
78#endif /* AVCODEC_PROFILES_H */79#endif /* AVCODEC_PROFILES_H */
libavcodec/version.h+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
29 29
30#include "version_major.h"30#include "version_major.h"
31 31
32#define LIBAVCODEC_VERSION_MINOR 1532#define LIBAVCODEC_VERSION_MINOR 16
33#define LIBAVCODEC_VERSION_MICRO 10033#define LIBAVCODEC_VERSION_MICRO 100
34 34
35#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \35#define LIBAVCODEC_VERSION_INT AV_VERSION_INT(LIBAVCODEC_VERSION_MAJOR, \

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