MCPcopy Create free account
hub / github.com/HumbleUI/Skija / getMinRowBytes

Method getMinRowBytes

shared/java/ImageInfo.java:195–197  ·  view source on GitHub ↗

Returns minimum bytes per row, computed from pixel getWidth() and ColorType, which specifies getBytesPerPixel(). Bitmap maximum value for row bytes must fit in 31 bits.

()

Source from the content-addressed store, hash-verified

193 * in 31 bits.
194 */
195 public long getMinRowBytes() {
196 return _width * getBytesPerPixel();
197 }
198
199 /**
200 * <p>Returns byte offset of pixel from pixel base address.</p>

Callers 5

computeMinByteSizeMethod · 0.95
isRowBytesValidMethod · 0.95
drawPixelsMethod · 0.95
drawMethod · 0.95
allocPixelsMethod · 0.80

Calls 1

getBytesPerPixelMethod · 0.95

Tested by

no test coverage detected