annexb.h File Reference

Byte stream operations support. More...

#include "nalucommon.h"

Include dependency graph for annexb.h:

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

Go to the source code of this file.

Functions

int WriteAnnexbNALU (NALU_t *n)
void CloseAnnexbFile ()
void OpenAnnexbFile (char *Filename)


Detailed Description

Byte stream operations support.

annexb.h

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

Definition in file annexb.h.


Function Documentation

void CloseAnnexbFile ( void   ) 

Closes the output bit stream file.

Returns:
none. Funtion trerminates the program in case of an error

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.

Parameters:
Filename The filename of the file to be opened
Returns:
none. Function terminates the program in case of an error

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.

Returns:
number of bits written

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().


Documentation generated with DoxyGen