Home
last modified time | relevance | path

Searched refs:FDKgetValidBits (Results 1 – 25 of 26) sorted by relevance

12

/external/aac/libMpegTPDec/src/
Dtpdec_lib.cpp395 …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 …]
Dtpdec_adts.cpp187 valBits = FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
313 UINT alignAnchor = FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
323 pceBits = alignAnchor - FDKgetValidBits(hBs); in adtsRead_DecodeHeader()
Dtpdec_latm.cpp172 cntBits = FDKgetValidBits(bs); in CLatmDemux_Read()
274 ascStartPos = FDKgetValidBits(bs); in CLatmDemux_ReadStreamMuxConfig()
286 if ( 0 > (INT)FDKgetValidBits(&tmpBs)) { in CLatmDemux_ReadStreamMuxConfig()
Dtpdec_asc.cpp136 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()
Dtpdec_adif.cpp105 UINT startAnchor = FDKgetValidBits(bs); in adifRead_DecodeHeader()
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp405 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()
Dtpenc_latm.cpp348 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()
Dtpenc_adts.cpp208 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()
Dtpenc_adif.cpp116 UINT alignAnchor = FDKgetValidBits(hBs); in adifWrite_EncodeHeader()
Dtpenc_asc.cpp463 UINT alignAnchor = FDKgetValidBits(asc); in transportEnc_writeASC()
/external/aac/libAACenc/src/
Dbitenc.cpp122 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 …]
Dmetadata_main.cpp755 return FDKgetValidBits(&bsWriter); in WriteDynamicRangeInfoPayload()
802 return FDKgetValidBits(&bsWriter); in WriteEtsiAncillaryDataPayload()
Daacenc_lib.cpp1713 if (FDKgetValidBits(&tmpConf) > ((*size)<<3)) in aacEncGetConf()
/external/aac/libFDK/src/
DFDK_crc.cpp265 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/
Dsbr_crc.cpp167 NrBitsAvailable = FDKgetValidBits(hBs); in SbrCrcCheck()
175 FDKpushBack(hBs, (NrBitsAvailable - FDKgetValidBits(hBs)) ); in SbrCrcCheck()
Dpsbitdec.cpp461 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()
Dsbrdecoder.cpp952 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()
Denv_extr.cpp404 if (nBitsLeft > (INT)FDKgetValidBits(hBs)) { in extractExtendedData()
406 nBitsLeft = (INT)FDKgetValidBits(hBs); in extractExtendedData()
/external/aac/libAACdec/src/
Daacdec_drc.cpp351 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()
Daacdecoder.cpp375 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()
Daacdecoder_lib.cpp747 nBits = nBits - FDKgetValidBits(hBs); in aacDecoder_UpdateBitStreamCounters()
812 nBits = FDKgetValidBits(hBs); in aacDecoder_DecodeFrame()
/external/aac/libSBRenc/src/
Denv_bit.cpp222 FDK_ASSERT(FDKgetValidBits(&hCmonData->sbrBitbuf) % 8 == 4); in FDKsbrEnc_AssembleSbrBitstream()
Dbit_sbr.cpp265 INT bitPos = FDKgetValidBits(&cmonData->sbrBitbuf); in FDKsbrEnc_CountSbrChannelPairElement()
275 FDKpushBack(&cmonData->sbrBitbuf, (FDKgetValidBits(&cmonData->sbrBitbuf) - bitPos) ); in FDKsbrEnc_CountSbrChannelPairElement()
/external/aac/libFDK/include/
DFDK_bitstream.h517 FDK_INLINE UINT FDKgetValidBits (HANDLE_FDK_BITSTREAM hBitStream) in FDKgetValidBits() function
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp1670 ancDataBits = FDKgetValidBits(hBs); in pcmDmx_Parse()
1674 || (ancDataBits > FDKgetValidBits(hBs)) ) { in pcmDmx_Parse()
1779 if ((INT)FDKgetValidBits(hBs) < 0) { in pcmDmx_Parse()

12