MythTV  master
Classes | Functions | Variables
atsc_huffman.cpp File Reference
#include "atsc_huffman.h"
Include dependency graph for atsc_huffman.cpp:

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

◆ huffman1_get_root()

static int huffman1_get_root ( uint  input,
const unsigned char *  table 
)
inlinestatic

Definition at line 2179 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

◆ huffman1_get_bit()

static bool huffman1_get_bit ( const unsigned char *  src,
uint  bit 
)
inlinestatic

Definition at line 2187 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

◆ atsc_huffman1_to_string()

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

Definition at line 2192 of file atsc_huffman.cpp.

Referenced by MultipleStringStructure::GetSegment().

◆ huffman2_get_bit()

static int huffman2_get_bit ( unsigned char &  bitpos,
const unsigned char **  bufptr 
)
inlinestatic

Definition at line 2244 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ huffman2_set_pos()

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

Definition at line 2257 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ atsc_huffman2_to_string()

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

Variable Documentation

◆ ATSC_C5

unsigned char ATSC_C5[]

Definition at line 15 of file atsc_huffman.cpp.

◆ ATSC_C7

unsigned char ATSC_C7[]

Definition at line 262 of file atsc_huffman.cpp.

◆ atsc_tables

const unsigned char* atsc_tables[]
static
Initial value:
=
{
nullptr,
}
unsigned char ATSC_C7[]
unsigned char ATSC_C5[]

Definition at line 489 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

◆ Table128

struct huffman_table Table128[]

Definition at line 496 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Table255

struct huffman_table Table255[]

Definition at line 630 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Huff2Lookup128

unsigned char Huff2Lookup128[]

Definition at line 890 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Huff2Lookup256

unsigned char Huff2Lookup256[]

Definition at line 1150 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().