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

1 2 3

  /frameworks/av/services/audioflinger/
AudioResampler.cpp 61 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
64 size_t &outputIndex, int32_t* out, size_t &inputIndex, int32_t vl, int32_t vr,
340 size_t inputIndex = mInputIndex;
347 // ALOGE("starting resample %d frames, inputIndex=%d, phaseFraction=%d, phaseIncrement=%d",
348 // outFrameCount, inputIndex, phaseFraction, phaseIncrement);
361 if (mBuffer.frameCount > inputIndex) break;
363 inputIndex -= mBuffer.frameCount;
373 while (inputIndex == 0) {
377 Advance(&inputIndex, &phaseFraction, phaseIncrement);
387 if (inputIndex + 2 < mBuffer.frameCount)
    [all...]
AudioResamplerCubic.cpp 59 size_t inputIndex = mInputIndex;
84 // out[outputIndex++] += vr * in[inputIndex*2];
94 inputIndex++;
95 if (inputIndex == mBuffer.frameCount) {
96 inputIndex = 0;
108 advance(&left, in[inputIndex*2]);
109 advance(&right, in[inputIndex*2+1]);
114 // ALOGW("Done: index=%d, fraction=%u", inputIndex, phaseFraction);
115 mInputIndex = inputIndex;
126 size_t inputIndex = mInputIndex
    [all...]
AudioResamplerDyn.cpp 127 const TI* const in, const size_t inputIndex)
131 head[i] = in[inputIndex*CHANNELS + i];
139 const TI* const in, const size_t inputIndex)
148 readAgain<CHANNELS>(impulse, halfNumCoefs, in, inputIndex);
495 size_t inputIndex = 0;
522 // check inputIndex overflow
523 ALOG_ASSERT(inputIndex <= mBuffer.frameCount, "inputIndex%d > frameCount%d",
524 inputIndex, mBuffer.frameCount);
537 reinterpret_cast<TI*>(mBuffer.raw), inputIndex);
    [all...]
AudioResamplerSinc.cpp 301 size_t inputIndex = mInputIndex;
319 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
322 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
323 inputIndex++;
324 if (inputIndex >= mBuffer.frameCount) {
325 inputIndex -= mBuffer.frameCount;
328 read<CHANNELS>(impulse, phaseFraction, mBuffer.i16, inputIndex);
338 head[i] = in[inputIndex*CHANNELS + i];
349 inputIndex++;
350 if (inputIndex >= frameCount)
    [all...]
AudioResamplerDyn.h 93 const TI* const in, const size_t inputIndex);
97 const TI* const in, const size_t inputIndex);
AudioResamplerSinc.h 65 const int16_t* in, size_t inputIndex);
  /external/icu/icu4c/source/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/jni/src/suggest/core/dicnode/internal/
