Searched refs:decodeInfo (Results 1 – 5 of 5) sorted by relevance
/external/skia/fuzz/ |
D | fuzz.cpp | 133 SkImageInfo decodeInfo = codec->getInfo(); in fuzz_img() local 136 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 …]
|
/external/skia/dm/ |
D | DMSrcSink.cpp | 309 bool get_decode_info(SkImageInfo* decodeInfo, SkColorType canvasColorType, in get_decode_info() argument 316 *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() local 379 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 …]
|
/external/pdfium/xfa/src/fxbarcode/qrcode/ |
D | BC_QRCoderFormatInformation.cpp | 79 int32_t const* decodeInfo = &FORMAT_INFO_DECODE_LOOKUP[i][0]; in DoDecodeFormatInformation() local 80 int32_t targetInfo = decodeInfo[0]; in DoDecodeFormatInformation() 82 return new CBC_QRCoderFormatInformation(decodeInfo[1]); in DoDecodeFormatInformation() 86 bestFormatInfo = decodeInfo[1]; in DoDecodeFormatInformation()
|
/external/skia/src/android/ |
D | SkBitmapRegionCanvas.cpp | 61 SkImageInfo decodeInfo = SkImageInfo::Make(this->width(), this->height(), in decodeRegion() local 65 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()
|
D | SkBitmapRegionCodec.cpp | 55 SkImageInfo decodeInfo = SkImageInfo::Make(scaledSize.width(), scaledSize.height(), in decodeRegion() local 94 SkImageInfo outInfo = decodeInfo.makeWH(scaledOutWidth, scaledOutHeight); in decodeRegion() 138 SkCodec::Result result = fCodec->getAndroidPixels(decodeInfo, dst, rowBytes, &options); in decodeRegion()
|