libxcoder  5.2.0
ni_libxcoder_dynamic_loading.h File Reference

Libxcoder API dynamic loading support for Linux. More...

#include <dlfcn.h>
#include <ni_av_codec.h>
#include <ni_util.h>
#include <ni_device_api.h>

Go to the source code of this file.

Data Structures

struct  _NETINT_LIBXCODER_API_FUNCTION_LIST
 
class  NETINTLibxcoderAPI
 

Macros

#define _NETINTLIBXCODERAPI_H_
 
#define LIB_API
 

Typedefs

typedef int(LIB_APIPNISHOULDSENDSEIWITHFRAME) (ni_session_context_t *p_enc_ctx, ni_pic_type_t pic_type, ni_xcoder_params_t *p_param)
 
typedef void(LIB_APIPNIDECRETRIEVEAUXDATA) (ni_frame_t *frame)
 
typedef void(LIB_APIPNIENCPREPAUXDATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_frame_t *p_dec_frame, ni_codec_format_t codec_format, int should_send_sei_with_frame, uint8_t *mdcv_data, uint8_t *cll_data, uint8_t *cc_data, uint8_t *udu_data, uint8_t *hdrp_data)
 
typedef void(LIB_APIPNIENCCOPYAUXDATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_frame_t *p_dec_frame, ni_codec_format_t codec_format, const uint8_t *mdcv_data, const uint8_t *cll_data, const uint8_t *cc_data, const uint8_t *udu_data, const uint8_t *hdrp_data, int is_hwframe, int is_semiplanar)
 
typedef int(LIB_APIPNIENCWRITEFROMYUVBUFFER) (ni_session_context_t *p_ctx, ni_frame_t *p_enc_frame, uint8_t *p_yuv_buffer)
 
typedef int(LIB_APIPNIEXTRACTCUSTOMSEI) (uint8_t *pkt_data, int pkt_size, long index, ni_packet_t *p_packet, uint8_t sei_type, int vcl_found)
 
typedef int(LIB_APIPNIDECPACKETPARSE) (ni_session_context_t *p_session_ctx, ni_xcoder_params_t *p_param, uint8_t *data, int size, ni_packet_t *p_packet, int low_delay, int codec_format, int pkt_nal_bitmap, int custom_sei_type, int *svct_skip_next_packet, int *is_lone_sei_pkt)
 
typedef int(LIB_APIPNIEXPANDFRAME) (ni_frame_t *dst, ni_frame_t *src, int dst_stride[], int raw_width, int raw_height, int ni_fmt, int nb_planes)
 
typedef int(LIB_APIPNIRECONFIGPPUOUTPUT) (ni_session_context_t *p_session_ctx, ni_xcoder_params_t *p_param, ni_ppu_config_t *ppu_config)
 
typedef int(LIB_APIPNIENCINSERTTIMECODE) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_timecode_t *p_timecode)
 
typedef void(LIB_APIPNIGETHWYUV420PDIM) (int width, int height, int bit_depth_factor, int is_semiplanar, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])
 
typedef void(LIB_APIPNIGETFRAMEDIM) (int width, int height, ni_pix_fmt_t pix_fmt, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])
 
typedef void(LIB_APIPNIGETMINFRAMEDIM) (int width, int height, ni_pix_fmt_t pix_fmt, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])
 
typedef void(LIB_APIPNICOPYHWYUV420P) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int width, int height, int bit_depth_factor, int is_semiplanar, int conf_win_right, int dst_stride[NI_MAX_NUM_DATA_POINTERS], int dst_height[NI_MAX_NUM_DATA_POINTERS], int src_stride[NI_MAX_NUM_DATA_POINTERS], int src_height[NI_MAX_NUM_DATA_POINTERS])
 
typedef void(LIB_APIPNICOPYFRAMEDATA) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int frame_width, int frame_height, int factor, ni_pix_fmt_t pix_fmt, int conf_win_right, int dst_stride[NI_MAX_NUM_DATA_POINTERS], int dst_height[NI_MAX_NUM_DATA_POINTERS], int src_stride[NI_MAX_NUM_DATA_POINTERS], int src_height[NI_MAX_NUM_DATA_POINTERS])
 
typedef void(LIB_APIPNICOPYYUV444PTO420P) (uint8_t *p_dst0[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_dst1[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int width, int height, int factor, int mode)
 
typedef int(LIB_APIPNIINSERTEMULATIONPREVENTBYTES) (uint8_t *buf, int size)
 
typedef int(LIB_APIPNIREMOVEEMULATIONPREVENTBYTES) (uint8_t *buf, int size)
 
typedef int32_t(LIB_APIPNIGETTIMEOFDAY) (struct timeval *p_tp, void *p_tzp)
 
typedef uint64_t(LIB_APIPNIGETTIMENS) (void)
 
typedef void(LIB_APIPNIUSLEEP) (int64_t usec)
 
typedef char *(LIB_APIPNISTRTOK) (char *s, const char *delim, char **saveptr)
 
typedef ni_retcode_t(LIB_APIPNINETWORKLAYERCONVERTOUTPUT) (float *dst, uint32_t num, ni_packet_t *p_packet, ni_network_data_t *p_network, uint32_t layer)
 
typedef uint32_t(LIB_APIPNIAINETWORKLAYERSIZE) (ni_network_layer_params_t *p_param)
 
typedef uint32_t(LIB_APIPNIAINETWORKLAYERDIMS) (ni_network_layer_params_t *p_param)
 
typedef ni_retcode_t(LIB_APIPNINETWORKLAYERCONVERTTENSOR) (uint8_t *dst, uint32_t dst_len, const char *tensor_file, ni_network_layer_params_t *p_param)
 
typedef ni_retcode_t(LIB_APIPNINETWORKCONVERTTENSORTODATA) (uint8_t *dst, uint32_t dst_len, float *src, uint32_t src_len, ni_network_layer_params_t *p_param)
 
typedef ni_retcode_t(LIB_APIPNINETWORKCONVERTDATATOTENSOR) (float *dst, uint32_t dst_len, uint8_t *src, uint32_t src_len, ni_network_layer_params_t *p_param)
 
typedef void(LIB_APIPNICALCULATESHA256) (const uint8_t aui8Data[], size_t ui32DataLength, uint8_t aui8Hash[])
 
typedef void(LIB_APIPNICOPYHWDESCRIPTORS) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS])
 
typedef char *(LIB_APIPNIGETLIBXCODERAPIVER) (void)
 
typedef char *(LIB_APIPNIGETCOMPATFWAPIVER) (void)
 
typedef void(LIB_APIPNIFMTFWAPIVERSTR) (const char ver_str[], char fmt_str[])
 
typedef int(LIB_APIPNICMPFWAPIVER) (const char ver1[], const char ver2[])
 
typedef char *(LIB_APIPNIGETLIBXCODERRELEASEVER) (void)
 
typedef int(LIB_APIPNIPARAMGETKEYVALUE) (char *p_str, char *key, char *value)
 
typedef int(LIB_APIPNIRETRIEVEXCODERPARAMS) (char xcoderParams[], ni_xcoder_params_t *params, ni_session_context_t *ctx)
 
typedef int(LIB_APIPNIRETRIEVEXCODERGOP) (char xcoderGop[], ni_xcoder_params_t *params, ni_session_context_t *ctx)
 
typedef int(LIB_APIPNIRETRIEVEDECODERPARAMS) (char xcoderParams[], ni_xcoder_params_t *params, ni_session_context_t *ctx)
 
typedef int(LIB_APIPNIPTHREADMUTEXINIT) (ni_pthread_mutex_t *mutex)
 
typedef int(LIB_APIPNIPTHREADMUTEXDESTROY) (ni_pthread_mutex_t *mutex)
 
typedef int(LIB_APIPNIPTHREADMUTEXLOCK) (ni_pthread_mutex_t *mutex)
 
typedef int(LIB_APIPNIPTHREADMUTEXUNLOCK) (ni_pthread_mutex_t *mutex)
 
typedef int(LIB_APIPNIPTHREADCREATE) (ni_pthread_t *thread, const ni_pthread_attr_t *attr, void *(*start_routine) (void *), void *arg)
 
typedef int(LIB_APIPNIPTHREADJOIN) (ni_pthread_t thread, void **value_ptr)
 
typedef int(LIB_APIPNIPTHREADCONDINIT) (ni_pthread_cond_t *cond, const ni_pthread_condattr_t *attr)
 
