Lines Matching refs:toDecoder

141 static ImageDecoder* toDecoder(AImageDecoder* d) {  in toDecoder()  function
145 static const ImageDecoder* toDecoder(const AImageDecoder* d) { in toDecoder() function
175 return toDecoder(decoder)->setOutColorType(getColorType((AndroidBitmapFormat) format)) in AImageDecoder_setAndroidBitmapFormat()
186 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_setDataSpace()
195 static const ImageDecoder* toDecoder(const AImageDecoderHeaderInfo* info) { in toDecoder() function
203 return toDecoder(info)->mCodec->getInfo().width(); in AImageDecoderHeaderInfo_getWidth()
210 return toDecoder(info)->mCodec->getInfo().height(); in AImageDecoderHeaderInfo_getHeight()
217 return getMimeType(toDecoder(info)->mCodec->getEncodedFormat()); in AImageDecoderHeaderInfo_getMimeType()
228 const ImageDecoder* imageDecoder = toDecoder(info); in AImageDecoderHeaderInfo_getDataSpace()
256 return getFormat(toDecoder(info)->mCodec->computeOutputColorType(kN32_SkColorType)); in AImageDecoderHeaderInfo_getAndroidBitmapFormat()
263 switch (toDecoder(info)->mCodec->getInfo().alphaType()) { in AImageDecoderHeaderInfo_getAlphaFlags()
281 return toDecoder(decoder)->setUnpremultipliedRequired(required) in AImageDecoder_setUnpremultipliedRequired()
290 return toDecoder(decoder)->setTargetSize(width, height) in AImageDecoder_setTargetSize()
300 SkISize size = toDecoder(decoder)->mCodec->getSampledDimensions(sampleSize); in AImageDecoder_computeSampledSize()
314 return toDecoder(decoder)->setCropRect(cropPtr) in AImageDecoder_setCrop()
324 SkImageInfo info = toDecoder(decoder)->getOutputInfo(); in AImageDecoder_getMinimumStride()
335 ImageDecoder* imageDecoder = toDecoder(decoder); in AImageDecoder_decodeImage()
347 delete toDecoder(decoder); in AImageDecoder_delete()