![]() |
ATSC3
24.10.0
|
#include <atsc_core_utils_bitcalc.h>
Public Member Functions | |
CBitcalc (uint8_t *pData) | |
Assign the data to m_pData. More... | |
virtual | ~CBitcalc (void) |
Destructor for class CBitcalc. More... | |
uint32_t | GetData (int32_t iBitSize) |
To get the data vased on bitsize. More... | |
uint64_t | GetData64 (int32_t iBitSize) |
To get the data vased on bitsize. More... | |
uint32_t | GetCurrentBitCount (void) |
To get the current bit count. More... | |
uint32_t | GetCurrentCount (void) |
To get the current position. More... | |
void | SetByteAlign (void) |
To set the byte as words. More... | |
uint32_t | GetExpandableLen (void) |
To get the data or length of data. More... | |
void | SkipData (int32_t iBitCount) |
To skip the data. More... | |
void | GetByteData (int32_t iLen, uint8_t *pData) |
To get the bytes of data. More... | |
void | NewSession (uint8_t *pData) |
Assign the data to m_pData. More... | |
uint32_t | GetExpGolmbValue (uint32_t *pLen) |
uint32_t | GetExpGolmbValue (void) |
To get the data value. More... | |
int32_t | GetSignedExpGolmbValue (void) |
To get the value based on GetExpGolmbValue() More... | |
void | SetBit (uint32_t iBit) |
Set the data bit. More... | |
void | SetData (int32_t iBitSize, uint32_t iData) |
Set the data based on bitsize. More... | |
void | SetData64 (int32_t iBitSize, uint64_t lData) |
Set the data based on bitsize. More... | |
void | SetBitWithPos (int32_t iPos, uint32_t iBit) |
Set the Data bit based on position. More... | |
void | SetDataWithPos (int32_t iPos, int32_t iBitSize, uint32_t iData) |
Set the Data bytes based on position. More... | |
void | SetByteData (int32_t iLen, uint8_t *pData) |
Set the Data bytes based on length. More... | |
Public Attributes | |
uint8_t * | m_pData |
int32_t | m_BitCount |
CBitcalc::CBitcalc | ( | uint8_t * | pData | ) |
Assign the data to m_pData.
uint8_t | *pData |
N/A |
|
virtual |
CBitcalc::GetByteData | ( | int32_t | iLen, |
uint8_t * | pData | ||
) |
To get the bytes of data.
iLen,pData |
void |
CBitcalc::GetCurrentBitCount | ( | void | ) |
To get the current bit count.
void |
uint32_t |
CBitcalc::GetCurrentCount | ( | void | ) |
To get the current position.
void |
uint32_t |
CBitcalc::GetData | ( | int32_t | iBitSize | ) |
To get the data vased on bitsize.
iBitSize |
uint32_t |
CBitcalc::GetData64 | ( | int32_t | iBitSize | ) |
To get the data vased on bitsize.
iBitSize |
uint64_t |
CBitcalc::GetExpandableLen | ( | void | ) |
To get the data or length of data.
void |
uint32_t |
CBitcalc::GetExpGolmbValue | ( | void | ) |
To get the data value.
pLen |
uint32_t |
void |
uint32_t |
CBitcalc::GetSignedExpGolmbValue | ( | void | ) |
CBitcalc::NewSession | ( | uint8_t * | pData | ) |
Assign the data to m_pData.
pData |
void |
CBitcalc::SetBit | ( | uint32_t | iBit | ) |
Set the data bit.
iBit |
void |
CBitcalc::SetBitWithPos | ( | int32_t | iPos, |
uint32_t | iBit | ||
) |
Set the Data bit based on position.
iPos,iBit |
void |
CBitcalc::SetByteAlign | ( | void | ) |
To set the byte as words.
void |
void |
CBitcalc::SetByteData | ( | int32_t | iLen, |
uint8_t * | pData | ||
) |
Set the Data bytes based on length.
iLen,pData |
void |
CBitcalc::SetData | ( | int32_t | iBitSize, |
uint32_t | iData | ||
) |
Set the data based on bitsize.
iBitSize,iData |
void |
CBitcalc::SetData64 | ( | int32_t | iBitSize, |
uint64_t | lData | ||
) |
Set the data based on bitsize.
iBitSize,lData |
void |
CBitcalc::SetDataWithPos | ( | int32_t | iPos, |
int32_t | iBitSize, | ||
uint32_t | iData | ||
) |
Set the Data bytes based on position.
iPos,iBitSize,iData |
void |
CBitcalc::SkipData | ( | int32_t | iBitCount | ) |
To skip the data.
iBitCount |
void |
int32_t CBitcalc::m_BitCount |
m_BitCount
uint8_t* CBitcalc::m_pData |
m_pData