Searched refs:decodeInfo (Results 1 – 6 of 6) sorted by relevance
133 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local136 decodeInfo = decodeInfo.makeWH(size.width(), size.height()); in fuzz_img()143 if (kIndex_8_SkColorType == decodeInfo.colorType()) { in fuzz_img()155 if (!bitmap.tryAllocPixels(decodeInfo, &zeroFactory, colorTable.get())) { in fuzz_img()157 decodeInfo.width(), decodeInfo.height()); in fuzz_img()163 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options, in fuzz_img()182 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo, NULL, colorPtr, in fuzz_img()190 uint32_t height = decodeInfo.height(); in fuzz_img()200 for (int y = 0; y < decodeInfo.height(); y++) { in fuzz_img()215 const int height = decodeInfo.height(); in fuzz_img()[all …]
309 bool get_decode_info(SkImageInfo* decodeInfo, SkColorType canvasColorType, in get_decode_info() argument316 *decodeInfo = decodeInfo->makeColorType(kIndex_8_SkColorType); in get_decode_info()320 kOpaque_SkAlphaType != decodeInfo->alphaType()) { in get_decode_info()323 *decodeInfo = decodeInfo->makeColorType(kGray_8_SkColorType); in get_decode_info()327 kOpaque_SkAlphaType != decodeInfo->alphaType()) { in get_decode_info()330 *decodeInfo = decodeInfo->makeColorType(canvasColorType); in get_decode_info()378 SkImageInfo decodeInfo = codec->getInfo().makeAlphaType(fDstAlphaType); in draw() local379 if (!get_decode_info(&decodeInfo, canvas->imageInfo().colorType(), fDstColorType)) { in draw()385 if (size == decodeInfo.dimensions() && 1.0f != fScale) { in draw()394 decodeInfo = decodeInfo.makeWH(size.width(), size.height()); in draw()[all …]
79 int32_t const* decodeInfo = &FORMAT_INFO_DECODE_LOOKUP[i][0]; in DoDecodeFormatInformation() local80 int32_t targetInfo = decodeInfo[0]; in DoDecodeFormatInformation()82 return new CBC_QRCoderFormatInformation(decodeInfo[1]); in DoDecodeFormatInformation()86 bestFormatInfo = decodeInfo[1]; in DoDecodeFormatInformation()
61 SkImageInfo decodeInfo = SkImageInfo::Make(this->width(), this->height(), in decodeRegion() local65 SkCodec::Result r = fDecoder->startScanlineDecode(decodeInfo); in decodeRegion()73 SkImageInfo tmpInfo = decodeInfo.makeWH(this->width(), subset.height()); in decodeRegion()93 SkImageInfo dstInfo = decodeInfo.makeWH(outWidth, outHeight); in decodeRegion()
55 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() local94 SkImageInfo outInfo = decodeInfo.makeWH(scaledOutWidth, scaledOutHeight); in decodeRegion()138 SkCodec::Result result = fCodec->getAndroidPixels(decodeInfo, dst, rowBytes, &options); in decodeRegion()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...