Skip to navigation

holoscan::ops::TensorInputPlane

Beta
View as Markdown

Describe one plane inside a flat byte buffer input Tensor.

Used only when input_kind == "tensor" and input_pix_fmt names a planar YUV format (nv12 / i420) whose plane geometry is not carried by the Tensor’s shape (e.g. an Argus / SIPL capture operator publishing a flat NvSciBuf-backed buffer). Every plane referenced by this vector must lie entirely inside tensor.byte_size().

#include <holoscan/ops/tensor_preprocessor.hpp>

Member variables

NameTypeDescription
offset_bytesstd::uint64_tByte offset of this plane’s first sample from the tensor’s data pointer.
row_stride_bytesstd::uint64_tDistance in bytes between consecutive rows of this plane.