#include <FileFormatCompress.h>
◆ FileFormatCompress()
| grk::FileFormatCompress::FileFormatCompress |
( |
BufferedStream * | stream | ) |
|
◆ ~FileFormatCompress()
| grk::FileFormatCompress::~FileFormatCompress |
( |
| ) |
|
|
virtual |
◆ compress()
◆ default_validation()
| bool grk::FileFormatCompress::default_validation |
( |
void | | ) |
|
|
private |
◆ end()
| bool grk::FileFormatCompress::end |
( |
void | | ) |
|
|
private |
◆ find_cf()
| void grk::FileFormatCompress::find_cf |
( |
double | x, |
|
|
uint16_t * | num, |
|
|
uint16_t * | den ) |
|
private |
◆ getColour()
| grk_color * grk::FileFormatCompress::getColour |
( |
void | | ) |
|
|
private |
◆ init()
Implements grk::ICodeStreamCompress.
References grk::FileFormat::approx, grk::FileFormat::bpc, grk::FileFormat::brand, grk::FileFormat::C, grk::FileFormat::capture_resolution, grk::FileFormat::cl, codeStream, grk::FileFormat::comps, grk::FileFormat::display_resolution, grk::FileFormat::enumcs, getColour(), GRK_CBLKSTY_HT_ONLY, GRK_CHANNEL_TYPE_COLOUR, GRK_CLRSPC_CMYK, GRK_CLRSPC_DEFAULT_CIE, GRK_CLRSPC_EYCC, GRK_CLRSPC_GRAY, GRK_CLRSPC_ICC, GRK_CLRSPC_SRGB, GRK_CLRSPC_SYCC, GRK_ENUM_CLRSPC_CIE, GRK_ENUM_CLRSPC_CMYK, GRK_ENUM_CLRSPC_EYCC, GRK_ENUM_CLRSPC_GRAY, GRK_ENUM_CLRSPC_SRGB, GRK_ENUM_CLRSPC_SYCC, GRK_ENUM_CLRSPC_UNKNOWN, grk_image_meta_new(), grk::grk_malloc(), grk_object_ref(), grk::grklog, grk::FileFormat::h, grk::FileFormat::has_capture_resolution, grk::FileFormat::has_display_resolution, inputImage_, grk::FileFormat::IPR, grk::IPTC_UUID, JP2_JP2, JP2_JPH, grk::FileFormat::meth, grk::FileFormat::minversion, grk::MycmsLogErrorHandlerFunction(), grk::FileFormat::numcl, grk::FileFormat::numcomps, grk::FileFormat::numUuids, grk::FileFormat::precedence, grk::FileFormat::UnkC, grk::FileFormat::uuids, grk::FileFormat::w, and grk::XMP_UUID.
◆ init_compressValidation()
| void grk::FileFormatCompress::init_compressValidation |
( |
void | | ) |
|
|
private |
◆ init_end_header_writing()
| void grk::FileFormatCompress::init_end_header_writing |
( |
void | | ) |
|
|
private |
◆ init_header_writing()
| void grk::FileFormatCompress::init_header_writing |
( |
void | | ) |
|
|
private |
◆ skip_jp2c()
| bool grk::FileFormatCompress::skip_jp2c |
( |
void | | ) |
|
|
private |
◆ start()
| bool grk::FileFormatCompress::start |
( |
void | | ) |
|
|
virtual |
◆ write_bpc()
| uint8_t * grk::FileFormatCompress::write_bpc |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_buffer()
| uint8_t * grk::FileFormatCompress::write_buffer |
( |
uint32_t | boxId, |
|
|
grk_buf8 * | buffer, |
|
|
uint32_t * | p_nb_bytes_written ) |
|
private |
◆ write_channel_definition()
| uint8_t * grk::FileFormatCompress::write_channel_definition |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_colr()
| uint8_t * grk::FileFormatCompress::write_colr |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_component_mapping()
| uint8_t * grk::FileFormatCompress::write_component_mapping |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_ftyp()
| bool grk::FileFormatCompress::write_ftyp |
( |
void | | ) |
|
|
private |
◆ write_ihdr()
| uint8_t * grk::FileFormatCompress::write_ihdr |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_jp()
| bool grk::FileFormatCompress::write_jp |
( |
void | | ) |
|
|
private |
◆ write_jp2c()
| bool grk::FileFormatCompress::write_jp2c |
( |
void | | ) |
|
|
private |
◆ write_jp2h()
| bool grk::FileFormatCompress::write_jp2h |
( |
void | | ) |
|
|
private |
References grk::FileFormat::bpc, grk::FileFormat::capture_resolution, codeStream, grk::BoxWriteHandler::data_, grk::FileFormat::display_resolution, getColour(), grk::grk_free(), grk::grklog, grk::BoxWriteHandler::handler, grk::FileFormat::has_capture_resolution, grk::FileFormat::has_display_resolution, inputImage_, JP2_JP2H, write_bpc(), write_channel_definition(), write_colr(), write_component_mapping(), write_ihdr(), write_palette_clr(), write_res(), write_xml(), and grk::FileFormat::xml.
Referenced by init_header_writing().
◆ write_palette_clr()
| uint8_t * grk::FileFormatCompress::write_palette_clr |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_res()
| uint8_t * grk::FileFormatCompress::write_res |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ write_res_box()
| void grk::FileFormatCompress::write_res_box |
( |
double | resx, |
|
|
double | resy, |
|
|
uint32_t | box_id, |
|
|
uint8_t ** | current_res_ptr ) |
|
private |
◆ write_uuids()
| bool grk::FileFormatCompress::write_uuids |
( |
void | | ) |
|
|
private |
◆ write_xml()
| uint8_t * grk::FileFormatCompress::write_xml |
( |
uint32_t * | p_nb_bytes_written | ) |
|
|
private |
◆ codeStream
Referenced by compress(), default_validation(), FileFormatCompress(), init(), skip_jp2c(), start(), write_ftyp(), write_jp(), write_jp2c(), write_jp2h(), write_uuids(), and ~FileFormatCompress().
◆ inputImage_
| GrkImage* grk::FileFormatCompress::inputImage_ |
|
private |
◆ j2k_codestream_offset
| uint64_t grk::FileFormatCompress::j2k_codestream_offset |
|
private |
◆ needs_xl_jp2c_box_length
| bool grk::FileFormatCompress::needs_xl_jp2c_box_length |
|
private |
The documentation for this class was generated from the following files: