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
Type | Name | Description |
---|---|---|
int | width | |
int | height | |
int | pixelStride | |
int | rowStride | |
int | bytesPerPixel |
DataLayout
public DataLayout(
AHardwareBuffer.Description description
)
Parameters
Type | Name | Description |
---|---|---|
AHardwareBuffer.Description | description |
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;