![]() |
libklvanc
|
VANC Caching functionality. More...
#include <pthread.h>
Go to the source code of this file.
Classes | |
struct | klvanc_cache_line_s |
struct | klvanc_cache_s |
Functions | |
int | klvanc_context_enable_cache (struct klvanc_context_s *ctx) |
Begin caching and summarizing VANC payload, useful when you want to query what VANC messages, and how many you seen on what lines. More... | |
void | klvanc_cache_reset (struct klvanc_context_s *ctx) |
When caching and summarizing VANC payload is enabled, use this to reset any internal counters, line counts and restart the stats collection process. More... | |
struct klvanc_cache_s * | klvanc_cache_lookup (struct klvanc_context_s *ctx, uint8_t didnr, uint8_t sdidnr) |
When caching and summarizing VANC payload is enabled, lookup any statistics related to didnr and sdidnr. More... | |
VANC Caching functionality.
struct klvanc_cache_s* klvanc_cache_lookup | ( | struct klvanc_context_s * | ctx, |
uint8_t | didnr, | ||
uint8_t | sdidnr | ||
) |
When caching and summarizing VANC payload is enabled, lookup any statistics related to didnr and sdidnr.
[in] | struct | klvanc_context_s *ctx - Context. |
void klvanc_cache_reset | ( | struct klvanc_context_s * | ctx | ) |
When caching and summarizing VANC payload is enabled, use this to reset any internal counters, line counts and restart the stats collection process.
[in] | struct | klvanc_context_s *ctx - Context. |
int klvanc_context_enable_cache | ( | struct klvanc_context_s * | ctx | ) |
Begin caching and summarizing VANC payload, useful when you want to query what VANC messages, and how many you seen on what lines.
[in] | struct | klvanc_context_s *ctx - Context. |