![]() |
libxcoder
3.5.1
|
Private routines related to resource management of NI T-408 devices. More...
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <errno.h>
#include <ctype.h>
#include "ni_device_api_logan.h"
#include "ni_rsrc_api_logan.h"
#include "ni_rsrc_priv_logan.h"
#include "ni_nvme_logan.h"
#include "ni_util_logan.h"
Go to the source code of this file.
Functions | |
ni_logan_retcode_t | ni_logan_rsrc_fill_device_info (ni_logan_device_info_t *p_device_info, ni_codec_t fmt, ni_logan_device_type_t type, ni_logan_hw_capability_t *p_hw_cap) |
Update codec record info with retrieved device info from HW. More... | |
int | ni_logan_rsrc_strcmp (const void *p_str, const void *p_str1) |
String comparison function. More... | |
void | ni_logan_rsrc_get_lock_name (ni_logan_device_type_t device_type, int32_t guid, char *p_name, size_t max_name_len) |
Returns the device lock name. More... | |
void | ni_logan_rsrc_get_shm_name (ni_logan_device_type_t device_type, int32_t guid, char *p_name, size_t max_name_len) |
Returns the name of shared memory of the codec record. More... | |
int | ni_logan_is_fw_compatible (uint8_t fw_rev[8]) |
Check if a FW_rev retrieved from card is supported by libxcoder. Support is checked for API flavor, API version, and SW/FW release version. More... | |
Variables | |
uint32_t | g_logan_xcoder_stop_process = 0 |
Private routines related to resource management of NI T-408 devices.
Definition in file ni_rsrc_priv_logan.cpp.
int ni_logan_is_fw_compatible | ( | uint8_t | fw_rev[8] | ) |
Check if a FW_rev retrieved from card is supported by libxcoder. Support is checked for API flavor, API version, and SW/FW release version.
[in] | fw_rev | FW revision queried from card firmware |
Definition at line 271 of file ni_rsrc_priv_logan.cpp.
ni_logan_retcode_t ni_logan_rsrc_fill_device_info | ( | ni_logan_device_info_t * | p_device_info, |
ni_codec_t | fmt, | ||
ni_logan_device_type_t | type, | ||
ni_logan_hw_capability_t * | p_hw_cap | ||
) |
Update codec record info with retrieved device info from HW.
encoder
Definition at line 64 of file ni_rsrc_priv_logan.cpp.
void ni_logan_rsrc_get_lock_name | ( | ni_logan_device_type_t | device_type, |
int32_t | guid, | ||
char * | p_name, | ||
size_t | max_name_len | ||
) |
void ni_logan_rsrc_get_shm_name | ( | ni_logan_device_type_t | device_type, |
int32_t | guid, | ||
char * | p_name, | ||
size_t | max_name_len | ||
) |
Returns the name of shared memory of the codec record.
assume there is enough space allocated in name
Definition at line 248 of file ni_rsrc_priv_logan.cpp.
int ni_logan_rsrc_strcmp | ( | const void * | p_str, |
const void * | p_str1 | ||
) |
uint32_t g_logan_xcoder_stop_process = 0 |
Definition at line 55 of file ni_rsrc_priv_logan.cpp.