eq::plugin::Compressor Class Reference

Inheritance diagram for eq::plugin::Compressor:
Inheritance graph
[legend]
Collaboration diagram for eq::plugin::Compressor:
Collaboration graph
[legend]

List of all members.

Classes

struct  Functions

Public Types

typedef void(* CompressorGetInfo_t )(EqCompressorInfo *const )
typedef void *(* NewCompressor_t )()
typedef void(* Decompress_t )(const void *const *, const eq_uint64_t *const, const unsigned, void *const, const eq_uint64_t, const bool)
typedef eq::base::Bufferb Result
typedef std::vector< Result * > ResultVector

Public Member Functions

 Compressor ()
 Construct a new compressor.
virtual void compress (const void *const inData, const eq_uint64_t nPixels, const bool useAlpha)=0
 compress Data.
const ResultVector & getResults () const
unsigned getNResults () const

Protected Attributes

ResultVector _results
 The compressed data.
unsigned _nResults
 Number of elements used in _results.

Detailed Description

Definition at line 39 of file compressor/compressor.h.


Member Function Documentation

virtual void eq::plugin::Compressor::compress ( const void *const   inData,
const eq_uint64_t  nPixels,
const bool  useAlpha 
) [pure virtual]

compress Data.

Parameters:
inData data to compress.
nPixels number data to compress.
useAlpha use alpha channel in compression.

Implemented in eq::plugin::CompressorRLE4B, eq::plugin::CompressorDiffRLE4B, eq::plugin::CompressorRLE4BU, and eq::plugin::CompressorRLE4HF.

Referenced by EqCompressorCompress().

Here is the caller graph for this function:

const ResultVector& eq::plugin::Compressor::getResults (  )  const [inline]
Returns:
the vector containing the result data.

Definition at line 82 of file compressor/compressor.h.

References _results.

Referenced by EqCompressorGetResult().

Here is the caller graph for this function:

unsigned eq::plugin::Compressor::getNResults (  )  const [inline]
Returns:
the number of result items produced.

Definition at line 85 of file compressor/compressor.h.

References _nResults.

Referenced by EqCompressorGetNumResults().

Here is the caller graph for this function:


The documentation for this class was generated from the following files:
Generated on Sat Feb 6 13:11:59 2010 for Equalizer 0.9.1 by  doxygen 1.6.1