FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AV1SequenceParameters |
Functions | |
int | ff_av1_filter_obus (AVIOContext *pb, const uint8_t *buf, int size) |
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and write the resulting bitstream to the provided AVIOContext. More... | |
int | ff_av1_filter_obus_buf (const uint8_t *in, uint8_t **out, int *size, int *offset) |
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and return the result in a data buffer, avoiding allocations and copies if possible. More... | |
int | ff_av1_parse_seq_header (AV1SequenceParameters *seq, const uint8_t *buf, int size) |
Parses a Sequence Header from the the provided buffer. More... | |
int | ff_isom_write_av1c (AVIOContext *pb, const uint8_t *buf, int size, int write_seq_header) |
Writes AV1 extradata (Sequence Header and Metadata OBUs) to the provided AVIOContext. More... | |
int ff_av1_filter_obus | ( | AVIOContext * | pb, |
const uint8_t * | buf, | ||
int | size | ||
) |
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and write the resulting bitstream to the provided AVIOContext.
pb | pointer to the AVIOContext where the filtered bitstream shall be written; may be NULL, in which case nothing is written. |
buf | input data buffer |
size | size of the input data buffer |
Definition at line 82 of file av1.c.
Referenced by ff_mov_write_packet(), and mkv_reformat_av1().
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and return the result in a data buffer, avoiding allocations and copies if possible.
in | input data buffer |
out | pointer to pointer for the returned buffer. In case of success, it is independently allocated if and only if *out differs from in. |
size | size of the input data buffer. The size of the resulting output data buffer will be written here |
offset | offset of the returned data inside *out : It runs from *out + offset (inclusive) to *out + offset + size (exclusive); is zero if *out is independently allocated. |
Definition at line 87 of file av1.c.
Referenced by ff_mov_write_packet().
int ff_av1_parse_seq_header | ( | AV1SequenceParameters * | seq, |
const uint8_t * | buf, | ||
int | size | ||
) |
Parses a Sequence Header from the the provided buffer.
seq | pointer to the AV1SequenceParameters where the parsed values will be written |
buf | input data buffer |
size | size in bytes of the input data buffer |
Definition at line 335 of file av1.c.
Referenced by set_codec_str().
int ff_isom_write_av1c | ( | AVIOContext * | pb, |
const uint8_t * | buf, | ||
int | size, | ||
int | write_seq_header | ||
) |
Writes AV1 extradata (Sequence Header and Metadata OBUs) to the provided AVIOContext.
pb | pointer to the AVIOContext where the av1C box shall be written |
buf | input data buffer |
size | size in bytes of the input data buffer |
write_seq_header | If 1, Sequence Header OBU will be written inside the av1C box. Otherwise, Sequence Header OBU will be omitted. |
Definition at line 398 of file av1.c.
Referenced by flv_write_codec_header(), mkv_assemble_native_codecprivate(), and mov_write_av1c_tag().