summaryrefslogtreecommitdiff
path: root/libavcodec/codec_desc.c
diff options
context:
space:
mode:
authorGautam Ramakrishnan <gautamramk@gmail.com>2020-07-03 00:49:38 +0530
committerMichael Niedermayer <michael@niedermayer.cc>2020-07-03 23:28:26 +0200
commitcfe2cf0a63c2f6a39cfe7a97d8191031e717bc69 (patch)
treeebc4a6dedbe536dde3a012f80573b2de0d1e2b4d /libavcodec/codec_desc.c
parent76a3ee996bf9f3435b1c11d69639cd1e971f20c3 (diff)
downloadffmpeg-cfe2cf0a63c2f6a39cfe7a97d8191031e717bc69.tar.gz
libavcodec/pgxdec: Add PGX decoder
This patch adds a pgx decoder. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/codec_desc.c')
-rw-r--r--libavcodec/codec_desc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c
index 9f8847544f..67e0a3055c 100644
--- a/libavcodec/codec_desc.c
+++ b/libavcodec/codec_desc.c
@@ -1406,6 +1406,13 @@ static const AVCodecDescriptor codec_descriptors[] = {
.props = AV_CODEC_PROP_LOSSY,
},
{
+ .id = AV_CODEC_ID_PGX,
+ .type = AVMEDIA_TYPE_VIDEO,
+ .name = "pgx",
+ .long_name = NULL_IF_CONFIG_SMALL("PGX (JPEG2000 Test Format)"),
+ .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS,
+ },
+ {
.id = AV_CODEC_ID_Y41P,
.type = AVMEDIA_TYPE_VIDEO,
.name = "y41p",