|
SRSDK
0.10.39
|
#include <sharedCameraSink.h>
Public Member Functions | |
| LEIASDK_API void | leia_shared_camera_sink_retain (struct leia_shared_camera_sink *) |
| Increment the reference counter. | |
| LEIASDK_API void | leia_shared_camera_sink_release (struct leia_shared_camera_sink *) |
| Decrement the reference counter. | |
| 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). | |
| 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. | |
| 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. | |
| LEIASDK_API void | leia_shared_camera_sink_on_lux_change (struct leia_shared_camera_sink *, float luxValue) |
| Push lux data to the consumer. | |
Related Symbols | |
(Note that these are not member symbols.) | |
| 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_retain | ( | struct leia_shared_camera_sink * | ) |
Increment the reference counter.
| LEIASDK_API void leia_shared_camera_sink_release | ( | struct leia_shared_camera_sink * | ) |
Decrement the reference counter.
| 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).
| 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.
Makes sense to be called only when the sink is active. See leia_shared_camera_sink_is_active.
| 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.
Makes sense to be called only when the sink is active. See leia_shared_camera_sink_is_active.
| LEIASDK_API void leia_shared_camera_sink_on_lux_change | ( | struct leia_shared_camera_sink * | , |
| float | luxValue | ||
| ) |
Push lux data to the consumer.
Makes sense to be called only when the sink is active. See leia_shared_camera_sink_is_active.
|
related |
Create a shared camera sink.
The only goal of this object is to connect a camera data producer with a consumer. Right now, the only existing consumer is the face tracking backend.
This object is reference counted. See md_reference_counting_rules.