Home
last modified time | relevance | path

Searched refs:frameCount (Results 1 – 25 of 77) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/web/tests/
DGIFImageDecoderTest.cpp73 size_t frameCount = decoder->frameCount(); in createDecodingBaseline() local
74 for (size_t i = 0; i < frameCount; ++i) { in createDecodingBaseline()
88 size_t frameCount = baselineHashes.size(); in testRandomFrameDecode() local
95 for (size_t j = i; j < frameCount; j += skippingStep) { in testRandomFrameDecode()
105 for (size_t i = frameCount; i; --i) { in testRandomFrameDecode()
120 size_t frameCount = baselineHashes.size(); in testRandomDecodeAfterClearFrameBufferCache() local
124 for (size_t clearExceptFrame = 0; clearExceptFrame < frameCount; ++clearExceptFrame) { in testRandomDecodeAfterClearFrameBufferCache()
128 for (size_t j = 0; j < frameCount; j += skippingStep) { in testRandomDecodeAfterClearFrameBufferCache()
161 EXPECT_EQ(2u, decoder->frameCount()); in TEST()
175 EXPECT_EQ(2u, decoder->frameCount()); in TEST()
[all …]
DWEBPImageDecoderTest.cpp75 size_t frameCount = decoder->frameCount(); in createDecodingBaseline() local
76 for (size_t i = 0; i < frameCount; ++i) { in createDecodingBaseline()
90 size_t frameCount = baselineHashes.size(); in testRandomFrameDecode() local
97 for (size_t j = i; j < frameCount; j += skippingStep) { in testRandomFrameDecode()
107 for (size_t i = frameCount; i; --i) { in testRandomFrameDecode()
122 size_t frameCount = baselineHashes.size(); in testRandomDecodeAfterClearFrameBufferCache() local
126 for (size_t clearExceptFrame = 0; clearExceptFrame < frameCount; ++clearExceptFrame) { in testRandomDecodeAfterClearFrameBufferCache()
130 for (size_t j = 0; j < frameCount; j += skippingStep) { in testRandomDecodeAfterClearFrameBufferCache()
147 size_t frameCount = decoder->frameCount(); in testDecodeAfterReallocatingData() local
155 for (size_t i = 0; i < frameCount; ++i) { in testDecodeAfterReallocatingData()
[all …]
DBitmapImageTest.cpp71 size_t frameCount() { return m_image->frameCount(); } in frameCount() function in WebCore::BitmapImageTest
84 size_t frameCount = m_image->frameCount(); in loadImage() local
85 for (size_t i = 0; i < frameCount; ++i) in loadImage()
123 size_t frame = frameCount() / 2; in TEST_F()
/external/replicaisland/src/com/replica/replicaisland/
DSpriteAnimation.java32 public SpriteAnimation(int animationId, int frameCount) { in SpriteAnimation() argument
34 mFrames = new FixedSizeArray<AnimationFrame>(frameCount); in SpriteAnimation()
35 mFrameStartTimes = new float[frameCount]; in SpriteAnimation()
47 final int frameCount = frames.getCount(); in getFrame() local
48 result = frames.get(frameCount - 1); in getFrame()
50 if (frameCount > 1) { in getFrame()
68 for (int x = 0; x < frameCount; x++) { in getFrame()
DUtils.java87 public final static float framesToTime(int framesPerSecond, int frameCount) { in framesToTime() argument
88 return (1.0f / framesPerSecond) * frameCount; in framesToTime()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DBitmapImage.cpp140 size_t numFrames = frameCount(); in cacheFrame()
300 size_t BitmapImage::frameCount() in frameCount() function in WebCore::BitmapImage
303 m_frameCount = m_source.frameCount(); in frameCount()
324 if (index >= frameCount()) in ensureFrameIsCached()
393 return size().width() != 1 || size().height() != 1 || frameCount() > 1; in notSolidColor()
419 if (m_frameTimer || !shouldAnimate() || frameCount() <= 1) in startAnimation()
428 size_t nextFrame = (m_currentFrame + 1) % frameCount(); in startAnimation()
436 …taReceived && repetitionCount(false) == cAnimationLoopOnce && m_currentFrame >= (frameCount() - 1)) in startAnimation()
474 …erNext = (nextFrame + 1) % frameCount(); frameIsCompleteAtIndex(frameAfterNext); frameAfterNext = … in startAnimation()
553 if (m_currentFrame >= frameCount()) { in internalAdvanceAnimation()
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/exported/
DWebImageSkia.cpp65 const size_t frameCount = decoder->frameCount(); in fromData() local
68 for (size_t i = 0; i < frameCount; ++i) { in fromData()
112 const size_t frameCount = decoder->frameCount(); in framesFromData() local
116 for (size_t i = 0; i < std::min(frameCount, maxFrameCount); ++i) { in framesFromData()
/external/chromium_org/third_party/WebKit/PerformanceTests/Animation/resources/
Dframerate.js4 var frameCount = 0;
10 if (++frameCount == framesPerTimerReading) {
11 frameCount = 0;
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DVisualSampleEntry.java68 private int frameCount = 1; field in VisualSampleEntry
95 return frameCount; in getFrameCount()
126 public void setFrameCount(int frameCount) { in setFrameCount() argument
127 this.frameCount = frameCount; in setFrameCount()
150 frameCount = IsoTypeReader.readUInt16(content); in _parseDetails()
/external/skia/src/animator/
DSkOperandIterpolator.cpp18 SkOperandInterpolator::SkOperandInterpolator(int elemCount, int frameCount, in SkOperandInterpolator() argument
21 this->reset(elemCount, frameCount, type); in SkOperandInterpolator()
24 void SkOperandInterpolator::reset(int elemCount, int frameCount, SkDisplayTypes type) in reset() argument
28 INHERITED::reset(elemCount, frameCount); in reset()
30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset()
32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
DSkOperandInterpolator.h20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
/external/chromium_org/third_party/skia/src/animator/
DSkOperandIterpolator.cpp18 SkOperandInterpolator::SkOperandInterpolator(int elemCount, int frameCount, in SkOperandInterpolator() argument
21 this->reset(elemCount, frameCount, type); in SkOperandInterpolator()
24 void SkOperandInterpolator::reset(int elemCount, int frameCount, SkDisplayTypes type) in reset() argument
28 INHERITED::reset(elemCount, frameCount); in reset()
30 fStorage = sk_malloc_throw((sizeof(SkOperand) * elemCount + sizeof(SkTimeCode)) * frameCount); in reset()
32 fValues = (SkOperand*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
DSkOperandInterpolator.h20 SkOperandInterpolator(int elemCount, int frameCount, SkDisplayTypes type);
23 void reset(int elemCount, int frameCount, SkDisplayTypes type);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DScriptCallStackFactory.cpp74 int frameCount = stackTrace->GetFrameCount(); in toScriptCallFramesVector() local
75 if (frameCount > static_cast<int>(maxStackSize)) in toScriptCallFramesVector()
76 frameCount = maxStackSize; in toScriptCallFramesVector()
77 for (int i = 0; i < frameCount; i++) { in toScriptCallFramesVector()
81 if (!frameCount && !emptyStackIsAllowed) { in toScriptCallFramesVector()
/external/qemu/audio/
Dcoreaudio.c501 UInt32 frame, frameCount; in audioOutDeviceIOProc() local
520 frameCount = core->bufferFrameSize; in audioOutDeviceIOProc()
524 if (live < frameCount) { in audioOutDeviceIOProc()
534 for (frame = 0; frame < frameCount; frame++) { in audioOutDeviceIOProc()
549 rpos = (rpos + frameCount) % hw->samples; in audioOutDeviceIOProc()
550 core->decr += frameCount; in audioOutDeviceIOProc()
639 UInt32 frame, frameCount; in audioInDeviceIOProc() local
658 frameCount = core->bufferFrameSize; in audioInDeviceIOProc()
662 …UNCTION__, avail, core->decr, core->pos, hw->samples, hw->total_samples_captured, (int)frameCount); in audioInDeviceIOProc()
665 if (avail < frameCount) { in audioInDeviceIOProc()
[all …]
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DTimelineFrameController.js156 this.frameCount = frames.length;
161 var lastFrame = frames[this.frameCount - 1];
166 for (var i = 0; i < this.frameCount; ++i) {
174 this.average = totalDuration / this.frameCount;
175 var variance = sumOfSquares / this.frameCount - this.average * this.average;
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DScriptCallStack.cpp67 size_t frameCount = o->m_frames.size(); in isEqual() local
68 if (frameCount != m_frames.size()) in isEqual()
71 for (size_t i = 0; i < frameCount; ++i) { in isEqual()
/external/skia/src/utils/
DSkInterpolator.cpp26 void SkInterpolatorBase::reset(int elemCount, int frameCount) { in reset() argument
29 fFrameCount = SkToS16(frameCount); in reset()
137 SkInterpolator::SkInterpolator(int elemCount, int frameCount) { in SkInterpolator() argument
139 this->reset(elemCount, frameCount); in SkInterpolator()
142 void SkInterpolator::reset(int elemCount, int frameCount) { in reset() argument
143 INHERITED::reset(elemCount, frameCount); in reset()
145 sizeof(SkTimeCode)) * frameCount); in reset()
147 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
/external/chromium_org/third_party/skia/src/utils/
DSkInterpolator.cpp26 void SkInterpolatorBase::reset(int elemCount, int frameCount) { in reset() argument
29 fFrameCount = SkToS16(frameCount); in reset()
137 SkInterpolator::SkInterpolator(int elemCount, int frameCount) { in SkInterpolator() argument
139 this->reset(elemCount, frameCount); in SkInterpolator()
142 void SkInterpolator::reset(int elemCount, int frameCount) { in reset() argument
143 INHERITED::reset(elemCount, frameCount); in reset()
145 sizeof(SkTimeCode)) * frameCount); in reset()
147 fValues = (SkScalar*) ((char*) fStorage + sizeof(SkTimeCode) * frameCount); in reset()
/external/skia/include/utils/
DSkInterpolator.h26 void reset(int elemCount, int frameCount);
90 SkInterpolator(int elemCount, int frameCount);
91 void reset(int elemCount, int frameCount);
/external/chromium_org/third_party/skia/include/utils/
DSkInterpolator.h26 void reset(int elemCount, int frameCount);
90 SkInterpolator(int elemCount, int frameCount);
91 void reset(int elemCount, int frameCount);
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DMockSpdyPeer.java39 private int frameCount = 0; field in MockSpdyPeer
50 frameCount++; in acceptFrame()
54 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), Integer.MAX_VALUE)); in sendFrame()
64 outFrames.add(new OutFrame(frameCount++, bytesOut.size(), truncateToLength)); in sendTruncatedFrame()
103 for (int i = 0; i < frameCount; i++) { in readAndWriteFrames()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/test/
DMockImageDecoder.h38 virtual size_t frameCount() = 0;
82 virtual size_t frameCount() OVERRIDE in frameCount() function
84 return m_client->frameCount(); in frameCount()
/external/proguard/src/proguard/preverify/
DCodePreverifier.java166 int frameCount = stackMapFrameList.size(); in visitCodeAttribute0() local
183 if (frameCount != originalFrameCount || in visitCodeAttribute0()
190 else if (frameCount != 0) in visitCodeAttribute0()
196 if (frameCount == 0) in visitCodeAttribute0()
209 FullFrame[] stackMapFrames = new FullFrame[frameCount]; in visitCodeAttribute0()
218 StackMapFrame[] stackMapFrames = new StackMapFrame[frameCount]; in visitCodeAttribute0()
/external/chromium_org/third_party/WebKit/Source/web/
DWebImageDecoder.cpp92 size_t WebImageDecoder::frameCount() const in frameCount() function in blink::WebImageDecoder
95 return m_private->frameCount(); in frameCount()

1234