Grok  7.6.3
Classes | Namespaces | Functions | Variables
CodeStream.cpp File Reference
#include "grk_includes.h"

Classes

struct  grk::j2k_prog_order
 

Namespaces

 grk
 Copyright (C) 2016-2021 Grok Image Compression Inc.
 

Functions

static bool grk::j2k_read_header_procedure (CodeStream *codeStream)
 The read header procedure. More...
 
static bool grk::j2k_compress_validation (CodeStream *codeStream)
 The default compressing validation procedure without any extension. More...
 
static bool grk::j2k_decompress_validation (CodeStream *codeStream)
 The default decoding validation procedure without any extension. More...
 
static bool grk::j2k_mct_validation (CodeStream *codeStream)
 The mct compressing validation procedure. More...
 
static bool grk::j2k_update_rates (CodeStream *codeStream)
 Updates the rates of the tcp. More...
 
static bool grk::j2k_copy_default_tcp (CodeStream *codeStream)
 Copies the decoding tile parameters onto all the tile parameters. More...
 
static bool grk::j2k_decompress_tiles (CodeStream *codeStream)
 Read the tiles. More...
 
static bool grk::j2k_get_end_header (CodeStream *codeStream)
 Gets the offset of the header. More...
 
static bool grk::j2k_end_encoding (CodeStream *codeStream)
 Ends the compressing, i.e. More...
 
static bool grk::j2k_init_info (CodeStream *codeStream)
 Inits the Info. More...
 
static bool grk::j2k_check_poc_val (const grk_poc *p_pocs, uint32_t nb_pocs, uint32_t nb_resolutions, uint32_t numcomps, uint32_t numlayers)
 Checks the progression order changes values. More...
 
static uint64_t grk::j2k_get_num_tp (CodingParams *cp, uint32_t pino, uint16_t tileno)
 Gets the number of tile parts used for the given change of progression (if any) and the given tile. More...
 
static bool grk::j2k_calculate_tp (CodingParams *cp, uint16_t *p_nb_tile_parts, grk_image *image)
 Calculates the total number of tile parts needed by the compressor to compress such an image. More...
 
static bool grk::lupDecompose (float *matrix, uint32_t *permutations, float *p_swap_area, uint32_t nb_compo)
 LUP decomposition. More...
 
static void grk::lupSolve (float *pResult, float *pMatrix, float *pVector, uint32_t *pPermutations, uint32_t nb_compo, float *p_intermediate_data)
 LUP solving. More...
 
static void grk::lupInvert (float *pSrcMatrix, float *pDestMatrix, uint32_t nb_compo, uint32_t *pPermutations, float *p_src_temp, float *p_dest_temp, float *p_swap_area)
 LUP inversion (call with the result of lupDecompose) More...
 
static bool grk::matrix_inversion_f (float *pSrcMatrix, float *pDestMatrix, uint32_t n)
 Calculate a n x n double matrix inversion with a LUP method. More...
 
grk_imagegrk::grk_image_create0 (void)
 
bool grk::grk_image_single_component_data_alloc (grk_image_comp *image)
 Allocate data for single image component. More...
 
static void grk::grk_copy_image_header (const grk_image *image_src, grk_image *image_dest)
 Copy only header of image and its component header (no data are copied) if dest image have data, they will be freed. More...
 
static bool grk::update_image_dimensions (grk_image *image, uint32_t reduce)
 
static void grk::transfer_image_data (grk_image *src, grk_image *dest)
 Transfer data from src to dest for each component, and null out src data. More...
 
static bool grk::j2k_decompress_tile (CodeStream *codeStream)
 
Exported functions
bool grk::j2k_init_mct_encoding (TileCodingParams *p_tcp, grk_image *p_image)
 
char * grk::j2k_convert_progression_order (GRK_PROG_ORDER prg_order)
 Converts an enum type progression order to string type. More...
 

Variables

static j2k_prog_order grk::j2k_prog_order_list []
 
static const j2k_mct_function grk::j2k_mct_write_functions_from_float []