VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Friends
makVrv::DtCompressFrameTaskElement Class Reference

A DtCompressFrameTaskElement instance will create a pipeline element that can compress the image being stream by a variety of formats using the FreeImage package. More...

Inheritance diagram for makVrv::DtCompressFrameTaskElement:
Inheritance graph
[legend]

Public Member Functions

virtual ~DtCompressFrameTaskElement ()
 DTOR.
virtual void setQuality (int quality)
 Set the compression quality (0-100)
virtual int quality () const
 Get the compression quality.
virtual void setCompressionStyle (DtVideoFrameBuffer::DataFormat format)
 Set the type of compression to do.
virtual
DtVideoFrameBuffer::DataFormat 
compressionStyle () const
 Get the type of compression specified.
void setFromRecord (const makArchives::DtImageTaskRecord &config)
 Initialize the compress image task element from a task record.
- Public Member Functions inherited from makVrv::DtImageTaskElement
virtual ~DtImageTaskElement ()
 DTOR.
virtual bool configure ()
 Initialize the image task using values set by mutators and / or initFromRecord().
void preFrame ()
 Thread of execution before each frame's processing.
void processFrame (DtVideoFrameBuffer *frame)
 Process the image.
void postFrame ()
 Thread of execution after each frame's processing.
virtual void attach (DtImageTaskElement *next)
 Place another Image Task element after this one.

Protected Member Functions

 DtCompressFrameTaskElement (DtDe &de, DtProcessImageTask *owningTask)
 CTOR (protected)
void handleProcessFrame (DtVideoFrameBuffer *frame)
 Do the actual work each frame.
- Protected Member Functions inherited from makVrv::DtImageTaskElement
 DtImageTaskElement (DtDe &de, DtProcessImageTask *owningTask)
 CTOR.
virtual void handlePreFrame ()
 No-op in base class.
virtual void handlePostFrame ()
 No-op in base class.

Protected Attributes

DtVideoFrameBuffer::DataFormat myCompressionStyle
int myQuality
- Protected Attributes inherited from makVrv::DtImageTaskElement
DtDemyDe
 DtDe.
DtProcessImageTaskmyOwningTask
DtImageTaskElementmyNextElement
 Next task element to process.

Private Member Functions

 DtCompressFrameTaskElement ()
 DtCompressFrameTaskElement (const DtCompressFrameTaskElement &rhs)
DtCompressFrameTaskElementoperator= (const DtCompressFrameTaskElement &orig)

Friends

class DtCompressFrameTaskElementCreator
 Friend creator class, the only class that can construct an instance of this DtCompressFrameTaskElement.

Detailed Description

A DtCompressFrameTaskElement instance will create a pipeline element that can compress the image being stream by a variety of formats using the FreeImage package.

Constructor & Destructor Documentation

virtual makVrv::DtCompressFrameTaskElement::~DtCompressFrameTaskElement ( )
virtual

DTOR.

makVrv::DtCompressFrameTaskElement::DtCompressFrameTaskElement ( DtDe de,
DtProcessImageTask owningTask 
)
protected

CTOR (protected)

makVrv::DtCompressFrameTaskElement::DtCompressFrameTaskElement ( )
private
makVrv::DtCompressFrameTaskElement::DtCompressFrameTaskElement ( const DtCompressFrameTaskElement rhs)
private

Member Function Documentation

virtual void makVrv::DtCompressFrameTaskElement::setQuality ( int  quality)
virtual

Set the compression quality (0-100)

virtual int makVrv::DtCompressFrameTaskElement::quality ( ) const
virtual

Get the compression quality.

virtual void makVrv::DtCompressFrameTaskElement::setCompressionStyle ( DtVideoFrameBuffer::DataFormat  format)
virtual

Set the type of compression to do.

virtual DtVideoFrameBuffer::DataFormat makVrv::DtCompressFrameTaskElement::compressionStyle ( ) const
virtual

Get the type of compression specified.

void makVrv::DtCompressFrameTaskElement::setFromRecord ( const makArchives::DtImageTaskRecord config)
virtual

Initialize the compress image task element from a task record.

Reimplemented from makVrv::DtImageTaskElement.

void makVrv::DtCompressFrameTaskElement::handleProcessFrame ( DtVideoFrameBuffer frame)
protectedvirtual

Do the actual work each frame.

Implements makVrv::DtImageTaskElement.

DtCompressFrameTaskElement& makVrv::DtCompressFrameTaskElement::operator= ( const DtCompressFrameTaskElement orig)
private

Friends And Related Function Documentation

friend class DtCompressFrameTaskElementCreator
friend

Friend creator class, the only class that can construct an instance of this DtCompressFrameTaskElement.

Member Data Documentation

DtVideoFrameBuffer::DataFormat makVrv::DtCompressFrameTaskElement::myCompressionStyle
protected
int makVrv::DtCompressFrameTaskElement::myQuality
protected

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)