typedef int(LIB_APIPNIPTHREADCONDDESTROY) (ni_pthread_cond_t *cond)
 
typedef int(LIB_APIPNIPTHREADCONDBROADCAST) (ni_pthread_cond_t *cond)
 
typedef int(LIB_APIPNIPTHREADCONDWAIT) (ni_pthread_cond_t *cond, ni_pthread_mutex_t *mutex)
 
typedef int(LIB_APIPNIPTHREADCONDSIGNAL) (ni_pthread_cond_t *cond)
 
typedef int(LIB_APIPNIPTHREADCONDTIMEDWAIT) (ni_pthread_cond_t *cond, ni_pthread_mutex_t *mutex, const struct timespec *abstime)
 
typedef int(LIB_APIPNIPTHREADSIGMASK) (int how, const ni_sigset_t *set, ni_sigset_t *oldset)
 
typedef int(LIB_APIPNIPOSIXMEMALIGN) (void **memptr, size_t alignment, size_t size)
 
typedef ni_session_context_t *(LIB_APIPNIDEVICESESSIONCONTEXTALLOCINIT) (void)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONCONTEXTINIT) (ni_session_context_t *p_ctx)
 
typedef void(LIB_APIPNIDEVICESESSIONCONTEXTCLEAR) (ni_session_context_t *p_ctx)
 
typedef void(LIB_APIPNIDEVICESESSIONCONTEXTFREE) (ni_session_context_t *p_ctx)
 
typedef ni_event_handle_t(LIB_APIPNICREATEEVENT) (void)
 
typedef void(LIB_APIPNICLOSEEVENT) (ni_event_handle_t event_handle)
 
typedef ni_device_handle_t(LIB_APIPNIDEVICEOPEN) (const char *dev, uint32_t *p_max_io_size_out)
 
typedef void(LIB_APIPNIDEVICECLOSE) (ni_device_handle_t dev)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECAPABILITYQUERY) (ni_device_handle_t device_handle, ni_device_capability_t *p_cap)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECAPABILITYQUERY2) (ni_device_handle_t device_handle, ni_device_capability_t *p_cap, bool device_in_ctxt)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONOPEN) (ni_session_context_t *p_ctx, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONCLOSE) (ni_session_context_t *p_ctx, int eos_received, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONFLUSH) (ni_session_context_t *p_ctx, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEDECSESSIONSAVEHDRS) (ni_session_context_t *p_ctx, uint8_t *hdr_data, uint8_t hdr_size)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEDECSESSIONFLUSH) (ni_session_context_t *p_ctx)
 
typedef int(LIB_APIPNIDEVICESESSIONWRITE) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)
 
typedef int(LIB_APIPNIDEVICESESSIONREAD) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONQUERY) (ni_session_context_t *p_ctx, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONQUERYDETAIL) (ni_session_context_t *p_ctx, ni_device_type_t device_type, ni_instance_mgr_detail_status_t *detail_data)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONQUERYDETAILV1) (ni_session_context_t *p_ctx, ni_device_type_t device_type, ni_instance_mgr_detail_status_v1_t *detail_data)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECONFIGNAMESPACENUM) (ni_device_handle_t device_handle, uint32_t namespace_num, uint32_t sriov_index)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECONFIGQOS) (ni_device_handle_t device_handle, uint32_t mode)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECONFIGQOSOP) (ni_device_handle_t device_handle, ni_device_handle_t device_handle_t, uint32_t over_provision)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, int alignment, int metadata_flag, int factor, int hw_frame_count, int is_planar)
 
typedef ni_retcode_t(LIB_APIPNIENCFRAMEBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, int alignment, int metadata_flag, int factor, int hw_frame_count, int is_planar, ni_pix_fmt_t pix_fmt)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERALLOCDL) (ni_frame_t *p_frame, int video_width, int video_height, int pixel_format)
 
typedef ni_retcode_t(LIB_APIPNIDECODERFRAMEBUFFERALLOC) (ni_buf_pool_t *p_pool, ni_frame_t *pframe, int alloc_mem, int video_width, int video_height, int alignment, int factor, int is_planar)
 
typedef ni_retcode_t(LIB_APIPNIENCODERFRAMEBUFFERALLOC) (ni_frame_t *pframe, int video_width, int video_height, int linesize[], int alignment, int extra_len, bool alignment_2pass_wa)
 
typedef ni_retcode_t(LIB_APIPNISCALERDESTFRAMEALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params, niFrameSurface1_t *p_surface)
 
typedef ni_retcode_t(LIB_APIPNISCALERINPUTFRAMEALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params, niFrameSurface1_t *p_src_surface)
 
typedef ni_retcode_t(LIB_APIPNISCALERFRAMEPOOLALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERALLOCNV) (ni_frame_t *p_frame, int video_width, int video_height, int linesize[], int extra_len, bool alignment_2pass_wa)
 
typedef ni_retcode_t(LIB_APIPNIENCODERSWFRAMEBUFFERALLOC) (bool planar, ni_frame_t *p_frame, int video_width, int video_height, int linesize[], int alignment, int extra_len, bool alignment_2pass_wa)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERFREE) (ni_frame_t *pframe)
 
typedef ni_retcode_t(LIB_APIPNIDECODERFRAMEBUFFERFREE) (ni_frame_t *pframe)
 
typedef void(LIB_APIPNIDECODERFRAMEBUFFERPOOLRETURNBUF) (ni_buf_t *buf, ni_buf_pool_t *p_buffer_pool)
 
typedef ni_retcode_t(LIB_APIPNIPACKETBUFFERALLOC) (ni_packet_t *ppacket, int packet_size)
 
typedef ni_retcode_t(LIB_APIPNICUSTOMPACKETBUFFERALLOC) (void *p_buffer, ni_packet_t *p_packet, int buffer_size)
 
typedef ni_retcode_t(LIB_APIPNIPACKETBUFFERFREE) (ni_packet_t *ppacket)
 
typedef ni_retcode_t(LIB_APIPNIPACKETBUFFERFREEAV1) (ni_packet_t *ppacket)
 
typedef int(LIB_APIPNIPACKETCOPY) (void *p_destination, const void *const p_source, int cur_size, void *p_leftover, int *p_prev_size)
 
typedef ni_aux_data_t *(LIB_APIPNIFRAMENEWAUXDATA) (ni_frame_t *frame, ni_aux_data_type_t type, int data_size)
 
typedef ni_aux_data_t *(LIB_APIPNIFRAMENEWAUXDATAFROMRAWDATA) (ni_frame_t *frame, ni_aux_data_type_t type, const uint8_t *raw_data, int data_size)
 
typedef ni_aux_data_t *(LIB_APIPNIFRAMEGETAUXDATA) (const ni_frame_t *frame, ni_aux_data_type_t type)
 
typedef void(LIB_APIPNIFRAMEFREEAUXDATA) (ni_frame_t *frame, ni_aux_data_type_t type)
 
typedef void(LIB_APIPNIFRAMEWIPEAUXDATA) (ni_frame_t *frame)
 
typedef ni_retcode_t(LIB_APIPNIENCODERINITDEFAULTPARAMS) (ni_xcoder_params_t *p_param, int fps_num, int fps_denom, long bit_rate, int width, int height, ni_codec_format_t codec_format)
 
typedef ni_retcode_t(LIB_APIPNIDECODERINITDEFAULTPARAMS) (ni_xcoder_params_t *p_param, int fps_num, int fps_denom, long bit_rate, int width, int height)
 
typedef ni_retcode_t(LIB_APIPNIENCODERPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, const char *value)
 
typedef ni_retcode_t(LIB_APIPNIDECODERPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, char *value)
 
typedef ni_retcode_t(LIB_APIPNIENCODERGOPPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, const char *value)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONCOPY) (ni_session_context_t *src_p_ctx, ni_session_context_t *dst_p_ctx)
 
typedef int(LIB_APIPNIDEVICESESSIONINITFRAMEPOOL) (ni_session_context_t *p_ctx, uint32_t pool_size, uint32_t pool)
 
typedef int(LIB_APIPNIDEVICESESSIONREADHWDESC) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)
 
typedef int(LIB_APIPNIDEVICESESSIONHWDL) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, niFrameSurface1_t *hwdesc)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONQUERYBUFFERAVAIL) (ni_session_context_t *p_ctx, ni_device_type_t device_type)
 
typedef int(LIB_APIPNIDEVICESESSIONHWUP) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_src_data, niFrameSurface1_t *hwdesc)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERALLOCHWENC) (ni_frame_t *pframe, int video_width, int video_height, int extra_len)
 
