HomeSort by relevance Sort by last modified time
    Searched full:numsamples (Results 1 - 25 of 200) sorted by null

1 2 3 4 5 6 7 8

  /frameworks/av/media/libeffects/lvm/lib/Reverb/src/
LVREV_Process.c 38 /* NumSamples Number of samples in the input buffer */
42 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
52 const LVM_UINT16 NumSamples)
93 if (NumSamples == 0)
110 MonoTo2I_32(pInput, pOutput, NumSamples);
114 (LVM_INT16)(NumSamples << 2)); // 32 bit data, stereo
121 RemainingSamples = (LVM_INT32)NumSamples;
167 /* NumSamples Number of samples in the input buffer */
171 /* LVREV_INVALIDNUMSAMPLES NumSamples was larger than the maximum block size */
179 void ReverbBlock(LVM_INT32 *pInput, LVM_INT32 *pOutput, LVREV_Instance_st *pPrivate, LVM_UINT16 NumSamples)
    [all...]
  /external/sonic/
Sonic.java 67 int numSamples)
69 for(int xSample = 0; xSample < numSamples*numChannels; xSample++) {
78 int numSamples,
83 int stop = start + numSamples*numChannels;
242 int numSamples)
244 if(numOutputSamples + numSamples > outputBufferSize) {
245 outputBufferSize += (outputBufferSize >> 1) + numSamples;
252 int numSamples)
254 if(numInputSamples + numSamples > inputBufferSize) {
255 inputBufferSize += (inputBufferSize >> 1) + numSamples;
    [all...]
sonic.c 70 int numSamples,
76 while(numSamples--) {
312 int numSamples)
314 if(stream->numOutputSamples + numSamples > stream->outputBufferSize) {
315 stream->outputBufferSize += (stream->outputBufferSize >> 1) + numSamples;
328 int numSamples)
330 if(stream->numInputSamples + numSamples > stream->inputBufferSize) {
331 stream->inputBufferSize += (stream->inputBufferSize >> 1) + numSamples;
345 int numSamples)
348 int count = numSamples*stream->numChannels
    [all...]
wave.h 16 int writeToWaveFile(waveFile file, short *buffer, int numSamples);
sonic.h 69 /* For all of the following functions, numChannels is multiplied by numSamples
79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples);
82 int sonicWriteShortToStream(sonicStream stream, short *samples, int numSamples);
85 int sonicWriteUnsignedCharToStream(sonicStream stream, unsigned char *samples, int numSamples);
136 speed*numSamples available space in the array. Returns the new number of samples. */
137 int sonicChangeFloatSpeed(float *samples, int numSamples, float speed, float pitch,
141 speed*numSamples available space in the array. Returns the new number of samples. */
142 int sonicChangeShortSpeed(short *samples, int numSamples, float speed, float pitch,
  /frameworks/av/media/libeffects/lvm/lib/Eq/src/
LVEQNB_Process.c 49 /* NumSamples Number of samples in the input buffer */
55 /* LVEQNB_TOOMANYSAMPLES NumSamples was larger than the maximum block size */
64 LVM_UINT16 NumSamples)
90 if (NumSamples > pInstance->Capabilities.MaxBlockSize)
102 (LVM_INT16)(2*NumSamples), /* Left and Right */
133 (LVM_INT16)NumSamples);
142 (LVM_INT16)NumSamples);
159 (LVM_INT16)(2*NumSamples), /* Left and Right */
166 (LVM_INT16)(2*NumSamples));
170 (LVM_INT16)(2*NumSamples)); /* Left and Right samples *
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/Bass/src/
LVDBE_Process.c 60 /* NumSamples Number of samples in the input buffer */
64 /* LVDBE_TOOMANYSAMPLES NumSamples was larger than the maximum block size */
79 LVM_UINT16 NumSamples)
88 /* Scratch for Volume Control starts at offset of 2*NumSamples short values from pScratch */
89 LVM_INT16 *pScratchVol = (LVM_INT16 *)(&pScratch[NumSamples]);
91 /* Scratch for Mono path starts at offset of 2*NumSamples 32-bit values from pScratch */
92 pMono = &pScratch[2*NumSamples];
97 if (NumSamples > pInstance->Capabilities.MaxBlockSize)
117 (LVM_INT16)(2*NumSamples), /* Left and right */
129 (LVM_INT16)NumSamples); /* Number of samples *
    [all...]
  /frameworks/av/media/libeffects/testlibs/
AudioFormatAdapter.h 73 // numSamples The number of multi-channel samples to process.
74 void process(const void * pIn, void * pOut, uint32_t numSamples) {
75 while (numSamples > 0) {
76 uint32_t numSamplesIter = min(numSamples, mMaxSamplesPerCall);
102 numSamples -= numSamplesIter;
127 // numSamples The number of single-channel samples to process.
128 void ConvertInput(const void *& pIn, uint32_t numSamples) {
132 while (numSamples-- > 0) {
145 // numSamples The number of single-channel samples to process.
146 void ConvertOutput(void *& pOut, uint32_t numSamples) {
    [all...]
  /frameworks/av/media/libeffects/lvm/lib/StereoWidening/src/
LVCS_Process.c 61 /* NumSamples Number of samples in the input buffer */
73 LVM_UINT16 NumSamples)
86 pInput = pScratch + (2*NumSamples);
89 (LVM_INT16)(2*NumSamples)); /* Left and right */
103 NumSamples); /* Number of samples to process */
111 NumSamples); /* Number of samples to process */
118 NumSamples); /* Number of samples to process */
127 NumSamples); /* Number of samples to process */
154 /* NumSamples Number of samples in the input buffer */
158 /* LVCS_TooManySamples NumSamples was larger than the maximum block size *
    [all...]
LVCS_StereoEnhancer.c 171 /* NumSamples Number of samples to process */
184 LVM_UINT16 NumSamples)
202 pScratch+NumSamples,
203 (LVM_INT16)NumSamples);
213 (LVM_INT16)NumSamples);
220 (LVM_INT16)NumSamples); /* Number of samples */
230 (LVM_INT16 *)(pScratch + NumSamples),
231 (LVM_INT16 *)(pScratch + NumSamples),
232 (LVM_INT16)NumSamples);
239 pScratch+NumSamples,
    [all...]
