Face SDK  1.8.2 Mozart release
Face Recognition Software Development Kit
video_stream.h
1 
3 #pragma once
4 
5 #include <face_sdk_base/export.h>
6 #include <c_interface/common/common.h>
7 #include <c_interface/face_sdk_base/video_frame.h>
8 
9 extern "C"
10 {
18 DECLARE_FACE_SDK_CLASS(video_stream)
19 
20 
27 bool FACE_SDK_C_EXPORT face_sdk__video_stream__get_stream_id(const face_sdk__video_stream_t *video_stream, uint32_t *value);
28 
37 bool FACE_SDK_C_EXPORT face_sdk__video_stream__push_frame(const face_sdk__video_stream_t *video_stream, const face_sdk__video_frame_t *video_frame);
38 
44 void FACE_SDK_C_EXPORT face_sdk__video_stream_free(face_sdk__video_stream_t *video_stream);
45 
47 }
void face_sdk__video_stream_free(face_sdk__video_stream_t *video_stream)
Destroys face_sdk__video_stream object.
bool face_sdk__video_stream__push_frame(const face_sdk__video_stream_t *video_stream, const face_sdk__video_frame_t *video_frame)
Pushes video frame into the stream.
A video stream represents a sequence of frames.
Definition: video_stream.h:18
A video frame contains image and meta-information about this image in video stream context...
Definition: video_frame.h:22
bool face_sdk__video_stream__get_stream_id(const face_sdk__video_stream_t *video_stream, uint32_t *value)
Retrieves stream_id which was passed into face_sdk__tracker__make_stream() function.