19#ifndef AVCODEC_ITUT35_H
20#define AVCODEC_ITUT35_H
30#define ITU_T_T35_COUNTRY_CODE_CN 0x26
31#define ITU_T_T35_COUNTRY_CODE_UK 0xB4
32#define ITU_T_T35_COUNTRY_CODE_US 0xB5
39#define ITU_T_T35_PROVIDER_CODE_HDR_VIVID 0x0004
42#define ITU_T_T35_PROVIDER_CODE_VNOVA 0x5000
44#define ITU_T_T35_PROVIDER_CODE_ATSC 0x0031
45#define ITU_T_T35_PROVIDER_CODE_DOLBY 0x003B
46#define ITU_T_T35_PROVIDER_CODE_AOM 0x5890
47#define ITU_T_T35_PROVIDER_CODE_SAMSUNG 0x003C
48#define ITU_T_T35_PROVIDER_CODE_SMPTE 0x0090
83#define FF_ITUT_T35_FLAG_COUNTRY_CODE (1 << 0)
AOM film grain synthesis.
Libavcodec external API header.
static int FUNC metadata(CodedBitstreamContext *ctx, RWContext *rw, APVRawMetadata *current)
#define flags(name, subs,...)
reference-counted frame API
int ff_itut_t35_parse_buffer(FFITUTT35 *itut_t35, const uint8_t *buf, size_t size, int flags)
Parse a raw ITU-T T35 buffer to get the country code, provider code, and set them plus the pointer an...
int ff_itut_t35_parse_payload_to_struct(FFITUTT35 *itut_t35, FFITUTT35Aux *aux, FFITUTT35Meta *metadata, int err_recognition)
Parse a pre-processed ITU-T T35 payload to fill the metadata struct.
int ff_itut_t35_parse_payload_to_frame(FFITUTT35 *itut_t35, FFITUTT35Aux *aux, AVCodecContext *avctx, AVFrame *frame)
Parse a pre-processed ITU-T T35 payload to fill a frame's side data.
void ff_itut_t35_unref(FFITUTT35Meta *metadata)
Unref all references in metadata.
A reference to a data buffer.
main external API structure.
This structure describes decoded (raw) audio or video data.
DOVIContext * dovi
A DOVIContext.
unsigned int provider_oriented_code