public final class

BitmapPixelTestUtil.ImageBuffer

extends java.lang.Object

 java.lang.Object

↳androidx.media3.test.utils.BitmapPixelTestUtil.ImageBuffer

Overview

Represents a java.nio.ByteBuffer read from an Image.

Summary

Fields
public final java.nio.ByteBufferbuffer

public final intheight

public final intpixelStride

public final introwStride

public final intwidth

Constructors
publicImageBuffer(java.nio.ByteBuffer buffer, int width, int height, int rowStride, int pixelStride)

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public final java.nio.ByteBuffer buffer

public final int width

public final int height

public final int rowStride

public final int pixelStride

Constructors

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