PlaneLayout Class
The offset and the stride of a plane copied by VideoFrame.CopyTo (https://w3c.github.io/webcodecs/#dictdef-planelayout).
public sealed class PlaneLayoutConstructors
| Name | Description |
|---|---|
| PlaneLayout() |
PlaneLayout()
- Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public PlaneLayout()No documentation is available.
Properties
| Name | Description |
|---|---|
| Offset | Gets the offset in bytes of the plane in the buffer. |
| Stride | Gets the number of bytes of a row of the plane in the buffer, padding included. |
Offset
VideoFrame.csGets the offset in bytes of the plane in the buffer.
public required uint Offset { get; init; }Stride
VideoFrame.csGets the number of bytes of a row of the plane in the buffer, padding included.
public required uint Stride { get; init; }