This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 4243e6c870e41e57ff97552f290ded45f7f46ff7
Author:     Tomasz Szumski <[email protected]>
AuthorDate: Tue Jul 9 10:04:16 2024 +0200
Commit:     James Almer <[email protected]>
CommitDate: Sat Dec 13 18:45:17 2025 -0300

    avcodec/codec_id: add JPEG-XS
    
    Signed-off-by: James Almer <[email protected]>
---
 libavcodec/codec_desc.c | 9 +++++++++
 libavcodec/codec_id.h   | 1 +
 2 files changed, 10 insertions(+)

diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index c72271bfad..b3f4e73e1d 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -2000,6 +2000,15 @@ static const AVCodecDescriptor codec_descriptors[] = {
         .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY,
         .profiles  = NULL_IF_CONFIG_SMALL(ff_prores_raw_profiles),
     },
+    {
+        .id        = AV_CODEC_ID_JPEGXS,
+        .type      = AVMEDIA_TYPE_VIDEO,
+        .name      = "jpegxs",
+        .long_name = NULL_IF_CONFIG_SMALL("JPEG XS"),
+        .props     = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSY |
+                     AV_CODEC_PROP_LOSSLESS,
+        .mime_types= MT("image/jxs"),
+    },
 
     /* various PCM "codecs" */
     {
diff --git a/libavcodec/codec_id.h b/libavcodec/codec_id.h
index 8c98ac6335..6529f0a6bc 100644
--- a/libavcodec/codec_id.h
+++ b/libavcodec/codec_id.h
@@ -331,6 +331,7 @@ enum AVCodecID {
     AV_CODEC_ID_JPEGXL_ANIM,
     AV_CODEC_ID_APV,
     AV_CODEC_ID_PRORES_RAW,
+    AV_CODEC_ID_JPEGXS,
 
     /* various PCM "codecs" */
     AV_CODEC_ID_FIRST_AUDIO = 0x10000,     ///< A dummy id pointing at the 
start of audio codecs

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to