![]() |
Jetson Inference
DNN Vision Library
|
Hardware-accelerated H.264/H.265 video decoder for Jetson using GStreamer. More...
#include <gstDecoder.h>
Public Member Functions | |
| gstDecoder * | Create (gstCodec codec, const char *filename) |
| Create an decoder instance that reads from a video file on disk. More... | |
| gstDecoder * | Create (gstCodec codec, uint16_t port) |
| Create an decoder instance that streams over the network. More... | |
| gstDecoder * | Create (gstCodec codec, const char *multicastIP, uint16_t port) |
| Create an decoder instance that streams over the network using multicast. More... | |
| ~gstDecoder () | |
| Destructor. More... | |
Protected Member Functions | |
| gstDecoder () | |
| void | checkMsgBus () |
| void | checkBuffer () |
| bool | buildLaunchStr () |
| bool | init (gstCodec codec, const char *filename, const char *multicastIP, uint16_t port) |
Static Protected Member Functions | |
| static void | onEOS (_GstAppSink *sink, void *user_data) |
| static GstFlowReturn | onPreroll (_GstAppSink *sink, void *user_data) |
| static GstFlowReturn | onBuffer (_GstAppSink *sink, void *user_data) |
Protected Attributes | |
| _GstBus * | mBus |
| _GstAppSink * | mAppSink |
| _GstElement * | mPipeline |
| gstCodec | mCodec |
| std::string | mLaunchStr |
| std::string | mInputPath |
| std::string | mMulticastIP |
| uint16_t | mPort |
Hardware-accelerated H.264/H.265 video decoder for Jetson using GStreamer.
| gstDecoder::~gstDecoder | ( | ) |
Destructor.
|
protected |
|
protected |
|
protected |
|
protected |
| gstDecoder* gstDecoder::Create | ( | gstCodec | codec, |
| const char * | filename | ||
| ) |
Create an decoder instance that reads from a video file on disk.
| gstDecoder* gstDecoder::Create | ( | gstCodec | codec, |
| uint16_t | port | ||
| ) |
Create an decoder instance that streams over the network.
| gstDecoder* gstDecoder::Create | ( | gstCodec | codec, |
| const char * | multicastIP, | ||
| uint16_t | port | ||
| ) |
Create an decoder instance that streams over the network using multicast.
|
protected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |