Grok 13.0.2
|
#include <GrkImage.h>
Public Member Functions | |
GrkImage () | |
bool | subsampleAndReduce (uint32_t reduce) |
bool | allocCompositeData (void) |
Allocate data for tile compositing. | |
void | copyHeader (GrkImage *dest) |
Copy only header of image and its component header (no data are copied) if dest image have data, they will be freed. | |
void | transferDataTo (GrkImage *dest) |
Transfer data to dest for each component, and null out "this" data. | |
void | transferDataFrom (const Tile *tile_src_data) |
GrkImage * | duplicate (const Tile *tile_src) |
Create new image and transfer tile buffer data. | |
bool | composite (const GrkImage *src) |
bool | compositeInterleaved (const GrkImage *src) |
Interleave image data and copy to interleaved composite image. | |
bool | compositeInterleaved (const Tile *src, uint32_t yBegin, uint32_t yEnd) |
Interleave strip of tile data and copy to interleaved composite image. | |
bool | greyToRGB (void) |
bool | convertToRGB (bool wholeTileDecompress) |
bool | applyColourManagement (void) |
Convert to sRGB. | |
bool | applyICC (void) |
bool | validateICC (void) |
void | convertPrecision (void) |
bool | execUpsample (void) |
void | all_components_data_free (void) |
void | postReadHeader (CodingParams *cp) |
void | validateColourSpace (void) |
bool | isSubsampled () |
bool | validateZeroed (void) |
bool | applyColour (void) |
bool | apply_palette_clr (void) |
bool | check_color (void) |
void | apply_channel_definition (void) |
void | allocPalette (uint8_t num_channels, uint16_t num_entries) |
uint32_t | width (void) const |
uint32_t | height (void) const |
void | print (void) const |
bool | componentsEqual (bool checkPrecision) |
bool | componentsEqual (uint16_t firstNComponents, bool checkPrecision) |
Static Public Member Functions | |
static GrkImage * | create (grk_image *src, uint16_t numcmpts, grk_image_comp *cmptparms, GRK_COLOR_SPACE clrspc, bool doAllocation) |
Create image. | |
static bool | allocData (grk_image_comp *imageComp, bool clear) |
Allocate data for single image component. | |
static bool | allocData (grk_image_comp *imageComp) |
Allocate data for single image component. | |
Private Member Functions | |
~GrkImage () | |
std::string | getColourSpaceString (void) |
std::string | getICCColourSpaceString (cmsColorSpaceSignature color_space) |
bool | isValidICCColourSpace (uint32_t signature) |
bool | needsConversionToRGB (void) |
bool | isOpacity (uint16_t compno) |
bool | compositePlanar (const GrkImage *srcImg) |
Copy planar image data to planar composite image. | |
bool | generateCompositeBounds (const grk_image_comp *srcComp, uint16_t destCompno, grk_rect32 *destWin) |
bool | generateCompositeBounds (grk_rect32 src, uint16_t destCompno, grk_rect32 *destWin) |
bool | allComponentsSanityCheck (bool equalPrecision) |
return false if : | |
grk_image * | createRGB (uint16_t numcmpts, uint32_t w, uint32_t h, uint8_t prec) |
void | sycc_to_rgb (int32_t offset, int32_t upb, int32_t y, int32_t cb, int32_t cr, int32_t *out_r, int32_t *out_g, int32_t *out_b) |
bool | sycc444_to_rgb (void) |
bool | sycc422_to_rgb (bool oddFirstX) |
bool | sycc420_to_rgb (bool oddFirstX, bool oddFirstY) |
bool | color_sycc_to_rgb (bool oddFirstX, bool oddFirstY) |
bool | color_cmyk_to_rgb (void) |
bool | color_esycc_to_rgb (void) |
bool | cieLabToRGB (void) |
bool | componentsEqual (grk_image_comp *src, grk_image_comp *dest, bool checkPrecision) |
void | scaleComponent (grk_image_comp *component, uint8_t precision) |
Static Private Member Functions | |
static void | single_component_data_free (grk_image_comp *comp) |
static void | copyComponent (grk_image_comp *src, grk_image_comp *dest) |
Private Attributes | |
friend | GrkObjectWrapperImpl< GrkImage > |
Additional Inherited Members | |
![]() | |
grk_object | obj |
uint32_t | x0 |
XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area. | |
uint32_t | y0 |
YOsiz: vertical offset from the origin of the reference grid to the top side of the image area. | |
uint32_t | x1 |
Xsiz: width of the reference grid. | |
uint32_t | y1 |
Ysiz: height of the reference grid. | |
uint16_t | numcomps |
number of components in the image | |
GRK_COLOR_SPACE | color_space |
bool | palette_applied_ |
bool | channel_definition_applied_ |
bool | has_capture_resolution |
double | capture_resolution [2] |
bool | has_display_resolution |
double | display_resolution [2] |
GRK_SUPPORTED_FILE_FMT | decompress_fmt |
bool | force_rgb |
bool | upsample |
grk_precision * | precision |
uint32_t | num_precision |
bool | has_multiple_tiles |
bool | split_by_component |
uint16_t | decompress_num_comps |
uint32_t | decompress_width |
uint32_t | decompress_height |
uint8_t | decompress_prec |
GRK_COLOR_SPACE | decompress_colour_space |
grk_io_buf | interleaved_data |
uint32_t | rows_per_strip |
uint32_t | rows_per_task |
uint64_t | packed_row_bytes |
grk_image_meta * | meta |
grk_image_comp * | comps |
grk::GrkImage::GrkImage | ( | ) |
References _grk_image::obj, _grk_image::rows_per_task, grk::singleTileRowsPerStrip, and _grk_object::wrapper.
Referenced by create(), and duplicate().
|
private |
void grk::GrkImage::all_components_data_free | ( | void | ) |
References _grk_image::comps, _grk_image::numcomps, and single_component_data_free().
Referenced by copyHeader(), execUpsample(), greyToRGB(), sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), and ~GrkImage().
|
private |
return false if :
References _grk_image::comps, grk::Logger::error(), GRK_MAX_SUPPORTED_IMAGE_PRECISION, grk::Logger::logger_, _grk_image::numcomps, and grk::Logger::warn().
Referenced by applyICC(), cieLabToRGB(), color_cmyk_to_rgb(), and color_esycc_to_rgb().
bool grk::GrkImage::allocCompositeData | ( | void | ) |
Allocate data for tile compositing.
References allocData(), _grk_image::comps, grk::Logger::error(), _grk_image::has_multiple_tiles, grk::Logger::logger_, and _grk_image::numcomps.
Referenced by grk::CodeStreamDecompress::createOutputImage().
|
static |
Allocate data for single image component.
imageComp | image component |
References allocData().
|
static |
Allocate data for single image component.
imageComp | image component |
clear | clear image buffer after allocation |
References _grk_image_comp::data, grk::Logger::error(), grk::grk_aligned_malloc(), grk::grk_make_aligned_width(), _grk_image_comp::h, grk::Logger::logger_, single_component_data_free(), _grk_image_comp::stride, and _grk_image_comp::w.
Referenced by allocCompositeData(), allocData(), apply_palette_clr(), applyICC(), create(), execUpsample(), and greyToRGB().
void grk::GrkImage::allocPalette | ( | uint8_t | num_channels, |
uint16_t | num_entries ) |
References _grk_image::meta.
Referenced by grk::FileFormatDecompress::read_palette_clr().
void grk::GrkImage::apply_channel_definition | ( | void | ) |
References _grk_color::channel_definition, _grk_image::channel_definition_applied_, _grk_image_meta::color, _grk_image::comps, _grk_channel_definition::descriptions, GRK_CHANNEL_ASSOC_WHOLE_IMAGE, GRK_CHANNEL_TYPE_COLOUR, grk::Logger::logger_, _grk_image::meta, _grk_channel_definition::num_channel_descriptions, _grk_image::numcomps, _grk_image_comp::type, and grk::Logger::warn().
Referenced by applyColour().
bool grk::GrkImage::apply_palette_clr | ( | void | ) |
References allocData(), _grk_palette_data::channel_prec, _grk_image_meta::color, _grk_image::comps, grk::Logger::error(), grk::grk_aligned_free(), grk::Logger::logger_, _grk_image::meta, _grk_image::numcomps, _grk_color::palette, _grk_image::palette_applied_, and single_component_data_free().
Referenced by applyColour().
bool grk::GrkImage::applyColour | ( | void | ) |
bool grk::GrkImage::applyColourManagement | ( | void | ) |
Convert to sRGB.
References applyICC(), cieLabToRGB(), _grk_image_meta::color, _grk_image::color_space, _grk_image::decompress_fmt, grk::Logger::error(), _grk_image::force_rgb, GRK_CLRSPC_CUSTOM_CIE, GRK_CLRSPC_DEFAULT_CIE, GRK_FMT_BMP, GRK_FMT_JPG, GRK_FMT_PNG, GRK_FMT_TIF, GRK_FMT_UNK, _grk_color::icc_profile_buf, grk::Logger::logger_, _grk_image::meta, validateICC(), and grk::Logger::warn().
bool grk::GrkImage::applyICC | ( | void | ) |
References allComponentsSanityCheck(), allocData(), _grk_image_meta::color, _grk_image::color_space, _grk_image::comps, _grk_image_comp::data, _grk_image::force_rgb, GRK_CLRSPC_GRAY, GRK_CLRSPC_SRGB, _grk_image_comp::h, _grk_color::icc_profile_buf, _grk_color::icc_profile_len, grk::Logger::logger_, _grk_image::meta, _grk_image::numcomps, _grk_image_comp::prec, _grk_image_comp::stride, validateICC(), _grk_image_comp::w, and grk::Logger::warn().
Referenced by applyColourManagement(), and grk::CodeStreamCompress::init().
bool grk::GrkImage::check_color | ( | void | ) |
|
private |
References allComponentsSanityCheck(), _grk_image_meta::color, _grk_image::color_space, _grk_image::comps, createRGB(), _grk_image_comp::data, grk::GRK_CIE_D50, grk::GRK_CIE_D65, grk::GRK_CIE_D75, grk::GRK_CIE_F11, grk::GRK_CIE_F2, grk::GRK_CIE_F7, grk::GRK_CIE_SA, grk::GRK_CIE_SC, GRK_CLRSPC_SRGB, GRK_DEFAULT_CIELAB_SPACE, GRK_ENUM_CLRSPC_CIE, grk_object_unref(), _grk_image_comp::h, _grk_color::icc_profile_buf, grk::Logger::logger_, _grk_image::meta, _grk_image::numcomps, _grk_image_comp::prec, single_component_data_free(), _grk_image_comp::stride, _grk_image_comp::w, and grk::Logger::warn().
Referenced by applyColourManagement().
|
private |
|
private |
|
private |
References _grk_image::color_space, _grk_image::comps, GRK_CLRSPC_SRGB, grk::Logger::logger_, _grk_image::numcomps, sycc420_to_rgb(), sycc422_to_rgb(), sycc444_to_rgb(), and grk::Logger::warn().
Referenced by convertToRGB().
bool grk::GrkImage::componentsEqual | ( | bool | checkPrecision | ) |
References componentsEqual(), and _grk_image::numcomps.
Referenced by componentsEqual(), componentsEqual(), and grk::TileProcessor::needsMctDecompress().
|
private |
bool grk::GrkImage::componentsEqual | ( | uint16_t | firstNComponents, |
bool | checkPrecision ) |
References componentsEqual(), and _grk_image::comps.
bool grk::GrkImage::composite | ( | const GrkImage * | src | ) |
References compositeInterleaved(), compositePlanar(), _grk_io_buf::data_, and _grk_image::interleaved_data.
Referenced by grk::CodeStreamDecompress::decompressTiles().
bool grk::GrkImage::compositeInterleaved | ( | const GrkImage * | src | ) |
Interleave image data and copy to interleaved composite image.
src | source image |
References _grk_image::comps, _grk_io_buf::data_, _grk_image::decompress_fmt, generateCompositeBounds(), GRK_FMT_PXM, GRK_FMT_TIF, grk::grk_rect< T >::height(), _grk_image::interleaved_data, grk::Logger::logger_, _grk_image::numcomps, grk::Logger::warn(), grk::grk_rect< T >::width(), grk::grk_rect< T >::x0, and grk::grk_rect< T >::y0.
Referenced by composite().
bool grk::GrkImage::compositeInterleaved | ( | const Tile * | src, |
uint32_t | yBegin, | ||
uint32_t | yEnd ) |
Interleave strip of tile data and copy to interleaved composite image.
src | source image |
yBegin | y coordinate of interleaving beginning |
yEnd | y coordinate of interleaving end |
References _grk_image::comps, grk::Tile::comps, _grk_io_buf::data_, _grk_image::decompress_fmt, generateCompositeBounds(), GRK_FMT_PXM, GRK_FMT_TIF, grk::grk_rect< T >::height(), _grk_image::interleaved_data, grk::Logger::logger_, grk::Tile::numcomps_, grk::Logger::warn(), grk::grk_rect< T >::width(), grk::grk_rect< T >::x0, and grk::grk_rect< T >::y0.
|
private |
Copy planar image data to planar composite image.
src | source image |
References _grk_image::comps, generateCompositeBounds(), grk::grk_rect< T >::height(), grk::Logger::logger_, _grk_image::numcomps, grk::Logger::warn(), grk::grk_rect< T >::width(), grk::grk_rect< T >::x0, and grk::grk_rect< T >::y0.
Referenced by composite().
void grk::GrkImage::convertPrecision | ( | void | ) |
References grk::clip(), _grk_image::comps, _grk_image::decompress_fmt, GRK_FMT_JPG, GRK_FMT_PNG, GRK_PREC_MODE_CLIP, GRK_PREC_MODE_SCALE, grk::Logger::logger_, _grk_image::num_precision, _grk_image::numcomps, _grk_image_comp::prec, _grk_precision::prec, _grk_image::precision, scaleComponent(), and grk::Logger::warn().
bool grk::GrkImage::convertToRGB | ( | bool | wholeTileDecompress | ) |
|
staticprivate |
References _grk_image_comp::crg_x, _grk_image_comp::crg_y, _grk_image_comp::dx, _grk_image_comp::dy, _grk_image_comp::h, _grk_image_comp::prec, _grk_image_comp::sgnd, _grk_image_comp::type, _grk_image_comp::w, _grk_image_comp::x0, and _grk_image_comp::y0.
Referenced by execUpsample(), and greyToRGB().
void grk::GrkImage::copyHeader | ( | GrkImage * | dest | ) |
Copy only header of image and its component header (no data are copied) if dest image have data, they will be freed.
Copy only header of image and its component header (no data copied) if dest image has data, it will be freed.
dest | the dest image |
References all_components_data_free(), _grk_image::capture_resolution, _grk_image::color_space, _grk_image::comps, _grk_image_comp::data, _grk_image::decompress_colour_space, _grk_image::decompress_fmt, _grk_image::decompress_height, _grk_image::decompress_num_comps, _grk_image::decompress_prec, _grk_image::decompress_width, _grk_image::display_resolution, _grk_image::force_rgb, grk_object_ref(), _grk_image::has_capture_resolution, _grk_image::has_display_resolution, _grk_image::has_multiple_tiles, _grk_image::meta, _grk_image::num_precision, _grk_image::numcomps, _grk_image_meta::obj, _grk_image::packed_row_bytes, _grk_image::precision, _grk_image::rows_per_strip, _grk_image::upsample, _grk_image::x0, _grk_image::x1, _grk_image::y0, and _grk_image::y1.
Referenced by grk::CodeStreamDecompress::createOutputImage(), grk::CodeStreamDecompress::decompressTile(), duplicate(), grk::CodeStreamCompress::init(), and grk::CodeStreamDecompress::readHeader().
|
static |
Create image.
src | source image |
numcmpts | number of components |
cmptparms | component parameters |
clrspc | image color space |
doAllocation | true if data is to be allocated, otherwise false |
References allocData(), _grk_image::decompress_fmt, _grk_image_comp::dx, _grk_image_comp::dy, grk::Logger::error(), _grk_image::force_rgb, GRK_CHANNEL_ASSOC_COLOUR_1, GRK_CHANNEL_ASSOC_COLOUR_2, GRK_CHANNEL_ASSOC_COLOUR_3, GRK_CHANNEL_ASSOC_UNASSOCIATED, GRK_CHANNEL_TYPE_COLOUR, GRK_CHANNEL_TYPE_UNSPECIFIED, GRK_CLRSPC_CMYK, GrkImage(), _grk_image_comp::h, grk::Logger::logger_, _grk_image::num_precision, _grk_image::packed_row_bytes, _grk_image_comp::prec, _grk_image::precision, _grk_image::rows_per_strip, _grk_image_comp::sgnd, _grk_image::upsample, _grk_image_comp::w, _grk_image_comp::x0, and _grk_image_comp::y0.
Referenced by createRGB(), and grk_image_new().
|
private |
References create(), GRK_CLRSPC_SRGB, grk::Logger::logger_, and grk::Logger::warn().
Referenced by cieLabToRGB(), sycc420_to_rgb(), sycc422_to_rgb(), and sycc444_to_rgb().
Create new image and transfer tile buffer data.
src | tile source |
References grk::TileComponentWindowBase< T >::bounds(), grk::Tile::comps, copyHeader(), grk::TileComponent::getWindow(), GrkImage(), grk::Tile::numcomps_, grk::grk_rect< T >::x0, grk::grk_rect< T >::x1, grk::grk_rect< T >::y0, and grk::grk_rect< T >::y1.
Referenced by grk::TileProcessor::generateImage().
bool grk::GrkImage::execUpsample | ( | void | ) |
|
private |
References generateCompositeBounds(), _grk_image_comp::h, _grk_image_comp::w, _grk_image_comp::x0, and _grk_image_comp::y0.
Referenced by compositeInterleaved(), compositeInterleaved(), compositePlanar(), and generateCompositeBounds().
|
private |
References _grk_image::comps, grk::grk_rect< T >::intersection(), and grk::grk_rect< T >::pan().
|
private |
References _grk_image::color_space, GRK_CLRSPC_CMYK, GRK_CLRSPC_CUSTOM_CIE, GRK_CLRSPC_DEFAULT_CIE, GRK_CLRSPC_EYCC, GRK_CLRSPC_GRAY, GRK_CLRSPC_ICC, GRK_CLRSPC_SRGB, GRK_CLRSPC_SYCC, and GRK_CLRSPC_UNKNOWN.
Referenced by validateICC().
|
private |
References _grk_image::color_space.
Referenced by validateICC().
bool grk::GrkImage::greyToRGB | ( | void | ) |
uint32_t grk::GrkImage::height | ( | void | ) | const |
References _grk_image::y0, and _grk_image::y1.
Referenced by postReadHeader().
|
private |
References _grk_image::comps, GRK_CHANNEL_TYPE_OPACITY, GRK_CHANNEL_TYPE_PREMULTIPLIED_OPACITY, and _grk_image::numcomps.
Referenced by postReadHeader().
bool grk::GrkImage::isSubsampled | ( | ) |
References _grk_image::comps, and _grk_image::numcomps.
Referenced by postReadHeader(), and validateICC().
|
private |
Referenced by validateICC().
|
private |
References _grk_image::color_space, _grk_image::decompress_fmt, _grk_image::force_rgb, GRK_CLRSPC_CMYK, GRK_CLRSPC_EYCC, GRK_CLRSPC_SYCC, GRK_FMT_TIF, and GRK_FMT_UNK.
Referenced by convertToRGB(), and postReadHeader().
void grk::GrkImage::postReadHeader | ( | CodingParams * | cp | ) |
References grk::ceildivpow2(), grk::CodingParams::coding_params_, _grk_image_meta::color, _grk_image::color_space, _grk_image::comps, grk::CodingParams::dec_, _grk_image::decompress_colour_space, _grk_image::decompress_fmt, _grk_image::decompress_height, _grk_image::decompress_num_comps, _grk_image::decompress_prec, _grk_image::decompress_width, _grk_image_comp::dx, _grk_image_comp::dy, _grk_image::force_rgb, GRK_CLRSPC_EYCC, GRK_CLRSPC_SRGB, GRK_CLRSPC_SYCC, GRK_FMT_BMP, GRK_FMT_PNG, GRK_FMT_PXM, GRK_FMT_TIF, _grk_image_comp::h, _grk_image::has_multiple_tiles, height(), _grk_color::icc_profile_buf, _grk_color::icc_profile_len, _grk_color::icc_profile_name, isOpacity(), isSubsampled(), _grk_image::meta, needsConversionToRGB(), _grk_palette_data::num_channels, _grk_image::numcomps, _grk_image::packed_row_bytes, _grk_color::palette, _grk_image_comp::prec, _grk_precision::prec, _grk_image::precision, grk::DecodingParams::reduce_, _grk_image::rows_per_strip, grk::singleTileRowsPerStrip, grk::CodingParams::t_height, _grk_image::upsample, _grk_image_comp::w, _grk_image::x0, _grk_image::x1, _grk_image::y0, and _grk_image::y1.
void grk::GrkImage::print | ( | void | ) | const |
|
private |
References _grk_image_comp::data, _grk_image_comp::h, _grk_image_comp::prec, _grk_image::precision, _grk_image_comp::stride, and _grk_image_comp::w.
Referenced by convertPrecision().
|
staticprivate |
References _grk_image_comp::data, and grk::grk_aligned_free().
Referenced by all_components_data_free(), allocData(), apply_palette_clr(), cieLabToRGB(), color_cmyk_to_rgb(), transferDataFrom(), and transferDataTo().
bool grk::GrkImage::subsampleAndReduce | ( | uint32_t | reduce | ) |
|
private |
References all_components_data_free(), _grk_image::color_space, _grk_image::comps, createRGB(), _grk_image_comp::data, _grk_image_comp::dx, _grk_image_comp::dy, GRK_CLRSPC_SRGB, grk_object_unref(), _grk_image_comp::h, grk::Logger::logger_, _grk_image_comp::prec, _grk_image_comp::stride, sycc_to_rgb(), _grk_image_comp::w, and grk::Logger::warn().
Referenced by color_sycc_to_rgb().
|
private |
References all_components_data_free(), _grk_image::color_space, _grk_image::comps, createRGB(), _grk_image_comp::data, _grk_image_comp::dx, _grk_image_comp::dy, GRK_CLRSPC_SRGB, grk_object_unref(), _grk_image_comp::h, grk::Logger::logger_, _grk_image::numcomps, _grk_image_comp::prec, _grk_image_comp::stride, sycc_to_rgb(), _grk_image_comp::w, and grk::Logger::warn().
Referenced by color_sycc_to_rgb().
|
private |
References all_components_data_free(), _grk_image::color_space, _grk_image::comps, createRGB(), _grk_image_comp::data, GRK_CLRSPC_SRGB, grk_object_unref(), _grk_image_comp::h, _grk_image::numcomps, _grk_image_comp::prec, _grk_image_comp::stride, sycc_to_rgb(), and _grk_image_comp::w.
Referenced by color_sycc_to_rgb().
|
private |
Referenced by sycc420_to_rgb(), sycc422_to_rgb(), and sycc444_to_rgb().
void grk::GrkImage::transferDataFrom | ( | const Tile * | tile_src_data | ) |
References _grk_image::comps, grk::Tile::comps, _grk_image::numcomps, and single_component_data_free().
Referenced by grk::TileProcessor::decompressT2T1().
void grk::GrkImage::transferDataTo | ( | GrkImage * | dest | ) |
Transfer data to dest for each component, and null out "this" data.
Transfer data to dest for each component, and null out this data.
Assumption: "this" and dest have the same number of components
Assumption: this and dest have the same number of components
References _grk_image::comps, _grk_io_buf::data_, _grk_image::interleaved_data, _grk_image::numcomps, and single_component_data_free().
Referenced by grk::CodeStreamDecompress::decompressExec().
void grk::GrkImage::validateColourSpace | ( | void | ) |
References _grk_image::color_space, _grk_image::comps, GRK_CLRSPC_SYCC, GRK_CLRSPC_UNKNOWN, and _grk_image::numcomps.
bool grk::GrkImage::validateICC | ( | void | ) |
References _grk_image_meta::color, _grk_image::color_space, _grk_image::comps, _grk_image_comp::dx, getColourSpaceString(), getICCColourSpaceString(), GRK_CLRSPC_CMYK, GRK_CLRSPC_CUSTOM_CIE, GRK_CLRSPC_DEFAULT_CIE, GRK_CLRSPC_EYCC, GRK_CLRSPC_GRAY, GRK_CLRSPC_ICC, GRK_CLRSPC_SRGB, GRK_CLRSPC_SYCC, GRK_CLRSPC_UNKNOWN, _grk_color::icc_profile_buf, _grk_color::icc_profile_len, isSubsampled(), isValidICCColourSpace(), grk::Logger::logger_, _grk_image::meta, _grk_image::numcomps, and grk::Logger::warn().
Referenced by applyColourManagement(), applyICC(), grk::FileFormatCompress::init(), and grk::FileFormatDecompress::readHeader().
bool grk::GrkImage::validateZeroed | ( | void | ) |
References _grk_image::comps, and _grk_image::numcomps.
uint32_t grk::GrkImage::width | ( | void | ) | const |
References _grk_image::x0, and _grk_image::x1.
|
private |