Searched refs:imageDecoder (Results 1 – 2 of 2) sorted by relevance
186 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_setDataSpace() local187 imageDecoder->setOutColorSpace(std::move(cs)); in AImageDecoder_setDataSpace()228 const ImageDecoder* imageDecoder = toDecoder(info); in AImageDecoderHeaderInfo_getDataSpace() local229 SkColorType colorType = imageDecoder->mCodec->computeOutputColorType(kN32_SkColorType); in AImageDecoderHeaderInfo_getDataSpace()230 sk_sp<SkColorSpace> colorSpace = imageDecoder->getDefaultColorSpace(); in AImageDecoderHeaderInfo_getDataSpace()335 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_decodeImage() local337 SkImageInfo info = imageDecoder->getOutputInfo(); in AImageDecoder_decodeImage()343 return ResultToErrorCode(imageDecoder->decode(pixels, stride)); in AImageDecoder_decodeImage()
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()