20 lines
499 B
C++
20 lines
499 B
C++
#include <gst/gst.h>
|
|
|
|
#include <fstream>
|
|
#include <iostream>
|
|
|
|
#include "gstnvdsmeta.h"
|
|
|
|
class NvOsdManager {
|
|
private:
|
|
public:
|
|
GstElement *nvosd = NULL;
|
|
NvOsdManager();
|
|
bool create_nv_osd();
|
|
~NvOsdManager();
|
|
static gint frame_number;
|
|
void attach_probe_to_element();
|
|
static GstPadProbeReturn osd_src_pad_buffer_probe(GstPad *,
|
|
GstPadProbeInfo *,
|
|
gpointer);
|
|
}; |