Skip to main content
Version: 12 Dec 2024

DataLayout

NameSpace: Android

Public Fields

DataLength


public int DataLength { get; set; }


PixelCount


public int PixelCount { get; set; }


Public Methods

DataLayout

public DataLayout(
int width,
int height,
int pixelStride,
int rowStride,
int bytesPerPixel
)

Parameters

TypeNameDescription
intwidth
intheight
intpixelStride
introwStride
intbytesPerPixel

DataLayout

public DataLayout(
AHardwareBuffer.Description description
)

Parameters

TypeNameDescription
AHardwareBuffer.Descriptiondescription

string Debug

public string Debug()

Public Attributes

BytesPerPixel


public readonly int BytesPerPixel;


Height


public readonly int Height;


PixelStride


public readonly int PixelStride;


RowStride


public readonly int RowStride;


Width


public readonly int Width;