Searched defs:fs (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/media/libstagefright/codecs/aacdec/
H A Dget_sbr_stopfreq.cpp77 if(fs < 32000)
79 k1_min = (Int) ( ( (float) (6000 * 2 * 64) / fs ) + 0.5 );
83 if (fs < 64000)
85 k1_min = (Int) ( ( (float) (8000 * 2 * 64) / fs ) + 0.5 );
89 k1_min = (Int) ( ((float) (10000 * 2 * 64) / fs ) + 0.5);
153 Int get_sbr_stopfreq(const Int32 fs, argument
159 switch (fs)
H A Dget_sbr_startfreq.cpp132 Int get_sbr_startfreq(const Int32 fs, argument
139 switch (fs)
H A Dsbr_generate_high_freq.cpp202 Int32 fs,
296 switch (fs)
300 * goalSb = (int)( 2.048e6f / fs + 0.5f );
191 sbr_generate_high_freq(Int32 sourceBufferReal[][32], Int32 sourceBufferImag[][32], Int32 *targetBufferReal, Int32 *targetBufferImag, INVF_MODE *invFiltMode, INVF_MODE *prevInvFiltMode, Int32 *invFiltBandTable, Int32 noInvFiltBands, Int32 highBandStartSb, Int32 *v_k_master, Int32 numMaster, Int32 fs, Int32 *frameInfo, Int32 *degreeAlias, Int32 scratch_mem[][64], Int32 BwVector[MAX_NUM_PATCHES], Int32 BwVectorOld[MAX_NUM_PATCHES], struct PATCH *Patch, Int32 LC_flag, Int32 *highBandStopSb) argument
/frameworks/base/media/libeffects/lvm/lib/Eq/src/
H A DLVEQNB_Control.c134 /* Double precision if (fc <= fs/110) */
135 /* Double precision if (fs/110 < fc < fs/85) & (Q>3) */
146 LVM_UINT32 fs = (LVM_UINT32)LVEQNB_SampleRateTab[(LVM_UINT16)pParams->SampleRate]; /* Sample rate */ local
166 if ((fc << 15) <= (LOW_FREQ * fs))
169 * fc <= fs/110
173 else if (((fc << 15) <= (HIGH_FREQ * fs)) && (QFactor > 300))
176 * (fs/110 < fc < fs/85) & (Q>3)
185 if (fc > (fs >>
[all...]
/frameworks/base/media/libeffects/lvm/lib/SpectrumAnalyzer/src/
H A DLVPSA_Control.c262 /* Double precision if (fc <= fs/110) */
263 /* Double precision if (fs/110 < fc < fs/85) & (Q>3) */
273 LVM_UINT32 fs = (LVM_UINT32)LVPSA_SampleRateTab[(LVM_UINT16)pParams->Fs]; /* Sample rate */ local
290 if ((LOW_FREQ * fs) >= (fc << 15))
293 * fc <= fs/110
299 if (((LOW_FREQ * fs) < (fc << 15)) && ((fc << 15) < (HIGH_FREQ * fs)) && (QFactor > 300))
302 * (fs/110 < fc < fs/8
[all...]
/frameworks/base/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp35 dpb->fs[num_fs] = NULL;
82 /* fs is an array pointers to AVCDecPicture */
83 dpb->fs[num_fs] = (AVCFrameStore*) avcHandle->CBAVC_Malloc(userData, sizeof(AVCFrameStore), 101/*DEFAULT_ATTR*/);
84 if (dpb->fs[num_fs] == NULL)
90 dpb->fs[num_fs]->base_dpb = dpb->decoded_picture_buffer + dpb->used_size;
92 dpb->fs[num_fs]->IsReference = 0;
93 dpb->fs[num_fs]->IsLongTerm = 0;
94 dpb->fs[num_fs]->IsOutputted = 3;
95 dpb->fs[num_fs]->frame.RefIdx = refIdx++; /* this value will remain unchanged through out the encoding session */
96 dpb->fs[num_f
694 AVCFrameStore *fs = dpb->fs[idx]; local
[all...]
/frameworks/base/media/libstagefright/codecs/aacenc/src/
H A Dtns.c93 Word32 fs, /*!< Sampling frequency in Hertz */
101 shift = norm_l(fs);
102 lineNumber = (extract_l(fixmul((bandStartOffset[numOfBands] << 2),Div_32(freq << shift,fs << shift))) + 1) >> 1;
104 /* freq > fs/2 */
92 FreqToBandWithRounding(Word32 freq, Word32 fs, Word16 numOfBands, const Word16 *bandStartOffset) argument
/frameworks/base/media/libstagefright/codecs/avc/common/include/
H A Davcint_common.h557 struct tagFrameStore *fs[MAX_FS]; /* list of frame stored, actual buffer */ member in struct:tagDecPicBuffer
558 int num_fs; /* size of fs */

Completed in 447 milliseconds