|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
13 #ifndef _GST_NVDSUDP_COMMON_H_
14 #define _GST_NVDSUDP_COMMON_H_
19 #include <cuda_runtime.h>
21 #define CHECK_CUDA(err, err_str) \
23 if ((err) != cudaSuccess) { \
24 GST_WARNING (err_str ", cuda err: %s", cudaGetErrorName (err)); \
29 #define INVALID_STREAM_ID ((rmax_stream_id)-1L)
30 #define MAX_ST2022_7_STREAMS 2
32 #define round_up(num, round) \
33 ((((num) + (round) - 1) / (round)) * (round))
61 #define LEAP_SECONDS (37)
62 #define DEFAULT_PTP_SRC NULL
@ AUDIO_2110_30_31_STREAM
void * gpu_allocate_memory(int gpuId, size_t size, size_t align)
GType gst_rtp_timestamp_meta_api_get_type(void)
size_t gpu_aligned_size(int gpuId, size_t allocSize)
GInetAddress * gst_udp_resolve_name(gpointer obj, const gchar *address)
const GstMetaInfo * gst_rtp_timestamp_meta_get_info(void)
@ ANCILLARY_2110_40_STREAM
gboolean gst_udp_parse_uri(const gchar *uristr, gchar **host, guint16 *port)
GstRTPTimestampMeta * gst_buffer_get_rtp_timestamp_meta(GstBuffer *buffer)
@ APPLICATION_CUSTOM_STREAM
struct _GstBuffer GstBuffer
gboolean cudaFreeMmap(uint64_t *ptr, size_t size)
GstRTPTimestampMeta * gst_buffer_add_rtp_timestamp_meta(GstBuffer *buffer, guint32 timestamp)