/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/src/ |
D | decoder_amr_wb.cpp | 129 OSCL_EXPORT_REF int32 CDecoder_AMR_WB::StartL(tPVAmrDecoderExternal * pExt, in StartL() argument 149 pExt->pInputBuffer = iInputBuf; in StartL() 156 pExt->pInputSampleBuffer = iInputSampleBuf; in StartL() 174 pExt->pOutputBuffer = iOutputBuf; in StartL() 176 pExt->samplingRate = 16000; in StartL() 177 pExt->desiredChannels = 1; in StartL() 179 pExt->reset_flag = 0; in StartL() 180 pExt->reset_flag_old = 1; in StartL() 181 pExt->mode_old = 0; in StartL() 182 pExt->rx_state.prev_ft = RX_SPEECH_GOOD; in StartL() [all …]
|
/external/opencore/codecs_v2/audio/aac/dec/src/ |
D | decoder_aac.cpp | 119 OSCL_EXPORT_REF int32 CDecoder_AAC::StartL(tPVMP4AudioDecoderExternal * pExt, in StartL() argument 139 pExt->pInputBuffer = iInputBuf; in StartL() 140 pExt->inputBufferMaxLength = KAAC_MAX_STREAMING_BUFFER_SIZE; in StartL() 144 pExt->pInputBuffer = NULL; in StartL() 145 pExt->inputBufferMaxLength = 0; in StartL() 161 pExt->pOutputBuffer = iOutputBuf; in StartL() 163 pExt->pOutputBuffer_plus = &iOutputBuf[2048]; in StartL() 165 pExt->pOutputBuffer_plus = NULL; in StartL() 170 pExt->pOutputBuffer = NULL; in StartL() 171 pExt->pOutputBuffer_plus = NULL; in StartL() [all …]
|
D | pvmp4audiodecoderconfig.cpp | 179 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecoderConfig() argument 195 pVars->inputStream.pBuffer = pExt->pInputBuffer; in PVMP4AudioDecoderConfig() 198 (UInt)pExt->inputBufferCurrentLength; in PVMP4AudioDecoderConfig() 201 (UInt)(pExt->inputBufferCurrentLength << INBUF_ARRAY_INDEX_SHIFT); in PVMP4AudioDecoderConfig() 204 (UInt)((pExt->inputBufferUsedLength << INBUF_ARRAY_INDEX_SHIFT) + in PVMP4AudioDecoderConfig() 205 pExt->remainderBits); in PVMP4AudioDecoderConfig() 235 pExt->samplingRate = in PVMP4AudioDecoderConfig() 242 pExt->aacPlusEnabled = pVars->aacPlusEnabled; in PVMP4AudioDecoderConfig() 246 pExt->encodedChannels = 2; in PVMP4AudioDecoderConfig() 248 pExt->frameLength = pVars->frameLength; in PVMP4AudioDecoderConfig() [all …]
|
D | pvmp4audiodecoderframe.cpp | 506 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecodeFrame() argument 564 pVars->inputStream.pBuffer = pExt->pInputBuffer; in PVMP4AudioDecodeFrame() 566 pVars->inputStream.inputBufferCurrentLength = (UInt)pExt->inputBufferCurrentLength; in PVMP4AudioDecodeFrame() 569 (UInt)(pExt->inputBufferCurrentLength << INBUF_ARRAY_INDEX_SHIFT); in PVMP4AudioDecodeFrame() 572 (UInt)((pExt->inputBufferUsedLength << INBUF_ARRAY_INDEX_SHIFT) + in PVMP4AudioDecodeFrame() 573 pExt->remainderBits); in PVMP4AudioDecodeFrame() 619 pExt->inputBufferUsedLength = in PVMP4AudioDecodeFrame() 622 pExt->remainderBits = pVars->inputStream.usedBits & INBUF_BIT_MODULO_MASK; in PVMP4AudioDecodeFrame() 787 PVMP4AudioDecoderDisableAacPlus(pExt, pMem); in PVMP4AudioDecodeFrame() 801 pExt->inputBufferUsedLength = in PVMP4AudioDecodeFrame() [all …]
|
D | pvmp4audiodecoderinitlibrary.cpp | 242 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecoderInitLibrary() argument 317 pExt->bitRate = 0; in PVMP4AudioDecoderInitLibrary() 318 pExt->encodedChannels = 0; in PVMP4AudioDecoderInitLibrary() 319 pExt->samplingRate = 0; in PVMP4AudioDecoderInitLibrary() 320 pExt->aacPlusUpsamplingFactor = 1; /* Default for regular AAC */ in PVMP4AudioDecoderInitLibrary() 321 pVars->aacPlusEnabled = pExt->aacPlusEnabled; in PVMP4AudioDecoderInitLibrary() 332 pExt->inputBufferUsedLength = 0; in PVMP4AudioDecoderInitLibrary() 389 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecoderDisableAacPlus() argument 396 if ((pVars->aacPlusEnabled == true) && (pExt->aacPlusEnabled == true)) in PVMP4AudioDecoderDisableAacPlus() 400 pExt->aacPlusEnabled = false; in PVMP4AudioDecoderDisableAacPlus() [all …]
|
D | pvmp4setaudioconfig.cpp | 171 tPVMP4AudioDecoderExternal *pExt, in PVMP4SetAudioConfig() argument 191 pVars->inputStream.pBuffer = pExt->pInputBuffer; in PVMP4SetAudioConfig() 342 pExt->inputBufferUsedLength = 0; in PVMP4SetAudioConfig() 344 pExt->remainderBits = 0; in PVMP4SetAudioConfig() 348 pExt->samplingRate = samp_rate * upsamplingFactor; in PVMP4SetAudioConfig() 350 pExt->aacPlusEnabled = pVars->aacPlusEnabled; in PVMP4SetAudioConfig() 357 pExt->encodedChannels = 2; in PVMP4SetAudioConfig() 359 pExt->frameLength = 1024; in PVMP4SetAudioConfig() 361 pExt->aacPlusUpsamplingFactor = upsamplingFactor; in PVMP4SetAudioConfig()
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/ |
D | decoder_gsm_amr.cpp | 110 OSCL_EXPORT_REF int32 CDecoder_AMR_NB::StartL(tPVAmrDecoderExternal * pExt, in StartL() argument 127 pExt->pInputBuffer = (uint8 *)iInputBuf; in StartL() 142 pExt->pOutputBuffer = iOutputBuf; in StartL() 144 pExt->samplingRate = 8000; in StartL() 145 pExt->desiredChannels = 1; in StartL() 147 pExt->reset_flag = 0; in StartL() 148 pExt->reset_flag_old = 1; in StartL() 149 pExt->mode_old = 0; in StartL() 173 OSCL_EXPORT_REF int32 CDecoder_AMR_NB::ExecuteL(tPVAmrDecoderExternal * pExt) in ExecuteL() argument 177 if (pExt->input_format == WMF) in ExecuteL() [all …]
|
/external/opencore/codecs_v2/audio/mp3/dec/src/ |
D | pvmp3_decoder.cpp | 192 OSCL_EXPORT_REF int32 CPvMP3_Decoder::StartL(tPVMP3DecoderExternal * pExt, in StartL() argument 210 pExt->inputBufferMaxLength = 512; in StartL() 215 pExt->inputBufferMaxLength = 0; in StartL() 217 pExt->pInputBuffer = iInputBuf; in StartL() 228 pExt->outputFrameSize = (KMP3_MAX_OUTPUT_SIZE >> 1); in StartL() 233 pExt->outputFrameSize = 0; in StartL() 236 pExt->pOutputBuffer = iOutputBuf; in StartL() 238 pExt->crcEnabled = crcEnabler; in StartL() 239 pExt->equalizerType = equalizType; /* Dynamically enable equalizing type */ in StartL() 250 pvmp3_InitDecoder(pExt, pMem); in StartL() [all …]
|
D | pvmp3_framedecoder.cpp | 157 ERROR_CODE pvmp3_framedecoder(tPVMP3DecoderExternal *pExt, in pvmp3_framedecoder() argument 173 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_framedecoder() 176 pVars->inputStream.usedBits = pExt->inputBufferUsedLength << 3; in pvmp3_framedecoder() 177 pVars->inputStream.inputBufferCurrentLength = pExt->inputBufferCurrentLength; in pvmp3_framedecoder() 186 pExt->outputFrameSize = 0; in pvmp3_framedecoder() 191 pExt->num_channels = pVars->num_channels; in pvmp3_framedecoder() 203 if (pExt->outputFrameSize >= outputFrameSize) in pvmp3_framedecoder() 205 pExt->outputFrameSize = outputFrameSize; in pvmp3_framedecoder() 209 pExt->outputFrameSize = 0; in pvmp3_framedecoder() 235 int16 *ptrOutBuffer = pExt->pOutputBuffer; in pvmp3_framedecoder() [all …]
|
D | pvmp3_seek_synch.cpp | 130 ERROR_CODE pvmp3_frame_synch(tPVMP3DecoderExternal *pExt, in pvmp3_frame_synch() argument 140 pVars->inputStream.pBuffer = pExt->pInputBuffer; in pvmp3_frame_synch() 141 pVars->inputStream.usedBits = (pExt->inputBufferUsedLength << 3); // in bits in pvmp3_frame_synch() 144 pVars->inputStream.inputBufferCurrentLength = (pExt->inputBufferCurrentLength); // in bits in pvmp3_frame_synch() 196 pExt->CurrentFrameLength = numBytes + 3; in pvmp3_frame_synch() 202 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; in pvmp3_frame_synch() 226 pExt->inputBufferUsedLength = pVars->inputStream.usedBits >> 3; /// !!!!! in pvmp3_frame_synch() 231 pExt->inputBufferCurrentLength = 0; in pvmp3_frame_synch() 237 pExt->inputBufferCurrentLength = 0; in pvmp3_frame_synch()
|
D | pvmp3_framedecoder.h | 90 ERROR_CODE pvmp3_framedecoder(tPVMP3DecoderExternal *pExt, 97 void pvmp3_InitDecoder(tPVMP3DecoderExternal *pExt,
|
D | pvmp3_seek_synch.h | 91 ERROR_CODE pvmp3_frame_synch(tPVMP3DecoderExternal *pExt,
|
/external/opencore/codecs_v2/audio/aac/dec/util/getactualaacconfig/src/ |
D | pvmp4audiodecoderinitlibrary.cpp | 242 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecoderInitLibrary() argument 317 pExt->bitRate = 0; in PVMP4AudioDecoderInitLibrary() 318 pExt->encodedChannels = 0; in PVMP4AudioDecoderInitLibrary() 319 pExt->samplingRate = 0; in PVMP4AudioDecoderInitLibrary() 320 pExt->aacPlusUpsamplingFactor = 1; /* Default for regular AAC */ in PVMP4AudioDecoderInitLibrary() 321 pVars->aacPlusEnabled = pExt->aacPlusEnabled; in PVMP4AudioDecoderInitLibrary() 332 pExt->inputBufferUsedLength = 0; in PVMP4AudioDecoderInitLibrary() 389 tPVMP4AudioDecoderExternal *pExt, in PVMP4AudioDecoderDisableAacPlus() argument 396 if ((pVars->aacPlusEnabled == true) && (pExt->aacPlusEnabled == true)) in PVMP4AudioDecoderDisableAacPlus() 400 pExt->aacPlusEnabled = false; in PVMP4AudioDecoderDisableAacPlus() [all …]
|
/external/opencore/codecs_v2/audio/aac/dec/include/ |
D | decoder_aac.h | 34 extern Int PVMP4SetAudioConfig(tPVMP4AudioDecoderExternal *pExt, void *pMem, Int upsamplingFactor, … 62 OSCL_IMPORT_REF int32 StartL(tPVMP4AudioDecoderExternal * pExt, 71 OSCL_IMPORT_REF int32 StartL(tPVMP4AudioDecoderExternal * pExt, 77 OSCL_IMPORT_REF int32 ExecuteL(tPVMP4AudioDecoderExternal * pExt); 82 OSCL_IMPORT_REF int32 RetrieveDecodedStreamTypeL(tPVMP4AudioDecoderExternal * pExt); 84 OSCL_IMPORT_REF void DisableSbrDecodingL(tPVMP4AudioDecoderExternal * pExt);
|
D | pvmp4audiodecoder_api.h | 339 tPVMP4AudioDecoderExternal *pExt, 343 tPVMP4AudioDecoderExternal *pExt, 347 tPVMP4AudioDecoderExternal *pExt, 354 tPVMP4AudioDecoderExternal *pExt, 358 tPVMP4AudioDecoderExternal *pExt,
|
/external/opencore/codecs_v2/audio/mp3/dec/include/ |
D | pvmp3_decoder.h | 64 OSCL_IMPORT_REF int32 StartL(tPVMP3DecoderExternal * pExt, 70 OSCL_IMPORT_REF int32 ExecuteL(tPVMP3DecoderExternal * pExt); 75 OSCL_IMPORT_REF int32 SeekMp3Synchronization(tPVMP3DecoderExternal * pExt);
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/include/ |
D | decoder_gsm_amr.h | 50 OSCL_IMPORT_REF virtual int32 StartL(tPVAmrDecoderExternal * pExt, 54 OSCL_IMPORT_REF virtual int32 ExecuteL(tPVAmrDecoderExternal * pExt);
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_wb/dec/include/ |
D | decoder_amr_wb.h | 51 OSCL_IMPORT_REF virtual int32 StartL(tPVAmrDecoderExternal * pExt, 55 OSCL_IMPORT_REF virtual int32 ExecuteL(tPVAmrDecoderExternal * pExt);
|
/external/opencore/codecs_v2/audio/gsm_amr/common/dec/include/ |
D | pvgsmamrdecoderinterface.h | 188 OSCL_IMPORT_REF virtual int32 StartL(tPVAmrDecoderExternal * pExt, 192 OSCL_IMPORT_REF virtual int32 ExecuteL(tPVAmrDecoderExternal * pExt) = 0;
|