typedef ni_retcode_t(LIB_APIPNIHWFRAMEBUFFERRECYCLE) (niFrameSurface1_t *surface, int32_t device_handle)
 
typedef ni_retcode_t(LIB_APIPNIHWFRAMEBUFFERRECYCLE2) (niFrameSurface1_t *surface)
 
typedef ni_retcode_t(LIB_APIPNISCALERSETPARAMS) (ni_session_context_t *p_ctx, ni_scaler_params_t *p_params)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEALLOCFRAME) (ni_session_context_t *p_ctx, int width, int height, int format, int options, int rectangle_width, int rectangle_height, int rectangle_x, int rectangle_y, int rgba_color, int frame_index, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEALLOCDSTFRAME) (ni_session_context_t *p_ctx, niFrameSurface1_t *p_out_surface, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECLONEHWFRAME) (ni_session_context_t *p_ctx, ni_frameclone_desc_t *p_frameclone_desc)
 
typedef ni_retcode_t(LIB_APIPNIDEVICECONFIGFRAME) (ni_session_context_t *p_ctx, ni_frame_config_t *p_cfg)
 
typedef ni_retcode_t(LIB_APIPNISCALERSETDRAWBOXPARAMS) (ni_session_context_t *p_ctx, ni_scaler_drawbox_params_t *p_params)
 
typedef ni_retcode_t(LIB_APIPNISCALERSETWATERMARKPARAMS) (ni_session_context_t *p_ctx, ni_scaler_watermark_params_t *p_params)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEMULTICONFIGFRAME) (ni_session_context_t *p_ctx, ni_frame_config_t p_cfg_in[], int numInCfgs, ni_frame_config_t *p_cfg_out)
 
typedef ni_retcode_t(LIB_APIPNIFRAMEBUFFERALLOCPIXFMT) (ni_frame_t *pframe, int pixel_format, int video_width, int video_height, int linesize[], int alignment, int extra_len)
 
typedef ni_retcode_t(LIB_APIPNIAICONFIGNETWORKBINARY) (ni_session_context_t *p_ctx, ni_network_data_t *p_network, const char *file)
 
typedef ni_retcode_t(LIB_APIPNIAICONFIGHVSPLUS) (ni_session_context_t *p_ctx, ni_network_data_t *p_network)
 
typedef ni_retcode_t(LIB_APIPNIAIFRAMEBUFFERALLOC) (ni_frame_t *p_frame, ni_network_data_t *p_network)
 
typedef ni_retcode_t(LIB_APIPNIAIPACKETBUFFERALLOC) (ni_packet_t *p_packet, ni_network_data_t *p_network)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGBITRATE) (ni_session_context_t *p_ctx, int32_t bitrate)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGVUI) (ni_session_context_t *p_ctx, ni_vui_hrd_t *vui)
 
typedef ni_retcode_t(LIB_APIPNIFORCEIDRFRAMETYPE) (ni_session_context_t *p_ctx)
 
typedef ni_retcode_t(LIB_APIPNISETLTR) (ni_session_context_t *p_ctx, ni_long_term_ref_t *ltr)
 
typedef ni_retcode_t(LIB_APIPNISETLTRINTERVAL) (ni_session_context_t *p_ctx, int32_t ltr_interval)
 
typedef ni_retcode_t(LIB_APIPNISETFRAMEREFINVALID) (ni_session_context_t *p_ctx, int32_t frame_num)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGFRAMERATE) (ni_session_context_t *p_ctx, ni_framerate_t *framerate)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGMAXFRAMESIZE) (ni_session_context_t *p_ctx, int32_t max_frame_size)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGMINMAXQP) (ni_session_context_t *p_ctx, ni_rc_min_max_qp *p_min_max_qp)
 
typedef int(LIB_APIPNIDEVICESESSIONACQUIRE) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)
 
typedef int(LIB_APIPNIDEVICESESSIONACQUIREFORREAD) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERFRAMEBUFFERLOCK) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERFRAMEBUFFERUNLOCK) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERP2PTESTSEND) (ni_session_context_t *p_upl_ctx, uint8_t *p_data, uint32_t len, ni_frame_t *p_hwframe)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERP2PTESTLOAD) (ni_session_context_t *p_upl_ctx, uint8_t *p_data, uint32_t len, ni_frame_t *p_hwframe)
 
typedef ni_retcode_t(LIB_APIPNIENCODERSETINPUTFRAMEFORMAT) (ni_session_context_t *p_enc_ctx, ni_xcoder_params_t *p_enc_params, int width, int height, int bit_depth, int src_endian, int planar)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERSETFRAMEFORMAT) (ni_session_context_t *p_upl_ctx, int width, int height, ni_pix_fmt_t pixel_format, int isP2P)
 
typedef ni_retcode_t(LIB_APIPNISCALERP2PFRAMEACQUIRE) (ni_session_context_t *p_ctx, niFrameSurface1_t *p_surface, int data_len)
 
typedef ni_retcode_t(LIB_APIPNIHWFRAMEP2PBUFFERRECYCLE) (ni_frame_t *p_frame)
 
typedef int(LIB_APIPNIENCODERSESSIONREADSTREAMHEADER) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data)
 
typedef int32_t(LIB_APIPNIGETDMABUFFILEDESCRIPTOR) (const ni_frame_t *p_frame)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONSEQUENCECHANGE) (ni_session_context_t *p_ctx, int width, int height, int bit_depth_factor, ni_device_type_t device_type)
 
typedef ni_retcode_t(LIB_APIPNIAISESSIONREADMETRICS) (ni_session_context_t *p_ctx, ni_network_perf_metrics_t *p_metrics)
 
typedef ni_retcode_t(LIB_APIPNIQUERYNVMESTATUS) (ni_session_context_t *p_ctx, ni_load_query_t *p_load_query)
 
typedef ni_retcode_t(LIB_APIPNIQUERYFLFWVERSIONS) (ni_device_handle_t device_handle, ni_device_info_t *p_dev_info)
 
typedef ni_retcode_t(LIB_APIPNIQUERYVFNSID) (ni_device_handle_t device_handle, ni_device_vf_ns_id_t *p_dev_ns_vf, uint8_t fw_rev[])
 
typedef ni_retcode_t(LIB_APIPNIQUERYTEMPERATURE) (ni_device_handle_t device_handle, ni_device_temp_t *p_dev_temp, uint8_t fw_rev[])
 
typedef ni_retcode_t(LIB_APIPNIQUERYEXTRAINFO) (ni_device_handle_t device_handle, ni_device_extra_info_t *p_dev_extra_info, uint8_t fw_rev[])
 
typedef ni_retcode_t(LIB_APIPNIENCODERFRAMEZEROCOPYCHECK) (ni_session_context_t *p_enc_ctx, ni_xcoder_params_t *p_enc_params, int width, int height, const int linesize[], bool set_linesize)
 
typedef ni_retcode_t(LIB_APIPNIENCODERFRAMEZEROCOPYBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, const int linesize[], const uint8_t *data[], int extra_len)
 
typedef ni_retcode_t(LIB_APIPNIUPLOADERFRAMEZEROCOPYCHECK) (ni_session_context_t *p_upl_ctx, int width, int height, const int linesize[], int pixel_format)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGCRF) (ni_session_context_t *p_ctx, int32_t crf)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGCRF2) (ni_session_context_t *p_ctx, float crf)
 
typedef ni_retcode_t(LIB_APIPNIDEVICEALLOCANDGETFIRMWARELOGS) (ni_session_context_t *p_ctx, void **p_log_buffer, bool gen_log_file)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGVBVVALUE) (ni_session_context_t *p_ctx, int32_t vbvMaxRate, int32_t vbvBufferSize)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONUPDATEFRAMEPOOL) (ni_session_context_t *p_ctx, uint32_t pool_size)
 
typedef ni_retcode_t(LIB_APIPNISETDEMOROIMAP) (ni_session_context_t *p_enc_ctx)
 
typedef ni_retcode_t(LIB_APIPNIENCPREPRECONFDEMODATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_frame)
 
typedef void(LIB_APIPNIGOPPARAMSCHECKSET) (ni_xcoder_params_t *p_param, char *value)
 
typedef bool(LIB_APIPNIGOPPARAMSCHECK) (ni_xcoder_params_t *p_param)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGMAXFRAMESIZERATIO) (ni_session_context_t *p_ctx, int32_t max_frame_size_ratio)
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGINTRAPRD) (ni_session_context_t *p_ctx, int32_t intra_period)
 
