HomeSort by relevance Sort by last modified time
    Searched refs:Fs (Results 1 - 25 of 37) sorted by null

1 2

  /frameworks/av/media/libeffects/lvm/lib/Common/src/
LVM_GetOmega.c 24 /* Defines and Tables for 2*Pi/Fs */
50 /* LVM_Fs_en Fs) */
53 /* This function calculates the value of w using Fc and Fs */
58 /* LVM_Fs_en Fs The SampleRate */
60 /* w=2*pi*Fc/Fs in Q2.29 format */
64 LVM_Fs_en Fs)
67 MUL32x32INTO32((LVM_INT32)Fc,LVVDL_2PiOnFsTable[Fs%3],w,LVVDL_2PiOnFsShiftTable[Fs/3])
LVC_Mixer_SetTimeConstant.c 37 /* Fs - LVM_Fs_en enumerator for Sampling Frequency */
50 LVM_Fs_en Fs,
63 LVM_INT32 Delta=DeltaTable[Fs];
LVC_Mixer_VarSlope_SetTimeConstant.c 38 /* Fs - LVM_Fs_en enumerator for Sampling Frequency */
51 LVM_Fs_en Fs,
64 LVM_INT32 Delta=DeltaTable[Fs];
LVM_Mixer_TimeConstant.c 40 /* is approximately a fixed, and correct factor of the value of Fs */
48 /* 2. The product tc * Fs is limited approximately to the range */
49 /* 8 < (tc * Fs) < 2^35 */
53 /* Fs - the filter update rate in Hz */
62 LVM_UINT16 Fs,
124 Product = ((tc >> 16) * (LVM_UINT32)Fs) << 13; /* Stereo value */
125 Product = Product + (((tc & 0x0000FFFF) * (LVM_UINT32)Fs) >> 3);
LVC_Mixer.h 91 LVM_Fs_en Fs,
96 LVM_Fs_en Fs,
  /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);
  /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
LVPSA_Control.c 31 LVPSA_RETURN LVPSA_BPSinglePrecCoefs( LVM_UINT16 Fs,
35 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs,
39 LVPSA_RETURN LVPSA_BPDoublePrecCoefs( LVM_UINT16 Fs,
77 if(pNewParams->Fs >= LVPSA_NR_SUPPORTED_RATE)
117 pParams->Fs = pLVPSA_Inst->CurrentParams.Fs;
195 if(Params.Fs != pInst->CurrentParams.Fs)
197 pInst->CurrentParams.Fs = Params.Fs;
273 LVM_UINT32 fs = (LVM_UINT32)LVPSA_SampleRateTab[(LVM_UINT16)pParams->Fs]; \/* Sample rate *\/ local
    [all...]
LVPSA_QPD_Process.c 160 if((pLVPSA_Inst->pSpectralDataBufferWritePointer != pWrite)&&(pLVPSA_Inst->CurrentParams.Fs == LVM_FS_11025))
  /frameworks/av/media/libeffects/lvm/lib/Eq/src/
LVEQNB_Private.h 118 LVEQNB_ReturnStatus_en LVEQNB_SinglePrecCoefs(LVM_UINT16 Fs,
122 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs,
LVEQNB_CalcCoef.c 43 /* Fs Sampling frequency index */
54 /* t0 = 2 * Pi * Fc / Fs */
64 /* Fc is the centre frequency, DC to Fs/50 */
65 /* Fs is the sample frequency, 8000 to 48000 in descrete steps */
68 /* 2. The double precision coefficients are only used when fc is less than fs/85, so */
80 LVEQNB_ReturnStatus_en LVEQNB_DoublePrecCoefs(LVM_UINT16 Fs,
117 T0 = (LVM_INT32)Frequency * LVEQNB_TwoPiOnFsTable[Fs]; /* T0 = 2 * Pi * Fc / Fs */
140 T0 = (T0 >> 6) * 0x7f53; /* Scale to 1.0 in 16-bit for range 0 to fs/50 */
181 /* Fs Sampling frequency index *
    [all...]
  /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,
  /frameworks/av/media/libeffects/lvm/lib/Common/lib/
Mixer.h 71 LVM_UINT16 Fs,
  /frameworks/av/media/libeffects/lvm/lib/SpectrumAnalyzer/lib/
LVPSA.h 84 LVM_Fs_en Fs; /* Input sampling rate */
  /frameworks/av/tools/resampler_tools/
fir.cpp 98 double Fs = 48000;
138 // with dw the transition width = 2*pi*dF/Fs
178 Fs = atof(optarg);
220 // cut off frequency ratio Fc/Fs
221 double Fcr = Fc / 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,\

Completed in 632 milliseconds

1 2