Plane Struct
One plane of a composite (multi-plane) tensor. More...
Declaration
Included Headers
Public Member Attributes Index
| PlaneRole | role = PlaneRole::Unknown |
|
Role of this plane (Y / U / V / UV / Unknown). More... | |
| std::vector< int64_t > | shape |
|
Per-dimension sizes of this plane's pixel grid. More... | |
| std::vector< int64_t > | strides_bytes |
|
Per-dimension byte strides within this plane. More... | |
| int64_t | byte_offset = 0 |
|
Offset of this plane's first byte from the parent storage start. More... | |
Description
One plane of a composite (multi-plane) tensor.
Composite tensors (NV12, I420) carry a planes vector instead of a single contiguous buffer. Each Plane describes a sub-region: shape, strides, byte offset within the parent storage, and the role it plays (Y, U, V, or interleaved UV).
Definition at line 484 of file TensorCore.h.
Public Member Attributes
byte_offset
|
Offset of this plane's first byte from the parent storage start.
Definition at line 488 of file TensorCore.h.
role
|
Role of this plane (Y / U / V / UV / Unknown).
Definition at line 485 of file TensorCore.h.
shape
|
Per-dimension sizes of this plane's pixel grid.
Definition at line 486 of file TensorCore.h.
strides_bytes
|
Per-dimension byte strides within this plane.
Definition at line 487 of file TensorCore.h.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.