![]() |
DVBCore
22.3.0
Open Source DVB Engine
|
Check sum calculation routines. More...
Functions | |
U8BIT | STB_CalcChecksum (U8BIT *data_ptr, U32BIT data_size) |
Calculates the checksum to zero for the data block provided. More... | |
BOOLEAN | STB_CheckChecksum (U8BIT *data_ptr, U32BIT data_size) |
Validates the checksum to zero for the block pointer provided. More... | |
U16BIT | STB_GetBE16Bit (U16BIT *addr) |
Returns 16bit int from address, assuming value is stored in Big endian format. More... | |
void | STB_SetBE16Bit (U16BIT *addr, U16BIT value) |
Stores 16bit int in address, forcing value to be stored in Big endian format. More... | |
Check sum calculation routines.
U8BIT STB_CalcChecksum | ( | U8BIT * | data_ptr, |
U32BIT | data_size | ||
) |
Calculates the checksum to zero for the data block provided.
U8BIT* | data_ptr - the pointer to the data block |
U32BIT | data_size - size of the data |
BOOLEAN STB_CheckChecksum | ( | U8BIT * | data_ptr, |
U32BIT | data_size | ||
) |
Validates the checksum to zero for the block pointer provided.
U8BIT* | data_ptr - the pointer to the data block |
U32BIT | data_size - size of the data |
U16BIT STB_GetBE16Bit | ( | U16BIT * | addr | ) |
Returns 16bit int from address, assuming value is stored in Big endian format.
U16BIT* | addr - pointer to 16bit int |
void STB_SetBE16Bit | ( | U16BIT * | addr, |
U16BIT | value | ||
) |
Stores 16bit int in address, forcing value to be stored in Big endian format.
U16BIT* | addr - pointer to 16bit int |
U16BIT | value - integer value |