#include "nalucommon.h"


Go to the source code of this file.
Data Structures | |
| struct | sBitsFile |
Typedefs | |
| typedef struct sBitsFile | BitsFile |
Functions | |
| void | initBitsFile (int filemode) |
| void | CheckZeroByteNonVCL (NALU_t *nalu) |
| void | CheckZeroByteVCL (NALU_t *nalu) |
| int | read_next_nalu (NALU_t *nalu) |
Variables | |
| BitsFile | bitsfile |
Definition in file nalu.h.
| void initBitsFile | ( | int | filemode | ) |
Initialize bitstream reading structure.
| filemode,: |
Definition at line 37 of file nalu.c.
References CloseAnnexBFile(), CloseRTPFile(), error(), GetRTPNALU(), OpenAnnexBFile(), OpenRTPFile(), PAR_OF_ANNEXB, and PAR_OF_RTP.
Referenced by main().

| int read_next_nalu | ( | NALU_t * | nalu | ) |
Read the next NAL unit (with error handling).
Definition at line 85 of file nalu.c.
References error(), errortext, ET_SIZE, FreeNALU(), NALUtoRBSP(), PAR_OF_ANNEXB, and params.
Referenced by read_new_slice().
