/external/aac/libMpegTPEnc/src/ |
D | tpenc_adts.cpp | 116 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsWrite_CrcStartReg() 125 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); in adtsWrite_CrcEndReg() 185 FDKcrcInit(&hAdts->crcInfo, 0x8005, 0xFFFF, 16); in adtsWrite_Init() 202 FDKcrcReset(&hAdts->crcInfo); in adtsWrite_EncodeHeader() 268 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock() 273 FDKwriteBits(hBs, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock() 296 FDKcrcReset(&hAdts->crcInfo); in adtsWrite_EndRawDataBlock() 297 crcIndex = FDKcrcStartReg(&hAdts->crcInfo, &bsWriter, 0); in adtsWrite_EndRawDataBlock() 306 FDKcrcEndReg(&hAdts->crcInfo, &bsWriter, crcIndex); in adtsWrite_EndRawDataBlock() 307 FDKwriteBits(&bsWriter, FDKcrcGetCRC(&hAdts->crcInfo), 16); in adtsWrite_EndRawDataBlock()
|
D | tpenc_asc.cpp | 557 FDK_CRCINFO crcInfo; /* CRC state info */ in transportEnc_writePCE() local 560 FDKcrcInit(&crcInfo, 0x07, 0xFF, 8); in transportEnc_writePCE() 561 crcReg = FDKcrcStartReg(&crcInfo, hBs, 0); in transportEnc_writePCE() 609 FDKcrcEndReg(&crcInfo, hBs, crcReg); in transportEnc_writePCE() 610 FDKwriteBits(hBs, FDKcrcGetCRC(&crcInfo), 8); in transportEnc_writePCE()
|
D | tpenc_adts.h | 132 FDK_CRCINFO crcInfo; member
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_drm.cpp | 111 FDKcrcInit(&pDrm->crcInfo, 0x001d, 0xFFFF, 8); in drmRead_CrcInit() 121 FDKcrcReset(&pDrm->crcInfo); in drmRead_CrcStartReg() 125 return (FDKcrcStartReg(&pDrm->crcInfo, hBs, mBits)); in drmRead_CrcStartReg() 135 FDKcrcEndReg(&pDrm->crcInfo, hBs, reg); in drmRead_CrcEndReg() 142 crc = FDKcrcGetCRC(&pDrm->crcInfo) ^ 0xFF; in drmRead_CrcCheck()
|
D | tpdec_adts.cpp | 110 FDKcrcInit(&pAdts->crcInfo, 0x8005, 0xFFFF, 16); in adtsRead_CrcInit() 122 return (FDKcrcStartReg(&pAdts->crcInfo, hBs, mBits)); in adtsRead_CrcStartReg() 131 FDKcrcEndReg(&pAdts->crcInfo, hBs, reg); in adtsRead_CrcEndReg() 141 crc = FDKcrcGetCRC(&pAdts->crcInfo); in adtsRead_CrcCheck() 217 FDKcrcReset(&pAdts->crcInfo); in adtsRead_DecodeHeader() 219 crcReg = FDKcrcStartReg(&pAdts->crcInfo, hBs, 0); in adtsRead_DecodeHeader() 243 FDKcrcEndReg(&pAdts->crcInfo, hBs, crcReg); in adtsRead_DecodeHeader() 255 if (pAdts->crcReadValue != FDKcrcGetCRC(&pAdts->crcInfo)) { in adtsRead_DecodeHeader() 259 FDKcrcReset(&pAdts->crcInfo); in adtsRead_DecodeHeader()
|
D | tpdec_drm.h | 111 FDK_CRCINFO crcInfo; /* CRC state info */ member
|
D | tpdec_adts.h | 147 FDK_CRCINFO crcInfo; /* CRC state info */ member
|
D | tpdec_asc.cpp | 208 FDK_CRCINFO crcInfo; /* CRC state info */ in CProgramConfig_ReadHeightExt() local 210 FDKcrcInit(&crcInfo, 0x07, 0xFF, 8); in CProgramConfig_ReadHeightExt() 211 crcReg = FDKcrcStartReg(&crcInfo, bs, 0); in CProgramConfig_ReadHeightExt() 242 FDKcrcEndReg(&crcInfo, bs, crcReg); in CProgramConfig_ReadHeightExt() 243 if ((USHORT)FDKreadBits(bs, 8) != FDKcrcGetCRC(&crcInfo)) { in CProgramConfig_ReadHeightExt()
|
D | tpdec_lib.cpp | 931 FDKcrcReset(&hTp->parser.adts.crcInfo); in transportDec_readHeader()
|
/external/aac/libSBRdec/src/ |
D | sbrdecoder.cpp | 1141 FDK_CRCINFO crcInfo; in sbrDecoder_Parse() local 1288 FDKcrcInit(&crcInfo, 0x001d, 0xFFFF, 8); in sbrDecoder_Parse() 1290 crcReg = FDKcrcStartReg(&crcInfo, hBs, 0); in sbrDecoder_Parse() 1467 FDKcrcEndReg(&crcInfo, hBs, crcReg); in sbrDecoder_Parse() 1469 if ((FDKcrcGetCRC(&crcInfo) ^ 0xFF) != drmSbrCrc) { in sbrDecoder_Parse()
|
/external/aac/libSBRenc/src/ |
D | sbr_encoder.cpp | 950 FDK_CRCINFO crcInfo; in FDKsbrEnc_EnvEncodeFrame() local 1046 MAX_PAYLOAD_SIZE * sizeof(UCHAR), &crcInfo, in FDKsbrEnc_EnvEncodeFrame() 1162 FDKsbrEnc_AssembleSbrBitstream(&hSbrElement->CmonData, &crcInfo, crcReg, in FDKsbrEnc_EnvEncodeFrame()
|