FFmpeg
|
#include <limits.h>
#include <stdint.h>
#include "libavutil/common.h"
#include "libavutil/error.h"
#include "libavutil/intmath.h"
#include "av1.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | AV1OBU |
struct | AV1Packet |
An input packet split into OBUs. More... | |
Macros | |
#define | MAX_OBU_HEADER_SIZE (2 + 8) |
Functions | |
int | ff_av1_extract_obu (AV1OBU *obu, const uint8_t *buf, int length, void *logctx) |
Extract an OBU from a raw bitstream. More... | |
int | ff_av1_packet_split (AV1Packet *pkt, const uint8_t *buf, int length, void *logctx) |
Split an input packet into OBUs. More... | |
void | ff_av1_packet_uninit (AV1Packet *pkt) |
Free all the allocated memory in the packet. More... | |
static int64_t | leb128 (GetBitContext *gb) |
static int | parse_obu_header (const uint8_t *buf, int buf_size, int64_t *obu_size, int *start_pos, int *type, int *temporal_id, int *spatial_id) |
static int | get_obu_bit_length (const uint8_t *buf, int size, int type) |
#define MAX_OBU_HEADER_SIZE (2 + 8) |
Definition at line 35 of file av1_parse.h.
Extract an OBU from a raw bitstream.
Definition at line 29 of file av1_parse.c.
Referenced by av1_split(), and ff_av1_packet_split().
Split an input packet into OBUs.
Definition at line 56 of file av1_parse.c.
Referenced by extract_extradata_av1().
void ff_av1_packet_uninit | ( | AV1Packet * | pkt | ) |
Free all the allocated memory in the packet.
Definition at line 106 of file av1_parse.c.
Referenced by extract_extradata_close().
|
inlinestatic |
Definition at line 94 of file av1_parse.h.
Referenced by parse_obu_header().
|
inlinestatic |
Definition at line 107 of file av1_parse.h.
Referenced by av1_filter_obus(), ff_av1_extract_obu(), ff_av1_parse_seq_header(), and ff_isom_write_av1c().
Definition at line 151 of file av1_parse.h.
Referenced by ff_av1_packet_split(), and parse_sequence_header().