AImage
NameSpace: Media
Inherits from:
INullablePointer,
IDisposable
Public Fields
CropRect
public ARect CropRect { get; set; }
Format
public MediaFormat Format { get; set; }
HardwareBuffer
public AHardwareBuffer HardwareBuffer { get; set; }
Height
public int Height { get; set; }
NumberOfPlanes
public int NumberOfPlanes { get; set; }
TimestampInNanoseconds
public long TimestampInNanoseconds { get; set; }
Width
public int Width { get; set; }
Public Methods
void Dispose
public void Dispose()
unsafe bool TryGetPlaneData
public unsafe bool TryGetPlaneData(
int planeIdx,
out int dataLength,
out int pixelStride,
out int rowStride,
out byte * data
)
Parameters
Type | Name | Description |
---|---|---|
int | planeIdx | |
out int | dataLength | |
out int | pixelStride | |
out int | rowStride | |
out byte * | data |
Public Attributes
IsNull
public bool IsNull => value == IntPtr.Zero;