Lines Matching defs:info
53 auto info = codec->getInfo().makeColorType(kRGB_565_SkColorType);
55 bm.allocPixels(info);
61 const auto result = codec->getPixels(info, bm.getPixels(), bm.rowBytes(),
66 static bool restore_previous(const SkCodec::FrameInfo& info) {
67 return info.fDisposalMethod == SkCodecAnimation::DisposalMethod::kRestorePrevious;
402 const auto info = codec->getInfo().makeColorType(kN32_SkColorType);
405 auto decodeInfo = info;
407 decodeInfo = info.makeAlphaType(frameInfos[index].fAlphaType);
457 const size_t rowLen = info.bytesPerPixel() * info.width();
458 for (int y = 0; y < info.height(); y++) {
501 auto info = codec->getInfo().makeAlphaType(kPremul_SkAlphaType);
505 info = info.makeDimensions(dimensions);
507 bm.allocPixels(info);
519 info = info.makeAlphaType(frameInfo.fAlphaType);
521 auto result = codec->codec()->getPixels(info, bm.getPixels(), bm.rowBytes(),
527 bm2.allocPixels(info);
530 result = codec->codec()->getPixels(info, bm2.getPixels(), bm2.rowBytes(),
534 for (int y = 0; y < info.height(); ++y) {
535 if (0 != memcmp(bm.getAddr32(0, y), bm2.getAddr32(0, y), info.minRowBytes())) {
538 sampleSize, i, info.width(), info.height(), y);