Searched refs:imageDecoder (Results 1 – 2 of 2) sorted by relevance
224 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setAndroidBitmapFormat() local225 if (imageDecoder->currentFrame() != 0) { in AImageDecoder_setAndroidBitmapFormat()229 return imageDecoder->setOutColorType(getColorType((AndroidBitmapFormat) format)) in AImageDecoder_setAndroidBitmapFormat()240 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_setDataSpace() local241 if (imageDecoder->currentFrame() != 0) { in AImageDecoder_setDataSpace()245 imageDecoder->setOutColorSpace(std::move(cs)); in AImageDecoder_setDataSpace()286 const ImageDecoder* imageDecoder = toDecoder(info); in AImageDecoderHeaderInfo_getDataSpace() local287 SkColorType colorType = imageDecoder->mCodec->computeOutputColorType(kN32_SkColorType); in AImageDecoderHeaderInfo_getDataSpace()288 sk_sp<SkColorSpace> colorSpace = imageDecoder->getDefaultColorSpace(); in AImageDecoderHeaderInfo_getDataSpace()341 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setUnpremultipliedRequired() local[all …]
54 auto* imageDecoder = reinterpret_cast<ImageDecoder*>(nativeImageDecoder); in AnimatedImageDrawable_nCreate() local63 if (imageDecoder->mCodec->getEncodedFormat() != SkEncodedImageFormat::kWEBP) { in AnimatedImageDrawable_nCreate()64 const int frameCount = imageDecoder->mCodec->codec()->getFrameCount(); in AnimatedImageDrawable_nCreate()67 if (!imageDecoder->mCodec->codec()->getFrameInfo(i, &frameInfo)) { in AnimatedImageDrawable_nCreate()78 auto info = imageDecoder->mCodec->getInfo().makeWH(width, height) in AnimatedImageDrawable_nCreate()105 SkEncodedImageFormat format = imageDecoder->mCodec->getEncodedFormat(); in AnimatedImageDrawable_nCreate()106 sk_sp<SkAnimatedImage> animatedImg = SkAnimatedImage::Make(std::move(imageDecoder->mCodec), in AnimatedImageDrawable_nCreate()