Searched refs:crcInfo (Results 1 – 10 of 10) sorted by relevance
/external/aac/libMpegTPEnc/src/ |
D | tpenc_adts.cpp | 107 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()
|
D | tpenc_adts.h | 120 FDK_CRCINFO crcInfo; member
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_drm.cpp | 102 FDKcrcInit(&pDrm->crcInfo, 0x001d, 0xFFFF, 8); in drmRead_CrcInit() 113 FDKcrcReset(&pDrm->crcInfo); in drmRead_CrcStartReg() 117 return ( FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits) ); in drmRead_CrcStartReg() 129 FDKcrcEndReg(&pDrm->crcInfo, hBs, reg); in drmRead_CrcEndReg() 137 crc = FDKcrcGetCRC(&pDrm->crcInfo) ^ 0xFF; in drmRead_CrcCheck()
|
D | tpdec_adts.cpp | 100 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()
|
D | tpdec_drm.h | 101 FDK_CRCINFO crcInfo; /* CRC state info */ member
|
D | tpdec_adts.h | 137 FDK_CRCINFO crcInfo; /* CRC state info */ member
|
D | tpdec_asc.cpp | 132 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()
|
D | tpdec_lib.cpp | 579 FDKcrcReset(&hTp->parser.adts.crcInfo); in transportDec_readHeader()
|
/external/aac/libSBRdec/src/ |
D | sbrdecoder.cpp | 974 FDK_CRCINFO crcInfo; /* shall be used for all other CRCs in the future (TBD) */ in sbrDecoder_Parse() local 1097 FDKcrcInit(&crcInfo, 0x001d, 0xFFFF, 8); in sbrDecoder_Parse() 1099 crcReg = FDKcrcStartReg(&crcInfo, hBs, 0); in sbrDecoder_Parse() 1209 FDKcrcEndReg(&crcInfo, hBs, crcReg); in sbrDecoder_Parse() 1211 if ((FDKcrcGetCRC(&crcInfo)^0xFF) != drmSbrCrc) { in sbrDecoder_Parse()
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 932 FDK_CRCINFO crcInfo; in FDKsbrEnc_EnvEncodeFrame() local 1034 &crcInfo, in FDKsbrEnc_EnvEncodeFrame() 1175 …FDKsbrEnc_AssembleSbrBitstream(&hSbrElement->CmonData, &crcInfo, crcReg, hSbrElement->sbrConfigDat… in FDKsbrEnc_EnvEncodeFrame()
|