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

1 2

  /frameworks/base/libs/audioflinger/
AudioResampler.cpp 57 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
60 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
176 size_t inputIndex = mInputIndex;
183 // LOGE("starting resample %d frames, inputIndex=%d, phaseFraction=%d, phaseIncrement=%d\n",
184 // outFrameCount, inputIndex, phaseFraction, phaseIncrement);
197 if (mBuffer.frameCount > inputIndex) break;
199 inputIndex -= mBuffer.frameCount;
209 while (inputIndex == 0) {
213 Advance(&inputIndex, &phaseFraction, phaseIncrement);
222 if (inputIndex + 2 < mBuffer.frameCount)
    [all...]
AudioResamplerCubic.cpp 58 size_t inputIndex = mInputIndex;
83 // out[outputIndex++] += vr * in[inputIndex*2];
93 inputIndex++;
94 if (inputIndex == mBuffer.frameCount) {
95 inputIndex = 0;
106 advance(&left, in[inputIndex*2]);
107 advance(&right, in[inputIndex*2+1]);
112 // LOGW("Done: index=%d, fraction=%u", inputIndex, phaseFraction);
113 mInputIndex = inputIndex;
123 size_t inputIndex = mInputIndex
    [all...]
AudioResamplerSinc.cpp 195 size_t inputIndex = mInputIndex;
214 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
217 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
218 inputIndex++;
219 if (inputIndex >= mBuffer.frameCount) {
220 inputIndex -= mBuffer.frameCount;
223 read<CHANNELS>(impulse, phaseFraction, buffer.i16, inputIndex);
232 head[0] = in[inputIndex*CHANNELS + 0];
234 head[1] = in[inputIndex*CHANNELS + 1];
246 inputIndex++
    [all...]
AudioResamplerSinc.h 56 int16_t const* in, size_t inputIndex);
  /external/icu4c/layout/
ThaiShaping.cpp 145 le_uint8 ThaiShaping::doTransition (StateTransition transition, LEUnicode currChar, le_int32 inputIndex, le_uint8 glyphSet,
152 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
157 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
162 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
167 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
172 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
177 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
189 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
194 glyphStorage.setCharIndex(outputIndex, inputIndex, success);
200 glyphStorage.setCharIndex(outputIndex, inputIndex, success)
    [all...]
ThaiShaping.h 82 static le_uint8 doTransition(StateTransition transition, LEUnicode currChar, le_int32 inputIndex, le_uint8 glyphSet,
85 static le_uint8 getNextState(LEUnicode ch, le_uint8 state, le_int32 inputIndex, le_uint8 glyphSet, LEUnicode errorChar,
  /packages/inputmethods/LatinIME/native/src/
dictionary.cpp 204 Dictionary::getWordsRec(int pos, int depth, int maxDepth, bool completion, int snr, int inputIndex,
216 if (mInputLength <= inputIndex) {
219 currentChars = mInputCodes + (inputIndex * mMaxAlternatives);
240 completion, snr, inputIndex, diffs);
246 getWordsRec(childrenAddress, depth + 1, maxDepth, false, snr, inputIndex, diffs);
254 if (mInputLength == inputIndex + 1) {
265 maxDepth, true, snr * addedWeight, inputIndex + 1,
270 false, snr * addedWeight, inputIndex + 1, diffs + (j > 0));
dictionary.h 55 int inputIndex, int diffs);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
ExpandableDictionary.java 238 * @param inputIndex position in the input characters. This can be off from the depth in
241 * inputIndex
245 final int depth, boolean completion, int snr, int inputIndex, int skipPos,
254 if (codeSize <= inputIndex) {
257 currentChars = mCodes[inputIndex];
274 if (mNextLettersFrequencies != null && depth >= inputIndex && skipPos < 0
275 && mNextLettersFrequencies.length > word[inputIndex]) {
276 mNextLettersFrequencies[word[inputIndex]]++;
280 getWordsRec(children, codes, word, depth + 1, completion, snr, inputIndex,
287 getWordsRec(children, codes, word, depth + 1, completion, snr, inputIndex,
    [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g729_dec/src/
OMX_G729Decoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/src/
OMX_WmaDecoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/src/
OMX_G729Encoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_dec/src/
OMX_WbAmrDecoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_dec/src/
OMX_G722Decoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g726_dec/src/
OMX_G726Decoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/aac_dec/src/
OMX_AacDecoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
OMX_Mp3Decoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g711_dec/src/
OMX_G711Decoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/src/
OMX_G711Encoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g722_enc/src/
OMX_G722Encoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/src/
OMX_G726Encoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_dec/src/
OMX_AmrDecoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/src/
OMX_AmrEncoder.c     [all...]
  /hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/src/
OMX_WbAmrEncoder.c     [all...]
  /external/icu4c/i18n/
uspoof.cpp 662 int32_t inputIndex = 0;
664 while (inputIndex < normalizedLen) {
666 U16_NEXT(nfkdInput, inputIndex, normalizedLen, c);

Completed in 485 milliseconds

1 2