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 (ImageParameters *p_Img, NALU_t *n)
void OpenAnnexbFile (ImageParameters *p_Img, char *fn)
void CloseAnnexbFile (ImageParameters *p_Img)


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 ( ImageParameters p_Img  ) 

Closes the output bit stream file.

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

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.

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

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.

Returns:
number of bits written

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


Documentation generated with DoxyGen