|
libxcoder
5.3.1
|
Utility definitions for measuring frame/packet processing time in NETINT video processing devices. More...
#include <stdint.h>Go to the source code of this file.
Data Structures | |
| struct | _ni_lat_meas_q_entry_t |
| struct | _ni_lat_meas_q_t |
Typedefs | |
| typedef struct _ni_lat_meas_q_entry_t | ni_lat_meas_q_entry_t |
| typedef struct _ni_lat_meas_q_t | ni_lat_meas_q_t |
Functions | |
| ni_lat_meas_q_t * | ni_lat_meas_q_create (int capacity) |
| Create a latency measurement queue object of a given capacity. More... | |
| void | ni_lat_meas_q_destroy (ni_lat_meas_q_t *frame_time_q) |
| Destroy a latency measurement queue object. More... | |
| void * | ni_lat_meas_q_add_entry (ni_lat_meas_q_t *frame_time_q, uint64_t abs_time, int64_t ts_time) |
| Add a new entry to latency queue. More... | |
| uint64_t | ni_lat_meas_q_check_latency (ni_lat_meas_q_t *frame_time_q, uint64_t abs_time, int64_t ts_time) |
| Check latency of a frame referenced by its timestamp. More... | |
Utility definitions for measuring frame/packet processing time in NETINT video processing devices.
Definition in file ni_lat_meas.h.
| typedef struct _ni_lat_meas_q_entry_t ni_lat_meas_q_entry_t |
| typedef struct _ni_lat_meas_q_t ni_lat_meas_q_t |
| void* ni_lat_meas_q_add_entry | ( | ni_lat_meas_q_t * | frame_time_q, |
| uint64_t | abs_time, | ||
| int64_t | ts_time | ||
| ) |
Add a new entry to latency queue.
| frame_time_q | pointer to latency queue |
| abs_time | frame start time for latency comparison |
| ts_time | reference frame timestamp time |
Definition at line 181 of file ni_lat_meas.c.
| uint64_t ni_lat_meas_q_check_latency | ( | ni_lat_meas_q_t * | frame_time_q, |
| uint64_t | abs_time, | ||
| int64_t | ts_time | ||
| ) |
Check latency of a frame referenced by its timestamp.
| frame_time_q | pointer to latency queue |
| abs_time | frame end time for latency comparison |
| ts_time | reference frame timestamp time |
Definition at line 201 of file ni_lat_meas.c.
| ni_lat_meas_q_t* ni_lat_meas_q_create | ( | int | capacity | ) |
Create a latency measurement queue object of a given capacity.
| capacity | maximum size of queue |
Definition at line 52 of file ni_lat_meas.c.
| void ni_lat_meas_q_destroy | ( | ni_lat_meas_q_t * | frame_time_q | ) |
Destroy a latency measurement queue object.
| frame_time_q | pointer to ni_lat_meas_q_t object |
Definition at line 97 of file ni_lat_meas.c.