nalucommon.h File Reference

NALU handling common to encoder and decoder. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  NALU_t

Defines

#define MAXRBSPSIZE   64000
#define NALU_TYPE_SLICE   1
#define NALU_TYPE_DPA   2
#define NALU_TYPE_DPB   3
#define NALU_TYPE_DPC   4
#define NALU_TYPE_IDR   5
#define NALU_TYPE_SEI   6
#define NALU_TYPE_SPS   7
#define NALU_TYPE_PPS   8
#define NALU_TYPE_AUD   9
#define NALU_TYPE_EOSEQ   10
#define NALU_TYPE_EOSTREAM   11
#define NALU_TYPE_FILL   12
#define NALU_PRIORITY_HIGHEST   3
#define NALU_PRIORITY_HIGH   2
#define NALU_PRIORITY_LOW   1
#define NALU_PRIORITY_DISPOSABLE   0

Functions

NALU_t * AllocNALU (int buffersize)
void FreeNALU (NALU_t *n)


Detailed Description

NALU handling common to encoder and decoder.

nalucommon.h.h

Date:
25 November 2002
Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file nalucommon.h.


Function Documentation

NALU_t* AllocNALU ( int  buffersize  ) 

Allocates memory for a NALU.

Parameters:
buffersize size of NALU buffer
Returns:
pointer to a NALU

Definition at line 34 of file nalucommon.c.

References no_mem_exit().

Referenced by read_new_slice().

Here is the call graph for this function:

void FreeNALU ( NALU_t *  n  ) 

Frees a NALU.

Parameters:
n NALU to be freed

Definition at line 64 of file nalucommon.c.

Referenced by read_new_slice(), and read_next_nalu().


Documentation generated with DoxyGen