LVCS_Equaliser.h 51 LVM_UINT16 NumSamples);
  /frameworks/av/media/libeffects/lvm/lib/Bundle/src/
LVM_Buffers.c 60 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */
101 NumSamples = pInstance->InternalBlockSize;
110 NumSamples = pInstance->SamplesToProcess;
111 NumFrames = (LVM_INT16)(NumSamples >> MIN_INTERNAL_BLOCKSHIFT);
139 NumSamples = (LVM_INT16)(NumSamples - pBuffer->InDelaySamples); /* Update sample count */
147 if (NumSamples > 0)
151 (LVM_INT16)(NumChannels*NumSamples)); /* Number of input samples */
152 pStart += NumChannels * NumSamples; /* Update the input pointer */
157 pBuffer->SamplesToOutput = (LVM_INT16)(pBuffer->SamplesToOutput + NumSamples); /* Update samples to output *
    [all...]
LVM_Process.c 40 /* NumSamples Number of samples in the input buffer */
45 /* LVM_INVALIDNUMSAMPLES When the NumSamples is not a valied multiple in unmanaged */
58 LVM_UINT16 NumSamples,
63 LVM_UINT16 SampleCount = NumSamples;
72 if (NumSamples == 0)
94 if((NumSamples % pInstance->BlickSizeMultiple) != 0)
130 (LVM_INT16)NumSamples); /* Number of input samples */
  /frameworks/av/media/libstagefright/
