Home
last modified time | relevance | path

Searched refs:fDuration (Results 1 – 25 of 31) sorted by relevance

12

/external/skia/src/codec/
DSkFrameHolder.h29 , fDuration(0) in SkFrame()
125 fDuration = duration; in setDuration()
132 return fDuration; in getDuration()
154 int fDuration; variable
DSkGifCodec.cpp134 frameInfo->fDuration = frameContext->getDuration(); in onGetFrameInfo()
DSkWebpCodec.cpp313 frameInfo->fDuration = frame->getDuration(); in onGetFrameInfo()
/external/skqp/src/codec/
DSkFrameHolder.h29 , fDuration(0) in SkFrame()
125 fDuration = duration; in setDuration()
132 return fDuration; in getDuration()
154 int fDuration; variable
DSkGifCodec.cpp134 frameInfo->fDuration = frameContext->getDuration(); in onGetFrameInfo()
/external/skqp/tools/skpbench/
Dskpbench.cpp82 Sample() : fFrames(0), fDuration(0) {} in Sample()
83 double seconds() const { return std::chrono::duration<double>(fDuration).count(); } in seconds()
84 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } in ms()
89 duration fDuration; member
143 sample->fDuration += *startStopTime - start; in ddl_sample()
185 } while (sample.fDuration < sampleDuration); in run_ddl_benchmark()
187 cumulativeDuration += sample.fDuration; in run_ddl_benchmark()
224 sample.fDuration = now - sampleStart; in run_benchmark()
226 } while (sample.fDuration < sampleDuration); in run_benchmark()
280 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
[all …]
/external/skia/tools/skpbench/
Dskpbench.cpp82 Sample() : fFrames(0), fDuration(0) {} in Sample()
83 double seconds() const { return std::chrono::duration<double>(fDuration).count(); } in seconds()
84 double ms() const { return std::chrono::duration<double, std::milli>(fDuration).count(); } in ms()
89 duration fDuration; member
143 sample->fDuration += *startStopTime - start; in ddl_sample()
185 } while (sample.fDuration < sampleDuration); in run_ddl_benchmark()
187 cumulativeDuration += sample.fDuration; in run_ddl_benchmark()
224 sample.fDuration = now - sampleStart; in run_benchmark()
226 } while (sample.fDuration < sampleDuration); in run_benchmark()
280 sample.fDuration += gpuTimer->getTimeElapsed(previousTime); in run_gpu_time_benchmark()
[all …]
/external/skia/src/utils/
DSkAnimCodecPlayer.cpp23 dur += f.fDuration; in SkAnimCodecPlayer()
24 f.fDuration = dur; in SkAnimCodecPlayer()
89 return (uint32_t)info.fDuration < msec; in seek()
/external/skqp/src/utils/
DSkAnimCodecPlayer.cpp23 dur += f.fDuration; in SkAnimCodecPlayer()
24 f.fDuration = dur; in SkAnimCodecPlayer()
89 return (uint32_t)info.fDuration < msec; in seek()
/external/skia/tests/
DCodecAnimTest.cpp263 if (rec.fDurations[i] != frameInfo.fDuration) { in DEF_TEST()
265 rec.fName, i, rec.fDurations[i], frameInfo.fDuration); in DEF_TEST()
458 uint32_t fDuration; in DEF_TEST() member
472 if (player->duration() != test.fDuration) { in DEF_TEST()
473 printf("*** %d vs %d\n", player->duration(), test.fDuration); in DEF_TEST()
475 REPORTER_ASSERT(r, player->duration() == test.fDuration); in DEF_TEST()
DAnimatedImageTest.cpp249 REPORTER_ASSERT(r, animatedImage->currentFrameDuration() == frameInfos[0].fDuration); in DEF_TEST()
266 REPORTER_ASSERT(r, frameTime == frameInfos[i].fDuration); in DEF_TEST()
/external/skqp/tests/
DCodecAnimTest.cpp263 if (rec.fDurations[i] != frameInfo.fDuration) { in DEF_TEST()
265 rec.fName, i, rec.fDurations[i], frameInfo.fDuration); in DEF_TEST()
458 uint32_t fDuration; in DEF_TEST() member
472 if (player->duration() != test.fDuration) { in DEF_TEST()
473 printf("*** %d vs %d\n", player->duration(), test.fDuration); in DEF_TEST()
475 REPORTER_ASSERT(r, player->duration() == test.fDuration); in DEF_TEST()
DAnimatedImageTest.cpp260 REPORTER_ASSERT(r, animatedImage->currentFrameDuration() == frameInfos[0].fDuration); in DEF_TEST()
277 REPORTER_ASSERT(r, frameTime == frameInfos[i].fDuration); in DEF_TEST()
/external/skqp/modules/skottie/include/
DSkottie.h212 SkScalar duration() const { return fDuration; } in duration()
228 fDuration; variable
/external/skia/modules/skottie/include/
DSkottie.h222 SkScalar duration() const { return fDuration; } in duration()
242 fDuration; variable
/external/skia/gm/
DanimatedGif.cpp145 fNextUpdate = secs + fFrameInfos[fFrame].fDuration; in onAnimate()
163 fNextUpdate += fFrameInfos[fFrame].fDuration; in onAnimate()
/external/skqp/gm/
DanimatedGif.cpp158 fNextUpdate = secs + fFrameInfos[fFrame].fDuration; in onAnimate()
176 fNextUpdate += fFrameInfos[fFrame].fDuration; in onAnimate()
/external/skqp/src/android/
DSkAnimatedImage.cpp191 fCurrentFrameDuration = frameInfo.fDuration; in decodeNextFrame()
200 frameInfo.fDuration = INT_MAX; in decodeNextFrame()
/external/skia/src/android/
DSkAnimatedImage.cpp201 fCurrentFrameDuration = frameInfo.fDuration; in decodeNextFrame()
210 frameInfo.fDuration = INT_MAX; in decodeNextFrame()
/external/skqp/modules/skottie/src/
DSkottie.cpp224 , fDuration(duration) in AnimationBuilder()
259 const auto frameRatio = 1 / (fFrameRate * fDuration); in dispatchMarkers()
478 , fDuration(duration) { in Animation()
DSkottiePriv.h172 const float fDuration, variable
/external/skia/modules/skottie/src/
DSkottie.cpp276 , fDuration(duration) in AnimationBuilder()
312 const auto frameRatio = 1 / (fFrameRate * fDuration); in dispatchMarkers()
541 , fDuration(duration) in Animation()
DSkottiePriv.h177 const float fDuration, variable
/external/skqp/include/codec/
DSkCodec.h623 int fDuration; member
/external/skia/include/codec/
DSkCodec.h623 int fDuration; member

12