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

1 2 3 4 5 6 7 8

  /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/skia/src/animator/
SkOperandInterpolator.h 20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
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);
  /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/core/platform/image-decoders/gif/
GIFImageDecoderTest.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) {
160 EXPECT_EQ(2u, 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,
84 mFrameCount(frameCount),
99 size_t bufferSize = (sharedBuffer == 0 ? roundup(frameCount) : frameCount) * mFrameSize;
124 mCblk->frameCount_ = frameCount;
189 (void) mTeeSink->write(buffer->raw, buffer->frameCount);
194 buf.mFrameCount = buffer->frameCount;
196 buffer->frameCount = 0;
313 size_t frameCount,
317 : TrackBase(thread, client, sampleRate, format, channelMask, frameCount, sharedBuffer
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/image-decoders/webp/
WEBPImageDecoderTest.cpp 77 size_t frameCount = decoder->frameCount();
78 for (size_t i = 0; i < frameCount; ++i) {
92 size_t frameCount = baselineHashes.size();
99 for (size_t j = i; j < frameCount; j += skippingStep) {
109 for (size_t i = frameCount; i; --i) {
124 size_t frameCount = baselineHashes.size();
128 for (size_t clearExceptFrame = 0; clearExceptFrame < frameCount; ++clearExceptFrame) {
132 for (size_t j = 0; j < frameCount; j += skippingStep) {
188 EXPECT_EQ(ARRAY_SIZE(frameParameters), decoder->frameCount());
    [all...]
  /external/chromium_org/third_party/WebKit/Source/web/
WebImageSkia.cpp 64 const size_t frameCount = decoder->frameCount();
67 for (size_t i = 0; i < frameCount; ++i) {
111 const size_t frameCount = decoder->frameCount();
115 for (size_t i = 0; i < std::min(frameCount, maxFrameCount); ++i) {
  /external/chromium_org/third_party/WebKit/Source/core/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/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/test/
MockImageDecoder.h 38 virtual size_t frameCount() = 0;
72 virtual size_t frameCount()
74 return m_client->frameCount();
  /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);
97 int frameCount,
111 frameCount, flags, cbf, user, notificationFrames,
134 0 /*frameCount*/, flags, cbf, user, notificationFrames,
214 size_t frameCount = frameCountInt;
219 ALOGV("set() streamType %d frameCount %u flags %04x", streamType, frameCount, flags)
    [all...]

Completed in 508 milliseconds

1 2 3 4 5 6 7 8