typedef ni_retcode_t(LIB_APIPNIP2PXFER) (ni_session_context_t *pSession, niFrameSurface1_t *source, uint64_t ui64DestAddr, uint32_t ui32FrameSize)
 
typedef ni_retcode_t(LIB_APIPNIP2PSEND) (ni_session_context_t *pSession, niFrameSurface1_t *source, uint64_t ui64DestAddr, uint32_t ui32FrameSize)
 
typedef int(LIB_APIPNICALCULATETOTALFRAMESIZE) (const ni_session_context_t *p_upl_ctx, const int linesize[])
 
typedef ni_retcode_t(LIB_APIPNIRECONFIGSLICEARG) (ni_session_context_t *p_ctx, int16_t sliceArg)
 
typedef ni_retcode_t(LIB_APIPNIP2PRECV) (ni_session_context_t *pSession, const ni_p2p_sgl_t *dmaAddrs, ni_frame_t *pDstFrame)
 
typedef ni_retcode_t(LIB_APIPNIDEVICESESSIONRESTART) (ni_session_context_t *p_ctx, int video_width, int video_height, ni_device_type_t device_type)
 
typedef struct _NETINT_LIBXCODER_API_FUNCTION_LIST NETINT_LIBXCODER_API_FUNCTION_LIST
 

Functions

const typedef char *LIB_APIPNIGETRCTXT (ni_retcode_t rc)
 
const typedef char *LIB_APIPNIAIERRNOTOSTR (int rc)
 

Detailed Description

Libxcoder API dynamic loading support for Linux.


Author
Netflix, Inc. (2022)

Definition in file ni_libxcoder_dynamic_loading.h.

Macro Definition Documentation

◆ _NETINTLIBXCODERAPI_H_

#define _NETINTLIBXCODERAPI_H_

Definition at line 33 of file ni_libxcoder_dynamic_loading.h.

◆ LIB_API

#define LIB_API

Definition at line 52 of file ni_libxcoder_dynamic_loading.h.

Typedef Documentation

◆ NETINT_LIBXCODER_API_FUNCTION_LIST

◆ PNIAICONFIGHVSPLUS

typedef ni_retcode_t(LIB_API* PNIAICONFIGHVSPLUS) (ni_session_context_t *p_ctx, ni_network_data_t *p_network)

Definition at line 193 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAICONFIGNETWORKBINARY

typedef ni_retcode_t(LIB_API* PNIAICONFIGNETWORKBINARY) (ni_session_context_t *p_ctx, ni_network_data_t *p_network, const char *file)

Definition at line 192 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAIFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIAIFRAMEBUFFERALLOC) (ni_frame_t *p_frame, ni_network_data_t *p_network)

Definition at line 194 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAINETWORKLAYERDIMS

typedef uint32_t(LIB_API* PNIAINETWORKLAYERDIMS) (ni_network_layer_params_t *p_param)

Definition at line 87 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAINETWORKLAYERSIZE

typedef uint32_t(LIB_API* PNIAINETWORKLAYERSIZE) (ni_network_layer_params_t *p_param)

Definition at line 86 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAIPACKETBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIAIPACKETBUFFERALLOC) (ni_packet_t *p_packet, ni_network_data_t *p_network)

Definition at line 195 of file ni_libxcoder_dynamic_loading.h.

◆ PNIAISESSIONREADMETRICS

typedef ni_retcode_t(LIB_API* PNIAISESSIONREADMETRICS) (ni_session_context_t *p_ctx, ni_network_perf_metrics_t *p_metrics)

Definition at line 218 of file ni_libxcoder_dynamic_loading.h.

◆ PNICALCULATESHA256

typedef void(LIB_API* PNICALCULATESHA256) (const uint8_t aui8Data[], size_t ui32DataLength, uint8_t aui8Hash[])

Definition at line 91 of file ni_libxcoder_dynamic_loading.h.

◆ PNICALCULATETOTALFRAMESIZE

typedef int(LIB_API* PNICALCULATETOTALFRAMESIZE) (const ni_session_context_t *p_upl_ctx, const int linesize[])

Definition at line 240 of file ni_libxcoder_dynamic_loading.h.

◆ PNICLOSEEVENT

typedef void(LIB_API* PNICLOSEEVENT) (ni_event_handle_t event_handle)

Definition at line 128 of file ni_libxcoder_dynamic_loading.h.

◆ PNICMPFWAPIVER

typedef int(LIB_API* PNICMPFWAPIVER) (const char ver1[], const char ver2[])

Definition at line 96 of file ni_libxcoder_dynamic_loading.h.

◆ PNICOPYFRAMEDATA

typedef void(LIB_API* PNICOPYFRAMEDATA) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int frame_width, int frame_height, int factor, ni_pix_fmt_t pix_fmt, int conf_win_right, int dst_stride[NI_MAX_NUM_DATA_POINTERS], int dst_height[NI_MAX_NUM_DATA_POINTERS], int src_stride[NI_MAX_NUM_DATA_POINTERS], int src_height[NI_MAX_NUM_DATA_POINTERS])

Definition at line 77 of file ni_libxcoder_dynamic_loading.h.

◆ PNICOPYHWDESCRIPTORS

typedef void(LIB_API* PNICOPYHWDESCRIPTORS) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS])

Definition at line 92 of file ni_libxcoder_dynamic_loading.h.

◆ PNICOPYHWYUV420P

typedef void(LIB_API* PNICOPYHWYUV420P) (uint8_t *p_dst[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int width, int height, int bit_depth_factor, int is_semiplanar, int conf_win_right, int dst_stride[NI_MAX_NUM_DATA_POINTERS], int dst_height[NI_MAX_NUM_DATA_POINTERS], int src_stride[NI_MAX_NUM_DATA_POINTERS], int src_height[NI_MAX_NUM_DATA_POINTERS])

Definition at line 76 of file ni_libxcoder_dynamic_loading.h.

◆ PNICOPYYUV444PTO420P

typedef void(LIB_API* PNICOPYYUV444PTO420P) (uint8_t *p_dst0[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_dst1[NI_MAX_NUM_DATA_POINTERS], uint8_t *p_src[NI_MAX_NUM_DATA_POINTERS], int width, int height, int factor, int mode)

Definition at line 78 of file ni_libxcoder_dynamic_loading.h.

◆ PNICREATEEVENT

typedef ni_event_handle_t(LIB_API* PNICREATEEVENT) (void)

Definition at line 127 of file ni_libxcoder_dynamic_loading.h.

◆ PNICUSTOMPACKETBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNICUSTOMPACKETBUFFERALLOC) (void *p_buffer, ni_packet_t *p_packet, int buffer_size)

Definition at line 160 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECODERFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIDECODERFRAMEBUFFERALLOC) (ni_buf_pool_t *p_pool, ni_frame_t *pframe, int alloc_mem, int video_width, int video_height, int alignment, int factor, int is_planar)

Definition at line 149 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECODERFRAMEBUFFERFREE

typedef ni_retcode_t(LIB_API* PNIDECODERFRAMEBUFFERFREE) (ni_frame_t *pframe)

Definition at line 157 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECODERFRAMEBUFFERPOOLRETURNBUF

typedef void(LIB_API* PNIDECODERFRAMEBUFFERPOOLRETURNBUF) (ni_buf_t *buf, ni_buf_pool_t *p_buffer_pool)

Definition at line 158 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECODERINITDEFAULTPARAMS

typedef ni_retcode_t(LIB_API* PNIDECODERINITDEFAULTPARAMS) (ni_xcoder_params_t *p_param, int fps_num, int fps_denom, long bit_rate, int width, int height)

Definition at line 170 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECODERPARAMSSETVALUE

typedef ni_retcode_t(LIB_API* PNIDECODERPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, char *value)

Definition at line 172 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECPACKETPARSE

typedef int(LIB_API* PNIDECPACKETPARSE) (ni_session_context_t *p_session_ctx, ni_xcoder_params_t *p_param, uint8_t *data, int size, ni_packet_t *p_packet, int low_delay, int codec_format, int pkt_nal_bitmap, int custom_sei_type, int *svct_skip_next_packet, int *is_lone_sei_pkt)

Definition at line 66 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDECRETRIEVEAUXDATA

typedef void(LIB_API* PNIDECRETRIEVEAUXDATA) (ni_frame_t *frame)

Definition at line 61 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEALLOCANDGETFIRMWARELOGS

