nalu.h File Reference

Common NALU support functions. More...

#include "nalucommon.h"

Include dependency graph for nalu.h:

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

Go to the source code of this file.

Data Structures

struct  sBitsFile

Typedefs

typedef struct sBitsFile BitsFile

Functions

void initBitsFile (ImageParameters *p_Img, int filemode)
void CheckZeroByteNonVCL (ImageParameters *p_Img, NALU_t *nalu)
void CheckZeroByteVCL (ImageParameters *p_Img, NALU_t *nalu)
int read_next_nalu (ImageParameters *p_Img, NALU_t *nalu)


Detailed Description

Common NALU support functions.

nalu.h

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

Definition in file nalu.h.


Function Documentation

void initBitsFile ( ImageParameters *  p_Img,
int  filemode 
)

Initialize bitstream reading structure.

Parameters:
p_Img,: Imageparameter information
filemode,: 

Definition at line 34 of file nalu.c.

References CloseAnnexBFile(), CloseRTPFile(), error(), GetAnnexbNALU(), GetRTPNALU(), no_mem_exit(), OpenAnnexBFile(), OpenRTPFile(), PAR_OF_ANNEXB, and PAR_OF_RTP.

Referenced by main().

Here is the call graph for this function:

int read_next_nalu ( ImageParameters *  p_Img,
NALU_t nalu 
)

Read the next NAL unit (with error handling).

Definition at line 90 of file nalu.c.

References error(), errortext, ET_SIZE, nalu_t::forbidden_bit, FreeNALU(), nalu_t::len, NALUtoRBSP(), and PAR_OF_ANNEXB.

Referenced by read_new_slice().

Here is the call graph for this function:


Documentation generated with DoxyGen