/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_get_main_data_size.cpp | 39 tmp3dec_file *pVars 117 tmp3dec_file *pVars) 132 pVars->predicted_frame_size = numBytes; 145 pVars->predicted_frame_size = numBytes; 160 pVars->predicted_frame_size++; 116 pvmp3_get_main_data_size(mp3Header *info, tmp3dec_file *pVars) argument
|
H A D | pvmp3_huffman_parsing.cpp | 46 tmp3dec_file *pVars, decoder state structure 127 tmp3dec_file *pVars, 141 tmp3Bits *pMainData = &pVars->mainDataStream; 185 h = &(pVars->ht[grInfo->table_select[0]]); 200 h = &(pVars->ht[grInfo->table_select[1]]); 215 h = &(pVars->ht[grInfo->table_select[2]]); 232 h = &(pVars->ht[grInfo->table_select[0]]); 246 h = &(pVars->ht[grInfo->table_select[1]]); 262 h = &(pVars->ht[grInfo->table_select[0]]); 281 h = &(pVars 125 pvmp3_huffman_parsing(int32 is[SUBBANDS_NUMBER*FILTERBANK_BANDS], granuleInfo *grInfo, tmp3dec_file *pVars, int32 part2_start, mp3Header *info) argument [all...] |
H A D | pvmp3_seek_synch.cpp | 136 tmp3dec_file *pVars; local 138 pVars = (tmp3dec_file *)pMem; 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; 141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits 144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits 146 err = pvmp3_header_sync(&pVars->inputStream); 153 uint32 temp = getNbits(&pVars->inputStream, 21); 155 pVars->inputStream.usedBits -= 21 + SYNC_WORD_LNGTH; 193 if (numBytes > (int32)pVars->inputStream.inputBufferCurrentLength) 199 else if (numBytes == (int32)pVars [all...] |
H A D | pvmp3_framedecoder.cpp | 168 tmp3dec_file *pVars = (tmp3dec_file *)pMem; local 173 pVars->inputStream.pBuffer = pExt->pInputBuffer; 176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3; 177 pVars->inputStream.inputBufferCurrentLength = pExt->inputBufferCurrentLength; 180 errorCode = pvmp3_decode_header(&pVars->inputStream, 190 pVars->num_channels = (info->mode == MPG_MD_MONO) ? 1 : 2; 191 pExt->num_channels = pVars->num_channels; 214 pChVars[ LEFT] = &pVars->perChan[ LEFT]; 215 pChVars[RIGHT] = &pVars->perChan[RIGHT]; 225 sent_crc = getUpTo17bits(&pVars 568 tmp3dec_file *pVars = (tmp3dec_file *)pMem; local 654 tmp3dec_file *pVars; local 766 tmp3dec_file *pVars; local [all...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
H A D | pvmp4audiodecoderinitlibrary.cpp | 131 pVars = pMem; 134 to = pVars, 137 MODIFYING(*pVars = 0) 140 pVars->current_program = -1 141 pVars->mc_info.sampling_rate_idx = Fs_44 142 pVars->frameLength = LONG_WINDOW 145 pVars->winmap[ONLY_LONG_SEQUENCE] = &pVars->longFrameInfo; 146 pVars->winmap[LONG_START_SEQUENCE] = &pVars 245 tDec_Int_File *pVars; local 392 tDec_Int_File *pVars; local [all...] |
H A D | pvmp4audiodecoderconfig.cpp | 26 pVars->bno 184 tDec_Int_File *pVars; /* Helper pointer */ local 191 pVars = (tDec_Int_File *)pMem; 195 pVars->inputStream.pBuffer = pExt->pInputBuffer; 197 pVars->inputStream.inputBufferCurrentLength = 200 pVars->inputStream.availableBits = 207 pVars->inputStream.usedBits = initialUsedBits; 209 if (initialUsedBits <= pVars->inputStream.availableBits) 217 pVars->aacConfigUtilityEnabled = false; /* set aac dec mode */ 219 status = get_audio_specific_config(pVars); [all...] |
H A D | get_audio_specific_config.cpp | 29 (2) do not set pVars->prog_config.profile 52 pVars = pointer to the structure that holds all information for 53 this instance of the library. pVars->prog_config is directly 54 used, and pVars->mc_info, pVars->prog_config, 55 pVars->pWinSeqInfo, pVars->SFBWidth128 are needed indirectly 69 pVars->prog_config contents are updated with the information read in. 70 pVars->mc_info contents are updated with channel information. 71 pVars 306 get_audio_specific_config(tDec_Int_File * const pVars) argument [all...] |
H A D | get_ga_specific_config.cpp | 46 pVars = pointer to the structure that holds all information for 47 this instance of the library. pVars->prog_config 48 pVars->mc_info, pVars->pWinSeqInfo, pVars->SFBWidth128 74 pVars->mc_info contents are updated with channel information. 76 pVars->pWinSeqInfo contents are updated with window information. 77 pVars->SFBWidth128 contents are updated with scale factor band width data. 145 pVars = pVars, 301 get_GA_specific_config( tDec_Int_File * const pVars, BITS *pInputStream, UInt channel_config, const tMP4AudioObjectType audioObjectType ) argument [all...] |
H A D | get_prog_config.cpp | 55 pVars = pointer to the structure that holds all information for 56 this instance of the library. pVars->prog_config is directly 57 used, and pVars->mc_info, pVars->prog_config, pVars->winmap, 58 pVars->SFBWidth128 are needed indirectly for calling 72 pVars->prog_config contents are updated with the PCE read in. 73 pVars->mc_info contents are updated with channel information. 74 pVars->winmap contents are updated with window information. 75 pVars 453 get_prog_config( tDec_Int_File *pVars, ProgConfig *pScratchPCE) argument [all...] |
H A D | pvmp4audiodecoderresetbuffer.cpp | 25 Description: (1) add more comments (2) set pVars->bno = 1 71 the audio. The frame number counter, pVars->bno, is set to 1 because the 72 audioSpecificInfo is decoded on pVars->bno==0 163 tDec_Int_File *pVars; /* Helper pointer */ local 178 pVars = (tDec_Int_File *)pMem; 184 pv_memset(pVars->perChan[LEFT].time_quant, 186 LONG_WINDOW*sizeof(pVars->perChan[LEFT].time_quant[0])); 188 pv_memset(pVars->perChan[RIGHT].time_quant, 190 LONG_WINDOW*sizeof(pVars->perChan[RIGHT].time_quant[0])); 195 if (!pVars [all...] |
H A D | pvmp4setaudioconfig.cpp | 180 tDec_Int_File *pVars; /* Helper pointer */ local 187 pVars = (tDec_Int_File *)pMem; 191 pVars->inputStream.pBuffer = pExt->pInputBuffer; 193 pVars->inputStream.availableBits = 0; 195 pVars->inputStream.usedBits = 0; 206 pVars->prog_config.sampling_rate_idx = 0; 209 pVars->prog_config.sampling_rate_idx = 1; 212 pVars->prog_config.sampling_rate_idx = 2; 215 pVars->prog_config.sampling_rate_idx = 3; 218 pVars [all...] |
H A D | get_adif_header.cpp | 52 pVars = pointer to the structure that contains the current state 68 pVars->adif_header contents are updated with the some of the ADIF header 70 pVars->tempProgConfig contents are overwritten with last PCE found, 72 pVars->prog_config contents are updated with the first PCE found. 73 pVars->inputStream contents are modify in such a way that the 75 pVars->SFBWidth128 contents may be updated. 76 pVars->winSeqInfo contents may be updated. 201 pVars = pVars) 202 MODIFYING( pVars 292 get_adif_header( tDec_Int_File *pVars, ProgConfig *pScratchPCE) argument [all...] |
H A D | get_adts_header.cpp | 41 pVars = Pointer to structure that holds file-scope variables. 61 pVars->prog_config Updated with program information data as read from 172 &(pVars->inputStream), 182 &(pVars->inputStream), 191 &(pVars->inputStream)); 193 MODIFYING pVars->inputStream 199 pVars->prog_config.CRC_absent = ((UInt)(adts_header >> 12)) AND 0x0001; 203 pVars->prog_config.profile = (lower_16 >> 10) AND 0x3; 205 pVars->prog_config.sampling_rate_idx = (lower_16 >> 6) AND 0xF; 210 pVars 361 get_adts_header( tDec_Int_File *pVars, UInt32 *pSyncword, Int *pInvoke, Int CorrectlyReadFramesCount) argument [all...] |
H A D | huffdecode.cpp | 97 pVars = pointer to structure that holds information for decoding, 124 pVars->hasmask contents updated by newly decoded Mid/Side mask 127 pVars->pulseInfo contents updated by newly decoded pulse data information 196 pMcInfo = &pVars->mc_info; 222 audioObjectType = pVars->mc_info.audioObjectType, 229 pVars->winmap, 249 pVars->winmap[pChVars[leftCh]->wnd], 283 pVars, 289 pVars->winmap, 290 &pVars 373 huffdecode( Int id_syn_ele, BITS *pInputStream, tDec_Int_File *pVars, tDec_Int_Chan *pChVars[]) argument [all...] |
H A D | sbr_applied.cpp | 162 tDec_Int_File *pVars, 204 pVars->mc_info.psPresentFlag = sbrEnablePS; 208 pVars->mc_info.ExtendedAudioObjectType = MP4AUDIO_PS; 219 if (pVars->mc_info.ExtendedAudioObjectType != MP4AUDIO_PS) 221 pVars->mc_info.ExtendedAudioObjectType = MP4AUDIO_SBR; 223 if (pVars->mc_info.nch > 1) 235 pVars->mc_info.psPresentFlag = sbrEnablePS; 241 pVars->mc_info.ExtendedAudioObjectType = MP4AUDIO_SBR; 243 if (pVars->mc_info.nch > 1) 254 pVars 156 sbr_applied(SBRDECODER_DATA * self, SBRBITSTREAM * stream, Int16 *ch_left, Int16 *ch_right, Int16 *timeData, SBR_DEC *sbrDec, tDec_Int_File *pVars, Int32 numChannels) argument [all...] |
H A D | getics.cpp | 82 pVars = pointer to structure that holds decoder information 192 pVars->mc_info.audioObjectType, 278 pVars->huffBookUsed) 365 pVars->quantSpec, 366 pVars->tmp_spec, 427 tDec_Int_File *pVars, 469 pVars->mc_info.audioObjectType, 577 pVars->scratch.huffbook_used); 623 &pVars->mc_info, 625 pVars 424 getics( BITS *pInputStream, Int common_window, tDec_Int_File *pVars, tDec_Int_Chan *pChVars, Int group[], Int *pMax_sfb, Int *pCodebookMap, TNS_frame_info *pTnsFrameInfo, FrameInfo **pWinMap, PulseInfo *pPulseInfo, SectInfo sect[]) argument [all...] |
H A D | sbr_dec.cpp | 153 tDec_Int_File *pVars) 185 scratch_mem = pVars->scratch.scratch_mem; 247 if (pVars->ltp_buffer_state) 411 if ((pVars->mc_info.psPresentFlag) && (applyProcessing) && 424 tDec_Int_Chan *tmpx = &pVars->perChan[1]; 543 if (pVars->mc_info.bDownSampledSbr) 601 if (pVars->mc_info.bDownSampledSbr) 607 pVars->mc_info.bDownSampledSbr); 615 pVars->mc_info.bDownSampledSbr); 650 if (pVars 142 sbr_dec(Int16 *inPcmData, Int16 *ftimeOutPtr, SBR_FRAME_DATA * hFrameData, int32_t applyProcessing, SBR_DEC *sbrDec, Int16 * ftimeOutPtrPS, HANDLE_PS_DEC hParametricStereoDec, tDec_Int_File *pVars) argument [all...] |
H A D | pvmp4audiodecoderframe.cpp | 74 Description: Added cast, since pVars->inputStream.usedBits is UInt, and 78 (Int)(pVars->inputStream.usedBits & INBUF_BIT_MODULO_MASK); 518 tDec_Int_File *pVars; /* Helper pointer */ local 539 pVars = (tDec_Int_File *)pMem; 541 pMC_Info = &pVars->mc_info; 543 pChVars[LEFT] = &pVars->perChan[LEFT]; 544 pChVars[RIGHT] = &pVars->perChan[RIGHT]; 552 sbrDecoderData = (SBRDECODER_DATA *) & pVars->sbrDecoderData; 553 sbrDec = (SBR_DEC *) & pVars->sbrDec; 554 sbrBitStream = (SBRBITSTREAM *) & pVars [all...] |