/external/chromium_org/third_party/opus/src/celt/dump_modes/ |
dump_modes.c | 59 fprintf(file, " %d %d",mode->Fs,mode->shortMdctSize*mode->nbShortMdcts); 74 standard = (mode->Fs == 400*(opus_int32)mode->shortMdctSize); 75 framerate = mode->Fs/mode->shortMdctSize; 79 fprintf(file, "#ifndef DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); 80 fprintf(file, "#define DEF_EBANDS%d_%d\n", mode->Fs, mdctSize); 81 fprintf (file, "static const opus_int16 eBands%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands+2); 100 fprintf(file, "#ifndef DEF_ALLOC_VECTORS%d_%d\n", mode->Fs, mdctSize); 101 fprintf(file, "#define DEF_ALLOC_VECTORS%d_%d\n", mode->Fs, mdctSize); 102 fprintf (file, "static const unsigned char allocVectors%d_%d[%d] = {\n", mode->Fs, mdctSize, mode->nbEBands*mode->nbAllocVectors); 124 fprintf(file, "#ifndef DEF_PULSE_CACHE%d\n", mode->Fs/mdctSize) [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
modes.c | 89 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands) 95 if (Fs == 400*(opus_int32)frame_size) 105 if (bark_freq[nBark+1]*2 >= Fs) 178 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) 194 if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) 201 a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; 202 a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize; 223 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error) 245 if (Fs == static_mode_list[i]->Fs & [all...] |
modes.h | 61 opus_int32 Fs;
|
/external/chromium_org/third_party/opus/src/include/ |
opus_multistream.h | 217 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz). 258 opus_int32 Fs, 268 opus_int32 Fs, 287 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz). 328 opus_int32 Fs, 338 opus_int32 Fs, 478 * @param Fs <tt>opus_int32</tt>: Sampling rate to decode at (in Hz). 505 opus_int32 Fs, 522 * @param Fs <tt>opus_int32</tt>: Sampling rate to decode at (in Hz). 549 opus_int32 Fs, [all...] |
opus.h | 86 * enc = opus_encoder_create(Fs, channels, application, &error); 102 * error = opus_encoder_init(enc, Fs, channels, application); 197 * @param [in] Fs <tt>opus_int32</tt>: Sampling rate of input signal (Hz) 209 opus_int32 Fs, 221 * @param [in] Fs <tt>opus_int32</tt>: Sampling rate of input signal (Hz) 230 opus_int32 Fs, 341 * dec = opus_decoder_create(Fs, channels, &error); 344 * @li Fs is the sampling rate and must be 8000, 12000, 16000, 24000, or 48000 357 * error = opus_decoder_init(dec, Fs, channels); 409 * @param [in] Fs <tt>opus_int32</tt>: Sample rate to decode at (Hz) [all...] |
opus_custom.h | 81 * must create a mode using the same sample rate (fs) and frame size 115 * @param [in] Fs <tt>int</tt>: Sampling rate (8000 to 96000 Hz) 121 OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error);
|
/external/libopus/celt/ |
modes.c | 89 static opus_int16 *compute_ebands(opus_int32 Fs, int frame_size, int res, int *nbEBands) 95 if (Fs == 400*(opus_int32)frame_size) 105 if (bark_freq[nBark+1]*2 >= Fs) 178 if (mode->Fs == 400*(opus_int32)mode->shortMdctSize) 194 if (400*(opus_int32)eband5ms[k] > mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize) 201 a1 = mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize - 400*(opus_int32)eband5ms[k-1]; 202 a0 = 400*(opus_int32)eband5ms[k] - mode->eBands[j]*(opus_int32)mode->Fs/mode->shortMdctSize; 223 CELTMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error) 245 if (Fs == static_mode_list[i]->Fs & [all...] |
modes.h | 61 opus_int32 Fs;
|
/external/libopus/include/ |
opus_multistream.h | 217 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz). 258 opus_int32 Fs, 268 opus_int32 Fs, 287 * @param Fs <tt>opus_int32</tt>: Sampling rate of the input signal (in Hz). 328 opus_int32 Fs, 338 opus_int32 Fs, 478 * @param Fs <tt>opus_int32</tt>: Sampling rate to decode at (in Hz). 505 opus_int32 Fs, 522 * @param Fs <tt>opus_int32</tt>: Sampling rate to decode at (in Hz). 549 opus_int32 Fs, [all...] |
opus.h | 86 * enc = opus_encoder_create(Fs, channels, application, &error); 102 * error = opus_encoder_init(enc, Fs, channels, application); 197 * @param [in] Fs <tt>opus_int32</tt>: Sampling rate of input signal (Hz) 209 opus_int32 Fs, 221 * @param [in] Fs <tt>opus_int32</tt>: Sampling rate of input signal (Hz) 230 opus_int32 Fs, 341 * dec = opus_decoder_create(Fs, channels, &error); 344 * @li Fs is the sampling rate and must be 8000, 12000, 16000, 24000, or 48000 357 * error = opus_decoder_init(dec, Fs, channels); 409 * @param [in] Fs <tt>opus_int32</tt>: Sample rate to decode at (Hz) [all...] |
opus_custom.h | 81 * must create a mode using the same sample rate (fs) and frame size 115 * @param [in] Fs <tt>int</tt>: Sampling rate (8000 to 96000 Hz) 121 OPUS_CUSTOM_EXPORT OPUS_WARN_UNUSED_RESULT OpusCustomMode *opus_custom_mode_create(opus_int32 Fs, int frame_size, int *error);
|
/external/chromium_org/third_party/opus/src/src/ |
opus_encoder.c | 74 opus_int32 Fs; 162 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) 169 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)|| 187 st->Fs = Fs; 197 st->silk_mode.API_sampleRate = st->Fs; [all...] |
opus_decoder.c | 59 opus_int32 Fs; /** Sampling rate (at the API level) */ 101 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) 107 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) 124 st->Fs = Fs; 125 st->DecControl.API_sampleRate = st->Fs; [all...] |
opus_multistream_encoder.c | 396 opus_int32 Fs, 433 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application); 441 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application); 458 opus_int32 Fs, 466 return opus_multistream_encoder_init_impl(st, Fs, channels, streams, coupled_streams, mapping, application, 0); 471 opus_int32 Fs, 516 return opus_multistream_encoder_init_impl(st, Fs, channels, *streams, *coupled_streams, 521 opus_int32 Fs, 546 ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, application); 558 opus_int32 Fs, [all...] |
opus_private.h | 89 int optimize_framesize(const opus_val16 *x, int len, int C, opus_int32 Fs, 95 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); 98 int variable_duration, int C, opus_int32 Fs, int bitrate_bps,
|
opus_multistream_decoder.c | 65 opus_int32 Fs, 96 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 2); 102 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 1); 111 opus_int32 Fs, 135 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); 156 opus_int32 len, int nb_streams, opus_int32 Fs) 174 tmp_samples = opus_packet_get_nb_samples(data, packet_offset, Fs); 195 opus_int32 Fs; 205 opus_multistream_decoder_ctl(st, OPUS_GET_SAMPLE_RATE(&Fs)); 206 frame_size = IMIN(frame_size, Fs/25*3) [all...] |
analysis.h | 87 int analysis_frame_size, int frame_size, int c1, int c2, int C, opus_int32 Fs,
|
/external/libopus/src/ |
opus_encoder.c | 74 opus_int32 Fs; 162 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) 169 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)|| 187 st->Fs = Fs; 197 st->silk_mode.API_sampleRate = st->Fs; [all...] |
opus_decoder.c | 59 opus_int32 Fs; /** Sampling rate (at the API level) */ 101 int opus_decoder_init(OpusDecoder *st, opus_int32 Fs, int channels) 107 if ((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000) 124 st->Fs = Fs; 125 st->DecControl.API_sampleRate = st->Fs; [all...] |
opus_multistream_encoder.c | 396 opus_int32 Fs, 433 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 2, application); 441 ret = opus_encoder_init((OpusEncoder*)ptr, Fs, 1, application); 458 opus_int32 Fs, 466 return opus_multistream_encoder_init_impl(st, Fs, channels, streams, coupled_streams, mapping, application, 0); 471 opus_int32 Fs, 516 return opus_multistream_encoder_init_impl(st, Fs, channels, *streams, *coupled_streams, 521 opus_int32 Fs, 546 ret = opus_multistream_encoder_init(st, Fs, channels, streams, coupled_streams, mapping, application); 558 opus_int32 Fs, [all...] |
opus_private.h | 89 int optimize_framesize(const opus_val16 *x, int len, int C, opus_int32 Fs, 95 opus_int32 frame_size_select(opus_int32 frame_size, int variable_duration, opus_int32 Fs); 98 int variable_duration, int C, opus_int32 Fs, int bitrate_bps,
|
opus_multistream_decoder.c | 65 opus_int32 Fs, 96 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 2); 102 ret=opus_decoder_init((OpusDecoder*)ptr, Fs, 1); 111 opus_int32 Fs, 135 ret = opus_multistream_decoder_init(st, Fs, channels, streams, coupled_streams, mapping); 156 opus_int32 len, int nb_streams, opus_int32 Fs) 174 tmp_samples = opus_packet_get_nb_samples(data, packet_offset, Fs); 195 opus_int32 Fs; 205 opus_multistream_decoder_ctl(st, OPUS_GET_SAMPLE_RATE(&Fs)); 206 frame_size = IMIN(frame_size, Fs/25*3) [all...] |
analysis.h | 87 int analysis_frame_size, int frame_size, int c1, int c2, int C, opus_int32 Fs,
|
/cts/suite/audio_quality/test_description/processing/ |
check_spectrum.py | 50 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\ 53 Pdd, freqs = plt.psd(DUTData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
|
check_spectrum_playback.py | 49 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
|