|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVIMAGE_DEC_H__
19 #define __GST_NVIMAGE_DEC_H__
22 #include <gst/video/video.h>
28 #define GST_TYPE_NVIMAGE_DEC \
29 (gst_nvimage_dec_get_type())
30 #define GST_NVIMAGE_DEC(obj) \
31 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVIMAGE_DEC,GstNvImageDec))
32 #define GST_NVIMAGE_DEC_CLASS(klass) \
33 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVIMAGE_DEC,GstNvImageDecClass))
34 #define GST_IS_NVIMAGE_DEC(obj) \
35 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVIMAGE_DEC))
36 #define GST_IS_NVIMAGE_DEC_CLASS(obj) \
37 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVIMAGE_DEC))
42 #define START_MEASUREMENT \
44 gettimeofday (&start, NULL);
45 #define STOP_MEASUREMENT \
46 gettimeofday (&end, NULL); \
47 long seconds = end.tv_sec - start.tv_sec; \
48 long microseconds = end.tv_usec - start.tv_usec; \
49 long totalTimeMicro = seconds * 1000000 + microseconds;
59 nvjpegOutputFormat_t
fmt;
GstVideoCodecState * output_state
GstVideoCodecState * input_state
nvjpegHandle_t nvjpeg_handle
nvjpegJpegState_t nvjpeg_state
nvjpegJpegStream_t nvjpeg_stream
GstVideoDecoderClass parent_class
struct decode_params_t_ decode_params_t
GType gst_nvimage_dec_get_type(void)