#include <interfaces.h>
Public Member Functions | |
virtual int | createJobs (const PlaneList &planes)=0 |
Creates jobs from the list of color planes, returns job count. | |
virtual int | jobCount ()=0 |
Returns the number of jobs. | |
virtual void | jobEncode (int jobIndex)=0 |
Starts encoding a job - thread-safe (for different jobs). | |
virtual void | jobDecodeAct (int jobIndex, DecodeAct action, int count=1)=0 |
Performs a decoding action for a job - thread-safe (for different jobs). | |
virtual void | writeSettings (std::ostream &file)=0 |
Writes all settings (shared by all jobs) needed for later reconstruction. | |
virtual void | readSettings (std::istream &file)=0 |
Reads settings (shared by all jobs) needed for reconstruction from a stream - needs to be done before the job creation. | |
virtual int | phaseCount ()=0 |
Returns the number of phases (progressive encoding), only depends on settings. | |
virtual void | writeJobs (std::ostream &file, int phaseBegin, int phaseEnd)=0 |
Writes any data needed for reconstruction of every job, phase parameters determine the range of saved phases. | |
virtual void | readJobs (std::istream &file, int phaseBegin, int phaseEnd)=0 |
Reads all data needed for reconstruction of every job and prepares for encoding, parameters like writeJobs. | |
void | writeJobs (std::ostream &file, int phaseBegin=0) |
Shortcut - default parameters "phaseBegin=0,phaseEnd=phaseCount()". | |
void | readJobs (std::istream &file, int phaseBegin=0) |
Shortcut - default parameters "phaseBegin=0,phaseEnd=phaseCount()". |
Definition at line 160 of file interfaces.h.