typedef ni_retcode_t(LIB_API* PNIDEVICEALLOCANDGETFIRMWARELOGS) (ni_session_context_t *p_ctx, void **p_log_buffer, bool gen_log_file)

Definition at line 229 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEALLOCDSTFRAME

typedef ni_retcode_t(LIB_API* PNIDEVICEALLOCDSTFRAME) (ni_session_context_t *p_ctx, niFrameSurface1_t *p_out_surface, ni_device_type_t device_type)

Definition at line 185 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEALLOCFRAME

typedef ni_retcode_t(LIB_API* PNIDEVICEALLOCFRAME) (ni_session_context_t *p_ctx, int width, int height, int format, int options, int rectangle_width, int rectangle_height, int rectangle_x, int rectangle_y, int rgba_color, int frame_index, ni_device_type_t device_type)

Definition at line 184 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECAPABILITYQUERY

typedef ni_retcode_t(LIB_API* PNIDEVICECAPABILITYQUERY) (ni_device_handle_t device_handle, ni_device_capability_t *p_cap)

Definition at line 131 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECAPABILITYQUERY2

typedef ni_retcode_t(LIB_API* PNIDEVICECAPABILITYQUERY2) (ni_device_handle_t device_handle, ni_device_capability_t *p_cap, bool device_in_ctxt)

Definition at line 132 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECLONEHWFRAME

typedef ni_retcode_t(LIB_API* PNIDEVICECLONEHWFRAME) (ni_session_context_t *p_ctx, ni_frameclone_desc_t *p_frameclone_desc)

Definition at line 186 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECLOSE

typedef void(LIB_API* PNIDEVICECLOSE) (ni_device_handle_t dev)

Definition at line 130 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECONFIGFRAME

typedef ni_retcode_t(LIB_API* PNIDEVICECONFIGFRAME) (ni_session_context_t *p_ctx, ni_frame_config_t *p_cfg)

Definition at line 187 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECONFIGNAMESPACENUM

typedef ni_retcode_t(LIB_API* PNIDEVICECONFIGNAMESPACENUM) (ni_device_handle_t device_handle, uint32_t namespace_num, uint32_t sriov_index)

Definition at line 143 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECONFIGQOS

typedef ni_retcode_t(LIB_API* PNIDEVICECONFIGQOS) (ni_device_handle_t device_handle, uint32_t mode)

Definition at line 144 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICECONFIGQOSOP

typedef ni_retcode_t(LIB_API* PNIDEVICECONFIGQOSOP) (ni_device_handle_t device_handle, ni_device_handle_t device_handle_t, uint32_t over_provision)

Definition at line 145 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEDECSESSIONFLUSH

typedef ni_retcode_t(LIB_API* PNIDEVICEDECSESSIONFLUSH) (ni_session_context_t *p_ctx)

Definition at line 137 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEDECSESSIONSAVEHDRS

typedef ni_retcode_t(LIB_API* PNIDEVICEDECSESSIONSAVEHDRS) (ni_session_context_t *p_ctx, uint8_t *hdr_data, uint8_t hdr_size)

Definition at line 136 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEMULTICONFIGFRAME

typedef ni_retcode_t(LIB_API* PNIDEVICEMULTICONFIGFRAME) (ni_session_context_t *p_ctx, ni_frame_config_t p_cfg_in[], int numInCfgs, ni_frame_config_t *p_cfg_out)

Definition at line 190 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICEOPEN

typedef ni_device_handle_t(LIB_API* PNIDEVICEOPEN) (const char *dev, uint32_t *p_max_io_size_out)

Definition at line 129 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONACQUIRE

typedef int(LIB_API* PNIDEVICESESSIONACQUIRE) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)

Definition at line 205 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONACQUIREFORREAD

typedef int(LIB_API* PNIDEVICESESSIONACQUIREFORREAD) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)

Definition at line 206 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCLOSE

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONCLOSE) (ni_session_context_t *p_ctx, int eos_received, ni_device_type_t device_type)

Definition at line 134 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCONTEXTALLOCINIT

typedef ni_session_context_t*(LIB_API* PNIDEVICESESSIONCONTEXTALLOCINIT) (void)

Definition at line 123 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCONTEXTCLEAR

typedef void(LIB_API* PNIDEVICESESSIONCONTEXTCLEAR) (ni_session_context_t *p_ctx)

Definition at line 125 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCONTEXTFREE

typedef void(LIB_API* PNIDEVICESESSIONCONTEXTFREE) (ni_session_context_t *p_ctx)

Definition at line 126 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCONTEXTINIT

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONCONTEXTINIT) (ni_session_context_t *p_ctx)

Definition at line 124 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONCOPY

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONCOPY) (ni_session_context_t *src_p_ctx, ni_session_context_t *dst_p_ctx)

Definition at line 174 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONFLUSH

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONFLUSH) (ni_session_context_t *p_ctx, ni_device_type_t device_type)

Definition at line 135 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONHWDL

typedef int(LIB_API* PNIDEVICESESSIONHWDL) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, niFrameSurface1_t *hwdesc)

Definition at line 177 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONHWUP

typedef int(LIB_API* PNIDEVICESESSIONHWUP) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_src_data, niFrameSurface1_t *hwdesc)

Definition at line 179 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONINITFRAMEPOOL

typedef int(LIB_API* PNIDEVICESESSIONINITFRAMEPOOL) (ni_session_context_t *p_ctx, uint32_t pool_size, uint32_t pool)

Definition at line 175 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONOPEN

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONOPEN) (ni_session_context_t *p_ctx, ni_device_type_t device_type)

Definition at line 133 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONQUERY

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONQUERY) (ni_session_context_t *p_ctx, ni_device_type_t device_type)

Definition at line 140 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONQUERYBUFFERAVAIL

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONQUERYBUFFERAVAIL) (ni_session_context_t *p_ctx, ni_device_type_t device_type)

Definition at line 178 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONQUERYDETAIL

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONQUERYDETAIL) (ni_session_context_t *p_ctx, ni_device_type_t device_type, ni_instance_mgr_detail_status_t *detail_data)

Definition at line 141 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONQUERYDETAILV1

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONQUERYDETAILV1) (ni_session_context_t *p_ctx, ni_device_type_t device_type, ni_instance_mgr_detail_status_v1_t *detail_data)

Definition at line 142 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONREAD

typedef int(LIB_API* PNIDEVICESESSIONREAD) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)

Definition at line 139 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONREADHWDESC

typedef int(LIB_API* PNIDEVICESESSIONREADHWDESC) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)

Definition at line 176 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONRESTART

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONRESTART) (ni_session_context_t *p_ctx, int video_width, int video_height, ni_device_type_t device_type)

Definition at line 243 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONSEQUENCECHANGE

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONSEQUENCECHANGE) (ni_session_context_t *p_ctx, int width, int height, int bit_depth_factor, ni_device_type_t device_type)

Definition at line 217 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONUPDATEFRAMEPOOL

typedef ni_retcode_t(LIB_API* PNIDEVICESESSIONUPDATEFRAMEPOOL) (ni_session_context_t *p_ctx, uint32_t pool_size)

Definition at line 231 of file ni_libxcoder_dynamic_loading.h.

◆ PNIDEVICESESSIONWRITE

typedef int(LIB_API* PNIDEVICESESSIONWRITE) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data, ni_device_type_t device_type)

Definition at line 138 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCCOPYAUXDATA

typedef void(LIB_API* PNIENCCOPYAUXDATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_frame_t *p_dec_frame, ni_codec_format_t codec_format, const uint8_t *mdcv_data, const uint8_t *cll_data, const uint8_t *cc_data, const uint8_t *udu_data, const uint8_t *hdrp_data, int is_hwframe, int is_semiplanar)

Definition at line 63 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIENCFRAMEBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, int alignment, int metadata_flag, int factor, int hw_frame_count, int is_planar, ni_pix_fmt_t pix_fmt)

Definition at line 147 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCINSERTTIMECODE

typedef int(LIB_API* PNIENCINSERTTIMECODE) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_timecode_t *p_timecode)

Definition at line 69 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIENCODERFRAMEBUFFERALLOC) (ni_frame_t *pframe, int video_width, int video_height, int linesize[], int alignment, int extra_len, bool alignment_2pass_wa)

Definition at line 150 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERFRAMEZEROCOPYBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIENCODERFRAMEZEROCOPYBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, const int linesize[], const uint8_t *data[], int extra_len)

