shared defines and functions for AV1 RTP dec/enc
More...
#include <stdint.h>
#include "libavutil/log.h"
Go to the source code of this file.
|
static unsigned int | calc_leb_size (uint32_t length) |
| calculate number of required LEB bytes for the given length More...
|
|
static unsigned int | write_leb (uint8_t *lebptr, uint32_t length) |
| write out variable number of LEB bytes for the given length More...
|
|
static void | write_leb_n (uint8_t *lebptr, uint32_t length, unsigned int num_lebs) |
| write out fixed number of LEB bytes (may have "unused" bytes) More...
|
|
static unsigned int | parse_leb (void *logctx, const uint8_t *buf_ptr, uint32_t buffer_size, uint32_t *obu_size) |
| securely parse LEB bytes and return the resulting encoded length More...
|
|
shared defines and functions for AV1 RTP dec/enc
- Author
- Chris Hodges chris.nosp@m..hod.nosp@m.ges@a.nosp@m.xis..nosp@m.com
Definition in file rtp_av1.h.
◆ AV1B_OBU_FORBIDDEN
#define AV1B_OBU_FORBIDDEN 7 |
◆ AV1F_OBU_FORBIDDEN
◆ AV1S_OBU_TYPE
◆ AV1M_OBU_TYPE
◆ AV1B_OBU_EXTENSION_FLAG
#define AV1B_OBU_EXTENSION_FLAG 2 |
◆ AV1F_OBU_EXTENSION_FLAG
◆ AV1B_OBU_HAS_SIZE_FIELD
#define AV1B_OBU_HAS_SIZE_FIELD 1 |
◆ AV1F_OBU_HAS_SIZE_FIELD
◆ AV1B_OBU_RESERVED_1BIT
#define AV1B_OBU_RESERVED_1BIT 0 |
◆ AV1F_OBU_RESERVED_1BIT
◆ AV1B_AGGR_HDR_FRAG_CONT
#define AV1B_AGGR_HDR_FRAG_CONT 7 |
◆ AV1F_AGGR_HDR_FRAG_CONT
◆ AV1B_AGGR_HDR_LAST_FRAG
#define AV1B_AGGR_HDR_LAST_FRAG 6 |
◆ AV1F_AGGR_HDR_LAST_FRAG
◆ AV1S_AGGR_HDR_NUM_OBUS
#define AV1S_AGGR_HDR_NUM_OBUS 4 |
◆ AV1M_AGGR_HDR_NUM_OBUS
#define AV1M_AGGR_HDR_NUM_OBUS 3 |
◆ AV1B_AGGR_HDR_FIRST_PKT
#define AV1B_AGGR_HDR_FIRST_PKT 3 |
◆ AV1F_AGGR_HDR_FIRST_PKT
◆ calc_leb_size()
static unsigned int calc_leb_size |
( |
uint32_t |
length | ) |
|
|
inlinestatic |
◆ write_leb()
static unsigned int write_leb |
( |
uint8_t * |
lebptr, |
|
|
uint32_t |
length |
|
) |
| |
|
inlinestatic |
◆ write_leb_n()
static void write_leb_n |
( |
uint8_t * |
lebptr, |
|
|
uint32_t |
length, |
|
|
unsigned int |
num_lebs |
|
) |
| |
|
inlinestatic |
◆ parse_leb()
static unsigned int parse_leb |
( |
void * |
logctx, |
|
|
const uint8_t * |
buf_ptr, |
|
|
uint32_t |
buffer_size, |
|
|
uint32_t * |
obu_size |
|
) |
| |
|
inlinestatic |