mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-01-12 00:06:51 +08:00
avcodec/codec_id: add JPEG-XS
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
5fac8addc5
commit
4243e6c870
@@ -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" */
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user