Definition at line 225 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERFRAMEZEROCOPYCHECK

typedef ni_retcode_t(LIB_API* PNIENCODERFRAMEZEROCOPYCHECK) (ni_session_context_t *p_enc_ctx, ni_xcoder_params_t *p_enc_params, int width, int height, const int linesize[], bool set_linesize)

Definition at line 224 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERGOPPARAMSSETVALUE

typedef ni_retcode_t(LIB_API* PNIENCODERGOPPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, const char *value)

Definition at line 173 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERINITDEFAULTPARAMS

typedef ni_retcode_t(LIB_API* PNIENCODERINITDEFAULTPARAMS) (ni_xcoder_params_t *p_param, int fps_num, int fps_denom, long bit_rate, int width, int height, ni_codec_format_t codec_format)

Definition at line 169 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERPARAMSSETVALUE

typedef ni_retcode_t(LIB_API* PNIENCODERPARAMSSETVALUE) (ni_xcoder_params_t *p_params, const char *name, const char *value)

Definition at line 171 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERSESSIONREADSTREAMHEADER

typedef int(LIB_API* PNIENCODERSESSIONREADSTREAMHEADER) (ni_session_context_t *p_ctx, ni_session_data_io_t *p_data)

Definition at line 215 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERSETINPUTFRAMEFORMAT

typedef ni_retcode_t(LIB_API* PNIENCODERSETINPUTFRAMEFORMAT) (ni_session_context_t *p_enc_ctx, ni_xcoder_params_t *p_enc_params, int width, int height, int bit_depth, int src_endian, int planar)

Definition at line 211 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCODERSWFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIENCODERSWFRAMEBUFFERALLOC) (bool planar, ni_frame_t *p_frame, int video_width, int video_height, int linesize[], int alignment, int extra_len, bool alignment_2pass_wa)

Definition at line 155 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCPREPAUXDATA

typedef void(LIB_API* PNIENCPREPAUXDATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_enc_frame, ni_frame_t *p_dec_frame, ni_codec_format_t codec_format, int should_send_sei_with_frame, uint8_t *mdcv_data, uint8_t *cll_data, uint8_t *cc_data, uint8_t *udu_data, uint8_t *hdrp_data)

Definition at line 62 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCPREPRECONFDEMODATA

typedef ni_retcode_t(LIB_API* PNIENCPREPRECONFDEMODATA) (ni_session_context_t *p_enc_ctx, ni_frame_t *p_frame)

Definition at line 233 of file ni_libxcoder_dynamic_loading.h.

◆ PNIENCWRITEFROMYUVBUFFER

typedef int(LIB_API* PNIENCWRITEFROMYUVBUFFER) (ni_session_context_t *p_ctx, ni_frame_t *p_enc_frame, uint8_t *p_yuv_buffer)

Definition at line 64 of file ni_libxcoder_dynamic_loading.h.

◆ PNIEXPANDFRAME

typedef int(LIB_API* PNIEXPANDFRAME) (ni_frame_t *dst, ni_frame_t *src, int dst_stride[], int raw_width, int raw_height, int ni_fmt, int nb_planes)

Definition at line 67 of file ni_libxcoder_dynamic_loading.h.

◆ PNIEXTRACTCUSTOMSEI

typedef int(LIB_API* PNIEXTRACTCUSTOMSEI) (uint8_t *pkt_data, int pkt_size, long index, ni_packet_t *p_packet, uint8_t sei_type, int vcl_found)

Definition at line 65 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFMTFWAPIVERSTR

typedef void(LIB_API* PNIFMTFWAPIVERSTR) (const char ver_str[], char fmt_str[])

Definition at line 95 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFORCEIDRFRAMETYPE

typedef ni_retcode_t(LIB_API* PNIFORCEIDRFRAMETYPE) (ni_session_context_t *p_ctx)

Definition at line 198 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERALLOC) (ni_frame_t *p_frame, int video_width, int video_height, int alignment, int metadata_flag, int factor, int hw_frame_count, int is_planar)

Definition at line 146 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERALLOCDL

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERALLOCDL) (ni_frame_t *p_frame, int video_width, int video_height, int pixel_format)

Definition at line 148 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERALLOCHWENC

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERALLOCHWENC) (ni_frame_t *pframe, int video_width, int video_height, int extra_len)

Definition at line 180 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERALLOCNV

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERALLOCNV) (ni_frame_t *p_frame, int video_width, int video_height, int linesize[], int extra_len, bool alignment_2pass_wa)

Definition at line 154 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERALLOCPIXFMT

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERALLOCPIXFMT) (ni_frame_t *pframe, int pixel_format, int video_width, int video_height, int linesize[], int alignment, int extra_len)

Definition at line 191 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEBUFFERFREE

typedef ni_retcode_t(LIB_API* PNIFRAMEBUFFERFREE) (ni_frame_t *pframe)

Definition at line 156 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEFREEAUXDATA

typedef void(LIB_API* PNIFRAMEFREEAUXDATA) (ni_frame_t *frame, ni_aux_data_type_t type)

Definition at line 167 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEGETAUXDATA

typedef ni_aux_data_t*(LIB_API* PNIFRAMEGETAUXDATA) (const ni_frame_t *frame, ni_aux_data_type_t type)

Definition at line 166 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMENEWAUXDATA

typedef ni_aux_data_t*(LIB_API* PNIFRAMENEWAUXDATA) (ni_frame_t *frame, ni_aux_data_type_t type, int data_size)

Definition at line 164 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMENEWAUXDATAFROMRAWDATA

typedef ni_aux_data_t*(LIB_API* PNIFRAMENEWAUXDATAFROMRAWDATA) (ni_frame_t *frame, ni_aux_data_type_t type, const uint8_t *raw_data, int data_size)

Definition at line 165 of file ni_libxcoder_dynamic_loading.h.

◆ PNIFRAMEWIPEAUXDATA

typedef void(LIB_API* PNIFRAMEWIPEAUXDATA) (ni_frame_t *frame)

Definition at line 168 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETCOMPATFWAPIVER

typedef char*(LIB_API* PNIGETCOMPATFWAPIVER) (void)

Definition at line 94 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETDMABUFFILEDESCRIPTOR

typedef int32_t(LIB_API* PNIGETDMABUFFILEDESCRIPTOR) (const ni_frame_t *p_frame)

Definition at line 216 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETFRAMEDIM

typedef void(LIB_API* PNIGETFRAMEDIM) (int width, int height, ni_pix_fmt_t pix_fmt, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])

Definition at line 74 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETHWYUV420PDIM

typedef void(LIB_API* PNIGETHWYUV420PDIM) (int width, int height, int bit_depth_factor, int is_semiplanar, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])

Definition at line 73 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETLIBXCODERAPIVER

typedef char*(LIB_API* PNIGETLIBXCODERAPIVER) (void)

Definition at line 93 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETLIBXCODERRELEASEVER

typedef char*(LIB_API* PNIGETLIBXCODERRELEASEVER) (void)

Definition at line 97 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETMINFRAMEDIM

typedef void(LIB_API* PNIGETMINFRAMEDIM) (int width, int height, ni_pix_fmt_t pix_fmt, int plane_stride[NI_MAX_NUM_DATA_POINTERS], int plane_height[NI_MAX_NUM_DATA_POINTERS])

Definition at line 75 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETTIMENS

typedef uint64_t(LIB_API* PNIGETTIMENS) (void)

Definition at line 82 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGETTIMEOFDAY

typedef int32_t(LIB_API* PNIGETTIMEOFDAY) (struct timeval *p_tp, void *p_tzp)

Definition at line 81 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGOPPARAMSCHECK

typedef bool(LIB_API* PNIGOPPARAMSCHECK) (ni_xcoder_params_t *p_param)

Definition at line 235 of file ni_libxcoder_dynamic_loading.h.

◆ PNIGOPPARAMSCHECKSET

typedef void(LIB_API* PNIGOPPARAMSCHECKSET) (ni_xcoder_params_t *p_param, char *value)

Definition at line 234 of file ni_libxcoder_dynamic_loading.h.

◆ PNIHWFRAMEBUFFERRECYCLE

typedef ni_retcode_t(LIB_API* PNIHWFRAMEBUFFERRECYCLE) (niFrameSurface1_t *surface, int32_t device_handle)

Definition at line 181 of file ni_libxcoder_dynamic_loading.h.

