Lines Matching refs:toDecoder
187 static ImageDecoder* toDecoder(AImageDecoder* d) { in toDecoder() function
191 static const ImageDecoder* toDecoder(const AImageDecoder* d) { in toDecoder() function
224 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setAndroidBitmapFormat()
240 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_setDataSpace()
253 static const ImageDecoder* toDecoder(const AImageDecoderHeaderInfo* info) { in toDecoder() function
261 return toDecoder(info)->width(); in AImageDecoderHeaderInfo_getWidth()
268 return toDecoder(info)->height(); in AImageDecoderHeaderInfo_getHeight()
275 return getMimeType(toDecoder(info)->mCodec->getEncodedFormat()); in AImageDecoderHeaderInfo_getMimeType()
286 const ImageDecoder* imageDecoder = toDecoder(info); in AImageDecoderHeaderInfo_getDataSpace()
316 return getFormat(toDecoder(info)->mCodec->computeOutputColorType(kN32_SkColorType)); in AImageDecoderHeaderInfo_getAndroidBitmapFormat()
323 switch (toDecoder(info)->mCodec->getInfo().alphaType()) { in AImageDecoderHeaderInfo_getAlphaFlags()
341 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setUnpremultipliedRequired()
355 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setTargetSize()
370 SkISize size = toDecoder(decoder)->getSampledDimensions(sampleSize); in AImageDecoder_computeSampledSize()
381 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_setCrop()
399 SkImageInfo info = toDecoder(decoder)->getOutputInfo(); in AImageDecoder_getMinimumStride()
410 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_decodeImage()
426 delete toDecoder(decoder); in AImageDecoder_delete()
432 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_isAnimated()
439 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_getRepeatCount()
454 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_advanceFrame()
482 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_rewind()
513 auto* imageDecoder = toDecoder(decoder); in AImageDecoder_getFrameInfo()
568 toDecoder(decoder)->setHandleRestorePrevious(handle); in AImageDecoder_setInternallyHandleDisposePrevious()