Home
last modified time | relevance | path

Searched refs:snugRB (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/core/
DSkBitmap.cpp1101 const size_t snugRB = info.width() * info.bytesPerPixel(); in write_raw_pixels() local
1105 buffer->write32(SkToU32(snugRB)); in write_raw_pixels()
1108 const size_t size = snugRB * info.height(); in write_raw_pixels()
1112 memcpy(dst, src, snugRB); in write_raw_pixels()
1113 dst += snugRB; in write_raw_pixels()
1144 const size_t snugRB = buffer->readUInt(); in ReadRawPixels() local
1145 if (0 == snugRB) { // no pixels in ReadRawPixels()
1159 const uint64_t snugSize = sk_64_mul(snugRB, height); in ReadRawPixels()
1171 const unsigned char* srcRow = dst + snugRB * (height - 1); in ReadRawPixels()
1174 memmove(dstRow, srcRow, snugRB); in ReadRawPixels()
[all …]