Searched refs:snugRB (Results 1 – 1 of 1) sorted by relevance
934 const size_t snugRB = info.width() * info.bytesPerPixel(); in write_raw_pixels() local938 buffer->write32(SkToU32(snugRB)); in write_raw_pixels()941 const size_t size = snugRB * info.height(); in write_raw_pixels()945 memcpy(dst, src, snugRB); in write_raw_pixels()946 dst += snugRB; in write_raw_pixels()977 const size_t snugRB = buffer->readUInt(); in ReadRawPixels() local978 if (0 == snugRB) { // no pixels in ReadRawPixels()998 const uint64_t snugSize = sk_64_mul(snugRB, height); in ReadRawPixels()1010 const unsigned char* srcRow = dst + snugRB * (height - 1); in ReadRawPixels()1013 memmove(dstRow, srcRow, snugRB); in ReadRawPixels()[all …]