Searched refs:imageDecoder (Results 1 – 1 of 1) sorted by relevance
45 auto* imageDecoder = reinterpret_cast<ImageDecoder*>(nativeImageDecoder); in AnimatedImageDrawable_nCreate() local54 if (imageDecoder->mCodec->getEncodedFormat() != SkEncodedImageFormat::kWEBP) { in AnimatedImageDrawable_nCreate()55 const int frameCount = imageDecoder->mCodec->codec()->getFrameCount(); in AnimatedImageDrawable_nCreate()58 if (!imageDecoder->mCodec->codec()->getFrameInfo(i, &frameInfo)) { in AnimatedImageDrawable_nCreate()69 auto info = imageDecoder->mCodec->getInfo().makeWH(width, height) in AnimatedImageDrawable_nCreate()97 sk_sp<SkAnimatedImage> animatedImg = SkAnimatedImage::Make(std::move(imageDecoder->mCodec), in AnimatedImageDrawable_nCreate()