VideoFrameView struct
Where one view of a video frame lives: a pixel rectangle in one texture (and array layer). The end coordinates are exclusive and may be smaller than the start ones, which flips the view.
Namespace: Quaternar.Qaros · Assembly: Quaternar.Qaros.dll
public readonly struct VideoFrameView
Constructors
VideoFrameView(uint, uint, uint, uint, uint, uint, PixelFormat, VideoFrameViewType, VideoFrameViewEye)
public VideoFrameView(uint startX, uint startY, uint endX, uint endY, uint textureIndex, uint arrayLayerIndex, PixelFormat textureFormat, VideoFrameViewType dataType, VideoFrameViewEye eye)
Parameters
| Name | Type | Description |
|---|---|---|
startX | uint | |
startY | uint | |
endX | uint | |
endY | uint | |
textureIndex | uint | |
arrayLayerIndex | uint | |
textureFormat | PixelFormat | |
dataType | VideoFrameViewType | |
eye | VideoFrameViewEye |
Properties
| Member | Description |
|---|---|
| StartX | |
| StartY | |
| EndX | |
| EndY | |
| TextureIndex | Index into the frame's or layout's textures. |
| ArrayLayerIndex | |
| TextureFormat | |
| DataType | |
| Eye |
StartX
public uint StartX { get; }
Value: uint
StartY
public uint StartY { get; }
Value: uint
EndX
public uint EndX { get; }
Value: uint
EndY
public uint EndY { get; }
Value: uint
TextureIndex
Index into the frame's or layout's textures.
public uint TextureIndex { get; }
Value: uint
ArrayLayerIndex
public uint ArrayLayerIndex { get; }
Value: uint
TextureFormat
public PixelFormat TextureFormat { get; }
Value: PixelFormat
DataType
public VideoFrameViewType DataType { get; }
Value: VideoFrameViewType
Eye
public VideoFrameViewEye Eye { get; }
Value: VideoFrameViewEye