// #ifndef MYCLASS_H // #define MYCLASS_H #include #include #include #include #include "cuda_runtime_api.h" #define GPU_ID 0 class SourceBin { public: typedef struct { gint source_id; GstElement *streammux; struct cudaDeviceProp prop; } StreamData; // Static function declaration static void decodebin_child_added(GstChildProxy *, GObject *, gchar *, gpointer); static void cb_newpad(GstElement *, GstPad *, gpointer, gboolean *); static GstElement *create_nvurisrc_bin(guint, gchar *, GstElement *, cudaDeviceProp prop); private: // Static data member (if needed) // static int staticCounter; }; // #endif // MYCLASS_H