/external/aac/libMpegTPDec/src/ |
D | tpdec_lib.cpp | 395 …loasOffset = (hTp->parser.latm.m_audioMuxLengthBytes*8 + FDKgetValidBits(hBs)) - hTp->globalFrameP… in transportDec_AdjustEndOfAccessUnit() 416 … offset -= hTp->accessUnitAnchor[0] - FDKgetValidBits(hBs) + 16 + hTp->parser.adts.bs.num_pce_bits; in transportDec_AdjustEndOfAccessUnit() 430 …offset = (hTp->parser.adts.bs.frame_length*8 - ADTS_SYNCLENGTH + FDKgetValidBits(hBs)) - hTp->glob… in transportDec_AdjustEndOfAccessUnit() 529 startPos = FDKgetValidBits(hBs); in transportDec_readHeader() 537 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader() 572 …syncLayerFrameBits = (hTp->parser.adts.bs.frame_length<<3) - (startPos - FDKgetValidBits(hBs)) - s… in transportDec_readHeader() 591 hTp->globalFramePos = FDKgetValidBits(hBs); in transportDec_readHeader() 609 syncLayerFrameBits -= startPos - FDKgetValidBits(hBs) - (13); in transportDec_readHeader() 637 *pHeaderBits += startPos - (INT)FDKgetValidBits(hBs); in transportDec_readHeader() 682 totalBits = (INT)FDKgetValidBits(hBs); in synchronization() [all …]
|
D | tpdec_adts.cpp | 187 valBits = FDKgetValidBits(hBs); in adtsRead_DecodeHeader() 313 UINT alignAnchor = FDKgetValidBits(hBs); in adtsRead_DecodeHeader() 323 pceBits = alignAnchor - FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
|
D | tpdec_latm.cpp | 172 cntBits = FDKgetValidBits(bs); in CLatmDemux_Read() 274 ascStartPos = FDKgetValidBits(bs); in CLatmDemux_ReadStreamMuxConfig() 286 if ( 0 > (INT)FDKgetValidBits(&tmpBs)) { in CLatmDemux_ReadStreamMuxConfig()
|
D | tpdec_asc.cpp | 136 UINT startAnchor = FDKgetValidBits(bs); in CProgramConfig_ReadHeightExt() 169 FDKpushBack(bs, startAnchor - FDKgetValidBits(bs)); in CProgramConfig_ReadHeightExt() 173 *bytesAvailable -= (startAnchor - FDKgetValidBits(bs)) >> 3; in CProgramConfig_ReadHeightExt() 989 if(FDKgetValidBits(bs) < 24) { in getSampleRate() 1166 INT bitsAvailable = (INT)FDKgetValidBits(bs); in AudioSpecificConfig_ExtensionParse() 1198 bitsAvailable = (INT)FDKgetValidBits(bs); in AudioSpecificConfig_ExtensionParse() 1245 UINT ascStartAnchor = FDKgetValidBits(bs); in AudioSpecificConfig_Parse()
|
D | tpdec_adif.cpp | 105 UINT startAnchor = FDKgetValidBits(bs); in adifRead_DecodeHeader()
|
/external/aac/libMpegTPEnc/src/ |
D | tpenc_lib.cpp | 405 hTp->writer.raw.prevBits = FDKgetValidBits(hBs); in transportEnc_WriteAccessUnit() 416 UINT alignAnchor = FDKgetValidBits(&hTp->bitStream); in transportEnc_WriteAccessUnit() 481 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; in transportEnc_GetFrame() 488 FDK_ASSERT((INT)FDKgetValidBits(hBs) >= 0); in transportEnc_GetFrame() 489 *nbytes = (FDKgetValidBits(hBs) + 7)>>3; in transportEnc_GetFrame() 494 *nbytes = ((FDKgetValidBits(hBs)-hTpEnc->writer.raw.prevBits) + 7)>>3; in transportEnc_GetFrame()
|
D | tpenc_latm.cpp | 348 bits = FDKgetValidBits( hBs ); in CreateStreamMuxConfig() 356 bits = FDKgetValidBits( hBs ) - bits; in CreateStreamMuxConfig() 730 hAss->latmSubframeStart = FDKgetValidBits(hBs); in transportEnc_LatmWrite() 741 hAss->audioMuxLengthBytesPos = FDKgetValidBits( hBs ); /* store read pointer position */ in transportEnc_LatmWrite() 784 latmBytes = (FDKgetValidBits(hBs)+7) >> 3; in transportEnc_LatmGetFrame() 801 FDK_ASSERT( (FDKgetValidBits(hBs) % 8) == 0); in transportEnc_LatmGetFrame() 806 *bytes = (FDKgetValidBits(hBs) + 7)>>3; in transportEnc_LatmGetFrame()
|
D | tpenc_adts.cpp | 208 hAdts->subFrameStartBit = FDKgetValidBits(hBitStream); in adtsWrite_EncodeHeader() 276 distance = FDKgetValidBits(hBs) - (56 + (hAdts->num_raw_blocks)*16 + 16); in adtsWrite_EndRawDataBlock() 296 FDKwriteBits(&bsWriter, FDKgetValidBits(hBs)>>3, 13); in adtsWrite_EndRawDataBlock()
|
D | tpenc_adif.cpp | 116 UINT alignAnchor = FDKgetValidBits(hBs); in adifWrite_EncodeHeader()
|
D | tpenc_asc.cpp | 463 UINT alignAnchor = FDKgetValidBits(asc); in transportEnc_writeASC()
|
/external/aac/libAACenc/src/ |
D | bitenc.cpp | 122 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSpectralData() 139 return(FDKgetValidBits(hBitStream)-dbgVal); in FDKaacEnc_encodeSpectralData() 243 INT dbgVal=FDKgetValidBits(hBitStream); in FDKaacEnc_encodeSectionData() 278 return(FDKgetValidBits(hBitStream)-dbgVal); in FDKaacEnc_encodeSectionData() 307 INT dbgVal = FDKgetValidBits(hBitStream); in FDKaacEnc_encodeScaleFactorData() 367 return(FDKgetValidBits(hBitStream)-dbgVal); in FDKaacEnc_encodeScaleFactorData() 795 INT tmp = (INT)FDKgetValidBits(hBitStream); in FDKaacEnc_writeDataStreamElement() 798 dseBitsUsed += (INT)FDKgetValidBits(hBitStream) - tmp - MAX_DATA_ALIGN_BITS; in FDKaacEnc_writeDataStreamElement() 1299 UINT alignAnchor = FDKgetValidBits(hBs); in FDKaacEnc_WriteBitstream() 1354 bitMarkUp = FDKgetValidBits(hBs); in FDKaacEnc_WriteBitstream() [all …]
|
D | metadata_main.cpp | 755 return FDKgetValidBits(&bsWriter); in WriteDynamicRangeInfoPayload() 802 return FDKgetValidBits(&bsWriter); in WriteEtsiAncillaryDataPayload()
|
D | aacenc_lib.cpp | 1713 if (FDKgetValidBits(&tmpConf) > ((*size)<<3)) in aacEncGetConf()
|
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 265 hCrcInfo->crcRegData[reg].validBits = FDKgetValidBits(hBs) ; in FDKcrcStartReg() 282 …hCrcInfo->crcRegData[reg].bitBufCntBits = FDKgetValidBits(hBs) - hCrcInfo->crcRegData[reg].validBi… in FDKcrcEndReg() 285 …hCrcInfo->crcRegData[reg].bitBufCntBits = hCrcInfo->crcRegData[reg].validBits - FDKgetValidBits(hB… in FDKcrcEndReg() 415 FDKpushBiDirectional(&bsReader, -(INT)(rD->validBits-FDKgetValidBits(&bsReader))); in crcCalc()
|
/external/aac/libSBRdec/src/ |
D | sbr_crc.cpp | 167 NrBitsAvailable = FDKgetValidBits(hBs); in SbrCrcCheck() 175 FDKpushBack(hBs, (NrBitsAvailable - FDKgetValidBits(hBs)) ); in SbrCrcCheck()
|
D | psbitdec.cpp | 461 startbits = (INT) FDKgetValidBits(hBitBuf); in ReadPsData() 500 nBitsLeft -= startbits - FDKgetValidBits(hBitBuf); in ReadPsData() 509 return (startbits - FDKgetValidBits(hBitBuf)); in ReadPsData() 591 return (startbits - FDKgetValidBits(hBitBuf)); in ReadPsData()
|
D | sbrdecoder.cpp | 952 startPos = FDKgetValidBits(hBs); in sbrDecoder_Parse() 1001 if ((INT)FDKgetValidBits(hBs) <= 0) { in sbrDecoder_Parse() 1105 valBits = bsPayLen - ((INT)startPos - (INT)FDKgetValidBits(hBs)); in sbrDecoder_Parse() 1107 valBits = (INT)FDKgetValidBits(hBs); in sbrDecoder_Parse() 1115 INT payloadbits = (INT)startPos - (INT)FDKgetValidBits(hBs) - startPos; in sbrDecoder_Parse() 1185 *count -= startPos - FDKgetValidBits(hBs); in sbrDecoder_Parse()
|
D | env_extr.cpp | 404 if (nBitsLeft > (INT)FDKgetValidBits(hBs)) { in extractExtendedData() 406 nBitsLeft = (INT)FDKgetValidBits(hBs); in extractExtendedData()
|
/external/aac/libAACdec/src/ |
D | aacdec_drc.cpp | 351 bsStartPos = FDKgetValidBits(bs); in aacDecoder_drcMarkPayload() 393 && ((INT)FDKgetValidBits(bs) >= 0) ) in aacDecoder_drcMarkPayload() 442 && ((INT)FDKgetValidBits(bs) >= 0) ) in aacDecoder_drcMarkPayload() 475 FDKpushBiDirectional(bs, FDKgetValidBits(bs)-payloadPosition); in aacDecoder_drcParse() 559 FDKpushBiDirectional(bs, FDKgetValidBits(bs)-payloadPosition); in aacDecoder_drcReadCompression() 562 if ( FDKgetValidBits(bs) < 24 ) { in aacDecoder_drcReadCompression() 688 backupBsPosition = FDKgetValidBits(hBs); in aacDecoder_drcExtractAndMap() 728 FDKpushBiDirectional(hBs, FDKgetValidBits(hBs) - backupBsPosition); in aacDecoder_drcExtractAndMap()
|
D | aacdecoder.cpp | 375 dataStart = FDKgetValidBits(bs); in CDataStreamElement_Read() 382 FDKpushBack(bs, dataStart-FDKgetValidBits(bs)); in CDataStreamElement_Read() 392 FDKpushBack(bs, dataStart-FDKgetValidBits(bs)); in CDataStreamElement_Read() 403 FDKpushBiDirectional(bs, FDKgetValidBits(bs)-dataStart+dseBits); in CDataStreamElement_Read() 505 } else if ((INT)FDKgetValidBits(hBs) < *count) { in CAacDecoder_ExtPayloadParse() 1129 …INT auStartAnchor = (INT)FDKgetValidBits(bs); /* AU start bit buffer position for AU byte alignme… in CAacDecoder_DecodeFrame() 1223 if ((INT)FDKgetValidBits(bs) < 0) in CAacDecoder_DecodeFrame()
|
D | aacdecoder_lib.cpp | 747 nBits = nBits - FDKgetValidBits(hBs); in aacDecoder_UpdateBitStreamCounters() 812 nBits = FDKgetValidBits(hBs); in aacDecoder_DecodeFrame()
|
/external/aac/libSBRenc/src/ |
D | env_bit.cpp | 222 FDK_ASSERT(FDKgetValidBits(&hCmonData->sbrBitbuf) % 8 == 4); in FDKsbrEnc_AssembleSbrBitstream()
|
D | bit_sbr.cpp | 265 INT bitPos = FDKgetValidBits(&cmonData->sbrBitbuf); in FDKsbrEnc_CountSbrChannelPairElement() 275 FDKpushBack(&cmonData->sbrBitbuf, (FDKgetValidBits(&cmonData->sbrBitbuf) - bitPos) ); in FDKsbrEnc_CountSbrChannelPairElement()
|
/external/aac/libFDK/include/ |
D | FDK_bitstream.h | 517 FDK_INLINE UINT FDKgetValidBits (HANDLE_FDK_BITSTREAM hBitStream) in FDKgetValidBits() function
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 1670 ancDataBits = FDKgetValidBits(hBs); in pcmDmx_Parse() 1674 || (ancDataBits > FDKgetValidBits(hBs)) ) { in pcmDmx_Parse() 1779 if ((INT)FDKgetValidBits(hBs) < 0) { in pcmDmx_Parse()
|