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

1 2 3 4 5 6 7

  /frameworks/av/services/audioflinger/
SourceAudioBufferProvider.cpp 50 ALOG_ASSERT(buffer != NULL && buffer->frameCount > 0 && mGetCount == 0);
54 if (mRemaining < buffer->frameCount) {
55 buffer->frameCount = mRemaining;
58 mGetCount = buffer->frameCount;
62 if (buffer->frameCount > mSize) {
64 mAllocated = malloc(buffer->frameCount << mFrameBitShift);
65 mSize = buffer->frameCount;
68 ssize_t actual = mSource->read(mAllocated, buffer->frameCount);
70 ALOG_ASSERT((size_t) actual <= buffer->frameCount);
74 buffer->frameCount = actual
    [all...]
AudioBufferProviderSource.cpp 46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0;
55 mBuffer.frameCount = count;
63 size_t available = mBuffer.frameCount - mConsumed;
70 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) {
101 mBuffer.frameCount = count;
104 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count);
115 size_t available = mBuffer.frameCount - mConsumed;
130 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) {
AudioResamplerCubic.cpp 66 if (mBuffer.frameCount == 0) {
67 mBuffer.frameCount = inFrameCount;
71 // ALOGW("New buffer: offset=%p, frames=%dn", mBuffer.raw, mBuffer.frameCount);
94 if (inputIndex == mBuffer.frameCount) {
97 mBuffer.frameCount = inFrameCount;
103 // ALOGW("New buffer: offset=%p, frames=%d", mBuffer.raw, mBuffer.frameCount);
132 if (mBuffer.frameCount == 0) {
133 mBuffer.frameCount = inFrameCount;
137 // ALOGW("New buffer: offset=%p, frames=%d", mBuffer.raw, mBuffer.frameCount);
160 if (inputIndex == mBuffer.frameCount) {
    [all...]
AudioMixer.cpp 63 mDownmixConfig.inputCfg.buffer.frameCount = pBuffer->frameCount;
65 mDownmixConfig.outputCfg.buffer.frameCount = pBuffer->frameCount;
96 AudioMixer::AudioMixer(size_t frameCount, uint32_t sampleRate, uint32_t maxNumTracks)
109 mState.frameCount = frameCount;
183 // t->frameCount
193 // t->buffer.frameCount
492 int32_t volInc = d / int32_t(mState.frameCount);
    [all...]
AudioResampler.cpp 136 mBuffer.frameCount = 0;
174 mBuffer.frameCount = 0;
215 while (mBuffer.frameCount == 0) {
216 mBuffer.frameCount = inFrameCount;
223 // ALOGE("New buffer fetched: %d frames", mBuffer.frameCount);
224 if (mBuffer.frameCount > inputIndex) break;
226 inputIndex -= mBuffer.frameCount;
227 mX0L = mBuffer.i16[mBuffer.frameCount*2-2];
228 mX0R = mBuffer.i16[mBuffer.frameCount*2-1];
230 // mBuffer.frameCount == 0 now so we reload a new buffe
    [all...]
  /frameworks/av/media/libeffects/testlibs/
AudioBiquadFilter.cpp 66 int frameCount) {
67 (this->*mCurProcessFunc)(in, out, frameCount);
121 int frameCount) {
122 int64_t maxDelta = mMaxDelta * frameCount;
141 int frameCount) {
144 memcpy(out, in, frameCount * mNumChannels * sizeof(audio_sample_t));
150 int frameCount) {
151 size_t nFrames = frameCount;
184 int frameCount) {
185 if (updateCoefs(mTargetCoefs, frameCount)) {
    [all...]
AudioBiquadFilter.h 27 // The filter works on fixed sized blocks of data (frameCount multi-channel
72 // Process a buffer of data. Always processes frameCount multi-channel
75 // in The input buffer. Should be of size frameCount * nChannels.
76 // out The output buffer. Should be of size frameCount * nChannels.
77 // frameCount Number of multi-channel samples to process.
79 int frameCount);
98 int frameCount);
154 bool updateCoefs(const audio_coef_t coefs[NUM_COEFS], int frameCount);
158 int frameCount);
161 int frameCount);
    [all...]
  /external/replicaisland/src/com/replica/replicaisland/
SpriteAnimation.java 32 public SpriteAnimation(int animationId, int frameCount) {
34 mFrames = new FixedSizeArray<AnimationFrame>(frameCount);
35 mFrameStartTimes = new float[frameCount];
47 final int frameCount = frames.getCount();
48 result = frames.get(frameCount - 1);
50 if (frameCount > 1) {
68 for (int x = 0; x < frameCount; x++) {
  /frameworks/av/media/libmedia/
AudioTrack.cpp 53 int* frameCount,
80 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount :
83 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency);
102 int frameCount,
114 frameCount, flags, cbf, user, notificationFrames,
124 int frameCount,
135 frameCount, (audio_output_flags_t)flags, cbf, user, notificationFrames,
156 0 /*frameCount*/, flags, cbf, user, notificationFrames,
185 int frameCount,
197 ALOGV("set() streamType %d frameCount %d flags %04x", streamType, frameCount, flags)
    [all...]
AudioRecord.cpp 49 int* frameCount,
74 *frameCount = size;
91 int frameCount,
101 frameCount, flags, cbf, user, notificationFrames, sessionId);
126 int frameCount,
135 ALOGV("set(): sampleRate %d, channelMask %d, frameCount %d",sampleRate, channelMask, frameCount);
184 // validate framecount
192 if (frameCount == 0) {
193 frameCount = minFrameCount
    [all...]
  /external/skia/src/animator/
SkOperandIterpolator.cpp 18 SkOperandInterpolator::SkOperandInterpolator(int elemCount, int frameCount,
21 this->reset(elemCount, frameCount, type);
24 void SkOperandInterpolator::reset(int elemCount, int frameCount, SkDisplayTypes type)
28 INHERITED::reset(elemCount, frameCount);
30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount);
32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount);
SkOperandInterpolator.h 20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
  /frameworks/base/core/jni/android/graphics/
Interpolator.cpp 8 static SkInterpolator* Interpolator_constructor(JNIEnv* env, jobject clazz, int valueCount, int frameCount)
10 return new SkInterpolator(valueCount, frameCount);
18 static void Interpolator_reset(JNIEnv* env, jobject clazz, SkInterpolator* interp, int valueCount, int frameCount)
20 interp->reset(valueCount, frameCount);
  /frameworks/base/graphics/java/android/graphics/
Interpolator.java 29 public Interpolator(int valueCount, int frameCount) {
31 mFrameCount = frameCount;
32 native_instance = nativeConstructor(valueCount, frameCount);
49 public void reset(int valueCount, int frameCount) {
51 mFrameCount = frameCount;
52 nativeReset(native_instance, valueCount, frameCount);
156 private static native int nativeConstructor(int valueCount, int frameCount);
158 private static native void nativeReset(int native_instance, int valueCount, int frameCount);
  /external/webkit/Source/WebCore/bindings/v8/
ScriptCallStackFactory.cpp 66 int frameCount = stackTrace->GetFrameCount();
67 if (frameCount > static_cast<int>(maxStackSize))
68 frameCount = maxStackSize;
69 for (int i = 0; i < frameCount; i++) {
73 if (!frameCount && !emptyStackIsAllowed) {
  /external/webkit/Source/WebCore/inspector/
ScriptCallStack.cpp 68 size_t frameCount = o->m_frames.size();
69 if (frameCount != m_frames.size())
72 for (size_t i = 0; i < frameCount; ++i) {
  /external/skia/src/utils/
SkInterpolator.cpp 26 void SkInterpolatorBase::reset(int elemCount, int frameCount) {
29 fFrameCount = SkToS16(frameCount);
137 SkInterpolator::SkInterpolator(int elemCount, int frameCount) {
139 this->reset(elemCount, frameCount);
142 void SkInterpolator::reset(int elemCount, int frameCount) {
143 INHERITED::reset(elemCount, frameCount);
145 sizeof(SkTimeCode)) * frameCount);
147 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount);
  /external/qemu/audio/
coreaudio.c 501 UInt32 frame, frameCount;
520 frameCount = core->bufferFrameSize;
524 if (live < frameCount) {
534 for (frame = 0; frame < frameCount; frame++) {
549 rpos = (rpos + frameCount) % hw->samples;
550 core->decr += frameCount;
639 UInt32 frame, frameCount;
658 frameCount = core->bufferFrameSize;
661 D("%s: enter avail=%d core.decr=%d core.pos=%d hw.samples=%d hw.total_samples_captured=%d frameCount=%d\n",
662 __FUNCTION__, avail, core->decr, core->pos, hw->samples, hw->total_samples_captured, (int)frameCount);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/
BitmapImage.cpp 121 size_t numFrames = frameCount();
221 size_t BitmapImage::frameCount()
225 m_frameCount = m_source.frameCount();
244 if (index >= frameCount())
255 if (index >= frameCount())
266 if (index >= frameCount())
277 if (index >= frameCount())
307 if (m_frameTimer || !shouldAnimate() || frameCount() <= 1)
316 size_t nextFrame = (m_currentFrame + 1) % frameCount();
324 if (!m_allDataReceived && repetitionCount(false) == cAnimationLoopOnce && m_currentFrame >= (frameCount() - 1)
    [all...]
  /frameworks/native/opengl/tests/angeles/
app-linux.cpp 205 int frameCount = 0;
219 frameCount++;
228 printf("totalTime=%f s, frameCount=%d, %.2f fps\n",
229 totalTime, frameCount, frameCount/totalTime);
  /external/skia/include/utils/
SkInterpolator.h 26 void reset(int elemCount, int frameCount);
90 SkInterpolator(int elemCount, int frameCount);
91 void reset(int elemCount, int frameCount);
  /external/webkit/Source/WebKit/chromium/src/
WebImageCG.cpp 60 const size_t frameCount = source.frameCount();
63 for (size_t i = 0; i < frameCount; ++i) {
WebImageSkia.cpp 59 const size_t frameCount = source.frameCount();
62 for (size_t i = 0; i < frameCount; ++i) {
  /frameworks/av/include/media/
AudioSystem.h 89 static status_t getOutputFrameCount(int* frameCount, audio_stream_type_t stream = AUDIO_STREAM_DEFAULT);
98 int* frameCount);
109 static status_t getOutputFrameCount(int* frameCount, int stream = AUDIO_STREAM_DEFAULT);
152 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channels(0), frameCount(0), latency(0) {}
157 size_t frameCount;
287 // (sampling rate, framecount, channel count...)
  /frameworks/av/libvideoeditor/lvpp/
VideoEditorSRC.cpp 202 ALOGV("getNextBuffer %d, chan = %d", pBuffer->frameCount, mChannelCnt);
204 uint32_t want = pBuffer->frameCount * mChannelCnt * 2;
226 pBuffer->frameCount = 0;
280 pBuffer->frameCount = done / (mChannelCnt * 2);
281 ALOGV("getNextBuffer done %d", pBuffer->frameCount);
290 pBuffer->frameCount = 0;

Completed in 1534 milliseconds

1 2 3 4 5 6 7