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 31 of file nalucommon.c.
References nalu_t::buf, nalu_t::max_size, and no_mem_exit().
Referenced by create_slice_nalus(), GeneratePic_parameter_set_NALU(), GenerateSEImessage_NALU(), GenerateSeq_parameter_set_NALU(), Write_AUD_NALU(), and Write_Filler_Data_NALU().
void FreeNALU | ( | NALU_t * | n | ) |
free one NAL Unit
free one NAL Unit
n | NALU to be freed |
Definition at line 60 of file nalucommon.c.
References nalu_t::buf.
Referenced by free_nal_unit(), rewrite_paramsets(), start_sequence(), Write_AUD_NALU(), Write_Filler_Data_NALU(), and write_PPS().