Definition at line 206 of file simgr.h.
Public Member Functions |
bool | Load (string file_name, int mode) |
| This API is to load program data from XML file, if the operation mode selected is XML to Binary. Otherwise it will load program data from cache file. More...
|
|
bool | GenerateSICache (string sidbFileName) |
| Generates binary SI cache from the XML file. More...
|
|
bool | GenerateSICache (string sidbFileName, string snsdbFileName) |
| Generate both binary SI cache and binary SNS cache from the XML file. More...
|
|
bool | GenerateXML (string sixmlFileName) |
| Function to generate XML file(sidb.xml). More...
|
|
void | DumpChannelMap () |
| Dump channel map information from binary SI cache to console.
|
|
Protected Attributes |
list< ProgramDetails > | m_program_list |
|
int | numOfServices |
|
Private Member Functions |
bool | load_xml_file (string xml_file) |
| This function loads an input xml file into memory, it does the formatting related validations and parses the attributes. More...
|
|
int | xml_parse_attributes (xmlNodePtr parent) |
| This API parses the program id, source id, modulation, frequency information from the XML. More...
|
|
void | init_mpeg2_crc (void) |
| Initializes the CRC check.
|
|
uint32_t | calc_mpeg2_crc (uint8_t *data, uint32_t len) |
| Function to calculate Cyclic Redundancy Check(CRC) value. CRC is used to find the accidental changes happened to raw data. Here is the CRC flow works here. More...
|
|
void | init_si_entry (siTableEntry *si_entry) |
| Internal Method to initialize service entries to default values init_si_entry() More...
|
|
bool | parse_program_details (siTableEntry **si_entry_head, uint32_t frequency[], uint32_t modulation[], int &f_index, int &m_index) |
| This API loads the program data from binary cache file. More...
|
|
bool | cache_si_data (string sidbFileName) |
| This API write the program details like modulation, frequency, program number, VCN information to SI cache file. More...
|
|
bool | cache_sns_data (string snsdbFileName) |
| This API write the program details like modulation, frequency, program number, VCN information to SI cache file. SNS cache is used to store the data available in NTT(Network Text Tables) by legacy boxes.It contains source id and corresponding source name(channel name) mappings. More...
|
|
bool | write_crc_for_si_cache (string sidbFileName) |
| This API finds the CRC value and writes at the end of SI cache file. More...
|
|
bool | write_crc_for_si_and_sns_cache (string sidbFileName, string snsdbFileName) |
| This finds the CRC and write it at the end of SI and SNS cache files. More...
|
|
unsigned int | get_file_size (const char *location) |
| The si_get_file_size() function will get the size of the specified file. More...
|
|
bool | load_si_data (string sidbFileName) |
| This API function loads the program data from binary cache file. More...
|
|