Main Page   Namespace List   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

A52A_SYNCWORD Class Reference

#include <a52a_syncword.h>

List of all members.

Public Methods

 A52A_SYNCWORD ()
 Initialise a new syncword.

void print ()
 Print a syncword (debug function).

ULONGLONG search (istream &f, ULONGLONG pos, int x=0)
 Search a syncword.


Detailed Description

/brief This class represents a syncword.

This class represents one syncword.

Definition at line 14 of file a52a_syncword.h.


Constructor & Destructor Documentation

A52A_SYNCWORD::A52A_SYNCWORD   [inline]
 

Initialise a new syncword.

A SYNCWORD has a constant value.

Definition at line 31 of file a52a_syncword.h.


Member Function Documentation

void A52A_SYNCWORD::print   [inline]
 

Print a syncword (debug function).

Print a SYNCWORD.

Definition at line 39 of file a52a_syncword.h.

ULONGLONG A52A_SYNCWORD::search istream &    f,
ULONGLONG    pos,
int    x = 0
[inline]
 

Search a syncword.

Search a SYNCWORD, starting from position pos. The value of x determines the behaviour of this function.

  • x = 0 :search the first SYNCWORD in the stream.
  • x > 0 :search the nth SYNCWORD in the stream.
  • x = -1 :search the next SYNCWORD in the stream.
  • x = -2 :search the previous SYNCWORD in the stream.
The return value gives the location in bits as an offset from the start location.

Definition at line 54 of file a52a_syncword.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 25 14:06:49 2004 for ac3 by doxygen1.2.18