#include "global.h"
#include "nalucommon.h"
Go to the source code of this file.
Functions | |
int | WriteAnnexbNALU (ImageParameters *p_Img, NALU_t *n) |
void | OpenAnnexbFile (ImageParameters *p_Img, char *Filename) |
void | CloseAnnexbFile (ImageParameters *p_Img) |
Definition in file annexb.c.
void CloseAnnexbFile | ( | ImageParameters * | p_Img | ) |
Closes the output bit stream file.
Definition at line 119 of file annexb.c.
Referenced by terminate_sequence().
void OpenAnnexbFile | ( | ImageParameters * | p_Img, | |
char * | Filename | |||
) |
Opens the output file for the bytestream.
p_Img | ImageParameters structure | |
Filename | The filename of the file to be opened |
Definition at line 100 of file annexb.c.
Referenced by start_sequence().
int WriteAnnexbNALU | ( | ImageParameters * | p_Img, | |
NALU_t * | n | |||
) |
Writes a NALU to the Annex B Byte Stream.
Definition at line 28 of file annexb.c.
References nalu_t::buf, nalu_t::forbidden_bit, nalu_t::len, nalu_t::nal_reference_idc, nalu_t::nal_unit_type, and nalu_t::startcodeprefix_len.
Referenced by start_sequence().