[FFmpeg-devel] [PATCH 08/13] avcodec/codec_id: add an LCEVC codec id for raw LCEVC data

James Almer jamrial at gmail.com
Sat Aug 31 19:31:09 EEST 2024


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/codec_desc.c | 6 ++++++
 libavcodec/codec_id.h   | 1 +
 2 files changed, 7 insertions(+)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index a28ef68061..03dea5751a 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -3696,6 +3696,12 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .name      = "smpte_2038",
         .long_name = NULL_IF_CONFIG_SMALL("SMPTE ST 2038 VANC in MPEG-2 TS"),
     },
+    {
+        .id        = AV_CODEC_ID_LCEVC,
+        .type      = AVMEDIA_TYPE_DATA,
+        .name      = "lcevc",
+        .long_name = NULL_IF_CONFIG_SMALL("LCEVC (Low Complexity Enhancement Video Coding) / MPEG-5 LCEVC / MPEG-5 part 2"),
+    },
     {
         .id        = AV_CODEC_ID_MPEG2TS,
         .type      = AVMEDIA_TYPE_DATA,
diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
index 0ab1e34a61..0a8d3bed1e 100644
--- a/libavcodec/codec_id.h
+++ b/libavcodec/codec_id.h
@@ -589,6 +589,7 @@ enum AVCodecID {
     AV_CODEC_ID_TIMED_ID3,
     AV_CODEC_ID_BIN_DATA,
     AV_CODEC_ID_SMPTE_2038,
+    AV_CODEC_ID_LCEVC,
 
 
     AV_CODEC_ID_PROBE = 0x19000, ///< codec_id is not known (like AV_CODEC_ID_NONE) but lavf should attempt to identify it
-- 
2.46.0



More information about the ffmpeg-devel mailing list