14 #define NI_LOGAN_NAL_VPS_BIT (0x01)
15 #define NI_LOGAN_NAL_SPS_BIT (0x01<<1)
16 #define NI_LOGAN_NAL_PPS_BIT (0x01<<2)
17 #define NI_LOGAN_GENERATE_ALL_NAL_HEADER_BIT (0x01<<3)
135 uint8_t *pkt_data,
int pkt_size,
int pkt_flags,
136 long long pkt_pts,
long long pkt_dts,
137 int avctx_width,
int avctx_height,
138 uint8_t *extradata,
int extradata_size);
NETINT audio/video related utility functions.
@ NI_LOGAN_DECODE_FLUSH_STATUS_FLUSHING
@ NI_LOGAN_DECODE_FLUSH_STATUS_START
@ NI_LOGAN_DECODE_FLUSH_STATUS_OFF
LIB_API int ni_logan_setup_decoder(ni_logan_dec_context_t *ni_dec_ctx)
Initialize init device session_context and init default params including ni_logan_dec_context_t,...
LIB_API void ni_logan_decode_flush_buffers(ni_logan_dec_context_t *ni_dec_ctx)
decoder flush buffers
LIB_API void ni_logan_buf_pool_free(void *opaque, uint8_t *data)
decoder frame buffer pool free, including void*
LIB_API void ni_logan_dec_close(ni_logan_dec_context_t *ni_dec_ctx)
Decode close, including ni_logan_dec_context_t,.
LIB_API int ni_logan_dec_send(ni_logan_dec_context_t *ni_dec_ctx, uint8_t *pkt_data, int pkt_size, int pkt_flags, long long pkt_pts, long long pkt_dts, int avctx_width, int avctx_height, uint8_t *extradata, int extradata_size)
Parse the packet and send the packet to decode device.
LIB_API int ni_logan_dec_is_flushing(ni_logan_dec_context_t *ni_dec_ctx)
Decode is flushing or not, including ni_logan_dec_context_t,.
LIB_API int ni_logan_dec_receive(ni_logan_dec_context_t *ni_dec_ctx, ni_logan_session_data_io_t *p_session_data, int avctx_width, int avctx_height)
Receive decoded data from decoder, including ni_logan_dec_context_t,.
struct _ni_logan_dec_context_t ni_logan_dec_context_t
LIB_API int ni_logan_dec_init(ni_logan_dec_context_t *ni_dec_ctx)
Initialize decode parameters and open decoder device including ni_logan_dec_context_t,...
Common NETINT definitions used by all modules.
Main NETINT device API header file provides the ability to communicate with NI T-408 type hardware tr...
Exported definitions related to resource management of NI T-408 devices.
Exported utility routines definition.
int enable_user_data_sei_passthru
ni_logan_fifo_buffer_t * input_data_fifo
unsigned long long offset
ni_logan_packet_t seq_hdr_pkt