|
libxcoder
5.3.1
|
Private definitions used by ni_rsrc_api.cpp for management of NETINT video processing devices. More...
#include <signal.h>#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include <ctype.h>#include <setjmp.h>#include "ni_device_api.h"#include "ni_rsrc_api.h"#include "ni_rsrc_priv.h"#include "ni_nvme.h"#include "ni_log.h"#include "ni_util.h"Go to the source code of this file.
Functions | |
| ni_retcode_t | ni_rsrc_fill_device_info (ni_device_info_t *p_device_info, ni_codec_t fmt, ni_device_type_t type, ni_hw_capability_t *p_hw_cap) |
| int | ni_rsrc_strcmp (const void *p_str, const void *p_str1) |
| void | ni_rsrc_get_lock_name (ni_device_type_t device_type, int32_t guid, char *p_name, size_t max_name_len) |
| void | ni_rsrc_get_shm_name (ni_device_type_t device_type, int32_t guid, char *p_name, size_t max_name_len) |
| bool | find_available_guid (ni_device_queue_t *device_queue, int device_type, int *guidn) |
| bool | add_to_shared_memory (const char device_name[NI_MAX_DEVICE_NAME_LEN], const bool device_open_should_succeed, const int should_match_rev, ni_device_queue_t *device_queue) |
| ni_retcode_t | ni_rsrc_create_retry_lck () |
Variables | |
| uint32_t | g_xcoder_stop_process = 0 |
Private definitions used by ni_rsrc_api.cpp for management of NETINT video processing devices.
Definition in file ni_rsrc_priv.cpp.
| bool add_to_shared_memory | ( | const char | device_name[NI_MAX_DEVICE_NAME_LEN], |
| const bool | device_open_should_succeed, | ||
| const int | should_match_rev, | ||
| ni_device_queue_t * | device_queue | ||
| ) |
Definition at line 408 of file ni_rsrc_priv.cpp.
| bool find_available_guid | ( | ni_device_queue_t * | device_queue, |
| int | device_type, | ||
| int * | guidn | ||
| ) |
Definition at line 375 of file ni_rsrc_priv.cpp.
| ni_retcode_t ni_rsrc_create_retry_lck | ( | ) |
Definition at line 517 of file ni_rsrc_priv.cpp.
| ni_retcode_t ni_rsrc_fill_device_info | ( | ni_device_info_t * | p_device_info, |
| ni_codec_t | fmt, | ||
| ni_device_type_t | type, | ||
| ni_hw_capability_t * | p_hw_cap | ||
| ) |
| void ni_rsrc_get_lock_name | ( | ni_device_type_t | device_type, |
| int32_t | guid, | ||
| char * | p_name, | ||
| size_t | max_name_len | ||
| ) |
| void ni_rsrc_get_shm_name | ( | ni_device_type_t | device_type, |
| int32_t | guid, | ||
| char * | p_name, | ||
| size_t | max_name_len | ||
| ) |
assume there is enough space allocated in name
Definition at line 265 of file ni_rsrc_priv.cpp.
| int ni_rsrc_strcmp | ( | const void * | p_str, |
| const void * | p_str1 | ||
| ) |
| uint32_t g_xcoder_stop_process = 0 |
Definition at line 73 of file ni_rsrc_priv.cpp.