[FFmpeg-devel] [PATCH] avcodec: add Radiance HDR image format support

James Almer jamrial at gmail.com
Wed Jul 6 21:50:24 EEST 2022


On 7/6/2022 3:47 PM, Paul B Mahol wrote:
> Added parser.
> The test will be added after this is merged.

[...]

> diff --git a/libavformat/img2.c b/libavformat/img2.c
> index 870d2ebbc5..b03075f3b0 100644
> --- a/libavformat/img2.c
> +++ b/libavformat/img2.c
> @@ -91,6 +91,7 @@ const IdStrMap ff_img_tags[] = {
>      { AV_CODEC_ID_VBN,        "vbn"      },
>      { AV_CODEC_ID_JPEGXL,     "jxl"      },
>      { AV_CODEC_ID_QOI,        "qoi"      },
> +    { AV_CODEC_ID_HDR,        "hdr"      },

This could end up confusing people, so preferably use RHDR or some other 
combination for the codec id.

>      { AV_CODEC_ID_NONE,       NULL       }
>  };



More information about the ffmpeg-devel mailing list