Skip to content

Class ILLIXR::video_decoder

ClassList > ILLIXR > video_decoder

  • #include <video_decoder.hpp>

Inherited by the following classes: ILLIXR::ada_video_decoder, ILLIXR::vio_video_decoder

Public Functions

Type Name
GstFlowReturn cb_appsink (GstElement * sink)
virtual void enqueue (std::string & img0, std::string & img1) = 0
void init ()
video_decoder (DecodeCallback callback)

Protected Attributes

Type Name
GstElement * appsink_img0_ = {}
GstElement * appsink_img1_ = {}
GstElement * appsrc_img0_ = {}
GstElement * appsrc_img1_ = {}
DecodeCallback callback_
GstMapInfo img0_map_ = {}
bool img0_ready_ = [**false**](namespaceILLIXR.md#function-normalize)
GstMapInfo img1_map_ = {}
bool img1_ready_ = [**false**](namespaceILLIXR.md#function-normalize)
GstElement * pipeline_img0_ = {}
GstElement * pipeline_img1_ = {}
std::condition_variable pipeline_sync_
std::mutex pipeline_sync_mutex_

Protected Functions

Type Name
void create_pipelines ()

Public Functions Documentation

function cb_appsink

GstFlowReturn ILLIXR::video_decoder::cb_appsink (
    GstElement * sink
) 

function enqueue

virtual void ILLIXR::video_decoder::enqueue (
    std::string & img0,
    std::string & img1
) = 0

function init

inline void ILLIXR::video_decoder::init () 

function video_decoder

inline explicit ILLIXR::video_decoder::video_decoder (
    DecodeCallback callback
) 

Protected Attributes Documentation

variable appsink_img0_

GstElement* ILLIXR::video_decoder::appsink_img0_;

variable appsink_img1_

GstElement* ILLIXR::video_decoder::appsink_img1_;

variable appsrc_img0_

GstElement* ILLIXR::video_decoder::appsrc_img0_;

variable appsrc_img1_

GstElement* ILLIXR::video_decoder::appsrc_img1_;

variable callback_

DecodeCallback ILLIXR::video_decoder::callback_;

variable img0_map_

GstMapInfo ILLIXR::video_decoder::img0_map_;

variable img0_ready_

bool ILLIXR::video_decoder::img0_ready_;

variable img1_map_

GstMapInfo ILLIXR::video_decoder::img1_map_;

variable img1_ready_

bool ILLIXR::video_decoder::img1_ready_;

variable pipeline_img0_

GstElement* ILLIXR::video_decoder::pipeline_img0_;

variable pipeline_img1_

GstElement* ILLIXR::video_decoder::pipeline_img1_;

variable pipeline_sync_

std::condition_variable ILLIXR::video_decoder::pipeline_sync_;

variable pipeline_sync_mutex_

std::mutex ILLIXR::video_decoder::pipeline_sync_mutex_;

Protected Functions Documentation

function create_pipelines

void ILLIXR::video_decoder::create_pipelines () 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR/illixr_release/ILLIXR/include/illixr/video_decoder.hpp