holoscan::ops::FormatConverterPlaneLayout

Beta
View as Markdown

Row pitch and byte range for one color plane in a contiguous device buffer.

Used only to pass NPP step sizes and plane base offsets/sizes (same information GXF’s ColorPlane carries for VideoBuffer layouts). This type avoids a GXF multimedia dependency in the GPU-resident operator API.

#include <holoscan/ops/format_converter_gpu_resident.hpp>

Member variables

NameTypeDescription
stride_bytesint32_tBytes between consecutive rows (NPP nSrcStep / plane step).
byte_offsetuint32_tByte offset of this plane from the start of the buffer.
plane_bytesuint64_tSize of this plane in bytes (for splitting Y/U/V or Y/UV in a single allocation).