atsc_huffman.cpp File Reference

Go to the source code of this file.

Classes

struct  huffman_table

Functions

static int huffman1_get_root (uint input, const unsigned char *table)
static bool huffman1_get_bit (const unsigned char *src, uint bit)
QString atsc_huffman1_to_string (const unsigned char *compressed, uint size, uint table_index)
static int huffman2_get_bit (unsigned char &bitpos, const unsigned char **bufptr)
static void huffman2_set_pos (unsigned char &bitpos, const unsigned char **bufptr, const unsigned char *buffer, uint pos)
QString atsc_huffman2_to_string (const unsigned char *compressed, uint length, uint table)

Variables

unsigned char ATSC_C5 []
unsigned char ATSC_C7 []
static const unsigned char * atsc_tables []
struct huffman_table Table128 []
struct huffman_table Table255 []
unsigned char Huff2Lookup128 []
unsigned char Huff2Lookup256 []


Function Documentation

static int huffman1_get_root ( uint  input,
const unsigned char *  table 
) [inline, static]

Definition at line 30 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

static bool huffman1_get_bit ( const unsigned char *  src,
uint  bit 
) [inline, static]

Definition at line 38 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

QString atsc_huffman1_to_string ( const unsigned char *  compressed,
uint  size,
uint  table_index 
)

Definition at line 43 of file atsc_huffman.cpp.

Referenced by MultipleStringStructure::GetSegment().

static int huffman2_get_bit ( unsigned char &  bitpos,
const unsigned char **  bufptr 
) [inline, static]

Definition at line 97 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

static void huffman2_set_pos ( unsigned char &  bitpos,
const unsigned char **  bufptr,
const unsigned char *  buffer,
uint  pos 
) [inline, static]

Definition at line 110 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

QString atsc_huffman2_to_string ( const unsigned char *  compressed,
uint  length,
uint  table 
)


Variable Documentation

unsigned char ATSC_C5

Definition at line 181 of file atsc_huffman.cpp.

unsigned char ATSC_C7

Definition at line 428 of file atsc_huffman.cpp.

const unsigned char* atsc_tables[] [static]

Initial value:

{
    NULL,
    ATSC_C5,
    ATSC_C7,
}

Definition at line 11 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

struct huffman_table Table128 [read]

Definition at line 655 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

struct huffman_table Table255 [read]

Definition at line 789 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

unsigned char Huff2Lookup128

Definition at line 1049 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

unsigned char Huff2Lookup256

Definition at line 1309 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().


Generated on Sat Sep 4 05:15:51 2010 for MythTV by  doxygen 1.5.5