|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
12 #ifndef __GST_NVIMAGE_DEC_H__
13 #define __GST_NVIMAGE_DEC_H__
16 #include <gst/video/video.h>
22 #define GST_TYPE_NVIMAGE_DEC \
23 (gst_nvimage_dec_get_type())
24 #define GST_NVIMAGE_DEC(obj) \
25 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVIMAGE_DEC,GstNvImageDec))
26 #define GST_NVIMAGE_DEC_CLASS(klass) \
27 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVIMAGE_DEC,GstNvImageDecClass))
28 #define GST_IS_NVIMAGE_DEC(obj) \
29 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVIMAGE_DEC))
30 #define GST_IS_NVIMAGE_DEC_CLASS(obj) \
31 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVIMAGE_DEC))
36 #define START_MEASUREMENT \
38 gettimeofday (&start, NULL);
39 #define STOP_MEASUREMENT \
40 gettimeofday (&end, NULL); \
41 long seconds = end.tv_sec - start.tv_sec; \
42 long microseconds = end.tv_usec - start.tv_usec; \
43 long totalTimeMicro = seconds * 1000000 + microseconds;
53 nvjpegOutputFormat_t
fmt;
nvjpegHandle_t nvjpeg_handle
GstVideoCodecState * input_state
nvjpegJpegState_t nvjpeg_state
GType gst_nvimage_dec_get_type(void)
nvjpegJpegStream_t nvjpeg_stream
struct decode_params_t_ decode_params_t
GstVideoDecoderClass parent_class
GstVideoCodecState * output_state