25class FileFormatCompress :
public FileFormat,
public ICodeStreamCompress
28 FileFormatCompress(BufferedStream*
stream);
29 virtual ~FileFormatCompress();
38 void find_cf(
double x, uint16_t* num, uint16_t* den);
39 void write_res_box(
double resx,
double resy, uint32_t box_id, uint8_t** current_res_ptr);
40 uint8_t* write_res(uint32_t* p_nb_bytes_written);
41 uint8_t* write_bpc(uint32_t* p_nb_bytes_written);
42 uint8_t* write_colr(uint32_t* p_nb_bytes_written);
43 uint8_t* write_component_mapping(uint32_t* p_nb_bytes_written);
44 uint8_t* write_palette_clr(uint32_t* p_nb_bytes_written);
45 uint8_t* write_channel_definition(uint32_t* p_nb_bytes_written);
46 bool write_jp2h(
void);
47 uint8_t* write_ihdr(uint32_t* p_nb_bytes_written);
48 uint8_t* write_buffer(uint32_t boxId, grk_buf8*
buffer, uint32_t* p_nb_bytes_written);
49 bool write_uuids(
void);
50 bool write_ftyp(
void);
51 bool write_jp2c(
void);
53 bool default_validation(
void);
54 void init_header_writing();
55 void init_end_header_writing(
void);
56 void init_compressValidation(
void);
57 uint8_t* write_xml(uint32_t* p_nb_bytes_written);
BufferedStream * stream
Definition BitIO.h:88
uint32_t x
Definition BlockExec.h:38
uint8_t * buffer
packet header storage original buffer
Definition PPMMarker.h:64
uint8_t * start
pointer to the start of the buffer
Definition mqc.h:56
uint8_t * end
pointer to the end of the buffer
Definition mqc.h:58
Copyright (C) 2016-2023 Grok Image Compression Inc.
Definition ICacheable.h:20
grk_plugin_tile * tile
Definition plugin_interface.h:64
ICC profile, palette, channel definition.
Definition grok.h:319
Compress parameters.
Definition grok.h:912
Plugin tile.
Definition grok.h:739