#include "global.h"
#include "nalucommon.h"

Go to the source code of this file.
Functions | |
| int | WriteAnnexbNALU (NALU_t *n) |
| void | OpenAnnexbFile (char *Filename) |
| void | CloseAnnexbFile (void) |
Variables | |
| static FILE * | f = NULL |
Definition in file annexb.c.
| void CloseAnnexbFile | ( | void | ) |
Closes the output bit stream file.
Definition at line 120 of file annexb.c.
References f.
Referenced by terminate_sequence().
| void OpenAnnexbFile | ( | char * | Filename | ) |
Opens the output file for the bytestream.
| Filename | The filename of the file to be opened |
Definition at line 101 of file annexb.c.
References f.
Referenced by start_sequence().
| int WriteAnnexbNALU | ( | NALU_t * | n | ) |
Writes a NALU to the Annex B Byte Stream.
Definition at line 31 of file annexb.c.
References NALU_t::buf, f, NALU_t::forbidden_bit, NALU_t::len, NALU_t::nal_reference_idc, NALU_t::nal_unit_type, p_trace, and NALU_t::startcodeprefix_len.
Referenced by start_sequence().