Jetson Inference
DNN Vision Library
gstUtility.h File Reference
#include <gst/gst.h>
#include <sstream>
#include "videoOptions.h"
#include "NvInfer.h"

Go to the source code of this file.

Macros

#define LOG_GSTREAMER   "[gstreamer] "
 LOG_GSTREAMER logging prefix. More...
 

Functions

bool gstreamerInit ()
 gstreamerInit More...
 
gboolean gst_message_print (_GstBus *bus, _GstMessage *message, void *user_data)
 gst_message_print More...
 
videoOptions::Codec gst_parse_codec (GstStructure *caps)
 gst_parse_codec More...
 
imageFormat gst_parse_format (GstStructure *caps)
 gst_parse_format More...
 
const char * gst_codec_to_string (videoOptions::Codec codec)
 gst_codec_to_string More...
 
const char * gst_format_to_string (imageFormat format)
 gst_format_to_string More...
 
bool gst_build_filesink (const URI &uri, videoOptions::Codec codec, std::ostringstream &pipeline)
 gst_build_filesink More...
 
const char * gst_select_decoder (videoOptions::Codec codec, videoOptions::CodecType &type)
 gst_select_decoder More...
 
const char * gst_select_encoder (videoOptions::Codec codec, videoOptions::CodecType &type)
 gst_select_decoder More...
 
videoOptions::CodecType gst_default_codec ()
 gst_default_codec More...
 

Function Documentation

◆ gst_build_filesink()

bool gst_build_filesink ( const URI uri,
videoOptions::Codec  codec,
std::ostringstream &  pipeline 
)

gst_build_filesink

◆ gst_codec_to_string()

const char* gst_codec_to_string ( videoOptions::Codec  codec)

gst_codec_to_string

◆ gst_default_codec()

videoOptions::CodecType gst_default_codec ( )

gst_default_codec

◆ gst_format_to_string()

const char* gst_format_to_string ( imageFormat  format)

gst_format_to_string

◆ gst_message_print()

gboolean gst_message_print ( _GstBus *  bus,
_GstMessage *  message,
void *  user_data 
)

gst_message_print

◆ gst_parse_codec()

videoOptions::Codec gst_parse_codec ( GstStructure *  caps)

gst_parse_codec

◆ gst_parse_format()

imageFormat gst_parse_format ( GstStructure *  caps)

gst_parse_format

◆ gst_select_decoder()

const char* gst_select_decoder ( videoOptions::Codec  codec,
videoOptions::CodecType type 
)

gst_select_decoder

◆ gst_select_encoder()

const char* gst_select_encoder ( videoOptions::Codec  codec,
videoOptions::CodecType type 
)

gst_select_decoder

◆ gstreamerInit()

bool gstreamerInit ( )

gstreamerInit