dic_node_state_input.h 49 void updateInputIndexG(const int pointerId, const int inputIndex,
51 mInputIndex[pointerId] = inputIndex;
74 // when "inputIndex" exceeds "inputSize", auto-completion needs to be done
dic_node_state_output.h 101 void setSecondWordFirstInputIndex(const int inputIndex) {
102 mSecondWordFirstInputIndex = inputIndex;
  /libcore/ojluni/src/main/java/sun/net/www/http/
ChunkedOutputStream.java 216 int inputIndex = off; /* the index of the byte[] currently being written */
227 System.arraycopy(b, inputIndex, buf, count, spaceInCurrentChunk);
228 inputIndex += spaceInCurrentChunk;
249 System.arraycopy(b, inputIndex, buf, count, bytesToWrite);
  /external/skia/src/utils/
SkMD5.cpp 39 unsigned int inputIndex;
44 inputIndex = bufferAvailable;
46 inputIndex = 0;
49 for (; inputIndex + 63 < inputLength; inputIndex += 64) {
50 transform(this->state, &input[inputIndex]);
55 inputIndex = 0;
58 memcpy(&this->buffer[bufferIndex], &input[inputIndex], inputLength - inputIndex);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_weighting.h 185 const int inputIndex = dicNode->getInputIndex(0);
187 ASSERT(inputIndex < inputSize);
189 return ScoringParams::TERMINAL_INSERTION_COST * (inputSize - inputIndex);
206 const int inputIndex = dicNode->getInputIndex(0);
208 ->getPointToKeyLength(inputIndex, KEYCODE_SPACE);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_nodes_cache.h 79 bool isLookAheadCorrectionInputIndex(const int inputIndex) const {
80 return inputIndex == mInputIndex - 1;
135 AKLOGI("Restore %d nodes. inputIndex = %d.",
dic_node.h 261 const int inputIndex = mDicNodeState.mDicNodeStateOutput.getSecondWordFirstInputIndex();
262 if (inputIndex == NOT_AN_INDEX) {
265 return pInfoState->getInputIndexOfSampledPoint(inputIndex);
  /packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
proximity_info_state.cpp 170 const int inputIndex, const int codePoint) const {
173 const int index = inputIndex * mProximityInfo->getKeyCount() + keyId;
184 const int inputIndex, const int keyId) const {
186 &mSampledNormalizedSquaredLengthCache, mProximityInfo->getKeyCount(), inputIndex,
proximity_info_state_utils.h 84 const int inputIndex, const int keyId);
128 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x,
154 const int inputIndex);
157 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex);
proximity_info_state.h 147 float getPointToKeyByIdLength(const int inputIndex, const int keyId) const;
149 float getPointToKeyLength(const int inputIndex, const int codePoint) const;
proximity_info_state_utils.cpp 159 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) {
162 const float inputX = static_cast<float>((*sampledInputXs)[inputIndex]);
163 const float inputY = static_cast<float>((*sampledInputYs)[inputIndex]);
170 const std::vector<int> *const sampledInputYs, const int keyIndex, const int inputIndex) {
177 if (NOT_A_COORDINATE == (*sampledInputXs)[inputIndex]) {
181 sampledInputXs, sampledInputYs, keyIndex, inputIndex);
402 const int maxPointToKeyLength, const int inputIndex, const int nodeCodePoint, int x, int y,
467 sampledInputIndice->push_back(inputIndex);
470 x, y, time, inputIndex, popped);
605 const int inputIndex, const int keyId)
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
DecoderConformanceTest.java 174 int inputIndex = mDecoder.dequeueInputBuffer(kTimeOutUs);
175 if (inputIndex >= 0) {
176 ByteBuffer buffer = mDecoder.getInputBuffer(inputIndex);
179 mDecoder.queueInputBuffer(inputIndex, 0, 0, 0,
183 mDecoder.queueInputBuffer(inputIndex, 0, sampleSize, mExtractor.getSampleTime(), 0);
MediaCodecTest.java 605 int inputIndex = -1;
612 inputIndex = mInputBufferIndices.remove(0);
616 feedEncoder(mEncoder, inputSurface, inputIndex);
706 * @param inputIndex only used for audio; if -1 the function would attempt to dequeue from encoder;
709 private static void feedEncoder(MediaCodec encoder, InputSurface inputSurface, int inputIndex) {
712 while (inputIndex == -1) {
713 inputIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC);
715 ByteBuffer inputBuffer = encoder.getInputBuffer(inputIndex);;
719 encoder.queueInputBuffer(inputIndex, 0, inputBuffer.limit(), 0, 0);
    [all...]
  /frameworks/base/media/mca/filterpacks/java/android/filterpacks/videoproc/
BackDropperFilter.java     [all...]
  /external/icu/icu4c/source/i18n/
uspoof.cpp 714 int32_t inputIndex = 0;
717 for (inputIndex=0; inputIndex < normalizedLen; ) {
718 UChar32 c = nfdId.char32At(inputIndex);
719 inputIndex += U16_LENGTH(c);
  /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...]

Completed in 1007 milliseconds

1 2 3