YARP
Yet Another Robot Platform
H264Decoder.cpp File Reference
#include "H264Decoder.h"
#include "H264LogComponent.h"
#include <yarp/os/LogStream.h>
#include <gst/gst.h>
#include <glib.h>
#include <gst/app/gstappsink.h>
#include <cstdio>
#include <cstring>
#include <mutex>
+ Include dependency graph for H264Decoder.cpp:

Go to the source code of this file.

Classes

struct  data_for_gst_callback
 
class  H264DecoderHelper
 

Macros

#define GET_HELPER(x)   (*((H264DecoderHelper*)(x)))
 

Functions

static gboolean link_videosrc2nextWithCaps (GstElement *e1, GstElement *e2)
 
static gboolean link_convert2next (GstElement *e1, GstElement *e2)
 
GstFlowReturn new_sample (GstAppSink *appsink, gpointer user_data)
 

Macro Definition Documentation

◆ GET_HELPER

#define GET_HELPER (   x)    (*((H264DecoderHelper*)(x)))

Definition at line 446 of file H264Decoder.cpp.

Function Documentation

◆ link_convert2next()

static gboolean link_convert2next ( GstElement *  e1,
GstElement *  e2 
)
static

Definition at line 124 of file H264Decoder.cpp.

◆ link_videosrc2nextWithCaps()

static gboolean link_videosrc2nextWithCaps ( GstElement *  e1,
GstElement *  e2 
)
static

Definition at line 86 of file H264Decoder.cpp.

◆ new_sample()

GstFlowReturn new_sample ( GstAppSink *  appsink,
gpointer  user_data 
)

Definition at line 149 of file H264Decoder.cpp.