holoscan::ops::BufferInfo
holoscan::ops::BufferInfo
Buffer information, can be initialized either with a tensor or a video buffer.
Methods
init
Initialize with tensor
Initialize with video buffer
Initialize with tensor.
Returns: error code
Parameters
input_image_format
If HolovizOp::ImageFormat::AUTO_DETECT then auto detect the image format, else use the provided image format
Static methods
get_supported_tensor_formats_str
Returns: a string describing the supported tensor formats
get_supported_video_buffer_formats_str
Returns: a string describing the supported video buffer formats