Searched refs:snugRB (Results 1 – 1 of 1) sorted by relevance
1101 const size_t snugRB = info.width() * info.bytesPerPixel(); in write_raw_pixels() local1105 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() local1145 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 …]