Home
last modified time | relevance | path

Searched refs:crcInfo (Results 1 – 7 of 7) sorted by relevance

/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp107 return ( FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits) ); in adtsWrite_CrcStartReg()
118 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); in adtsWrite_CrcEndReg()
179 FDKcrcInit(&hAdts->crcInfo, 0x8005, 0xFFFF, 16); in adtsWrite_Init()
201 FDKcrcReset(&hAdts->crcInfo); in adtsWrite_EncodeHeader()
266 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
271 FDKwriteBits(hBs, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
291 FDKcrcReset(&hAdts->crcInfo); in adtsWrite_EndRawDataBlock()
292 crcIndex = FDKcrcStartReg(&hAdts->crcInfo, &bsWriter, 0); in adtsWrite_EndRawDataBlock()
301 FDKcrcEndReg(&hAdts->crcInfo, &bsWriter, crcIndex); in adtsWrite_EndRawDataBlock()
302 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
Dtpenc_adts.h120 FDK_CRCINFO crcInfo; member
/external/aac/libMpegTPDec/src/
Dtpdec_adts.cpp100 FDKcrcInit(&pAdts->crcInfo, 0x8005, 0xFFFF, 16); in adtsRead_CrcInit()
113 return ( FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits) ); in adtsRead_CrcStartReg()
125 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); in adtsRead_CrcEndReg()
137 crc = FDKcrcGetCRC(&pAdts->crcInfo); in adtsRead_CrcCheck()
211 FDKcrcReset(&pAdts->crcInfo); in adtsRead_DecodeHeader()
213 crcReg = FDKcrcStartReg(&pAdts->crcInfo, hBs, 0); in adtsRead_DecodeHeader()
234 FDKcrcEndReg(&pAdts->crcInfo, hBs, crcReg); in adtsRead_DecodeHeader()
241 if (pAdts->crcReadValue != FDKcrcGetCRC(&pAdts->crcInfo)) { in adtsRead_DecodeHeader()
245 FDKcrcReset(&pAdts->crcInfo); in adtsRead_DecodeHeader()
Dtpdec_adts.h137 FDK_CRCINFO crcInfo; /* CRC state info */ member
Dtpdec_asc.cpp132 FDK_CRCINFO crcInfo; /* CRC state info */ in CProgramConfig_ReadHeightExt() local
134 FDKcrcInit(&crcInfo, 0x07, 0xFF, 8); in CProgramConfig_ReadHeightExt()
135 crcReg = FDKcrcStartReg(&crcInfo, bs, 0); in CProgramConfig_ReadHeightExt()
161 FDKcrcEndReg(&crcInfo, bs, crcReg); in CProgramConfig_ReadHeightExt()
162 if ((USHORT)FDKreadBits(bs,8) != FDKcrcGetCRC(&crcInfo)) { in CProgramConfig_ReadHeightExt()
Dtpdec_lib.cpp562 FDKcrcReset(&hTp->parser.adts.crcInfo); in transportDec_readHeader()
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp858 FDK_CRCINFO crcInfo; in FDKsbrEnc_EnvEncodeFrame() local
960 &crcInfo, in FDKsbrEnc_EnvEncodeFrame()
1101 …FDKsbrEnc_AssembleSbrBitstream(&hSbrElement->CmonData, &crcInfo, crcReg, hSbrElement->sbrConfigDat… in FDKsbrEnc_EnvEncodeFrame()