Evita  0.16
Public Member Functions | Private Member Functions | Private Attributes | List of all members
evCodecSARL Class Reference

#include <evCodecSARL.h>

Inheritance diagram for evCodecSARL:
Inheritance graph
[legend]
Collaboration diagram for evCodecSARL:
Collaboration graph
[legend]

Public Member Functions

 evCodecSARL (void)
 
virtual ~evCodecSARL (void)
 
virtual const evString GetClassName (void) const
 
virtual int Encode (evBitBuffer &output_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
 
virtual int EncodeHeader (evFile &outfile, evDataset &dataset) const
 
virtual int Decode (evBitBuffer &input_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
 
virtual int DecodeHeader (evFile &infile, evDataset &dataset)
 
- Public Member Functions inherited from evCodecEmbedded
 evCodecEmbedded (void)
 
virtual ~evCodecEmbedded (void)
 
void SetCommandChannel (evChannel *channel)
 
void SetPriorityScheduleFilename (const evString priority_schedule_filename)
 
void GetPriorityScheduleFilename (evString &priority_schedule_filename) const
 
void SetPriorityScheduleChannel (evChannel *channel)
 
void SetController (evMultiProcessController *controller)
 
evMultiProcessControllerGetController (void) const
 
void SetVisualizerComponent (const unsigned int component)
 
void SetBitRate (const double bit_rate)
 
void Abort (void)
 
- Public Member Functions inherited from evCodec
 evCodec (void)
 
virtual ~evCodec (void)
 
unsigned int GetNumComponentsToCode (void) const
 
void SetComponentsToCode (const unsigned int num_components_to_code, const unsigned int *components_to_code=NULL)
 
unsigned int FindComponent (const unsigned int component) const
 
- Public Member Functions inherited from evProcessObject
 evProcessObject (void)
 
virtual ~evProcessObject (void)
 
- Public Member Functions inherited from evObject
 evObject (void)
 
virtual ~evObject (void)
 
void Print (const int tabbing) const
 
void Print (void) const
 
virtual void PrintSelf (const int tabbing) const
 

Private Member Functions

void Initialize (void)
 
void SetupModel (void)
 
int EncodeStart (evBitBuffer &output_buffer, evDataset &dataset, evProgressReporter *progress_reporter=NULL)
 
int EncodeStartROI (evBitBuffer &output_buffer, evROI &roi, evProgressReporter *progress_reporter=NULL)
 
int EncodeStartROIComponent (evBitBuffer &output_buffer, evROI &coefficients, const unsigned int current_component, evProgressReporter *progress_reporter=NULL)
 
int EncodeMask (const evAlphaField &mask, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
 
int EncodeNext (evBitBuffer &output_buffer, const evDataset &dataset, evProgressReporter *progress_reporter=NULL)
 
int EncodeEnd (evBitBuffer &output_buffer, const evDataset &dataset, evProgressReporter *progress_reporter=NULL)
 
int ExtractSigns (evROI &magnitudes)
 
unsigned int SetSign (unsigned int current_sign, const unsigned int vector_component) const
 
unsigned int ClearSign (unsigned int current_sign, const unsigned int vector_component) const
 
unsigned int GetSign (const unsigned int current_sign, const unsigned int vector_component) const
 
unsigned int SetSignificance (const unsigned int map_value) const
 
unsigned int ClearSignificance (const unsigned int map_value) const
 
unsigned int GetSignificance (const unsigned int map_value) const
 
unsigned int SetDifference (const unsigned int map_value) const
 
unsigned int ClearDifference (const unsigned int map_value) const
 
unsigned int GetDifference (const unsigned int map_value) const
 
int EncodeEnhancementLayer (evBitBuffer &output_buffer, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale, const unsigned int current_scale_start, const unsigned int current_scale_length, evProgressReporter *progress_reporter=NULL)
 
int EncodeFinishEnhancementLayer (evBitBuffer &output_buffer, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const unsigned int current_bitplane, const unsigned int current_scale, const double current_priority)
 
int EncodeSignificancePass (const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
 
int EncodeRefinementPass (const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &output_buffer)
 
int OutputRun (const unsigned int runlength, const unsigned int signs, const unsigned int vector_dimension, evBitBuffer &output_buffer) const
 
int OutputSymbol (int symbol, evBitBuffer &output_buffer) const
 
int DecodeStart (evBitBuffer &input_buffer, evDataset &dataset)
 
int DecodeNext (evBitBuffer &input_buffer, evDataset &dataset)
 
int DecodeStartROIComponent (evBitBuffer &input_buffer, const evDataset &dataset, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const evBoundingBox &current_bounding_box)
 
int DecodeMask (evAlphaField &mask, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
 
int DecodeEnhancementLayer (evBitBuffer &input_buffer, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const unsigned int current_bitplane, const unsigned int current_scale)
 
int DecodeSignificancePass (const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
 
int DecodeRefinementPass (const double threshold, evROI *current_magnitudes, const unsigned int current_component, const unsigned int current_scale_start, const unsigned int current_scale_length, evBitBuffer &input_buffer)
 
int InputRun (int &runlength, unsigned int &signs, const unsigned int vector_dimension, evBitBuffer &input_buffer) const
 
int InputSymbol (int &symbol, evBitBuffer &input_buffer) const
 
int ApplySigns (const evROI &magnitudes, evROI &coefficients, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component)
 
int CopyMask (const evROI &magnitudes, evROI &coefficients, const unsigned int current_component)
 
int DecodeReconstruct (evDataset &dataset)
 
int DecodeReconstructROI (const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component)
 
int DeactivateROI (const evPriorityScheduleEntry &entry)
 
int DecodeAuxiliaryFiles (const evDataset &dataset)
 
int ProcessLevelOfDetail (void)
 

Private Attributes

evROIListMagnitudes
 
QccENTArithmeticModel * ArithmeticModel
 
std::vector< std::vector< std::vector< evCodecSARLComponentInfo > > > ComponentInfo
 
evROIListCoefficients
 
double CurrentPriority
 
evROICurrentReconstructed
 

Additional Inherited Members

- Static Public Member Functions inherited from evCodec
static evCodecCreate (const evString &compression_algorithm)
 
- Protected Member Functions inherited from evCodecEmbedded
virtual void SetVisualizerRange (const evDataset &dataset)
 
void GetNumROITiles (const evDataset &dataset)
 
void GetNumROITiles (const evPrioritySchedule &queue)
 
virtual int EncodeUpdatePrioritySchedule (const evBitBuffer &output_buffer, const unsigned int current_roi, const unsigned int current_tile, const unsigned int current_component, const unsigned int current_bitplane, const unsigned int current_scale, const double current_priority)
 
int SetupVisualizer (const evDataset &dataset)
 
int WaitForVisualizer (void) const
 
int SignalVisualizer (evROI *roi) const
 
int ProcessROISelections (void) const
 
int ProcessViewFrustum (const int blocking)
 
int UpdateQueues (void)
 
- Protected Member Functions inherited from evObject
 evObject (const evObject &object)
 
- Protected Attributes inherited from evCodecEmbedded
evChannelCommandChannel
 
evString PriorityScheduleFilename
 
evChannelPriorityScheduleChannel
 
evPriorityScheduleInactiveQueue
 
evPriorityScheduleTransmissionQueue
 
evPriorityScheduleAlreadySentQueue
 
evMultiProcessControllerController
 
double BitRate
 
double * Max
 
double * Min
 
unsigned int NumROIs
 
std::vector< unsigned int > NumTiles
 
int TotalSize
 
std::vector< std::vector< std::vector< evVector > > > Means
 
std::vector< std::vector< evBoundingBox > > BoundingBoxes
 
std::vector< std::vector< double > > GridSpacings
 
std::vector< std::vector< unsigned int > > MaxNumScales
 
int BitstreamLength
 
evROIListReconstructed
 
unsigned int VisualizerComponent
 
evVector ViewFrustum
 
double PixelSize
 
int AbortFlag
 
- Protected Attributes inherited from evCodec
std::vector< unsigned int > ComponentsToCode
 

Constructor & Destructor Documentation

evCodecSARL::evCodecSARL ( void  )
virtual evCodecSARL::~evCodecSARL ( void  )
virtual

Member Function Documentation

int evCodecSARL::ApplySigns ( const evROI magnitudes,
evROI coefficients,
const unsigned int  current_roi,
const unsigned int  current_tile,
const unsigned int  current_component 
)
private
unsigned int evCodecSARL::ClearDifference ( const unsigned int  map_value) const
inlineprivate
unsigned int evCodecSARL::ClearSign ( unsigned int  current_sign,
const unsigned int  vector_component 
) const
inlineprivate
unsigned int evCodecSARL::ClearSignificance ( const unsigned int  map_value) const
inlineprivate
int evCodecSARL::CopyMask ( const evROI magnitudes,
evROI coefficients,
const unsigned int  current_component 
)
private
int evCodecSARL::DeactivateROI ( const evPriorityScheduleEntry entry)
privatevirtual

Implements evCodecEmbedded.

virtual int evCodecSARL::Decode ( evBitBuffer input_buffer,
evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
virtual

Implements evCodec.

int evCodecSARL::DecodeAuxiliaryFiles ( const evDataset dataset)
private
int evCodecSARL::DecodeEnhancementLayer ( evBitBuffer input_buffer,
const unsigned int  current_roi,
const unsigned int  current_tile,
const unsigned int  current_component,
const unsigned int  current_bitplane,
const unsigned int  current_scale 
)
private
virtual int evCodecSARL::DecodeHeader ( evFile infile,
evDataset dataset 
)
virtual

Implements evCodec.

int evCodecSARL::DecodeMask ( evAlphaField mask,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer input_buffer 
)
private
int evCodecSARL::DecodeNext ( evBitBuffer input_buffer,
evDataset dataset 
)
private
int evCodecSARL::DecodeReconstruct ( evDataset dataset)
private
int evCodecSARL::DecodeReconstructROI ( const unsigned int  current_roi,
const unsigned int  current_tile,
const unsigned int  current_component 
)
privatevirtual

Implements evCodecEmbedded.

int evCodecSARL::DecodeRefinementPass ( const double  threshold,
evROI current_magnitudes,
const unsigned int  current_component,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer input_buffer 
)
private
int evCodecSARL::DecodeSignificancePass ( const double  threshold,
evROI current_magnitudes,
const unsigned int  current_component,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer input_buffer 
)
private
int evCodecSARL::DecodeStart ( evBitBuffer input_buffer,
evDataset dataset 
)
private
int evCodecSARL::DecodeStartROIComponent ( evBitBuffer input_buffer,
const evDataset dataset,
const unsigned int  current_roi,
const unsigned int  current_tile,
const unsigned int  current_component,
const evBoundingBox current_bounding_box 
)
private
virtual int evCodecSARL::Encode ( evBitBuffer output_buffer,
evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
virtual

Implements evCodec.

int evCodecSARL::EncodeEnd ( evBitBuffer output_buffer,
const evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::EncodeEnhancementLayer ( evBitBuffer output_buffer,
evROI current_magnitudes,
const unsigned int  current_component,
const unsigned int  current_scale,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::EncodeFinishEnhancementLayer ( evBitBuffer output_buffer,
const unsigned int  current_roi,
const unsigned int  current_tile,
const unsigned int  current_component,
const unsigned int  current_bitplane,
const unsigned int  current_scale,
const double  current_priority 
)
private
virtual int evCodecSARL::EncodeHeader ( evFile outfile,
evDataset dataset 
) const
virtual

Implements evCodec.

int evCodecSARL::EncodeMask ( const evAlphaField mask,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer output_buffer 
)
private
int evCodecSARL::EncodeNext ( evBitBuffer output_buffer,
const evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::EncodeRefinementPass ( const double  threshold,
evROI current_magnitudes,
const unsigned int  current_component,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer output_buffer 
)
private
int evCodecSARL::EncodeSignificancePass ( const double  threshold,
evROI current_magnitudes,
const unsigned int  current_component,
const unsigned int  current_scale_start,
const unsigned int  current_scale_length,
evBitBuffer output_buffer 
)
private
int evCodecSARL::EncodeStart ( evBitBuffer output_buffer,
evDataset dataset,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::EncodeStartROI ( evBitBuffer output_buffer,
evROI roi,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::EncodeStartROIComponent ( evBitBuffer output_buffer,
evROI coefficients,
const unsigned int  current_component,
evProgressReporter progress_reporter = NULL 
)
private
int evCodecSARL::ExtractSigns ( evROI magnitudes)
private
virtual const evString evCodecSARL::GetClassName ( void  ) const
inlinevirtual

Reimplemented from evCodecEmbedded.

unsigned int evCodecSARL::GetDifference ( const unsigned int  map_value) const
inlineprivate
unsigned int evCodecSARL::GetSign ( const unsigned int  current_sign,
const unsigned int  vector_component 
) const
inlineprivate
unsigned int evCodecSARL::GetSignificance ( const unsigned int  map_value) const
inlineprivate
void evCodecSARL::Initialize ( void  )
private
int evCodecSARL::InputRun ( int &  runlength,
unsigned int &  signs,
const unsigned int  vector_dimension,
evBitBuffer input_buffer 
) const
private
int evCodecSARL::InputSymbol ( int &  symbol,
evBitBuffer input_buffer 
) const
private
int evCodecSARL::OutputRun ( const unsigned int  runlength,
const unsigned int  signs,
const unsigned int  vector_dimension,
evBitBuffer output_buffer 
) const
private
int evCodecSARL::OutputSymbol ( int  symbol,
evBitBuffer output_buffer 
) const
private
int evCodecSARL::ProcessLevelOfDetail ( void  )
privatevirtual

Implements evCodecEmbedded.

unsigned int evCodecSARL::SetDifference ( const unsigned int  map_value) const
inlineprivate
unsigned int evCodecSARL::SetSign ( unsigned int  current_sign,
const unsigned int  vector_component 
) const
inlineprivate
unsigned int evCodecSARL::SetSignificance ( const unsigned int  map_value) const
inlineprivate
void evCodecSARL::SetupModel ( void  )
private

Member Data Documentation

QccENTArithmeticModel* evCodecSARL::ArithmeticModel
private
evROIList* evCodecSARL::Coefficients
private
std::vector<std::vector<std::vector<evCodecSARLComponentInfo> > > evCodecSARL::ComponentInfo
private
double evCodecSARL::CurrentPriority
private
evROI* evCodecSARL::CurrentReconstructed
private
evROIList* evCodecSARL::Magnitudes
private

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