Go to the documentation of this file.
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)
This structure describes decoded (raw) audio or video data.
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.
#define flags(name, subs,...)
void ff_itut_t35_unref(FFITUTT35Meta *metadata)
Unref all references in metadata.
these buffered frames must be flushed immediately if a new input produces new the filter must not call request_frame to get more It must just process the frame or queue it The task of requesting more frames is left to the filter s request_frame method or the application If a filter has several the filter must be ready for frames arriving randomly on any input any filter with several inputs will most likely require some kind of queuing mechanism It is perfectly acceptable to have a limited queue and to drop frames when the inputs are too unbalanced request_frame For filters that do not use the this method is called when a frame is wanted on an output For a it should directly call filter_frame on the corresponding output For a if there are queued frames already one of these frames should be pushed If the filter should request a frame on one of its repeatedly until at least one frame has been pushed Return or at least make progress towards producing a frame
main external API structure.
DOVIContext * dovi
A DOVIContext.
A reference to a data buffer.
unsigned int provider_oriented_code