27#ifndef AVCODEC_GAIN_MAP_H
28#define AVCODEC_GAIN_MAP_H
33#define FF_GAIN_MAP_VERSION 0
34#define FF_GAIN_MAP_MAX_PAYLOAD_SIZE 141
37#define FF_GAIN_MAP_XMP_IDENT "http://ns.adobe.com/xap/1.0/"
38#define FF_GAIN_MAP_XMP_NAMESPACE "http://ns.adobe.com/hdr-gain-map/1.0/"
39#define FF_GAIN_MAP_XMP_MAX_LEN 1024
int ff_gain_map_params_check_xmp(const AVGainMapParams *p)
Returns 1 if the gain map parameters are compatible with the XMP-based encoding, or 0 otherwise.
int ff_gain_map_params_to_xmp(const AVGainMapParams *p, char *buf)
Serialize an AVGainMapParams as an Ultra HDR XMP packet.
int ff_gain_map_params_from_iso21496(AVGainMapParams *p, const uint8_t *data, size_t size)
Parse the payload of an ISO 21496-1 gain map metadata blob.
int ff_gain_map_params_to_iso21496(const AVGainMapParams *p, uint8_t *buf)
Serialize an AVGainMapParams as an ISO 21496-1 gain map metadata blob.
Parameters describing how to combine a gain map rendition with its base rendition to recover the alte...