FFmpeg
|
#include "libavutil/mem.h"
#include "libavcodec/av1.h"
#include "libavcodec/av1_parse.h"
#include "libavcodec/profiles.h"
#include "libavcodec/put_bits.h"
#include "av1.h"
#include "avio.h"
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 *buf, uint8_t **out, int *size) |
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and write the resulting bitstream to a newly allocated data buffer. More... | |
static void | uvlc (GetBitContext *gb) |
static int | parse_color_config (AV1SequenceParameters *seq_params, GetBitContext *gb) |
static int | parse_sequence_header (AV1SequenceParameters *seq_params, const uint8_t *buf, int size) |
int | ff_isom_write_av1c (AVIOContext *pb, const uint8_t *buf, int size) |
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 |
buf | input data buffer |
size | size of the input data buffer |
Definition at line 30 of file av1.c.
Referenced by ff_av1_filter_obus_buf(), and ff_mov_write_packet().
Filter out AV1 OBUs not meant to be present in ISOBMFF sample data and write the resulting bitstream to a newly allocated data buffer.
pb | pointer to the AVIOContext where the filtered bitstream shall be written |
buf | input data buffer |
out | pointer to pointer that will hold the allocated data buffer |
size | size of the input data buffer. The size of the resulting output data buffer will be written here |
Definition at line 60 of file av1.c.
Referenced by ff_mov_write_packet(), and mkv_write_block().
|
inlinestatic |
Definition at line 91 of file av1.c.
Referenced by parse_sequence_header().
|
static |
Definition at line 107 of file av1.c.
Referenced by parse_sequence_header().
|
static |
Definition at line 171 of file av1.c.
Referenced by ff_isom_write_av1c().
int ff_isom_write_av1c | ( | AVIOContext * | pb, |
const uint8_t * | buf, | ||
int | size | ||
) |
Writes AV1 extradata (Sequence Header and Metadata OBUs) to the provided AVIOContext.
pb | pointer to the AVIOContext where the hvcC shall be written |
buf | input data buffer |
size | size in bytes of the input data buffer |
Definition at line 300 of file av1.c.
Referenced by mkv_check_new_extra_data(), mkv_write_native_codecprivate(), and mov_write_av1c_tag().