◆ PNIHWFRAMEBUFFERRECYCLE2

typedef ni_retcode_t(LIB_API* PNIHWFRAMEBUFFERRECYCLE2) (niFrameSurface1_t *surface)

Definition at line 182 of file ni_libxcoder_dynamic_loading.h.

◆ PNIHWFRAMEP2PBUFFERRECYCLE

typedef ni_retcode_t(LIB_API* PNIHWFRAMEP2PBUFFERRECYCLE) (ni_frame_t *p_frame)

Definition at line 214 of file ni_libxcoder_dynamic_loading.h.

◆ PNIINSERTEMULATIONPREVENTBYTES

typedef int(LIB_API* PNIINSERTEMULATIONPREVENTBYTES) (uint8_t *buf, int size)

Definition at line 79 of file ni_libxcoder_dynamic_loading.h.

◆ PNINETWORKCONVERTDATATOTENSOR

typedef ni_retcode_t(LIB_API* PNINETWORKCONVERTDATATOTENSOR) (float *dst, uint32_t dst_len, uint8_t *src, uint32_t src_len, ni_network_layer_params_t *p_param)

Definition at line 90 of file ni_libxcoder_dynamic_loading.h.

◆ PNINETWORKCONVERTTENSORTODATA

typedef ni_retcode_t(LIB_API* PNINETWORKCONVERTTENSORTODATA) (uint8_t *dst, uint32_t dst_len, float *src, uint32_t src_len, ni_network_layer_params_t *p_param)

Definition at line 89 of file ni_libxcoder_dynamic_loading.h.

◆ PNINETWORKLAYERCONVERTOUTPUT

typedef ni_retcode_t(LIB_API* PNINETWORKLAYERCONVERTOUTPUT) (float *dst, uint32_t num, ni_packet_t *p_packet, ni_network_data_t *p_network, uint32_t layer)

Definition at line 85 of file ni_libxcoder_dynamic_loading.h.

◆ PNINETWORKLAYERCONVERTTENSOR

typedef ni_retcode_t(LIB_API* PNINETWORKLAYERCONVERTTENSOR) (uint8_t *dst, uint32_t dst_len, const char *tensor_file, ni_network_layer_params_t *p_param)

Definition at line 88 of file ni_libxcoder_dynamic_loading.h.

◆ PNIP2PRECV

typedef ni_retcode_t(LIB_API* PNIP2PRECV) (ni_session_context_t *pSession, const ni_p2p_sgl_t *dmaAddrs, ni_frame_t *pDstFrame)

Definition at line 242 of file ni_libxcoder_dynamic_loading.h.

◆ PNIP2PSEND

typedef ni_retcode_t(LIB_API* PNIP2PSEND) (ni_session_context_t *pSession, niFrameSurface1_t *source, uint64_t ui64DestAddr, uint32_t ui32FrameSize)

Definition at line 239 of file ni_libxcoder_dynamic_loading.h.

◆ PNIP2PXFER

typedef ni_retcode_t(LIB_API* PNIP2PXFER) (ni_session_context_t *pSession, niFrameSurface1_t *source, uint64_t ui64DestAddr, uint32_t ui32FrameSize)

Definition at line 238 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPACKETBUFFERALLOC

typedef ni_retcode_t(LIB_API* PNIPACKETBUFFERALLOC) (ni_packet_t *ppacket, int packet_size)

Definition at line 159 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPACKETBUFFERFREE

typedef ni_retcode_t(LIB_API* PNIPACKETBUFFERFREE) (ni_packet_t *ppacket)

Definition at line 161 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPACKETBUFFERFREEAV1

typedef ni_retcode_t(LIB_API* PNIPACKETBUFFERFREEAV1) (ni_packet_t *ppacket)

Definition at line 162 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPACKETCOPY

typedef int(LIB_API* PNIPACKETCOPY) (void *p_destination, const void *const p_source, int cur_size, void *p_leftover, int *p_prev_size)

Definition at line 163 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPARAMGETKEYVALUE

typedef int(LIB_API* PNIPARAMGETKEYVALUE) (char *p_str, char *key, char *value)

Definition at line 99 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPOSIXMEMALIGN

typedef int(LIB_API* PNIPOSIXMEMALIGN) (void **memptr, size_t alignment, size_t size)

Definition at line 116 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDBROADCAST

typedef int(LIB_API* PNIPTHREADCONDBROADCAST) (ni_pthread_cond_t *cond)

Definition at line 111 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDDESTROY

typedef int(LIB_API* PNIPTHREADCONDDESTROY) (ni_pthread_cond_t *cond)

Definition at line 110 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDINIT

typedef int(LIB_API* PNIPTHREADCONDINIT) (ni_pthread_cond_t *cond, const ni_pthread_condattr_t *attr)

Definition at line 109 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDSIGNAL

typedef int(LIB_API* PNIPTHREADCONDSIGNAL) (ni_pthread_cond_t *cond)

Definition at line 113 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDTIMEDWAIT

typedef int(LIB_API* PNIPTHREADCONDTIMEDWAIT) (ni_pthread_cond_t *cond, ni_pthread_mutex_t *mutex, const struct timespec *abstime)

Definition at line 114 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCONDWAIT

typedef int(LIB_API* PNIPTHREADCONDWAIT) (ni_pthread_cond_t *cond, ni_pthread_mutex_t *mutex)

Definition at line 112 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADCREATE

typedef int(LIB_API* PNIPTHREADCREATE) (ni_pthread_t *thread, const ni_pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)

Definition at line 107 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADJOIN

typedef int(LIB_API* PNIPTHREADJOIN) (ni_pthread_t thread, void **value_ptr)

Definition at line 108 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADMUTEXDESTROY

typedef int(LIB_API* PNIPTHREADMUTEXDESTROY) (ni_pthread_mutex_t *mutex)

Definition at line 104 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADMUTEXINIT

typedef int(LIB_API* PNIPTHREADMUTEXINIT) (ni_pthread_mutex_t *mutex)

Definition at line 103 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADMUTEXLOCK

typedef int(LIB_API* PNIPTHREADMUTEXLOCK) (ni_pthread_mutex_t *mutex)

Definition at line 105 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADMUTEXUNLOCK

typedef int(LIB_API* PNIPTHREADMUTEXUNLOCK) (ni_pthread_mutex_t *mutex)

Definition at line 106 of file ni_libxcoder_dynamic_loading.h.

◆ PNIPTHREADSIGMASK

typedef int(LIB_API* PNIPTHREADSIGMASK) (int how, const ni_sigset_t *set, ni_sigset_t *oldset)

Definition at line 115 of file ni_libxcoder_dynamic_loading.h.

◆ PNIQUERYEXTRAINFO

typedef ni_retcode_t(LIB_API* PNIQUERYEXTRAINFO) (ni_device_handle_t device_handle, ni_device_extra_info_t *p_dev_extra_info, uint8_t fw_rev[])

Definition at line 223 of file ni_libxcoder_dynamic_loading.h.

◆ PNIQUERYFLFWVERSIONS

typedef ni_retcode_t(LIB_API* PNIQUERYFLFWVERSIONS) (ni_device_handle_t device_handle, ni_device_info_t *p_dev_info)

Definition at line 220 of file ni_libxcoder_dynamic_loading.h.

◆ PNIQUERYNVMESTATUS

typedef ni_retcode_t(LIB_API* PNIQUERYNVMESTATUS) (ni_session_context_t *p_ctx, ni_load_query_t *p_load_query)

Definition at line 219 of file ni_libxcoder_dynamic_loading.h.

◆ PNIQUERYTEMPERATURE

typedef ni_retcode_t(LIB_API* PNIQUERYTEMPERATURE) (ni_device_handle_t device_handle, ni_device_temp_t *p_dev_temp, uint8_t fw_rev[])

Definition at line 222 of file ni_libxcoder_dynamic_loading.h.

◆ PNIQUERYVFNSID

typedef ni_retcode_t(LIB_API* PNIQUERYVFNSID) (ni_device_handle_t device_handle, ni_device_vf_ns_id_t *p_dev_ns_vf, uint8_t fw_rev[])

Definition at line 221 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGBITRATE

typedef ni_retcode_t(LIB_API* PNIRECONFIGBITRATE) (ni_session_context_t *p_ctx, int32_t bitrate)

Definition at line 196 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGCRF

typedef ni_retcode_t(LIB_API* PNIRECONFIGCRF) (ni_session_context_t *p_ctx, int32_t crf)

Definition at line 227 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGCRF2

