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

1 2 3

  /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/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...]
  /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...]
  /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...]
  /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/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,
  /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,

Completed in 868 milliseconds

1 2 3