DataConverter.cpp 63 size_t numSamples = targetSize / mTargetSampleSize;
64 if (numSamples > SIZE_MAX / mSourceSampleSize) {
69 return numSamples * mSourceSampleSize;
74 size_t numSamples = divUp(sourceSize, (size_t)mSourceSampleSize);
75 if (numSamples > SIZE_MAX / mTargetSampleSize) {
80 return numSamples * mTargetSampleSize;
  /device/google/contexthub/firmware/src/
hostIntf.c 91 uint8_t numSamples;
523 sensor->curSamples -= buffer->firstSample.numSamples;
554 sensor->curSamples -= buffer->firstSample.numSamples;
583 if (sensor->curSamples - buffer->firstSample.numSamples >= sensor->minSamples || onDelete) {
588 sensor->curSamples -= buffer->firstSample.numSamples;
764 uint8_t numSamples;
766 for (i = 0; i < triple->samples[0].firstSample.numSamples; i++) {
767 if (sensor->buffer.firstSample.numSamples == sensor->packetSamples) {
772 if (sensor->buffer.firstSample.numSamples == 0) {
787 sensor->buffer.firstSample.numSamples = 1
    [all...]
  /external/deqp/framework/referencerenderer/
rrRasterizer.hpp 43 inline deUint64 getCoverageBit (int numSamples, int x, int y, int sampleNdx)
48 DE_ASSERT(de::inRange(numSamples, 1, maxSamples) && de::inBounds(x, 0, 2) && de::inBounds(y, 0, 2));
49 return 1ull << ((x*2 + y)*numSamples + sampleNdx);
53 inline deUint64 getCoverageFragmentSampleBits (int numSamples, int x, int y)
56 const deUint64 fragMask = (1ull << numSamples) - 1;
57 return fragMask << (x*2 + y)*numSamples;
61 inline deUint64 setCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx, bool val)
63 const deUint64 bit = getCoverageBit(numSamples, x, y, sampleNdx);
68 inline bool getCoverageValue (deUint64 mask, int numSamples, int x, int y, int sampleNdx)
70 return (mask & getCoverageBit(numSamples, x, y, sampleNdx)) != 0
    [all...]
  /frameworks/av/media/libstagefright/codecs/aacdec/
SoftAAC2.cpp 464 bool SoftAAC2::outputDelayRingBufferPutSamples(INT_PCM *samples, int32_t numSamples) {
465 if (numSamples == 0) {
468 if (outputDelayRingBufferSpaceLeft() < numSamples) {
472 if (mOutputDelayRingBufferWritePos + numSamples <= mOutputDelayRingBufferSize
474 || mOutputDelayRingBufferReadPos > mOutputDelayRingBufferWritePos + numSamples)) {
476 for (int32_t i = 0; i < numSamples; i++) {
486 for (int32_t i = 0; i < numSamples; i++) {
494 mOutputDelayRingBufferFilled += numSamples;
498 int32_t SoftAAC2::outputDelayRingBufferGetSamples(INT_PCM *samples, int32_t numSamples) {
500 if (numSamples > mOutputDelayRingBufferFilled)
    [all...]
SoftAAC2.h 88 bool outputDelayRingBufferPutSamples(INT_PCM *samples, int numSamples);
89 int32_t outputDelayRingBufferGetSamples(INT_PCM *samples, int numSamples);
  /external/sonivox/arm-wt-22k/lib_src/
eas_mixer.c 46 EAS_I32 MaximizerProcess (EAS_VOID_PTR pInstData, EAS_I32 *pSrc, EAS_I32 *pDst, EAS_I32 numSamples);
107 void EAS_MixEnginePrep (S_EAS_DATA *pEASData, EAS_I32 numSamples)
112 EAS_HWMemSet(pEASData->pMixBuffer, 0, numSamples * (EAS_I32) sizeof(long) * 2);
114 EAS_HWMemSet(pEASData->pMixBuffer, 0, (EAS_I32) numSamples * (EAS_I32) sizeof(long));
135 void EAS_MixEnginePost (S_EAS_DATA *pEASData, EAS_I32 numSamples)
146 temp = MaximizerProcess(pEASData->effectsModules[EAS_MODULE_MAXIMIZER].effectData, pEASData->pMixBuffer, pEASData->pMixBuffer, numSamples);
173 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) ((EAS_U16) numSamples * 2));
175 SynthMasterGain(pEASData->pMixBuffer, pEASData->pOutputAudioBuffer, gain, (EAS_U16) numSamples);
185 numSamples);
195 numSamples);
    [all...]
eas_wtengine.c 86 EAS_I32 numSamples;
93 numSamples = pWTIntFrame->numSamples;
94 if (numSamples <= 0) {
114 while (numSamples--) {
189 EAS_I32 numSamples;
192 numSamples = pWTIntFrame->numSamples;
193 if (numSamples <= 0) {
217 while (numSamples--)
    [all...]
ARM-E_interpolate_loop_gnu.s 41 numSamples .req r2
69 LDR numSamples, [pWTFrame, #m_numSamples]
119 SUBS numSamples, numSamples, #1
ARM-E_voice_gain_gnu.s 50 numSamples .req r9
74 LDR numSamples, [pWTFrame, #m_numSamples]
124 SUBS numSamples, numSamples, #1
156 SUBS numSamples, numSamples, #1
  /external/chromium-trace/catapult/tracing/tracing/base/
statistics.html 349 * passing always the same |samples| array and the |numSamples| you desire.
355 * |numSamples|.
365 * numSamples: The total number of samples desired.
368 numSamples) {
369 if (streamLength <= numSamples) {
377 var probToKeep = numSamples / streamLength;
382 var index = Math.floor(Math.random() * numSamples);
399 * numSamples: The total number of samples desired, both in |samplesA| and
404 samplesB, streamLengthB, numSamples) {
405 if (streamLengthB < numSamples) {
    [all...]
  /external/skia/src/gpu/gl/
GrGLStencilAttachment.cpp 17 size *= SkTMax(1,this->numSamples());
  /external/llvm/lib/ProfileData/
SampleProfReader.cpp 53 /// function's total sample count in \p NumSamples, function's entry
58 uint64_t &NumSamples, uint64_t &NumHeadSamples) {
64 if (Input.substr(n1 + 1, n2 - n1 - 1).getAsInteger(10, NumSamples))
82 /// \param NumSamples total samples of the line/inlined callsite.
89 uint64_t &NumSamples, uint32_t &LineOffset,
116 if (Rest.getAsInteger(10, NumSamples))
119 if (Rest.substr(0, n3).getAsInteger(10, NumSamples))
140 if (Rest.substr(n3 + 1).getAsInteger(10, NumSamples))
174 uint64_t NumSamples, NumHeadSamples;
176 if (!ParseHead(*LineIt, FName, NumSamples, NumHeadSamples))
    [all...]

Completed in 383 milliseconds

1 2 3 4 5 6 7 8