BitmapPixelTestUtil.ImageBuffer


public final class BitmapPixelTestUtil.ImageBuffer


Represents a ByteBuffer read from an Image.

Summary

Public fields

final ByteBuffer
final int
final int
final int
final int

Public constructors

ImageBuffer(
    ByteBuffer buffer,
    int width,
    int height,
    int rowStride,
    int pixelStride
)

Public fields

buffer

public final ByteBuffer buffer

height

public final int height

pixelStride

public final int pixelStride

rowStride

public final int rowStride

width

public final int width

Public constructors

ImageBuffer

public ImageBuffer(
    ByteBuffer buffer,
    int width,
    int height,
    int rowStride,
    int pixelStride
)