SRSDK  0.10.39
Loading...
Searching...
No Matches
sharedCameraSink.h
Go to the documentation of this file.
1#ifndef CNSDK_LEIA_CORE_SHARED_CAMERA_SINK_H
2#define CNSDK_LEIA_CORE_SHARED_CAMERA_SINK_H
3
4#include "leia/core/api.h"
5#include "leia/common/types.h"
6
8
9#if defined(LEIA_DOXYGEN)
11#endif
12
26
34
42
51
62
73
84
86
87#endif // CNSDK_LEIA_CORE_SHARED_CAMERA_SINK_H
BEGIN_CAPI_DECL typedef int32_t leia_bool
Definition types.h:10
#define LEIASDK_API
Definition api.h:9
#define LEIA_NODISCARD
Definition defines.h:86
#define END_CAPI_DECL
Definition defines.h:74
#define BEGIN_CAPI_DECL
Definition defines.h:73
Definition types.h:48
Core library.
Definition library.h:17
Definition types.h:38
Definition sharedCameraSink.h:10
LEIASDK_API void leia_shared_camera_sink_release(struct leia_shared_camera_sink *)
Decrement the reference counter.
LEIASDK_API void leia_shared_camera_sink_retain(struct leia_shared_camera_sink *)
Increment the reference counter.
LEIASDK_API void leia_shared_camera_sink_on_image(struct leia_shared_camera_sink *, struct leia_image_desc const *, struct leia_timestamp)
Push image data to the consumer.
LEIA_NODISCARD LEIASDK_API leia_bool leia_shared_camera_sink_is_active(struct leia_shared_camera_sink *)
Check if shared camera sink is active (attached to a consumer).
LEIA_NODISCARD LEIASDK_API struct leia_shared_camera_sink * leia_shared_camera_sink_alloc(struct leia_core_library *)
Create a shared camera sink.
LEIASDK_API void leia_shared_camera_sink_on_lux_change(struct leia_shared_camera_sink *, float luxValue)
Push lux data to the consumer.
LEIASDK_API void leia_shared_camera_sink_on_intrinsics_change(struct leia_shared_camera_sink *, struct leia_camera_intrinsics const *)
Push intrinsics data to the consumer.
Definition types.h:33