From ff1450e449f848ad4b37b3cf448315ba4581364e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Fri, 1 Jul 2022 10:06:15 +0200 Subject: avcodec: add PHM decoder and encoder --- libavcodec/codec_desc.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavcodec/codec_desc.c') diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index e2c1c67f5e..44ad2d1fe8 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -1886,6 +1886,13 @@ static const AVCodecDescriptor codec_descriptors[] = { .long_name = NULL_IF_CONFIG_SMALL("QOI (Quite OK Image)"), .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, }, + { + .id = AV_CODEC_ID_PHM, + .type = AVMEDIA_TYPE_VIDEO, + .name = "phm", + .long_name = NULL_IF_CONFIG_SMALL("PHM (Portable HalfFloatMap) image"), + .props = AV_CODEC_PROP_INTRA_ONLY | AV_CODEC_PROP_LOSSLESS, + }, /* various PCM "codecs" */ { -- cgit v1.2.3