/external/aac/libMpegTPDec/src/ |
D | tpdec_lib.cpp | 286 FDKpushBack(hBs, (INT)length * 8 - (INT)FDKgetValidBits(hBs)); in transportDec_OutOfBandConfig() 485 FDKpushBack(hBs, newConfigLength * 8 - FDKgetValidBits(hBs)); in transportDec_InBandConfig() 740 (INT)FDKgetValidBits(hBs)) - in transportDec_AdjustEndOfAccessUnit() 766 offset -= (INT)hTp->accessUnitAnchor[0] - (INT)FDKgetValidBits(hBs) + in transportDec_AdjustEndOfAccessUnit() 782 (INT)FDKgetValidBits(hBs)) - in transportDec_AdjustEndOfAccessUnit() 874 startPos = (INT)FDKgetValidBits(hBs); in transportDec_readHeader() 881 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader() 889 (INT)hTp->globalFramePos - (INT)FDKgetValidBits(hBs)); in transportDec_readHeader() 944 (startPos - (INT)FDKgetValidBits(hBs)) - in transportDec_readHeader() 963 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader() [all …]
|
D | tpdec_adts.cpp | 183 valBits = FDKgetValidBits(hBs) + ADTS_SYNCLENGTH; in adtsRead_DecodeHeader() 224 if ((INT)FDKgetValidBits(hBs) < bs.num_raw_blocks * 16) { in adtsRead_DecodeHeader() 245 if ((INT)FDKgetValidBits(hBs) < Adts_Length_CrcCheck) { in adtsRead_DecodeHeader() 316 UINT alignAnchor = FDKgetValidBits(hBs); in adtsRead_DecodeHeader() 325 pceBits = alignAnchor - FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
|
D | tpdec_asc.cpp | 212 UINT startAnchor = FDKgetValidBits(bs); in CProgramConfig_ReadHeightExt() 260 FDKpushBack(bs, (INT)startAnchor - (INT)FDKgetValidBits(bs)); in CProgramConfig_ReadHeightExt() 264 *bytesAvailable -= ((INT)startAnchor - (INT)FDKgetValidBits(bs)) >> 3; in CProgramConfig_ReadHeightExt() 1211 if (FDKgetValidBits(bs) < 24) { in getSampleRate() 1394 eldExtLenSum = FDKgetValidBits(hBs); in EldSpecificConfig_Parse() 1399 ((INT)FDKgetValidBits(hBs) >= 0)) { in EldSpecificConfig_Parse() 1458 if ((INT)FDKgetValidBits(hBs) < 0) { in EldSpecificConfig_Parse() 1481 eldExtLenSum = eldExtLenSum - FDKgetValidBits(hBs); in EldSpecificConfig_Parse() 1579 bsAnchor = (INT)FDKgetValidBits(hBs); in extElementConfig() 1608 (bsAnchor - (INT)FDKgetValidBits(hBs)); in extElementConfig() [all …]
|
D | tpdec_adif.cpp | 113 UINT startAnchor = FDKgetValidBits(bs); in adifRead_DecodeHeader()
|
D | tpdec_latm.cpp | 247 cntBits = FDKgetValidBits(bs); in CLatmDemux_Read() 373 if (ascLen > FDKgetValidBits(bs)) { in CLatmDemux_ReadStreamMuxConfig() 398 if (0 > (INT)FDKgetValidBits(&tmpBs)) { in CLatmDemux_ReadStreamMuxConfig()
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_latm.cpp | 339 const UINT alignAnchor = FDKgetValidBits(hBs); in CreateStreamMuxConfig() 349 ascLen = FDKgetValidBits(hBs) - alignAnchor - ascLen; in CreateStreamMuxConfig() 350 FDKpushBack(hBs, FDKgetValidBits(hBs) - alignAnchor); in CreateStreamMuxConfig() 363 FDKgetValidBits(hBs) - in CreateStreamMuxConfig() 691 hAss->latmSubframeStart = FDKgetValidBits(hBs); in transportEnc_LatmWrite() 702 FDKgetValidBits(hBs); /* store read pointer position */ in transportEnc_LatmWrite() 736 ((FDKgetValidBits(hBs) + hAss->otherDataLenBits + 7) >> 3) - in transportEnc_LatmGetFrame() 759 FDK_ASSERT((FDKgetValidBits(hBs) % 8) == 0); in transportEnc_LatmGetFrame() 764 *pBytes = (FDKgetValidBits(hBs) + 7) >> 3; in transportEnc_LatmGetFrame()
|
D | tpenc_lib.cpp | 428 hTp->writer.raw.prevBits = FDKgetValidBits(hBs); in transportEnc_WriteAccessUnit() 439 UINT alignAnchor = FDKgetValidBits(&hTp->bitStream); in transportEnc_WriteAccessUnit() 511 *nbytes = (FDKgetValidBits(hBs) + 7) >> 3; in transportEnc_GetFrame() 518 FDK_ASSERT((INT)FDKgetValidBits(hBs) >= 0); in transportEnc_GetFrame() 519 *nbytes = (FDKgetValidBits(hBs) + 7) >> 3; in transportEnc_GetFrame() 524 *nbytes = ((FDKgetValidBits(hBs) - hTpEnc->writer.raw.prevBits) + 7) >> 3; in transportEnc_GetFrame()
|
D | tpenc_adts.cpp | 209 hAdts->subFrameStartBit = FDKgetValidBits(hBitStream); in adtsWrite_EncodeHeader() 279 FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks) * 16 + 16); in adtsWrite_EndRawDataBlock() 301 FDKwriteBits(&bsWriter, FDKgetValidBits(hBs) >> 3, 13); in adtsWrite_EndRawDataBlock()
|
D | tpenc_adif.cpp | 124 UINT alignAnchor = FDKgetValidBits(hBs); in adifWrite_EncodeHeader()
|
/external/aac/libAACenc/src/ |
D | bitenc.cpp | 132 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSpectralData() 146 return (FDKgetValidBits(hBitStream) - dbgVal); in FDKaacEnc_encodeSpectralData() 246 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSectionData() 278 return (FDKgetValidBits(hBitStream) - dbgVal); in FDKaacEnc_encodeSectionData() 305 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeScaleFactorData() 365 return (FDKgetValidBits(hBitStream) - dbgVal); in FDKaacEnc_encodeScaleFactorData() 782 INT tmp = (INT)FDKgetValidBits(hBitStream); in FDKaacEnc_writeDataStreamElement() 786 (INT)FDKgetValidBits(hBitStream) - tmp - MAX_DATA_ALIGN_BITS; in FDKaacEnc_writeDataStreamElement() 1196 UINT alignAnchor = FDKgetValidBits(hBs); in FDKaacEnc_WriteBitstream() 1240 bitMarkUp = FDKgetValidBits(hBs); in FDKaacEnc_WriteBitstream() [all …]
|
D | mps_main.cpp | 461 alignAnchor = FDKgetValidBits(&Bs); in FDK_MpegsEnc_WriteFrameHeader() 469 numBits = FDKgetValidBits(&Bs); in FDK_MpegsEnc_WriteFrameHeader()
|
/external/aac/libAACdec/src/ |
D | aacdec_hcr_bit.cpp | 142 readBitOffset = (INT)FDKgetValidBits(bs) - bsAnchor + *pLeftStartOfSegment; in HcrGetABitFromBitstream() 151 readBitOffset = (INT)FDKgetValidBits(bs) - bsAnchor + *pRightStartOfSegment; in HcrGetABitFromBitstream()
|
D | aacdec_drc.cpp | 399 bsStartPos = FDKgetValidBits(bs); in aacDecoder_drcMarkPayload() 440 ((INT)FDKgetValidBits(bs) >= 0)) { in aacDecoder_drcMarkPayload() 491 if (!self->dvbAncDataAvailable && ((INT)FDKgetValidBits(bs) >= 0)) { in aacDecoder_drcMarkPayload() 519 FDKpushBiDirectional(bs, (INT)FDKgetValidBits(bs) - (INT)payloadPosition); in aacDecoder_drcParse() 596 FDKpushBiDirectional(bs, (INT)FDKgetValidBits(bs) - (INT)payloadPosition); in aacDecoder_drcReadCompression() 599 if (FDKgetValidBits(bs) < 24) { in aacDecoder_drcReadCompression() 697 backupBsPosition = FDKgetValidBits(hBs); in aacDecoder_drcExtractAndMap() 732 FDKpushBiDirectional(hBs, (INT)FDKgetValidBits(hBs) - (INT)backupBsPosition); in aacDecoder_drcExtractAndMap()
|
D | rvlcbit.cpp | 129 INT readBitOffset = (INT)FDKgetValidBits(bs) - bsAnchor + *pPosition; in rvlcReadBitFromBitstream()
|
D | aacdecoder.cpp | 465 dataStart = (INT)FDKgetValidBits(bs); in CDataStreamElement_Read() 472 FDKpushBack(bs, dataStart - (INT)FDKgetValidBits(bs)); in CDataStreamElement_Read() 482 FDKpushBack(bs, dataStart - (INT)FDKgetValidBits(bs)); in CDataStreamElement_Read() 492 FDKpushBiDirectional(bs, (INT)FDKgetValidBits(bs) - dataStart + (INT)dseBits); in CDataStreamElement_Read() 677 auStartAnchor = (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse() 773 prerollAUOffset[i] = auStartAnchor - (INT)FDKgetValidBits(hBs); in CAacDecoder_PreRollExtensionPayloadParse() 815 } else if ((INT)FDKgetValidBits(hBs) < *count) { in CAacDecoder_ExtPayloadParse() 844 INT nBitsRemaining = FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse() 869 readBits = (INT)nBitsRemaining - (INT)FDKgetValidBits(hBs); in CAacDecoder_ExtPayloadParse() 1176 if ((bitCnt = (INT)FDKgetValidBits(bs)) != 0) { in aacDecoder_ParseExplicitMpsAndSbr() [all …]
|
D | rvlc.cpp | 171 pRvlc->bsAnchor = (INT)FDKgetValidBits(bs); in rvlcInit() 187 pRvlc->bitstreamIndexEsc = pRvlc->bsAnchor - (INT)FDKgetValidBits(bs); in rvlcInit() 1146 saveBitCnt = (INT)FDKgetValidBits(bs); in CRvlc_Decode() 1161 bitCntOffst = (INT)FDKgetValidBits(bs) - saveBitCnt; in CRvlc_Decode()
|
D | aacdec_hcr.cpp | 295 pHcr->decInOut.bitstreamAnchor = (INT)FDKgetValidBits(bs); in HcrInit() 440 INT saveBitCnt = (INT)FDKgetValidBits(bs); /* save bitstream position */ in HcrDecoder() 491 bitCntOffst = (INT)FDKgetValidBits(bs) - saveBitCnt; in HcrDecoder()
|
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 284 hCrcInfo->crcRegData[reg].validBits = (INT)FDKgetValidBits(hBs); in FDKcrcStartReg() 299 (INT)FDKgetValidBits(hBs) - hCrcInfo->crcRegData[reg].validBits; in FDKcrcEndReg() 302 hCrcInfo->crcRegData[reg].validBits - (INT)FDKgetValidBits(hBs); in FDKcrcEndReg() 435 -(rD->validBits - (INT)FDKgetValidBits(&bsReader))); in crcCalc()
|
/external/aac/libSBRdec/src/ |
D | sbr_crc.cpp | 177 NrBitsAvailable = FDKgetValidBits(hBs); in SbrCrcCheck() 185 FDKpushBack(hBs, (NrBitsAvailable - FDKgetValidBits(hBs))); in SbrCrcCheck()
|
D | psbitdec.cpp | 472 startbits = (INT)FDKgetValidBits(hBitBuf); in ReadPsData() 511 nBitsLeft -= startbits - (INT)FDKgetValidBits(hBitBuf); in ReadPsData() 520 return (UINT)(startbits - (INT)FDKgetValidBits(hBitBuf)); in ReadPsData() 593 return (startbits - (INT)FDKgetValidBits(hBitBuf)); in ReadPsData()
|
D | sbrdecoder.cpp | 1136 INT startPos = FDKgetValidBits(hBs); in sbrDecoder_Parse() 1179 if ((j = (int)FDKgetValidBits(hBs)) != 8) { in sbrDecoder_Parse() 1207 startPos = FDKgetValidBits(hBs); in sbrDecoder_Parse() 1269 if ((INT)FDKgetValidBits(hBs) <= 0) { in sbrDecoder_Parse() 1448 valBits = bsPayLen - ((INT)startPos - (INT)FDKgetValidBits(hBs)); in sbrDecoder_Parse() 1450 valBits = (INT)FDKgetValidBits(hBs); in sbrDecoder_Parse() 1458 (INT)startPos - (INT)FDKgetValidBits(hBs) - startPos; in sbrDecoder_Parse() 1571 *count -= startPos - (INT)FDKgetValidBits(hBs); in sbrDecoder_Parse()
|
/external/aac/libSACdec/src/ |
D | sac_dec_lib.cpp | 1183 bitsAvail = FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader() 1209 numSacBits = bitsAvail - (INT)FDKgetValidBits(hBs); in mpegSurroundDecoder_ParseNoHeader() 1306 mpsBsBits = (INT)FDKgetValidBits(hBs); in mpegSurroundDecoder_Parse() 1382 bitsRead = (INT)FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse() 1389 bitsRead = (bitsRead - (INT)FDKgetValidBits(hMpsBsData)); in mpegSurroundDecoder_Parse() 1455 bitsAvail = FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse() 1469 nbits = bitsAvail - (INT)FDKgetValidBits(hMpsBsData); in mpegSurroundDecoder_Parse() 1504 *pMpsDataBits -= (mpsBsBits - (INT)FDKgetValidBits(hBs)); in mpegSurroundDecoder_Parse()
|
D | sac_bitdec.cpp | 226 ba = fMin((int)FDKgetValidBits(bitstream), ba); in SpatialDecParseExtensionConfig() 248 tmp = (INT)FDKgetValidBits( in SpatialDecParseExtensionConfig() 260 bitsRead = tmp - FDKgetValidBits(bitstream); in SpatialDecParseExtensionConfig() 294 numFillBits = (INT)FDKgetValidBits(bitstream); in SpatialDecParseSpecificConfigHeader() 300 (INT)FDKgetValidBits(bitstream); /* the number of read bits (tmpBits) */ in SpatialDecParseSpecificConfigHeader() 454 cfgStartPos = FDKgetValidBits(bitstream); in SpatialDecParseSpecificConfig() 577 numHeaderBits = cfgStartPos - (INT)FDKgetValidBits(bitstream); in SpatialDecParseSpecificConfig() 607 (sacHeaderLen * 8) - (cfgStartPos - (INT)FDKgetValidBits(bitstream))); in SpatialDecParseSpecificConfig() 977 UINT alignAnchor = FDKgetValidBits( in SpatialDecParseFrameData()
|
/external/aac/libSBRenc/src/ |
D | env_bit.cpp | 229 FDK_ASSERT(FDKgetValidBits(&hCmonData->sbrBitbuf) % 8 == 4); in FDKsbrEnc_AssembleSbrBitstream()
|
/external/aac/libSACenc/src/ |
D | sacenc_bitstream.cpp | 588 if ((*pnOutputBits = FDKgetValidBits(&bitstream)) > in fdk_sacenc_writeSpatialSpecificConfig() 813 if ((*pnOutputBits = FDKgetValidBits(&bitstream)) > in fdk_sacenc_writeSpatialFrame()
|