Home
last modified time | relevance | path

Searched refs:FDKreadBits (Results 1 – 25 of 38) sorted by relevance

12

/external/aac/libDRCdec/src/
DdrcDec_reader.cpp162 bit = FDKreadBits(hBs, 1); in _decodeHuffmanCW()
183 loudnessInfoSetPresent = FDKreadBits(hBs, 1); in drcDec_readUniDrc()
185 uniDrcConfigPresent = FDKreadBits(hBs, 1); in drcDec_readUniDrc()
218 sign = FDKreadBits(hBs, 1); in _decodeGainInitial()
219 magn = FDKreadBits(hBs, 8); in _decodeGainInitial()
226 sign = FDKreadBits(hBs, 1); in _decodeGainInitial()
230 magn = FDKreadBits(hBs, 10); in _decodeGainInitial()
236 sign = FDKreadBits(hBs, 1); in _decodeGainInitial()
240 magn = FDKreadBits(hBs, 8); in _decodeGainInitial()
258 endMarker = FDKreadBits(hBs, 1); in _decodeNNodes()
[all …]
/external/aac/libMpegTPDec/src/
Dtpdec_adif.cpp119 if (FDKreadBits(bs, 8) != 'A') { in adifRead_DecodeHeader()
122 if (FDKreadBits(bs, 8) != 'D') { in adifRead_DecodeHeader()
125 if (FDKreadBits(bs, 8) != 'I') { in adifRead_DecodeHeader()
128 if (FDKreadBits(bs, 8) != 'F') { in adifRead_DecodeHeader()
132 if ((pAdifHeader->CopyrightIdPresent = FDKreadBits(bs, 1)) != 0) in adifRead_DecodeHeader()
135 pAdifHeader->OriginalCopy = FDKreadBits(bs, 1); in adifRead_DecodeHeader()
136 pAdifHeader->Home = FDKreadBits(bs, 1); in adifRead_DecodeHeader()
137 pAdifHeader->BitstreamType = FDKreadBits(bs, 1); in adifRead_DecodeHeader()
140 pAdifHeader->BitRate = FDKreadBits(bs, 16); in adifRead_DecodeHeader()
142 pAdifHeader->BitRate |= FDKreadBits(bs, 7); in adifRead_DecodeHeader()
[all …]
Dtpdec_adts.cpp190 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 …]
Dtpdec_asc.cpp219 (FDKreadBits(bs, 8) == PCE_HEIGHT_EXT_SYNC)) { in CProgramConfig_ReadHeightExt()
223 if ((pPce->FrontElementHeightInfo[i] = (UCHAR)FDKreadBits(bs, 2)) >= in CProgramConfig_ReadHeightExt()
229 if ((pPce->SideElementHeightInfo[i] = (UCHAR)FDKreadBits(bs, 2)) >= in CProgramConfig_ReadHeightExt()
235 if ((pPce->BackElementHeightInfo[i] = (UCHAR)FDKreadBits(bs, 2)) >= in CProgramConfig_ReadHeightExt()
243 if ((USHORT)FDKreadBits(bs, 8) != FDKcrcGetCRC(&crcInfo)) { in CProgramConfig_ReadHeightExt()
276 pPce->ElementInstanceTag = (UCHAR)FDKreadBits(bs, 4); in CProgramConfig_Read()
277 pPce->Profile = (UCHAR)FDKreadBits(bs, 2); in CProgramConfig_Read()
278 pPce->SamplingFrequencyIndex = (UCHAR)FDKreadBits(bs, 4); in CProgramConfig_Read()
279 pPce->NumFrontChannelElements = (UCHAR)FDKreadBits(bs, 4); in CProgramConfig_Read()
280 pPce->NumSideChannelElements = (UCHAR)FDKreadBits(bs, 4); in CProgramConfig_Read()
[all …]
Dtpdec_latm.cpp113 bytesForValue = (UCHAR)FDKreadBits(bs, 2); in CLatmDemux_GetValue()
117 tmp = (UCHAR)FDKreadBits(bs, 8); in CLatmDemux_GetValue()
131 pLatmDemux->m_useSameStreamMux = FDKreadBits(bs, 1); in CLatmDemux_ReadAudioMuxElement()
296 pLatmDemux->m_AudioMuxVersion = FDKreadBits(bs, 1); in CLatmDemux_ReadStreamMuxConfig()
301 pLatmDemux->m_AudioMuxVersionA = FDKreadBits(bs, 1); in CLatmDemux_ReadStreamMuxConfig()
308 pLatmDemux->m_allStreamsSameTimeFraming = FDKreadBits(bs, 1); in CLatmDemux_ReadStreamMuxConfig()
309 pLatmDemux->m_noSubFrames = FDKreadBits(bs, 6) + 1; in CLatmDemux_ReadStreamMuxConfig()
310 pLatmDemux->m_numProgram = FDKreadBits(bs, 4) + 1; in CLatmDemux_ReadStreamMuxConfig()
319 pLatmDemux->m_numLayer[prog] = FDKreadBits(bs, 3) + 1; in CLatmDemux_ReadStreamMuxConfig()
335 useSameConfig = FDKreadBits(bs, 1); in CLatmDemux_ReadStreamMuxConfig()
[all …]
/external/aac/libSBRdec/src/
Denv_extr.cpp390 FDKreadBits(hBs, 1); in sbrGetHeaderData()
396 FDKreadBits(hBs, 3); in sbrGetHeaderData()
398 FDKreadBits(hBs, 2); in sbrGetHeaderData()
419 hHeaderData->bs_info.ampResolution = FDKreadBits(hBs, 1); in sbrGetHeaderData()
422 pBsData->startFreq = FDKreadBits(hBs, 4); in sbrGetHeaderData()
423 pBsData->stopFreq = FDKreadBits(hBs, 4); in sbrGetHeaderData()
426 hHeaderData->bs_info.xover_band = FDKreadBits(hBs, 3); in sbrGetHeaderData()
427 FDKreadBits(hBs, 2); in sbrGetHeaderData()
430 headerExtra1 = FDKreadBits(hBs, 1); in sbrGetHeaderData()
431 headerExtra2 = FDKreadBits(hBs, 1); in sbrGetHeaderData()
[all …]
Dpsbitdec.cpp128 bit = FDKreadBits(hBitBuf, 1); in decode_huff_cw()
474 bEnableHeader = (SCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
479 pBsData->bEnableIid = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
481 pBsData->modeIid = (UCHAR)FDKreadBits(hBitBuf, 3); in ReadPsData()
484 pBsData->bEnableIcc = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
486 pBsData->modeIcc = (UCHAR)FDKreadBits(hBitBuf, 3); in ReadPsData()
489 pBsData->bEnableExt = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
492 pBsData->bFrameClass = (UCHAR)FDKreadBits(hBitBuf, 1); in ReadPsData()
496 FDK_sbrDecoder_aFixNoEnvDecode[(UCHAR)FDKreadBits(hBitBuf, 2)]; in ReadPsData()
500 pBsData->noEnv = 1 + (UCHAR)FDKreadBits(hBitBuf, 2); in ReadPsData()
[all …]
Dhuff_dec.cpp130 bit = FDKreadBits(hBs, 1); in DecodeHuffmanCW()
/external/aac/libAACdec/src/
Daacdec_drc.cpp363 if (FDKreadBits(bs, 1)) { in parseExcludedChannels()
369 while (FDKreadBits(bs, 1)) { in parseExcludedChannels()
371 if (FDKreadBits(bs, 1)) { in parseExcludedChannels()
407 if (FDKreadBits(bs, 1)) { /* pce_tag_present */ in aacDecoder_drcMarkPayload()
408 FDKreadBits(bs, 8); /* pce_instance_tag + drc_tag_reserved_bits */ in aacDecoder_drcMarkPayload()
412 if (FDKreadBits(bs, 1)) { /* excluded_chns_present */ in aacDecoder_drcMarkPayload()
413 FDKreadBits(bs, 7); /* exclude mask [0..7] */ in aacDecoder_drcMarkPayload()
415 while (FDKreadBits(bs, 1)) { /* additional_excluded_chns */ in aacDecoder_drcMarkPayload()
416 FDKreadBits(bs, 7); /* exclude mask [x..y] */ in aacDecoder_drcMarkPayload()
421 if (FDKreadBits(bs, 1)) { /* drc_bands_present */ in aacDecoder_drcMarkPayload()
[all …]
Dusacdec_acelp.cpp666 acb_idx = FDKreadBits(hBs, num_acb_idx_bits); in DecodePitchLag()
1225 acelp->mean_energy = FDKreadBits(hBs, 2); in CLpd_AcelpRead()
1236 acelp->ltp_filtering_flag[sfr] = FDKreadBits(hBs, 1); in CLpd_AcelpRead()
1239 acelp->icb_index[sfr][0] = FDKreadBits(hBs, 1); in CLpd_AcelpRead()
1240 acelp->icb_index[sfr][1] = FDKreadBits(hBs, 5); in CLpd_AcelpRead()
1241 acelp->icb_index[sfr][2] = FDKreadBits(hBs, 1); in CLpd_AcelpRead()
1242 acelp->icb_index[sfr][3] = FDKreadBits(hBs, 5); in CLpd_AcelpRead()
1245 acelp->icb_index[sfr][0] = FDKreadBits(hBs, 1); in CLpd_AcelpRead()
1246 acelp->icb_index[sfr][1] = FDKreadBits(hBs, 5); in CLpd_AcelpRead()
1247 acelp->icb_index[sfr][2] = FDKreadBits(hBs, 5); in CLpd_AcelpRead()
[all …]
Daacdec_tns.cpp132 pTnsData->DataPresent = (UCHAR)FDKreadBits(bs, 1); in CTns_ReadDataPresentFlag()
167 (UCHAR)FDKreadBits(bs, isLongFlag ? 2 : 1); in CTns_Read()
173 coef_res = (UCHAR)FDKreadBits(bs, 1); in CTns_Read()
180 length = (UCHAR)FDKreadBits(bs, isLongFlag ? 6 : 4); in CTns_Read()
192 filter->Order = order = (UCHAR)FDKreadBits(bs, isLongFlag ? 4 : 3); in CTns_Read()
194 filter->Order = order = (UCHAR)FDKreadBits(bs, isLongFlag ? 5 : 3); in CTns_Read()
212 filter->Direction = FDKreadBits(bs, 1) ? -1 : 1; in CTns_Read()
214 coef_compress = (UCHAR)FDKreadBits(bs, 1); in CTns_Read()
222 coef = (UCHAR)FDKreadBits(bs, filter->Resolution - coef_compress); in CTns_Read()
Dchannelinfo.cpp120 pIcsInfo->MaxSfBands = (UCHAR)FDKreadBits(bs, nbits); in IcsReadMaxSfb()
141 FDKreadBits(bs, 1); in IcsRead()
143 pIcsInfo->WindowSequence = (BLOCK_TYPE)FDKreadBits(bs, 2); in IcsRead()
144 pIcsInfo->WindowShape = (UCHAR)FDKreadBits(bs, 1); in IcsRead()
169 if ((UCHAR)FDKreadBits(bs, 1) != 0) /* UCHAR PredictorDataPresent */ in IcsRead()
182 pIcsInfo->ScaleFactorGrouping = (UCHAR)FDKreadBits(bs, 7); in IcsRead()
Dpulsedata.cpp122 PulseData->NumberPulse = (UCHAR)FDKreadBits(bs, 2); in CPulseData_Read()
123 PulseData->PulseStartBand = (UCHAR)FDKreadBits(bs, 6); in CPulseData_Read()
132 PulseData->PulseOffset[i] = (UCHAR)FDKreadBits(bs, 5); in CPulseData_Read()
133 PulseData->PulseAmp[i] = (UCHAR)FDKreadBits(bs, 4); in CPulseData_Read()
Drvlcbit.cpp136 bit = FDKreadBits(bs, 1); in rvlcReadBitFromBitstream()
141 bit = FDKreadBits(bs, 1); in rvlcReadBitFromBitstream()
Dchannel.cpp471 pAacDecoderChannelInfo[0]->ElementInstanceTag = FDKreadBits(hBs, 4); in CChannelElement_Read()
480 FDKreadBits(hBs, 1); in CChannelElement_Read()
525 if (FDKreadBits(hBs, 1) != 0) { in CChannelElement_Read()
578 (UCHAR)FDKreadBits(hBs, 8); in CChannelElement_Read()
639 if (FDKreadBits(hBs, 1)) { in CChannelElement_Read()
662 decision_bit = FDKreadBits(hBs, 1); in CChannelElement_Read()
679 FDKreadBits(hBs, 3 + 5); /* Noise level */ in CChannelElement_Read()
770 num_coupled_elements = FDKreadBits(hBs, 3); in CChannelElement_Read()
777 FDKreadBits(hBs, 4); /* cc_target_tag_select[c] */ in CChannelElement_Read()
792 FDKreadBits(hBs, 2); /* gain_element_scale */ in CChannelElement_Read()
[all …]
Daacdec_hcr_bit.cpp147 bit = FDKreadBits(bs, 1); in HcrGetABitFromBitstream()
157 bit = FDKreadBits(bs, 1); in HcrGetABitFromBitstream()
Daacdecoder.cpp408 ancData->buffer[i + offset] = FDKreadBits(hBs, 8); in CAacDecoder_AncDataParse()
450 *elementInstanceTag = FDKreadBits(bs, 4); in CDataStreamElement_Read()
452 dataByteAlignFlag = FDKreadBits(bs, 1); in CDataStreamElement_Read()
454 count = FDKreadBits(bs, 8); in CDataStreamElement_Read()
457 count += FDKreadBits(bs, 8); /* EscCount */ in CDataStreamElement_Read()
687 extPayloadPresentFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
693 useDefaultLengthFlag = FDKreadBits(hBs, 1); in CAacDecoder_PreRollExtensionPayloadParse()
725 config[i] = FDKreadBits(hBs, 8); in CAacDecoder_PreRollExtensionPayloadParse()
820 (EXT_PAYLOAD_TYPE)FDKreadBits(hBs, 4); /* bs_extension_type */ in CAacDecoder_ExtPayloadParse()
993 temp = FDKreadBits(hBs, 4); in CAacDecoder_ExtPayloadParse()
[all …]
Drvlc.cpp1078 pRvlc->sf_concealment = FDKreadBits(bs, 1); /* #1 */ in CRvlc_Read()
1079 pRvlc->rev_global_gain = FDKreadBits(bs, 8); /* #2 */ in CRvlc_Read()
1082 pRvlc->length_of_rvlc_sf = FDKreadBits(bs, 11); /* #3 */ in CRvlc_Read()
1084 pRvlc->length_of_rvlc_sf = FDKreadBits(bs, 9); /* #3 */ in CRvlc_Read()
1099 pRvlc->dpcm_noise_nrg = FDKreadBits(bs, 9); /* #4 PNS */ in CRvlc_Read()
1101 pRvlc->sf_escapes_present = FDKreadBits(bs, 1); /* #5 */ in CRvlc_Read()
1104 pRvlc->length_of_rvlc_escapes = FDKreadBits(bs, 8); /* #6 */ in CRvlc_Read()
1108 pRvlc->dpcm_noise_last_position = FDKreadBits(bs, 9); /* #7 PNS */ in CRvlc_Read()
Dstereo.cpp125 pJointStereoData->MsMaskPresent = (UCHAR)FDKreadBits(bs, 2); in CJointStereo_Read()
146 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs, 1) << group); in CJointStereo_Read()
166 cplx_pred_all = FDKreadBits(bs, 1); in CJointStereo_Read()
179 pJointStereoData->MsUsed[band] |= (FDKreadBits(bs, 1) << group); in CJointStereo_Read()
225 cplxPredictionData->pred_dir = FDKreadBits(bs, 1); in CJointStereo_Read()
226 cplxPredictionData->complex_coef = FDKreadBits(bs, 1); in CJointStereo_Read()
232 cplxPredictionData->use_prev_frame = FDKreadBits(bs, 1); in CJointStereo_Read()
239 delta_code_time = FDKreadBits(bs, 1); in CJointStereo_Read()
Dusacdec_lpc.cpp122 while (FDKreadBits(hBs, 1) && result <= NQ_MAX) { in get_vlclbf()
137 while (FDKreadBits(hBs, 1)) { in get_vlclbf_n()
598 qn[n] = 2 + FDKreadBits(hBs, 2); in decode_qn()
678 index = FDKreadBits(hBs, 8); in vlpc_1st_dec()
746 I = FDKreadBits(hBs, 4 * n); in CLpc_DecodeAVQ()
752 kv[j] = FDKreadBits(hBs, nk); in CLpc_DecodeAVQ()
/external/aac/libSACdec/src/
Dsac_bitdec.cpp233 config->sacExtType[config->sacExtCnt] = FDKreadBits(bitstream, 4); in SpatialDecParseExtensionConfig()
236 sacExtLen = FDKreadBits(bitstream, 4); in SpatialDecParseExtensionConfig()
240 sacExtLen += FDKreadBits(bitstream, 8); in SpatialDecParseExtensionConfig()
243 sacExtLen += FDKreadBits(bitstream, 16); in SpatialDecParseExtensionConfig()
288 sacTimeAlignFlag = FDKreadBits(bitstream, 1); in SpatialDecParseSpecificConfigHeader()
289 sacHeaderLen = FDKreadBits(bitstream, 7); in SpatialDecParseSpecificConfigHeader()
292 sacHeaderLen += FDKreadBits(bitstream, 16); in SpatialDecParseSpecificConfigHeader()
311 FDKreadBits(bitstream, 16); in SpatialDecParseSpecificConfigHeader()
333 (SPATIALDEC_FREQ_RES)freqResTable[FDKreadBits(bitstream, 3)]; in SpatialDecParseMps212Config()
341 (SPATIALDEC_FIXED_GAINS)FDKreadBits(bitstream, 3); in SpatialDecParseMps212Config()
[all …]
Dsac_tsd.cpp236 bsTsdNumTrSlots = FDKreadBits(hBs, nBitsTrSlots); in TsdRead()
255 s[h] = (USHORT)FDKreadBits(hBs, nBitsTsdCW - h * 16); in TsdRead()
297 phaseData[k] = FDKreadBits(hBs, 3); in TsdRead()
/external/aac/libFDK/src/
Dnlc_dec.cpp126 sym_bit = FDKreadBits(strm, 1); in sym_restoreIPD()
202 data = FDKreadBits(strm, pcm_chunk_size[grp_len]); in pcm_decode()
237 next_bit = FDKreadBits(strm, 1); in huff_read()
288 sym_bit = FDKreadBits(strm, 1); in sym_restore()
296 sym_bit = FDKreadBits(strm, 1); in sym_restore()
374 data = FDKreadBits(strm, 1); in huff_dec_1D()
599 data = FDKreadBits(strm, 1); in huff_decode()
604 data = FDKreadBits(strm, 1); in huff_decode()
810 data = FDKreadBits(strm, num_lsb); in attach_lsb()
916 data = FDKreadBits(strm, 1); in EcDataPairDec()
[all …]
/external/aac/libFDK/include/
DFDK_bitstream.h210 FDK_INLINE UINT FDKreadBits(HANDLE_FDK_BITSTREAM hBitStream, in FDKreadBits() function
307 UINT value = FDKreadBits(hBitStream, nBits1); in escapedValue()
310 UINT valueAdd = FDKreadBits(hBitStream, nBits2); in escapedValue()
313 value += FDKreadBits(hBitStream, nBits3); in escapedValue()
/external/aac/libPCMutils/src/
Dpcmdmx_lib.cpp1852 if (FDKreadBits(hBs, 8) != ANC_DATA_SYNC_BYTE) { in pcmDmx_Parse()
1860 /* int numAncBytes = */ FDKreadBits(hBs, 4); in pcmDmx_Parse()
1897 pBsMetaData->cLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1900 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1903 pBsMetaData->sLevIdx = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1906 FDKreadBits(hBs, 3); in pcmDmx_Parse()
1921 FDKreadBits(hBs, 4); /* reserved bits */ in pcmDmx_Parse()
1924 pBsMetaData->dmixIdxA = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1925 pBsMetaData->dmixIdxB = (UCHAR)FDKreadBits(hBs, 3); in pcmDmx_Parse()
1926 FDKreadBits(hBs, 2); /* reserved bits */ in pcmDmx_Parse()
[all …]

12