/external/aac/libAACdec/src/ |
D | aacdec_drc.cpp | 309 if (FDKreadBits(bs,1)) { in parseExcludedChannels() 315 while (FDKreadBits(bs,1)) { in parseExcludedChannels() 317 if (FDKreadBits(bs,1)) { in parseExcludedChannels() 358 if (FDKreadBits(bs,1)) { /* pce_tag_present */ in aacDecoder_drcMarkPayload() 359 FDKreadBits(bs,8); /* pce_instance_tag + drc_tag_reserved_bits */ in aacDecoder_drcMarkPayload() 363 if (FDKreadBits(bs,1)) { /* excluded_chns_present */ in aacDecoder_drcMarkPayload() 364 FDKreadBits(bs,7); /* exclude mask [0..7] */ in aacDecoder_drcMarkPayload() 366 while (FDKreadBits(bs,1)) { /* additional_excluded_chns */ in aacDecoder_drcMarkPayload() 367 FDKreadBits(bs,7); /* exclude mask [x..y] */ in aacDecoder_drcMarkPayload() 372 if (FDKreadBits(bs,1)) { /* drc_bands_present */ in aacDecoder_drcMarkPayload() [all …]
|
D | channelinfo.cpp | 113 pIcsInfo->MaxSfBands = (UCHAR) FDKreadBits(bs, nbits); in IcsReadMaxSfb() 139 FDKreadBits(bs,1); in IcsRead() 141 pIcsInfo->WindowSequence = (UCHAR) FDKreadBits(bs,2); in IcsRead() 142 pIcsInfo->WindowShape = (UCHAR) FDKreadBits(bs,1); in IcsRead() 166 if ((UCHAR)FDKreadBits(bs,1) != 0 ) /* UCHAR PredictorDataPresent */ in IcsRead() 181 pIcsInfo->ScaleFactorGrouping = (UCHAR) FDKreadBits(bs,7); in IcsRead()
|
D | pulsedata.cpp | 116 PulseData->NumberPulse = (UCHAR) FDKreadBits(bs,2); in CPulseData_Read() 117 PulseData->PulseStartBand = (UCHAR) FDKreadBits(bs,6); in CPulseData_Read() 126 PulseData->PulseOffset[i] = (UCHAR) FDKreadBits(bs,5); in CPulseData_Read() 127 PulseData->PulseAmp[i] = (UCHAR) FDKreadBits(bs,4); in CPulseData_Read()
|
D | aacdec_tns.cpp | 117 pTnsData->DataPresent = (UCHAR) FDKreadBits(bs,1); in CTns_ReadDataPresentFlag() 146 pTnsData->NumberOfFilters[window] = n_filt = (UCHAR) FDKreadBits(bs, isLongFlag ? 2 : 1); in CTns_Read() 157 coef_res = (UCHAR) FDKreadBits(bs,1); in CTns_Read() 165 length = (UCHAR)FDKreadBits(bs, isLongFlag ? 6 : 4); in CTns_Read() 176 filter->Order = order = (UCHAR) FDKreadBits(bs, isLongFlag ? 5 : 3); in CTns_Read() 191 filter->Direction = FDKreadBits(bs,1) ? -1 : 1; in CTns_Read() 193 coef_compress = (UCHAR) FDKreadBits(bs,1); in CTns_Read() 202 coef = (UCHAR) FDKreadBits(bs,filter->Resolution - coef_compress); in CTns_Read()
|
D | rvlcbit.cpp | 118 bit = FDKreadBits(bs, 1); in rvlcReadBitFromBitstream() 123 bit = FDKreadBits(bs, 1); in rvlcReadBitFromBitstream()
|
D | aacdecoder.cpp | 313 ancData->buffer[i+offset] = FDKreadBits(hBs, 8); in CAacDecoder_AncDataParse() 360 *elementInstanceTag = FDKreadBits(bs,4); in CDataStreamElement_Read() 362 dataByteAlignFlag = FDKreadBits(bs,1); in CDataStreamElement_Read() 364 count = FDKreadBits(bs,8); in CDataStreamElement_Read() 367 count += FDKreadBits(bs,8); /* EscCount */ in CDataStreamElement_Read() 509 extension_type = (EXT_PAYLOAD_TYPE) FDKreadBits(hBs, 4); /* bs_extension_type */ in CAacDecoder_ExtPayloadParse() 585 temp = FDKreadBits(hBs,4); in CAacDecoder_ExtPayloadParse() 592 temp = FDKreadBits(hBs,8); in CAacDecoder_ExtPayloadParse() 607 dataElementVersion = FDKreadBits(hBs,4); in CAacDecoder_ExtPayloadParse() 613 temp = FDKreadBits(hBs,8); in CAacDecoder_ExtPayloadParse() [all …]
|
D | block.cpp | 135 if (FDKreadBits(bs,1) == 0) in CBlock_GetEscape() 145 off = FDKreadBits(bs,i-16) << 16; in CBlock_GetEscape() 146 off |= FDKreadBits(bs,16); in CBlock_GetEscape() 150 off = FDKreadBits(bs,i); in CBlock_GetEscape() 303 sect_cb = (UCHAR) FDKreadBits(bs,5); in CBlock_ReadSectionData() 306 sect_cb = (UCHAR) FDKreadBits(bs,4); in CBlock_ReadSectionData() 309 sect_len_incr = FDKreadBits(bs, nbits); in CBlock_ReadSectionData() 313 sect_len_incr = FDKreadBits(bs, nbits); in CBlock_ReadSectionData() 568 tmp = (FDKreadBits(bs,1))? -tmp : tmp; in CBlock_ReadSpectralData()
|
D | aacdec_hcr_bit.cpp | 138 bit = FDKreadBits(bs, 1); in HcrGetABitFromBitstream() 149 bit = FDKreadBits(bs, 1); in HcrGetABitFromBitstream()
|
D | channel.cpp | 276 pAacDecoderChannelInfo[0]->ElementInstanceTag = FDKreadBits(hBs, 4); in CChannelElement_Read() 282 …decision_bit = pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.CommonWindow = FDKreadBits(hBs, 1… in CChannelElement_Read() 301 if (FDKreadBits(hBs, 1) != 0) { in CChannelElement_Read() 320 pAacDecoderChannelInfo[ch]->pDynData->RawDataInfo.GlobalGain = (UCHAR) FDKreadBits(hBs,8); in CChannelElement_Read() 365 if (FDKreadBits(hBs, 1)) { in CChannelElement_Read()
|
D | rvlc.cpp | 1069 pRvlc->sf_concealment = FDKreadBits(bs,1); /* #1 */ in CRvlc_Read() 1070 pRvlc->rev_global_gain = FDKreadBits(bs,8); /* #2 */ in CRvlc_Read() 1073 pRvlc->length_of_rvlc_sf = FDKreadBits(bs,11); /* #3 */ in CRvlc_Read() 1076 pRvlc->length_of_rvlc_sf = FDKreadBits(bs,9); /* #3 */ in CRvlc_Read() 1090 pRvlc->dpcm_noise_nrg = FDKreadBits(bs, 9); /* #4 PNS */ in CRvlc_Read() 1092 pRvlc->sf_escapes_present = FDKreadBits(bs, 1); /* #5 */ in CRvlc_Read() 1095 pRvlc->length_of_rvlc_escapes = FDKreadBits(bs, 8); /* #6 */ in CRvlc_Read() 1099 pRvlc->dpcm_noise_last_position = FDKreadBits(bs, 9); /* #7 PNS */ in CRvlc_Read()
|
D | stereo.cpp | 115 pJointStereoData->MsMaskPresent = (UCHAR) FDKreadBits(bs,2); in CJointStereo_Read() 131 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs,1) << group); in CJointStereo_Read()
|
D | block.h | 298 val = CodeBook[index][FDKreadBits(bs,HuffmanBits)]; /* Expensive memory access */ in CBlock_DecodeHuffmanWord()
|
/external/aac/libSBRdec/src/ |
D | env_extr.cpp | 289 hHeaderData->bs_info.ampResolution = FDKreadBits (hBs, 1); in sbrGetHeaderData() 292 pBsData->startFreq = FDKreadBits (hBs, 4); in sbrGetHeaderData() 293 pBsData->stopFreq = FDKreadBits (hBs, 4); in sbrGetHeaderData() 296 hHeaderData->bs_info.xover_band = FDKreadBits (hBs, 3); in sbrGetHeaderData() 297 FDKreadBits (hBs, 2); in sbrGetHeaderData() 300 headerExtra1 = FDKreadBits (hBs, 1); in sbrGetHeaderData() 301 headerExtra2 = FDKreadBits (hBs, 1); in sbrGetHeaderData() 306 pBsData->freqScale = FDKreadBits (hBs, 2); in sbrGetHeaderData() 307 pBsData->alterScale = FDKreadBits (hBs, 1); in sbrGetHeaderData() 308 pBsData->noise_bands = FDKreadBits (hBs, 2); in sbrGetHeaderData() [all …]
|
D | psbitdec.cpp | 111 bit = FDKreadBits (hBitBuf, 1); in decode_huff_cw() 463 bEnableHeader = (SCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData() 468 pBsData->bEnableIid = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData() 470 pBsData->modeIid = (UCHAR) FDKreadBits (hBitBuf, 3); in ReadPsData() 473 pBsData->bEnableIcc = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData() 475 pBsData->modeIcc = (UCHAR) FDKreadBits (hBitBuf, 3); in ReadPsData() 478 pBsData->bEnableExt = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData() 481 pBsData->bFrameClass = (UCHAR) FDKreadBits (hBitBuf, 1); in ReadPsData() 484 pBsData->noEnv = FDK_sbrDecoder_aFixNoEnvDecode[(UCHAR) FDKreadBits (hBitBuf, 2)]; in ReadPsData() 489 pBsData->noEnv = 1+(UCHAR) FDKreadBits (hBitBuf, 2); in ReadPsData() [all …]
|
D | sbr_crc.cpp | 139 bValue = FDKreadBits (hBs, MAXCRCSTEP); in getCrc() 143 bValue = FDKreadBits (hBs, CrcNrBitsRest); in getCrc() 165 crcCheckSum = FDKreadBits (hBs, 10); in SbrCrcCheck()
|
D | huff_dec.cpp | 112 bit = FDKreadBits (hBs, 1); in DecodeHuffmanCW()
|
/external/aac/libMpegTPDec/src/ |
D | tpdec_adif.cpp | 111 if (FDKreadBits(bs,8) != 'A') { in adifRead_DecodeHeader() 114 if (FDKreadBits(bs,8) != 'D') { in adifRead_DecodeHeader() 117 if (FDKreadBits(bs,8) != 'I') { in adifRead_DecodeHeader() 120 if (FDKreadBits(bs,8) != 'F') { in adifRead_DecodeHeader() 124 if ( (pAdifHeader->CopyrightIdPresent = FDKreadBits(bs,1)) != 0 ) in adifRead_DecodeHeader() 128 pAdifHeader->OriginalCopy = FDKreadBits(bs,1); in adifRead_DecodeHeader() 129 pAdifHeader->Home = FDKreadBits(bs,1); in adifRead_DecodeHeader() 130 pAdifHeader->BitstreamType = FDKreadBits(bs,1); in adifRead_DecodeHeader() 133 pAdifHeader->BitRate = FDKreadBits(bs,16); in adifRead_DecodeHeader() 135 pAdifHeader->BitRate |= FDKreadBits(bs,7); in adifRead_DecodeHeader() [all …]
|
D | tpdec_asc.cpp | 143 && (FDKreadBits(bs,8) == PCE_HEIGHT_EXT_SYNC) ) in CProgramConfig_ReadHeightExt() 149 pPce->FrontElementHeightInfo[i] = (UCHAR) FDKreadBits(bs,2); in CProgramConfig_ReadHeightExt() 153 pPce->SideElementHeightInfo[i] = (UCHAR) FDKreadBits(bs,2); in CProgramConfig_ReadHeightExt() 157 pPce->BackElementHeightInfo[i] = (UCHAR) FDKreadBits(bs,2); in CProgramConfig_ReadHeightExt() 162 if ((USHORT)FDKreadBits(bs,8) != FDKcrcGetCRC(&crcInfo)) { in CProgramConfig_ReadHeightExt() 189 pPce->ElementInstanceTag = (UCHAR) FDKreadBits(bs,4); in CProgramConfig_Read() 190 pPce->Profile = (UCHAR) FDKreadBits(bs,2); in CProgramConfig_Read() 191 pPce->SamplingFrequencyIndex = (UCHAR) FDKreadBits(bs,4); in CProgramConfig_Read() 192 pPce->NumFrontChannelElements = (UCHAR) FDKreadBits(bs,4); in CProgramConfig_Read() 193 pPce->NumSideChannelElements = (UCHAR) FDKreadBits(bs,4); in CProgramConfig_Read() [all …]
|
D | tpdec_latm.cpp | 105 bytesForValue = (UCHAR) FDKreadBits(bs,2); in CLatmDemux_GetValue() 109 tmp = (UCHAR) FDKreadBits(bs,8); in CLatmDemux_GetValue() 130 pLatmDemux->m_useSameStreamMux = FDKreadBits(bs,1); in CLatmDemux_ReadAudioMuxElement() 222 pLatmDemux->m_AudioMuxVersion = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig() 227 pLatmDemux->m_AudioMuxVersionA = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig() 234 pLatmDemux->m_allStreamsSameTimeFraming = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig() 235 pLatmDemux->m_noSubFrames = FDKreadBits(bs,6) + 1; in CLatmDemux_ReadStreamMuxConfig() 236 pLatmDemux->m_numProgram = FDKreadBits(bs,4) + 1; in CLatmDemux_ReadStreamMuxConfig() 244 pLatmDemux->m_numLayer = FDKreadBits(bs,3) + 1; in CLatmDemux_ReadStreamMuxConfig() 258 pLatmDemux->m_useSameConfig = FDKreadBits(bs,1); in CLatmDemux_ReadStreamMuxConfig() [all …]
|
D | tpdec_adts.cpp | 190 bs.mpeg_id = FDKreadBits(hBs, Adts_Length_Id); in adtsRead_DecodeHeader() 191 bs.layer = FDKreadBits(hBs, Adts_Length_Layer); in adtsRead_DecodeHeader() 192 bs.protection_absent = FDKreadBits(hBs, Adts_Length_ProtectionAbsent); in adtsRead_DecodeHeader() 193 bs.profile = FDKreadBits(hBs, Adts_Length_Profile); in adtsRead_DecodeHeader() 194 bs.sample_freq_index = FDKreadBits(hBs, Adts_Length_SamplingFrequencyIndex); in adtsRead_DecodeHeader() 195 bs.private_bit = FDKreadBits(hBs, Adts_Length_PrivateBit); in adtsRead_DecodeHeader() 196 bs.channel_config = FDKreadBits(hBs, Adts_Length_ChannelConfiguration); in adtsRead_DecodeHeader() 197 bs.original = FDKreadBits(hBs, Adts_Length_OriginalCopy); in adtsRead_DecodeHeader() 198 bs.home = FDKreadBits(hBs, Adts_Length_Home); in adtsRead_DecodeHeader() 201 bs.copyright_id = FDKreadBits(hBs, Adts_Length_CopyrightIdentificationBit); in adtsRead_DecodeHeader() [all …]
|
D | tpdec_lib.cpp | 421 hTp->parser.adts.crcReadValue = FDKreadBits(hBs, 16); in transportDec_AdjustEndOfAccessUnit() 583 syncLayerFrameBits = FDKreadBits(hBs, 13); in transportDec_readHeader() 728 synch = FDKreadBits(hBs, syncLength); in synchronization() 735 synch = ((synch << TPDEC_SYNCSKIP) & syncMask) | FDKreadBits(hBs, TPDEC_SYNCSKIP); in synchronization()
|
/external/aac/libPCMutils/src/ |
D | pcmutils_lib.cpp | 1681 if (FDKreadBits(hBs,8) != ANC_DATA_SYNC_BYTE) { in pcmDmx_Parse() 1689 /* int numAncBytes = */ FDKreadBits(hBs, 4); in pcmDmx_Parse() 1727 pBsMetaData->cLevIdx = FDKreadBits(hBs, 3); in pcmDmx_Parse() 1730 FDKreadBits(hBs, 3); in pcmDmx_Parse() 1733 pBsMetaData->sLevIdx = FDKreadBits(hBs, 3); in pcmDmx_Parse() 1736 FDKreadBits(hBs, 3); in pcmDmx_Parse() 1751 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse() 1754 pBsMetaData->dmixIdxA = FDKreadBits(hBs, 3); in pcmDmx_Parse() 1755 pBsMetaData->dmixIdxB = FDKreadBits(hBs, 3); in pcmDmx_Parse() 1756 FDKreadBits(hBs, 2); /* reserved bits */ in pcmDmx_Parse() [all …]
|
/external/aac/libFDK/src/ |
D | FDK_crc.cpp | 333 USHORT tmp = FDKreadBits(hBs,1); // process single bit in calcCrc_Bits() 378 crc = (crc<<8)^pCrcLookup[((crc>>8)^((UCHAR)FDKreadBits(hBs,8)))&0xFF]; in calcCrc_Bytes()
|
/external/aac/libFDK/include/ |
D | FDK_bitstream.h | 208 FDK_INLINE UINT FDKreadBits(HANDLE_FDK_BITSTREAM hBitStream, in FDKreadBits() function 253 return FDKreadBits(hBitStream,1); in FDKreadBit()
|
/external/aac/libSBRenc/src/ |
D | env_bit.cpp | 236 bit = FDKreadBits(&tmpCRCBuf,1); in FDKsbrEnc_AssembleSbrBitstream()
|