1#ifndef CNSDK_LEIA_CORE_SHARED_CAMERA_SINK_H
2#define CNSDK_LEIA_CORE_SHARED_CAMERA_SINK_H
9#if defined(LEIA_DOXYGEN)
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
Core library.
Definition library.h:17
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.