100 uint16_t numComps, uint32_t is_signed);
111 uint16_t pNbComp, uint32_t isSigned);
121 void genShift(uint16_t compno, int32_t sign, std::vector<ShiftInfo>& shiftInfo);
122 void genShift(int32_t sign, std::vector<ShiftInfo>& shiftInfo);
A collection of tasks which can be scheduled as a single task.
Definition FlowComponent.h:28
Stores header and data for an image.
Definition GrkImage.h:54
void compress_irrev(FlowComponent *flow, bool applyDcShift=false)
Apply an irreversible multi-component transform to an image.
Mct(Tile *tile, GrkImage *image, TileCodingParams *tcp)
Tile * tile_
Definition mct.h:124
void genShift(uint16_t compno, int32_t sign, std::vector< ShiftInfo > &shiftInfo)
void schedule_decompress_dc_shift_rev(FlowComponent *flow, uint16_t compno)
Apply a reversible inverse dc shift to an image.
void schedule_decompress_dc_shift_irrev(FlowComponent *flow, uint16_t compno)
Apply an irreversible inverse dc shift to an image.
static bool schedule_decompress_custom(uint8_t *pDecodingData, uint64_t n, uint8_t **pData, uint16_t pNbComp, uint32_t isSigned)
Custom MCT decode.
static void calculate_norms(double *pNorms, uint16_t nb_comps, float *pMatrix)
Calculate norm of MCT transform.
static const double * get_norms_rev(void)
Get wavelet norms for reversible transform.
void schedule_decompress_rev(FlowComponent *flow, bool applyDcShift=false)
Apply a reversible multi-component inverse transform to an image.
TileCodingParams * tcp_
Definition mct.h:126
GrkImage * image_
Definition mct.h:125
void genShift(int32_t sign, std::vector< ShiftInfo > &shiftInfo)
static const double * get_norms_irrev(void)
Get wavelet norms for irreversible transform.
void schedule_decompress_irrev(FlowComponent *flow, bool applyDcShift=false)
Apply an irreversible multi-component inverse transform to an image.
void compress_rev(FlowComponent *flow, bool applyDcShift=false)
Apply a reversible multi-component transform to an image.
static bool compress_custom(uint8_t *p_coding_data, uint64_t n, uint8_t **p_data, uint16_t numComps, uint32_t is_signed)
Custom MCT transform.
ResWindow.
Definition CompressedChunkCache.h:36
const double shift
Definition RateControl.cpp:169
uint32_t linesPerTask_
Definition mct.h:42
uint16_t compno
Definition mct.h:39
ScheduleInfo(Tile *t, FlowComponent *flow, uint32_t linesPerTask)
Definition mct.h:35
uint32_t yBegin
Definition mct.h:43
Tile * tile
Definition mct.h:38
FlowComponent * flow_
Definition mct.h:41
std::vector< ShiftInfo > shiftInfo
Definition mct.h:40
uint32_t yEnd
Definition mct.h:44
int32_t _shift
Definition mct.h:30
ShiftInfo(int32_t mn, int32_t mx, int32_t shift)
Definition mct.h:26
int32_t _min
Definition mct.h:28
ShiftInfo()
Definition mct.h:27
int32_t _max
Definition mct.h:29
Tile coding parameters : this structure is used to store coding/decoding parameters common to all til...
Definition CodingParams.h:124