|
FFmpeg
|
#include <stdint.h>#include <stddef.h>#include "libavutil/frame.h"#include "avcodec.h"#include "aom_film_grain.h"#include "dovi_rpu.h"Go to the source code of this file.
Data Structures | |
| struct | FFITUTT35 |
| struct | FFITUTT35Meta |
| struct | FFITUTT35Aux |
Macros | |
| #define | ITU_T_T35_COUNTRY_CODE_CN 0x26 |
| #define | ITU_T_T35_COUNTRY_CODE_UK 0xB4 |
| #define | ITU_T_T35_COUNTRY_CODE_US 0xB5 |
| #define | ITU_T_T35_PROVIDER_CODE_HDR_VIVID 0x0004 |
| #define | ITU_T_T35_PROVIDER_CODE_VNOVA 0x5000 |
| #define | ITU_T_T35_PROVIDER_CODE_ATSC 0x0031 |
| #define | ITU_T_T35_PROVIDER_CODE_DOLBY 0x003B |
| #define | ITU_T_T35_PROVIDER_CODE_AOM 0x5890 |
| #define | ITU_T_T35_PROVIDER_CODE_SAMSUNG 0x003C |
| #define | ITU_T_T35_PROVIDER_CODE_SMPTE 0x0090 |
| #define | FF_ITUT_T35_FLAG_COUNTRY_CODE (1 << 0) |
| country_code is assumed to not be the first byte of the buffer and must be set by the caller beforehand. More... | |
Functions | |
| 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 and size in the FFITUTT35 struct to the start of the actual payload. More... | |
| 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. More... | |
| 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. More... | |
| void | ff_itut_t35_unref (FFITUTT35Meta *metadata) |
| Unref all references in metadata. More... | |
| #define FF_ITUT_T35_FLAG_COUNTRY_CODE (1 << 0) |
| 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 and size in the FFITUTT35 struct to the start of the actual payload.
| itut_t35 | The struct to fill |
| buf | The input buffer |
| size | Size of the input buffer |
| flags | A combination of FF_ITUT_T35_FLAG_* |
Definition at line 34 of file itut35.c.
Referenced by decode_metadata_itu_t_t35(), decode_registered_user_data(), export_itut_t35(), and parse_itut_t35_metadata().
| 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.
| itut_t35 | The pre-filled struct |
| aux | A struct containing extra contexts required by certain payload types. Any pointer present is owned by the caller. May be NULL, in which case the relevant payloads will not be parsed. |
| metadata | A metadata struct. All the allocated buffer references are owned by the caller and must be freed accordingly. |
| err_recognition | A combination of AV_EF_* flags |
Definition at line 163 of file itut35.c.
Referenced by decode_registered_user_data(), and ff_itut_t35_parse_payload_to_frame().
| 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.
| itut_t35 | The pre-filled struct |
| aux | A struct containing extra contexts required by certain payload types. Any pointer present is owned by the caller. May be NULL, in which case the relevant payloads will not be parsed. |
| avctx | The context that generated the frame |
| frame | A frame |
Definition at line 322 of file itut35.c.
Referenced by decode_metadata_itu_t_t35(), export_itut_t35(), and parse_itut_t35_metadata().
| void ff_itut_t35_unref | ( | FFITUTT35Meta * | metadata | ) |
Unref all references in metadata.
Definition at line 399 of file itut35.c.
Referenced by ff_h2645_sei_reset(), and ff_itut_t35_parse_payload_to_frame().
1.8.17