|
FFmpeg
|
#include "libavutil/buffer.h"#include "libavutil/frame.h"#include "libavutil/hdr_dynamic_metadata.h"#include "libavutil/internal.h"#include "libavutil/mem.h"#include "avcodec.h"#include "atsc_a53.h"#include "bytestream.h"#include "decode.h"#include "dynamic_hdr_vivid.h"#include "dovi_rpu.h"#include "itut35.h"#include "version.h"Go to the source code of this file.
Functions | |
| int | ff_itut_t35_parse_buffer (FFITUTT35 *const itut_t35, const uint8_t *buf, size_t buf_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 *const itut_t35, FFITUTT35Aux *const 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 *const itut_t35, FFITUTT35Aux *const aux, AVCodecContext *const avctx, AVFrame *const 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... | |
| 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 318 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 395 of file itut35.c.
Referenced by ff_h2645_sei_reset(), and ff_itut_t35_parse_payload_to_frame().
1.8.17