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 30 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 38 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 43 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 95 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 108 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 179 of file atsc_huffman.cpp.

◆ ATSC_C7

unsigned char ATSC_C7

Definition at line 426 of file atsc_huffman.cpp.

◆ atsc_tables

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

Definition at line 11 of file atsc_huffman.cpp.

Referenced by atsc_huffman1_to_string().

◆ Table128

struct huffman_table Table128

Definition at line 653 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Table255

struct huffman_table Table255

Definition at line 787 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Huff2Lookup128

unsigned char Huff2Lookup128

Definition at line 1047 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().

◆ Huff2Lookup256

unsigned char Huff2Lookup256

Definition at line 1307 of file atsc_huffman.cpp.

Referenced by atsc_huffman2_to_string().