added output info
This commit is contained in:
parent
a4dba41c13
commit
ef764f2f84
1 changed files with 5 additions and 0 deletions
|
@ -106,6 +106,11 @@ pub fn main() !void {
|
||||||
status = hlo.hailo_get_input_vstream_info(input_vstreams[0], &stream_info);
|
status = hlo.hailo_get_input_vstream_info(input_vstreams[0], &stream_info);
|
||||||
assert(status == hlo.HAILO_SUCCESS);
|
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", .{});
|
std.debug.print("Writing vstream data\n", .{});
|
||||||
status = hlo.hailo_vstream_write_raw_buffer(input_vstreams[0], input_data.ptr, input_frame_size);
|
status = hlo.hailo_vstream_write_raw_buffer(input_vstreams[0], input_data.ptr, input_frame_size);
|
||||||
assert(status == hlo.HAILO_SUCCESS);
|
assert(status == hlo.HAILO_SUCCESS);
|
||||||
|
|
Loading…
Reference in a new issue