Grok 13.0.2
|
Grok image. More...
#include <grok.h>
Public Attributes | |
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 |
Grok image.
Note: do not directly create a grk_image object. Instead use the grk_image_new API method to create a grk_image object, and clean it up with grk_object_unref
double _grk_image::capture_resolution[2] |
Referenced by grk::GrkImage::copyHeader().
bool _grk_image::channel_definition_applied_ |
Referenced by grk::GrkImage::apply_channel_definition().
GRK_COLOR_SPACE _grk_image::color_space |
Referenced by grk::GrkImage::applyColourManagement(), grk::GrkImage::applyICC(), grk::GrkImage::cieLabToRGB(), grk::GrkImage::color_cmyk_to_rgb(), grk::GrkImage::color_esycc_to_rgb(), grk::GrkImage::color_sycc_to_rgb(), grk::GrkImage::convertToRGB(), grk::GrkImage::copyHeader(), grk::GrkImage::getColourSpaceString(), grk::GrkImage::getICCColourSpaceString(), grk::GrkImage::greyToRGB(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::GrkImage::needsConversionToRGB(), grk::GrkImage::postReadHeader(), grk::GrkImage::sycc420_to_rgb(), grk::GrkImage::sycc422_to_rgb(), grk::GrkImage::sycc444_to_rgb(), grk::GrkImage::validateColourSpace(), and grk::GrkImage::validateICC().
grk_image_comp* _grk_image::comps |
Referenced by grk::GrkImage::all_components_data_free(), grk::GrkImage::allComponentsSanityCheck(), grk::GrkImage::allocCompositeData(), grk::GrkImage::apply_channel_definition(), grk::GrkImage::apply_palette_clr(), grk::GrkImage::applyICC(), grk::GrkImage::cieLabToRGB(), grk::GrkImage::color_cmyk_to_rgb(), grk::GrkImage::color_esycc_to_rgb(), grk::GrkImage::color_sycc_to_rgb(), grk::GrkImage::componentsEqual(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::GrkImage::convertPrecision(), grk::GrkImage::copyHeader(), grk::TileProcessor::createWindowBuffers(), grk::TileProcessor::dcLevelShiftCompress(), grk::decompress_synch_plugin_with_host(), grk::TileProcessor::decompressT2T1(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::GrkImage::generateCompositeBounds(), grk::PacketManager::getParams(), grk::GrkImage::greyToRGB(), grk::TileProcessor::ingestImage(), grk::TileProcessor::ingestUncompressedData(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::TileProcessor::init(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_cinema_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::isOpacity(), grk::GrkImage::isSubsampled(), grk::TileProcessor::mct_encode(), grk::TileProcessor::mctDecompress(), grk::TileProcessor::pcrdBisectSimple(), grk::GrkImage::postReadHeader(), grk::TileProcessor::preCompressTile(), grk::FileFormatDecompress::preProcess(), grk::GrkImage::print(), grk::CodeStreamDecompress::read_cbd(), grk::CodeStreamDecompress::read_crg(), grk::Profile::set_cinema_parameters(), grk::GrkImage::subsampleAndReduce(), grk::SIZMarker::subsampleAndReduceHeaderImageComponents(), grk::GrkImage::sycc420_to_rgb(), grk::GrkImage::sycc422_to_rgb(), grk::GrkImage::sycc444_to_rgb(), grk::GrkImage::transferDataFrom(), grk::GrkImage::transferDataTo(), grk::GrkImage::validateColourSpace(), grk::GrkImage::validateICC(), grk::GrkImage::validateZeroed(), and grk::GrkImage::~GrkImage().
GRK_COLOR_SPACE _grk_image::decompress_colour_space |
Referenced by grk::GrkImage::copyHeader(), and grk::GrkImage::postReadHeader().
GRK_SUPPORTED_FILE_FMT _grk_image::decompress_fmt |
uint32_t _grk_image::decompress_height |
Referenced by grk::GrkImage::copyHeader(), and grk::GrkImage::postReadHeader().
uint16_t _grk_image::decompress_num_comps |
Referenced by grk::GrkImage::copyHeader(), and grk::GrkImage::postReadHeader().
uint8_t _grk_image::decompress_prec |
Referenced by grk::GrkImage::copyHeader(), and grk::GrkImage::postReadHeader().
uint32_t _grk_image::decompress_width |
Referenced by grk::GrkImage::copyHeader(), and grk::GrkImage::postReadHeader().
double _grk_image::display_resolution[2] |
Referenced by grk::GrkImage::copyHeader().
bool _grk_image::force_rgb |
bool _grk_image::has_capture_resolution |
Referenced by grk::GrkImage::copyHeader().
bool _grk_image::has_display_resolution |
Referenced by grk::GrkImage::copyHeader().
bool _grk_image::has_multiple_tiles |
Referenced by grk::GrkImage::allocCompositeData(), grk::GrkImage::copyHeader(), grk::CodeStreamDecompress::createOutputImage(), grk::TileProcessor::decompressT2T1(), grk::CodeStreamDecompress::decompressTile(), grk::CodeStreamDecompress::decompressTiles(), grk::GrkImage::postReadHeader(), grk::CodeStreamDecompress::read_siz(), and grk::CodeStreamDecompress::readHeader().
grk_io_buf _grk_image::interleaved_data |
grk_image_meta* _grk_image::meta |
Referenced by grk::GrkImage::allocPalette(), grk::GrkImage::apply_channel_definition(), grk::GrkImage::apply_palette_clr(), grk::GrkImage::applyColour(), grk::GrkImage::applyColourManagement(), grk::GrkImage::applyICC(), grk::GrkImage::check_color(), grk::GrkImage::cieLabToRGB(), grk::CodeStreamDecompress::CodeStreamDecompress(), grk::GrkImage::copyHeader(), grk::FileFormatCompress::getColour(), grk::FileFormatDecompress::getColour(), grk::FileFormatCompress::init(), grk::GrkImage::postReadHeader(), grk::GrkImage::validateICC(), grk::FileFormatCompress::write_jp2h(), and grk::GrkImage::~GrkImage().
uint32_t _grk_image::num_precision |
Referenced by grk::GrkImage::convertPrecision(), grk::GrkImage::copyHeader(), and grk::GrkImage::create().
uint16_t _grk_image::numcomps |
number of components in the image
Referenced by grk::CodeStreamDecompress::add_mct(), grk::GrkImage::all_components_data_free(), grk::GrkImage::allComponentsSanityCheck(), grk::GrkImage::allocCompositeData(), grk::GrkImage::apply_channel_definition(), grk::GrkImage::apply_palette_clr(), grk::GrkImage::applyICC(), grk::GrkImage::check_color(), grk::GrkImage::cieLabToRGB(), grk::GrkImage::color_cmyk_to_rgb(), grk::GrkImage::color_esycc_to_rgb(), grk::GrkImage::color_sycc_to_rgb(), grk::GrkImage::componentsEqual(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::GrkImage::convertPrecision(), grk::GrkImage::convertToRGB(), grk::TileCodingParams::copy(), grk::GrkImage::copyHeader(), grk::TileProcessor::decompressT2T1(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::PacketManager::getParams(), grk::GrkImage::greyToRGB(), grk::TileProcessor::ingestImage(), grk::TileProcessor::ingestUncompressedData(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::TileProcessor::init(), grk::CodeStreamCompress::init_mct_encoding(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_cinema_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::isOpacity(), grk::GrkImage::isSubsampled(), grk::CodeStreamCompress::mct_validation(), grk::PacketManager::PacketManager(), grk::CodeStreamDecompress::parseTileParts(), grk::GrkImage::postReadHeader(), grk::TileProcessor::preCompressTile(), grk::GrkImage::print(), grk::CodeStreamDecompress::read_cbd(), grk::CodeStreamDecompress::read_cod(), grk::CodeStreamDecompress::read_crg(), grk::CodeStreamDecompress::read_qcc(), grk::CodeStreamDecompress::read_qcd(), grk::Profile::set_cinema_parameters(), grk::GrkImage::subsampleAndReduce(), grk::SIZMarker::subsampleAndReduceHeaderImageComponents(), grk::GrkImage::sycc422_to_rgb(), grk::GrkImage::sycc444_to_rgb(), grk::TileProcessor::t1_encode(), grk::GrkImage::transferDataFrom(), grk::GrkImage::transferDataTo(), grk::PacketManager::updateCompressParams(), grk::GrkImage::validateColourSpace(), grk::GrkImage::validateICC(), grk::GrkImage::validateZeroed(), grk::CodeStreamCompress::write_all_coc(), grk::CodeStreamCompress::write_all_qcc(), grk::CodeStreamCompress::write_regions(), and grk::CodeStreamCompress::writeTilePart().
grk_object _grk_image::obj |
Referenced by grk::CodeStreamDecompress::createOutputImage(), grk::TileProcessor::generateImage(), grk::GrkImage::GrkImage(), grk::FileFormatCompress::init(), grk::TileProcessor::release(), grk::CodeStream::~CodeStream(), grk::CodeStreamDecompress::~CodeStreamDecompress(), grk::FileFormatCompress::~FileFormatCompress(), and grk::TileCache::~TileCache().
uint64_t _grk_image::packed_row_bytes |
Referenced by grk::GrkImage::copyHeader(), grk::GrkImage::create(), and grk::GrkImage::postReadHeader().
bool _grk_image::palette_applied_ |
Referenced by grk::GrkImage::apply_palette_clr().
grk_precision* _grk_image::precision |
uint32_t _grk_image::rows_per_strip |
Referenced by grk::GrkImage::copyHeader(), grk::GrkImage::create(), and grk::GrkImage::postReadHeader().
uint32_t _grk_image::rows_per_task |
Referenced by grk::GrkImage::GrkImage().
bool _grk_image::split_by_component |
bool _grk_image::upsample |
uint32_t _grk_image::x0 |
XOsiz: horizontal offset from the origin of the reference grid to the left side of the image area.
Referenced by grk::GrkImage::convertToRGB(), grk::GrkImage::copyHeader(), grk::TileProcessor::createWindowBuffers(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::CodingParams::getTileBounds(), grk::TileProcessor::ingestImage(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::postReadHeader(), grk::GrkImage::print(), grk::Profile::set_imf_parameters(), grk::GrkImage::subsampleAndReduce(), grk::SIZMarker::subsampleAndReduceHeaderImageComponents(), and grk::GrkImage::width().
uint32_t _grk_image::x1 |
Xsiz: width of the reference grid.
Referenced by grk::GrkImage::copyHeader(), grk::TileProcessor::createWindowBuffers(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::Profile::get_broadcast_max_NL(), grk::Profile::get_imf_max_NL(), grk::CodingParams::getTileBounds(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::postReadHeader(), grk::GrkImage::print(), grk::Profile::set_imf_parameters(), grk::GrkImage::subsampleAndReduce(), grk::SIZMarker::subsampleAndReduceHeaderImageComponents(), grk::CodeStreamCompress::updateRates(), and grk::GrkImage::width().
uint32_t _grk_image::y0 |
YOsiz: vertical offset from the origin of the reference grid to the top side of the image area.
Referenced by grk::GrkImage::convertToRGB(), grk::GrkImage::copyHeader(), grk::TileProcessor::createWindowBuffers(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::CodingParams::getTileBounds(), grk::GrkImage::height(), grk::TileProcessor::ingestImage(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::postReadHeader(), grk::GrkImage::print(), grk::Profile::set_imf_parameters(), grk::GrkImage::subsampleAndReduce(), and grk::SIZMarker::subsampleAndReduceHeaderImageComponents().
uint32_t _grk_image::y1 |
Ysiz: height of the reference grid.
Referenced by grk::GrkImage::copyHeader(), grk::TileProcessor::createWindowBuffers(), grk::CodeStreamDecompress::dump_image_header(), grk::GrkImage::execUpsample(), grk::CodingParams::getTileBounds(), grk::GrkImage::height(), grk::CodeStreamCompress::init(), grk::FileFormatCompress::init(), grk::Profile::is_broadcast_compliant(), grk::Profile::is_imf_compliant(), grk::GrkImage::postReadHeader(), grk::GrkImage::print(), grk::Profile::set_imf_parameters(), grk::GrkImage::subsampleAndReduce(), and grk::SIZMarker::subsampleAndReduceHeaderImageComponents().