#include "nalucommon.h"
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) |
Definition in file nalu.h.
void initBitsFile | ( | ImageParameters * | p_Img, | |
int | filemode | |||
) |
Initialize bitstream reading structure.
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().
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().