From ef764f2f84aa24d562e84a542d9df6349ccf9dfb Mon Sep 17 00:00:00 2001 From: Nickiel12 Date: Sat, 19 Oct 2024 00:39:44 +0000 Subject: [PATCH] added output info --- src/main.zig | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main.zig b/src/main.zig index 35776f3..9f7f21e 100644 --- a/src/main.zig +++ b/src/main.zig @@ -106,6 +106,11 @@ pub fn main() !void { status = hlo.hailo_get_input_vstream_info(input_vstreams[0], &stream_info); assert(status == hlo.HAILO_SUCCESS); + var output_info: hlo.hailo_output_vstream_info = undefined; + status = hlo.hailo_get_output_vstream_info(output_vstreams[0], &output_info); + assert(status == hlo.HAILO_SUCCESS); + std.debug.print("\nOutput info: {any}\n\n", .{ output_info }); + std.debug.print("Writing vstream data\n", .{}); status = hlo.hailo_vstream_write_raw_buffer(input_vstreams[0], input_data.ptr, input_frame_size); assert(status == hlo.HAILO_SUCCESS);