Home
last modified time | relevance | path

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

/external/aac/libMpegTPEnc/src/
Dtpenc_adts.cpp116 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()
Dtpenc_asc.cpp557 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()
Dtpenc_adts.h132 FDK_CRCINFO crcInfo; member
/external/aac/libMpegTPDec/src/
Dtpdec_drm.cpp111 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()
Dtpdec_adts.cpp110 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()
Dtpdec_drm.h111 FDK_CRCINFO crcInfo; /* CRC state info */ member
Dtpdec_adts.h147 FDK_CRCINFO crcInfo; /* CRC state info */ member
Dtpdec_asc.cpp208 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()
Dtpdec_lib.cpp931 FDKcrcReset(&hTp->parser.adts.crcInfo); in transportDec_readHeader()
/external/aac/libSBRdec/src/
Dsbrdecoder.cpp1141 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/
Dsbr_encoder.cpp950 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()