Struct RAWImage
RAW image.
Inherited Members
Namespace: VisioForge.Core.Types
Assembly: VisioForge.Core.dll
Syntax
public struct RAWImage
Constructors
RAWImage(nint, int, int, int, int, RAWVideoColorSpace)
Initializes a new instance of the RAWImage struct.
Declaration
public RAWImage(nint data, int dataSize, int width, int height, int stride, RAWVideoColorSpace colorspace)
Parameters
Type | Name | Description |
---|---|---|
nint | data | The data. |
int | dataSize | Size of the data. |
int | width | The width. |
int | height | The height. |
int | stride | The stride. |
RAWVideoColorSpace | colorspace | The colorspace. |
Fields
Colorspace
Colorspace.
Declaration
public RAWVideoColorSpace Colorspace
Field Value
Type | Description |
---|---|
RAWVideoColorSpace |
Data
Data.
Declaration
public nint Data
Field Value
Type | Description |
---|---|
nint |
DataSize
Data size.
Declaration
public int DataSize
Field Value
Type | Description |
---|---|
int |
Height
Height.
Declaration
public int Height
Field Value
Type | Description |
---|---|
int |
Stride
Stride.
Declaration
public int Stride
Field Value
Type | Description |
---|---|
int |
Width
Width.
Declaration
public int Width
Field Value
Type | Description |
---|---|
int |
Methods
Alloc()
Allocates memory if stride and height set.
Declaration
public void Alloc()
Free()
Frees allocated memory.
Declaration
public void Free()