typedef ni_retcode_t(LIB_API* PNIRECONFIGCRF2) (ni_session_context_t *p_ctx, float crf)

Definition at line 228 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGFRAMERATE

typedef ni_retcode_t(LIB_API* PNIRECONFIGFRAMERATE) (ni_session_context_t *p_ctx, ni_framerate_t *framerate)

Definition at line 202 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGINTRAPRD

typedef ni_retcode_t(LIB_API* PNIRECONFIGINTRAPRD) (ni_session_context_t *p_ctx, int32_t intra_period)

Definition at line 237 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGMAXFRAMESIZE

typedef ni_retcode_t(LIB_API* PNIRECONFIGMAXFRAMESIZE) (ni_session_context_t *p_ctx, int32_t max_frame_size)

Definition at line 203 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGMAXFRAMESIZERATIO

typedef ni_retcode_t(LIB_API* PNIRECONFIGMAXFRAMESIZERATIO) (ni_session_context_t *p_ctx, int32_t max_frame_size_ratio)

Definition at line 236 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGMINMAXQP

typedef ni_retcode_t(LIB_API* PNIRECONFIGMINMAXQP) (ni_session_context_t *p_ctx, ni_rc_min_max_qp *p_min_max_qp)

Definition at line 204 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGPPUOUTPUT

typedef int(LIB_API* PNIRECONFIGPPUOUTPUT) (ni_session_context_t *p_session_ctx, ni_xcoder_params_t *p_param, ni_ppu_config_t *ppu_config)

Definition at line 68 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGSLICEARG

typedef ni_retcode_t(LIB_API* PNIRECONFIGSLICEARG) (ni_session_context_t *p_ctx, int16_t sliceArg)

Definition at line 241 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGVBVVALUE

typedef ni_retcode_t(LIB_API* PNIRECONFIGVBVVALUE) (ni_session_context_t *p_ctx, int32_t vbvMaxRate, int32_t vbvBufferSize)

Definition at line 230 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRECONFIGVUI

typedef ni_retcode_t(LIB_API* PNIRECONFIGVUI) (ni_session_context_t *p_ctx, ni_vui_hrd_t *vui)

Definition at line 197 of file ni_libxcoder_dynamic_loading.h.

◆ PNIREMOVEEMULATIONPREVENTBYTES

typedef int(LIB_API* PNIREMOVEEMULATIONPREVENTBYTES) (uint8_t *buf, int size)

Definition at line 80 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRETRIEVEDECODERPARAMS

typedef int(LIB_API* PNIRETRIEVEDECODERPARAMS) (char xcoderParams[], ni_xcoder_params_t *params, ni_session_context_t *ctx)

Definition at line 102 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRETRIEVEXCODERGOP

typedef int(LIB_API* PNIRETRIEVEXCODERGOP) (char xcoderGop[], ni_xcoder_params_t *params, ni_session_context_t *ctx)

Definition at line 101 of file ni_libxcoder_dynamic_loading.h.

◆ PNIRETRIEVEXCODERPARAMS

typedef int(LIB_API* PNIRETRIEVEXCODERPARAMS) (char xcoderParams[], ni_xcoder_params_t *params, ni_session_context_t *ctx)

Definition at line 100 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERDESTFRAMEALLOC

typedef ni_retcode_t(LIB_API* PNISCALERDESTFRAMEALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params, niFrameSurface1_t *p_surface)

Definition at line 151 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERFRAMEPOOLALLOC

typedef ni_retcode_t(LIB_API* PNISCALERFRAMEPOOLALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params)

Definition at line 153 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERINPUTFRAMEALLOC

typedef ni_retcode_t(LIB_API* PNISCALERINPUTFRAMEALLOC) (ni_session_context_t *p_ctx, ni_scaler_input_params_t scaler_params, niFrameSurface1_t *p_src_surface)

Definition at line 152 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERP2PFRAMEACQUIRE

typedef ni_retcode_t(LIB_API* PNISCALERP2PFRAMEACQUIRE) (ni_session_context_t *p_ctx, niFrameSurface1_t *p_surface, int data_len)

Definition at line 213 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERSETDRAWBOXPARAMS

typedef ni_retcode_t(LIB_API* PNISCALERSETDRAWBOXPARAMS) (ni_session_context_t *p_ctx, ni_scaler_drawbox_params_t *p_params)

Definition at line 188 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERSETPARAMS

typedef ni_retcode_t(LIB_API* PNISCALERSETPARAMS) (ni_session_context_t *p_ctx, ni_scaler_params_t *p_params)

Definition at line 183 of file ni_libxcoder_dynamic_loading.h.

◆ PNISCALERSETWATERMARKPARAMS

typedef ni_retcode_t(LIB_API* PNISCALERSETWATERMARKPARAMS) (ni_session_context_t *p_ctx, ni_scaler_watermark_params_t *p_params)

Definition at line 189 of file ni_libxcoder_dynamic_loading.h.

◆ PNISETDEMOROIMAP

typedef ni_retcode_t(LIB_API* PNISETDEMOROIMAP) (ni_session_context_t *p_enc_ctx)

Definition at line 232 of file ni_libxcoder_dynamic_loading.h.

◆ PNISETFRAMEREFINVALID

typedef ni_retcode_t(LIB_API* PNISETFRAMEREFINVALID) (ni_session_context_t *p_ctx, int32_t frame_num)

Definition at line 201 of file ni_libxcoder_dynamic_loading.h.

◆ PNISETLTR

typedef ni_retcode_t(LIB_API* PNISETLTR) (ni_session_context_t *p_ctx, ni_long_term_ref_t *ltr)

Definition at line 199 of file ni_libxcoder_dynamic_loading.h.

◆ PNISETLTRINTERVAL

typedef ni_retcode_t(LIB_API* PNISETLTRINTERVAL) (ni_session_context_t *p_ctx, int32_t ltr_interval)

Definition at line 200 of file ni_libxcoder_dynamic_loading.h.

◆ PNISHOULDSENDSEIWITHFRAME

typedef int(LIB_API* PNISHOULDSENDSEIWITHFRAME) (ni_session_context_t *p_enc_ctx, ni_pic_type_t pic_type, ni_xcoder_params_t *p_param)

Definition at line 60 of file ni_libxcoder_dynamic_loading.h.

◆ PNISTRTOK

typedef char*(LIB_API* PNISTRTOK) (char *s, const char *delim, char **saveptr)

Definition at line 84 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERFRAMEBUFFERLOCK

typedef ni_retcode_t(LIB_API* PNIUPLOADERFRAMEBUFFERLOCK) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)

Definition at line 207 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERFRAMEBUFFERUNLOCK

typedef ni_retcode_t(LIB_API* PNIUPLOADERFRAMEBUFFERUNLOCK) (ni_session_context_t *p_upl_ctx, ni_frame_t *p_frame)

Definition at line 208 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERFRAMEZEROCOPYCHECK

typedef ni_retcode_t(LIB_API* PNIUPLOADERFRAMEZEROCOPYCHECK) (ni_session_context_t *p_upl_ctx, int width, int height, const int linesize[], int pixel_format)

Definition at line 226 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERP2PTESTLOAD

typedef ni_retcode_t(LIB_API* PNIUPLOADERP2PTESTLOAD) (ni_session_context_t *p_upl_ctx, uint8_t *p_data, uint32_t len, ni_frame_t *p_hwframe)

Definition at line 210 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERP2PTESTSEND

typedef ni_retcode_t(LIB_API* PNIUPLOADERP2PTESTSEND) (ni_session_context_t *p_upl_ctx, uint8_t *p_data, uint32_t len, ni_frame_t *p_hwframe)

Definition at line 209 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUPLOADERSETFRAMEFORMAT

typedef ni_retcode_t(LIB_API* PNIUPLOADERSETFRAMEFORMAT) (ni_session_context_t *p_upl_ctx, int width, int height, ni_pix_fmt_t pixel_format, int isP2P)

Definition at line 212 of file ni_libxcoder_dynamic_loading.h.

◆ PNIUSLEEP

typedef void(LIB_API* PNIUSLEEP) (int64_t usec)

Definition at line 83 of file ni_libxcoder_dynamic_loading.h.

Function Documentation

◆ PNIAIERRNOTOSTR()

const typedef char* LIB_API* PNIAIERRNOTOSTR ( int  rc)

◆ PNIGETRCTXT()

const typedef char* LIB_API* PNIGETRCTXT ( ni_retcode_t  rc)