NNStreamer watchdog header to manage the schedule in the element. More...
#include <glib.h>
Go to the source code of this file.
Typedefs | |
typedef void * | nns_watchdog_h |
Functions | |
gboolean | nnstreamer_watchdog_create (nns_watchdog_h *watchdog_h) |
Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
void | nnstreamer_watchdog_destroy (nns_watchdog_h watchdog_h) |
Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
void | nnstreamer_watchdog_release (nns_watchdog_h watchdog_h) |
Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
gboolean | nnstreamer_watchdog_feed (nns_watchdog_h watchdog_h, GSourceFunc func, guint interval, void *user_data) |
Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK()) More... | |
NNStreamer watchdog header to manage the schedule in the element.
NNStreamer watchdog header Copyright (C) 2024 Gichan Jang gicha n2.j ang@s amsu ng.co m
Definition in file nnstreamer_watchdog.h.
typedef void* nns_watchdog_h |
Definition at line 25 of file nnstreamer_watchdog.h.
gboolean nnstreamer_watchdog_create | ( | nns_watchdog_h * | watchdog_h | ) |
Create nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 72 of file nnstreamer_watchdog.c.
void nnstreamer_watchdog_destroy | ( | nns_watchdog_h | watchdog_h | ) |
Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Destroy nnstreamer watchdog. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 133 of file nnstreamer_watchdog.c.
gboolean nnstreamer_watchdog_feed | ( | nns_watchdog_h | watchdog_h, |
GSourceFunc | func, | ||
guint | interval, | ||
void * | user_data | ||
) |
Set watchdog timeout. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 171 of file nnstreamer_watchdog.c.
void nnstreamer_watchdog_release | ( | nns_watchdog_h | watchdog_h | ) |
Release watchdog source. Recommended using watchdog handle with proper lock (e.g., GST_OBJECT_LOCK())
Definition at line 157 of file nnstreamer_watchdog.c.