/frameworks/av/media/libstagefright/codecs/aacdec/ |
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->longFrameInfo [all...] |
pvmp4setaudioconfig.cpp | 180 tDec_Int_File *pVars; /* Helper pointer */ 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->prog_config.sampling_rate_idx = 4 [all...] |
pvmp4audiodecoderconfig.cpp | 26 pVars->bno 184 tDec_Int_File *pVars; /* Helper pointer */ 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...] |
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->prog_config.front.ele_is_cpe[0] = channel_configuration [all...] |
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->pWinSeqInfo contents are updated with window information [all...] |
get_audio_specific_config.h | 80 tDec_Int_File * const pVars
|
get_prog_config.h | 81 tDec_Int_File *pVars,
|
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, [all...] |
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->prog_config [all...] |
get_adif_header.h | 86 tDec_Int_File *pVars,
|
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 */ 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->sbrBitStr [all...] |
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 */ 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->sbrDecoderData.setStreamType) /* reset only when stream type is defined * [all...] |
get_adts_header.h | 80 tDec_Int_File *pVars,
|
get_ga_specific_config.h | 83 tDec_Int_File * const pVars,
|
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->pulseInfo [all...] |
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->mc_info.ExtendedAudioObjectType = MP4AUDIO_SBR [all...] |
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->SFBWidth128 contents are updated with scale factor band width data [all...] |
sbr_applied.h | 124 tDec_Int_File *pVars,
|
sbr_dec.h | 133 tDec_Int_File *pVars);
|
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
pvmp3_get_main_data_size.h | 90 tmp3dec_file *pVars);
|
pvmp3_framedecoder.cpp | 168 tmp3dec_file *pVars = (tmp3dec_file *)pMem; 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->inputStream, 16) [all...] |
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++;
|
pvmp3_seek_synch.cpp | 136 tmp3dec_file *pVars; 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->inputStream.inputBufferCurrentLength [all...] |
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->ht[grInfo->count1table_select+32]) [all...] |
pv_mp3_huffman.h | 86 tmp3dec_file *pVars,
|