/frameworks/av/media/libeffects/testlibs/ |
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...] |
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...] |
AudioPeakingFilter.h | 99 // frameCount * nChannels interlaced samples. Processing can be done 103 // frameCount Number of frames to produce. 105 int frameCount) { mBiquad.process(in, out, frameCount); }
|
AudioShelvingFilter.h | 93 // frameCount * nChannels interlaced samples. Processing can be done 97 // frameCount Number of frames to produce. 99 int frameCount) { mBiquad.process(in, out, frameCount); }
|
/frameworks/av/media/libnbaio/ |
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, pts); 70 ALOG_ASSERT((size_t) actual <= buffer->frameCount); 74 buffer->frameCount = actual [all...] |
AudioBufferProviderSource.cpp | 46 return mBuffer.raw != NULL ? mBuffer.frameCount - mConsumed : 0; 57 mBuffer.frameCount = count; 65 size_t available = mBuffer.frameCount - mConsumed; 72 if (CC_UNLIKELY((mConsumed += count) >= mBuffer.frameCount)) { 104 mBuffer.frameCount = count; 107 ALOG_ASSERT(mBuffer.raw != NULL && mBuffer.frameCount <= count); 118 size_t available = mBuffer.frameCount - mConsumed; 134 if (CC_LIKELY((mConsumed += ret) < mBuffer.frameCount)) {
|
/frameworks/av/include/media/ |
AudioBufferProvider.h | 32 Buffer() : raw(NULL), frameCount(0) { } 38 size_t frameCount; 52 // buffer->frameCount maximum number of desired frames 55 // buffer->raw non-NULL pointer to buffer->frameCount contiguous available frames 56 // buffer->frameCount number of contiguous available frames at buffer->raw, 57 // 0 < buffer->frameCount <= entry value 61 // buffer->frameCount 0
|
/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++) {
|
Utils.java | 87 public final static float framesToTime(int framesPerSecond, int frameCount) { 88 return (1.0f / framesPerSecond) * 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/chromium_org/third_party/WebKit/PerformanceTests/Animation/resources/ |
framerate.js | 4 var frameCount = 0; 10 if (++frameCount == framesPerTimerReading) { 11 frameCount = 0;
|
/external/chromium_org/third_party/skia/src/animator/ |
SkOperandInterpolator.h | 20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type); 23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
|
/external/skia/src/animator/ |
SkOperandInterpolator.h | 20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type); 23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
GIFImageDecoderTest.cpp | 73 size_t frameCount = decoder->frameCount(); 74 for (size_t i = 0; i < frameCount; ++i) { 88 size_t frameCount = baselineHashes.size(); 95 for (size_t j = i; j < frameCount; j += skippingStep) { 105 for (size_t i = frameCount; i; --i) { 120 size_t frameCount = baselineHashes.size(); 124 for (size_t clearExceptFrame = 0; clearExceptFrame < frameCount; ++clearExceptFrame) { 128 for (size_t j = 0; j < frameCount; j += skippingStep) { 161 EXPECT_EQ(2u, decoder->frameCount()); [all...] |
BitmapImageTest.cpp | 71 size_t frameCount() { return m_image->frameCount(); } 84 size_t frameCount = m_image->frameCount(); 85 for (size_t i = 0; i < frameCount; ++i) 123 size_t frame = frameCount() / 2;
|
WEBPImageDecoderTest.cpp | 75 size_t frameCount = decoder->frameCount(); 76 for (size_t i = 0; i < frameCount; ++i) { 90 size_t frameCount = baselineHashes.size(); 97 for (size_t j = i; j < frameCount; j += skippingStep) { 107 for (size_t i = frameCount; i; --i) { 122 size_t frameCount = baselineHashes.size(); 126 for (size_t clearExceptFrame = 0; clearExceptFrame < frameCount; ++clearExceptFrame) { 130 for (size_t j = 0; j < frameCount; j += skippingStep) { 147 size_t frameCount = decoder->frameCount() [all...] |
/frameworks/av/include/private/media/ |
AudioTrackShared.h | 150 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut, 181 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 270 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 272 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, 308 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 336 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 338 : ClientProxy(cblk, buffers, frameCount, frameSize, 348 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, 394 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, 396 : ServerProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/, clientInServer) { [all...] |
/frameworks/av/services/audioflinger/ |
AudioResampler.cpp | 228 mBuffer.frameCount = 0; 275 mBuffer.frameCount = 0; 316 while (mBuffer.frameCount == 0) { 317 mBuffer.frameCount = inFrameCount; 324 // ALOGE("New buffer fetched: %d frames", mBuffer.frameCount); 325 if (mBuffer.frameCount > inputIndex) break; 327 inputIndex -= mBuffer.frameCount; 328 mX0L = mBuffer.i16[mBuffer.frameCount*2-2]; 329 mX0R = mBuffer.i16[mBuffer.frameCount*2-1]; 331 // mBuffer.frameCount == 0 now so we reload a new buffe [all...] |
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...] |
Tracks.cpp | 68 size_t frameCount, 85 mFrameCount(frameCount), 112 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize; 137 mCblk->frameCount_ = frameCount; 202 (void) mTeeSink->write(buffer->raw, buffer->frameCount); 207 buf.mFrameCount = buffer->frameCount; 209 buffer->frameCount = 0; 326 size_t frameCount, 331 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, sharedBuffer [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
WebImageSkia.cpp | 65 const size_t frameCount = decoder->frameCount(); 68 for (size_t i = 0; i < frameCount; ++i) { 112 const size_t frameCount = decoder->frameCount(); 116 for (size_t i = 0; i < std::min(frameCount, maxFrameCount); ++i) {
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
ScriptCallStack.cpp | 67 size_t frameCount = o->m_frames.size(); 68 if (frameCount != m_frames.size()) 71 for (size_t i = 0; i < frameCount; ++i) {
|
/external/chromium_org/third_party/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/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);
|
/frameworks/av/media/libmedia/ |
AudioTrack.cpp | 39 size_t* frameCount, 43 if (frameCount == NULL) { 48 *frameCount = 0; 75 *frameCount = (sampleRate == 0) ? afFrameCount * minBufCount : 78 *frameCount, afFrameCount, minBufCount, afSampleRate, afLatency); 98 int frameCount, 114 frameCount, flags, cbf, user, notificationFrames, 140 0 /*frameCount*/, flags, cbf, user, notificationFrames, 221 size_t frameCount = frameCountInt; 226 ALOGV("set() streamType %d frameCount %u flags %04x", streamType, frameCount, flags) [all...] |