Image Component Library (ICL)
Public Member Functions | Private Member Functions | Private Attributes | List of all members
icl::qt::ICLVideoSurface Class Reference

#include <ICLVideoSurface.h>

Inheritance diagram for icl::qt::ICLVideoSurface:

Public Member Functions

 ICLVideoSurface ()
 
 ~ICLVideoSurface ()
 
QList< QVideoFrame::PixelFormat > supportedPixelFormats (QAbstractVideoBuffer::HandleType handleType=QAbstractVideoBuffer::NoHandle) const
 
bool start (const QVideoSurfaceFormat &format)
 
void stop ()
 
bool present (const QVideoFrame &frame)
 
const Img8ugetImage ()
 

Private Member Functions

void init ()
 

Private Attributes

Mutex lock
 
bool newImage
 
core::Img8u img0
 
core::Img8u img1
 
core::Img8u img2
 
core::Img8uimgWork
 
core::Img8uimgDisplay
 
core::Img8uimgNextDisplay
 
volatile bool nextFrameReady
 
QMutex waitMutex
 
QWaitCondition waitCondition
 
QAtomicInt useLocking
 

Constructor & Destructor Documentation

◆ ICLVideoSurface()

icl::qt::ICLVideoSurface::ICLVideoSurface ( )

◆ ~ICLVideoSurface()

icl::qt::ICLVideoSurface::~ICLVideoSurface ( )

Member Function Documentation

◆ getImage()

const Img8u* icl::qt::ICLVideoSurface::getImage ( )

◆ init()

void icl::qt::ICLVideoSurface::init ( )
private

◆ present()

bool icl::qt::ICLVideoSurface::present ( const QVideoFrame &  frame)

◆ start()

bool icl::qt::ICLVideoSurface::start ( const QVideoSurfaceFormat &  format)

◆ stop()

void icl::qt::ICLVideoSurface::stop ( )

◆ supportedPixelFormats()

QList<QVideoFrame::PixelFormat> icl::qt::ICLVideoSurface::supportedPixelFormats ( QAbstractVideoBuffer::HandleType  handleType = QAbstractVideoBuffer::NoHandle) const

Member Data Documentation

◆ img0

core::Img8u icl::qt::ICLVideoSurface::img0
private

◆ img1

core::Img8u icl::qt::ICLVideoSurface::img1
private

◆ img2

core::Img8u icl::qt::ICLVideoSurface::img2
private

◆ imgDisplay

core::Img8u* icl::qt::ICLVideoSurface::imgDisplay
private

◆ imgNextDisplay

core::Img8u* icl::qt::ICLVideoSurface::imgNextDisplay
private

◆ imgWork

core::Img8u* icl::qt::ICLVideoSurface::imgWork
private

◆ lock

Mutex icl::qt::ICLVideoSurface::lock
private

◆ newImage

bool icl::qt::ICLVideoSurface::newImage
private

◆ nextFrameReady

volatile bool icl::qt::ICLVideoSurface::nextFrameReady
private

◆ useLocking

QAtomicInt icl::qt::ICLVideoSurface::useLocking
private

◆ waitCondition

QWaitCondition icl::qt::ICLVideoSurface::waitCondition
private

◆ waitMutex

QMutex icl::qt::ICLVideoSurface::waitMutex
private

The documentation for this class was generated from the following file: