Go to the source code of this file.
Data Structures | |
struct | nalu_t |
NAL unit structure. More... | |
Defines | |
#define | MAXRBSPSIZE 64000 |
#define | MAXNALUSIZE 64000 |
Typedefs | |
typedef struct nalu_t | NALU_t |
Enumerations | |
enum | NaluType { NALU_TYPE_SLICE = 1, NALU_TYPE_DPA = 2, NALU_TYPE_DPB = 3, NALU_TYPE_DPC = 4, NALU_TYPE_IDR = 5, NALU_TYPE_SEI = 6, NALU_TYPE_SPS = 7, NALU_TYPE_PPS = 8, NALU_TYPE_AUD = 9, NALU_TYPE_EOSEQ = 10, NALU_TYPE_EOSTREAM = 11, NALU_TYPE_FILL = 12 } |
enum | NalRefIdc { NALU_PRIORITY_HIGHEST = 3, NALU_PRIORITY_HIGH = 2, NALU_PRIORITY_LOW = 1, NALU_PRIORITY_DISPOSABLE = 0 } |
Functions | |
NALU_t * | AllocNALU (int) |
void | FreeNALU (NALU_t *n) |
Definition in file nalucommon.h.
enum NalRefIdc |
enum NaluType |
NALU_t* AllocNALU | ( | int | buffersize | ) |
allocate one NAL Unit
allocate one NAL Unit
buffersize | size of NALU buffer |
Definition at line 32 of file nalucommon.c.
References nalu_t::buf, nalu_t::max_size, and no_mem_exit().
Referenced by read_new_slice().
void FreeNALU | ( | NALU_t * | n | ) |
free one NAL Unit
free one NAL Unit
n | NALU to be freed |
Definition at line 61 of file nalucommon.c.
References nalu_t::buf.
Referenced by read_new_slice(), and read_next_nalu().