|
Grok 20.3.2
|
Namespaces | |
| namespace | HWY_NAMESPACE |
| namespace | ojph |
| namespace | t1 |
| namespace | t1_t2 |
Classes | |
| struct | AllLayersPrecinctPacketParser |
| Enqueues PacketParser for all layers of a given precinct, to be executed in sequence. More... | |
| struct | AllocatorAligned |
| struct | AllocatorVanilla |
| struct | AsocBox |
| Association box (defined in ITU 15444-2 Annex M 11.1 ). More... | |
| struct | BackupCache |
| class | BadAsocException |
| class | BlockCache |
| struct | Box |
| struct | BoxWriteHandler |
| struct | Buffer |
| struct | Buffer2d |
| struct | Buffer2dSimple |
| struct | BufferedStream |
| Manages buffered read/write using callbacks or memory buffer. More... | |
| class | ChronoTimer |
| class | ChunkBuffer |
| Manages a partially ordered deque of buffer chunks that are added asynchronously out of order. More... | |
| struct | ChunkContext |
| struct | ChunkRequest |
| struct | ChunkRequestBatch |
| struct | ChunkTask |
| class | Codec |
| class | CodecScheduler |
| An abstract class that can execute T1 phase of codec by running a tf::Executor. More... | |
| struct | CoderKey |
| struct | CoderKeyHash |
| struct | CoderPool |
| class | CodeStream |
| class | CodeStreamCompress |
| class | CodeStreamDecompress |
| Manages decompression. More... | |
| struct | CodingParams |
| Coding parameters. More... | |
| struct | ComponentInfo |
| class | CompressedChunkCache |
| Per-file LRU cache that manages compressed tile part data in memory. More... | |
| class | CompressScheduler |
| class | CompressSchedulerExcalibur |
| Compresses a tile using windowed design. More... | |
| class | ConcurrentQueue |
| Thread-safe unbounded queue with blocking pop and close signal. More... | |
| class | CorruptJP2BoxException |
| class | CorruptMarkerException |
| class | CorruptSOTMarkerException |
| class | CorruptTLMException |
| struct | DataSlice |
| struct | DcShiftParam |
| class | DebugContext |
| class | DecodeUnknownMarkerAtEndOfTileException |
| struct | DecodingParams |
| class | DecompressScheduler |
| schedule and run T1 decompression More... | |
| class | DecompressSchedulerExcalibur |
| abstract class to graph and execute T1 tasks for windowed tile More... | |
| struct | DifferentialInfo |
| Stores number of layers compressed in differential decompression. More... | |
| class | DiskCache |
| Secondary disk-based cache for compressed tile data. More... | |
| class | dwt53 |
| class | dwt53_16 |
| class | dwt97 |
| class | dwt97_16 |
| struct | dwt_line |
| struct | dwt_scratch |
| struct | encode_info |
| struct | EncodingParams |
| class | EnvVarManager |
| struct | FetchAuth |
| struct | FetchJob |
| class | FetchPathParser |
| struct | FetchResult |
| class | FileFormatJP2Compress |
| class | FileFormatJP2Decompress |
| class | FileFormatJP2Family |
| JPEG 2000 file format reader/writer. More... | |
| class | FileFormatMJ2 |
| class | FileFormatMJ2Compress |
| class | FileFormatMJ2Decompress |
| struct | FindHandlerInfo |
| struct | GpupLoggerAdapter |
| struct | grk_mct_data |
| MCT data. More... | |
| struct | grk_plugin_debug_mqc |
| struct | grk_ppx |
| struct | grk_simple_mcc_decorrelation_data |
| MCC decorrelation data. More... | |
| struct | grk_stepsize |
| Quantization stepsize. More... | |
| class | GrkImage |
| Stores header and data for an image. More... | |
| class | GrkImageMeta |
| class | GrkMatrix |
| class | GrkObjectWrapperImpl |
| struct | ICompressor |
| struct | IDecompressor |
| Decompress interface. More... | |
| class | IFetcher |
| struct | ILogger |
| class | ImageComponentFlow |
| Image component flow storing array of Resflow. More... | |
| struct | IMarkerProcessor |
| struct | IncludeTracker |
| class | IniParser |
| struct | IRequestBatch |
| class | ISparseCanvas |
| struct | IStream |
| struct | ITileComponentWindow |
| Type-erased interface for tile component windows. More... | |
| struct | ITileProcessor |
| Interface for managing tile compression/decompression. More... | |
| struct | ITileProcessorCompress |
| Interface for managing tile compression. More... | |
| struct | LayerIncludeBuffers |
| Include buffers for all resolutions in a given layer. More... | |
| class | LimitedQueue |
| Queue limited to maximum size. More... | |
| struct | Line |
| struct | LocationProbe |
| struct | Logger |
| class | LRUCache |
| Thread-safe LRU cache with configurable capacity and eviction callback. More... | |
| struct | Marker |
| Stores individual marker information. More... | |
| struct | MarkerCache |
| Stores markers. More... | |
| struct | MarkerParser |
| struct | MarkerProcessor |
| struct | MarkerScratch |
| class | Mct |
| class | MemAdvisor |
| class | MemoryManager |
| struct | MemStream |
| class | MinHeap |
| Thread-safe min-heap for values with customizable locking. More... | |
| class | MinHeapBase |
| Base class providing common functionality for min-heap implementations. More... | |
| struct | MinHeapComparator |
| Comparator for min-heap ordering based on getIndex() (value version). More... | |
| class | MinHeapFakeLocker |
| No-op locker for single-threaded or unsynchronized min-heap access. More... | |
| class | MinHeapLocker |
| RAII locker for synchronizing access to a min-heap with a real mutex. More... | |
| class | MinHeapPtr |
| Thread-safe min-heap for pointers with customizable locking. More... | |
| struct | MinHeapPtrComparator |
| Comparator for min-heap ordering based on getIndex() (pointer version). More... | |
| struct | minpf_dynamic_library |
| struct | minpf_object_params |
| struct | minpf_platform_services |
| struct | minpf_plugin_api_version |
| struct | minpf_plugin_manager |
| struct | minpf_register_params |
| struct | mj2_chunk |
| Chunk. More... | |
| struct | mj2_cparameters |
| Compression parameters. More... | |
| struct | mj2_sample |
| Sample. More... | |
| struct | mj2_sampletochunk |
| Sample to chunk. More... | |
| struct | mj2_tk |
| Video Track Parameters. More... | |
| struct | mj2_tts |
| Time To Sample. More... | |
| struct | mj2_url |
| URL. More... | |
| struct | mj2_urn |
| URN. More... | |
| struct | MJ2SampleRecord |
| Records the offset and size of a compressed sample within the mdat box. More... | |
| class | NetworkFileChecker |
| struct | NoopDeleter |
| class | PacketCache |
| Manages packet buffers and associated packet parsers. More... | |
| struct | PacketIter |
| Iterates through JPEG 2000 packets following a progression order. More... | |
| struct | PacketIterInfoComponent |
| Component-level information for packet iteration. More... | |
| struct | PacketIterInfoResolution |
| Resolution-level precinct grid geometry for packet iteration. More... | |
| class | PacketLengthCache |
| Cached packet lengths from PLT or PLM marker. More... | |
| class | PacketManager |
| class | PacketParser |
| Parses packet header and packer data. More... | |
| struct | PacketProgressionState |
| Stores the maximum number of layers read corresponding to packet data that has been read, for each resolution. More... | |
| class | PacketTracker |
| struct | ParsedFetchPath |
| class | Partial53 |
| class | Partial97 |
| struct | PartialBandInfo |
| class | PartialInterleaver |
| struct | PLMarker |
| Manages raw (uncompressed) PLT and PLM markers. More... | |
| struct | PluginDecodeCallbackInfo |
| class | PluginDecodeUnsupportedException |
| struct | Point |
| class | PPMMarker |
| struct | Precinct |
| Lightweight precinct struct storing only bounds, some book-keeping variables and a pointer to the PrecinctImpl. More... | |
| struct | PrecinctCompress |
| struct | PrecinctDecompress |
| struct | PrecinctImpl |
| Stores tag trees and code blocks belonging to a Precinct A reference to the Precinct is also stored. More... | |
| struct | PrecinctImplCompress |
| struct | PrecinctImplDecompress |
| class | Profile |
| struct | prog_order |
| struct | Quantizer |
| class | QuantizerFactory |
| class | RateControl |
| struct | RateControlStats |
| Per-tile rate control statistics collected during T1 encoding. More... | |
| class | RateInfo |
| struct | Rect |
| struct | Rect32_16 |
| class | RefCounted |
| struct | RefCountedDeleter |
| struct | ResBlocks |
| store decompression blocks for a resolution More... | |
| struct | Resflow |
| Stores FlowComponent for packets, blocks, horizontal wavelet and vertical wavelet, for a given resolution. More... | |
| struct | Resolution |
| Stores a tile component resolution's dimensions, sub bands and other information. More... | |
| class | ResolutionChecker |
| struct | ResolutionPacketParser |
| Enqueues sequence of AllLayersPrecinctPacketParser for a given resolutions. More... | |
| struct | ResPrecinctInfo |
| Cached geometric state of a tile component's resolution, relative to its precinct grid. More... | |
| struct | ResSimple |
| struct | ResWindow |
| struct | ScheduledFetch |
| struct | ScheduleInfo |
| class | SchedulerExcalibur |
| abstract class to graph and execute T1 tasks for windowed tile More... | |
| class | SchedulerFreebyrd |
| Stub — freebyrd thread pool has been removed. More... | |
| class | SchedulerStandard |
| abstract class to graph and execute T1 tasks for whole tile More... | |
| class | Scheduling |
| class | SequentialCache |
| Dynamic array of pointers of type T. More... | |
| struct | SharedPtrSeq |
| Sequence of shared_ptr<T>. More... | |
| struct | ShiftInfo |
| class | SimpleHeap |
| A simple non-thread-safe min-heap for tracking contiguous sequences of size_t indices. More... | |
| class | SimpleXmlParser |
| class | SIZMarker |
| class | SlabPool |
| A thread-safe slab-based buffer pool with configurable slot size and number of slots. More... | |
| class | SOTMarker |
| struct | SparseBlock |
| class | SparseBuffer |
| Manages a list of buffers (named chunks) which can be treated as one single contiguous buffer. More... | |
| class | SparseBufferIncompleteException |
| class | SparseBufferOverrunException |
| class | SparseCache |
| class | SparseCanvas |
| struct | StreamCallbacks |
| Stores callbacks. More... | |
| class | StreamGenerator |
| struct | StripConfig |
| Configuration for strip-based decompression. More... | |
| class | StripDecompressor |
| Stub — freebyrd thread pool has been removed. More... | |
| struct | StripGeometry |
| Geometry for a single cascade DWT strip at a given resolution. More... | |
| class | StripPartitioner |
| Computes strip geometry for cascade DWT at a given resolution. More... | |
| struct | Subband |
| Stores sub band bounds and precincts. More... | |
| struct | SubbandRange |
| Sub-band row range needed by a strip (inclusive begin, exclusive end). More... | |
| struct | T2Compress |
| Tier-2 coding. More... | |
| class | T2Decompress |
| T2 parsing of packets. More... | |
| class | TagTree |
| struct | Tile |
| class | TileCache |
| Caches tile processors so that repeated decompress calls on the same codec can reuse SOT metadata, packet data, and decompressed images. More... | |
| struct | TileCacheEntry |
| Stores a tile processor together with its cache state. More... | |
| struct | TileCodingParams |
| Tile coding parameters : this structure is used to store coding/decoding parameters common to all tiles (information like COD, COC in main header). More... | |
| class | TileCodingParamsPool |
| class | TileCompletion |
| Tracks per-tile completion and fires row callbacks for incremental compositing. More... | |
| struct | TileComponent |
| Stores sub-sampled, unreduced tile component dimensions, along with reduction information. More... | |
| struct | TileComponentCodingParams |
| Tile-component coding parameters. More... | |
| struct | TileComponentWindow |
| struct | TileComponentWindowBase |
| struct | TileFetchContext |
| struct | TilePartInfo |
| struct | TilePartLength |
| Stores tile part's length and tile index. More... | |
| struct | TilePartLengthPOD |
| struct | TileProcessor |
| struct | TileProcessorCompress |
| struct | TileRequestBatch |
| class | TileWindow |
| Stores state of rectangular window of tiles slated for decompression Each tile's slated or completely parsed state is stored. More... | |
| class | TLMFile |
| struct | TLMMarker |
| Reads/writes TLM markers. More... | |
| class | TLMMarkerManager |
| Manages a collection of TLM markers, assuming strictly increasing marker ids. More... | |
| struct | TPFetch |
| Stores concurrent fetch request information for a single tile part. More... | |
| struct | TPFetchSeq |
| struct | TPSeq |
| Sequence of shared_ptr<DataSlice> tile parts parsed from either TLM or SOT marker. More... | |
| class | TruncatedPacketHeaderException |
| struct | UUIDBox |
| struct | vec |
| class | WaveletFwdImpl |
| struct | WaveletFwdScheduleData |
| class | WaveletPoolData |
| Per-image pool of per-thread scratch buffers for the 5/3 wavelet. More... | |
| class | WaveletReverse |
Concepts | |
| concept | HasGetIndex |
| Concept ensuring a type T has a getIndex() method returning an integral type. | |
Typedefs | |
| typedef std::function< bool(void)> | PROCEDURE_FUNC |
| typedef void(* | mct_function) (const void *p_src_data, void *p_dest_data, uint64_t nb_elem) |
| typedef std::function< bool(uint8_t *headerData, uint16_t headerSize)> | MARKER_CALLBACK |
| typedef std::vector< std::unique_ptr< Buffer8 > > | RAW_PL_MARKER |
| collection of raw marker data stored in Buffer8 | |
| typedef std::map< uint32_t, std::unique_ptr< RAW_PL_MARKER > > | RAW_PL_MARKER_MAP |
| collection of RAW_PL_MARKER pointers | |
| using | ResolutionLayerKey = std::pair<uint8_t, uint16_t> |
| using | QueueMap = std::map<ResolutionLayerKey, std::queue<t1::mqcoder>> |
| typedef std::function< bool(uint8_t *headerData, uint32_t headerSize)> | BOX_FUNC |
| typedef std::function< uint8_t *(uint32_t *len)> | WRITE_FUNC |
| typedef struct grk::minpf_object_params | minpf_object_params |
| typedef struct grk::minpf_plugin_api_version | minpf_plugin_api_version |
| typedef void *(* | minpf_create_func) (minpf_object_params *) |
| typedef int32_t(* | minpf_destroy_func) (void *) |
| typedef struct grk::minpf_register_params | minpf_register_params |
| typedef int32_t(* | minpf_register_func) (const char *nodeType, const minpf_register_params *params) |
| typedef int32_t(* | minpf_invoke_service_func) (const char *serviceName, void *serviceParams) |
| typedef struct grk::minpf_platform_services | minpf_platform_services |
| typedef int32_t(* | minpf_exit_func) () |
| typedef minpf_exit_func(* | minpf_post_load_func) (const minpf_platform_services *) |
| typedef struct grk::minpf_plugin_manager | minpf_plugin_manager |
| typedef uint32_t(* | PLUGIN_GET_DEBUG_STATE) (void) |
| typedef void(* | PLUGIN_DEBUG_MQC_NEXT_CXD) (grk_plugin_debug_mqc *mqc, uint32_t d) |
| typedef void(* | PLUGIN_DEBUG_MQC_NEXT_PLANE) (grk_plugin_debug_mqc *mqc) |
| typedef bool(* | PLUGIN_INIT) (gpup_init_info initInfo) |
| typedef int32_t(* | PLUGIN_ENCODE) (gpup_compress_params *encoding_parameters, GPUP_COMPRESS_USER_CALLBACK callback) |
| typedef int32_t(* | PLUGIN_BATCH_ENCODE) (gpup_compress_batch_info info) |
| typedef void(* | PLUGIN_STOP_BATCH_ENCODE) (void) |
| typedef void(* | PLUGIN_WAIT_FOR_BATCH_COMPLETE) (void) |
| typedef int32_t(* | PLUGIN_DECODE_USER_CALLBACK) (PluginDecodeCallbackInfo *info) |
| typedef int32_t(* | PLUGIN_DECODE) (gpup_decompress_params *decoding_parameters, PLUGIN_DECODE_USER_CALLBACK userCallback) |
| typedef int32_t(* | PLUGIN_INIT_BATCH_DECODE) (const char *input_dir, const char *output_dir, gpup_decompress_params *decoding_parameters, PLUGIN_DECODE_USER_CALLBACK userCallback) |
| typedef int32_t(* | PLUGIN_BATCH_DECODE) (void) |
| typedef void(* | PLUGIN_STOP_BATCH_DECODE) (void) |
| typedef std::unordered_map< CoderKey, std::vector< std::shared_ptr< t1::ICoder > >, CoderKeyHash > | CODERMAP |
| using | StripOutputCallback |
| typedef std::vector< ResBlocks > | ComponentBlocks |
| typedef std::vector< ComponentBlocks > | TileBlocks |
| using | TileFetchCallback = std::function<void(size_t requestIndex, TileFetchContext* context)> |
| typedef size_t(* | CURL_FETCHER_WRITE_CALLBACK) (void *contents, size_t size, size_t nmemb, void *userp) |
| typedef size_t(* | readZeroCopyCallback) (uint8_t **buffer, size_t numBytes, void *user_data) |
| typedef int32_t | grk_handle |
| using | TPSEQ_VEC = std::vector<std::unique_ptr<TPSeq>> |
| using | TagTreeU8 = TagTree<uint8_t> |
| using | TagTreeU16 = TagTree<uint16_t> |
| using | Buffer8 = Buffer<uint8_t, AllocatorVanilla> |
| using | BufferAligned8 = Buffer<uint8_t, AllocatorAligned> |
| using | Buffer2dAligned32 = Buffer2d<int32_t, AllocatorAligned> |
| using | Point32 = Point<uint32_t> |
| using | Point16 = Point<uint16_t> |
| using | Point8 = Point<uint8_t> |
| using | Line32 = Line<uint32_t> |
| using | Rect32 = Rect<uint32_t> |
| using | Rect16 = Rect<uint16_t> |
| using | RectF = Rect<float> |
| using | RectD = Rect<double> |
| typedef vec< float, 4 > | vec4f |
Enumerations | |
| enum | eSplitOrientation { SPLIT_L , SPLIT_H , SPLIT_NUM_ORIENTATIONS } |
| enum | MCT_ELEMENT_TYPE { MCT_TYPE_INT16 = 0 , MCT_TYPE_INT32 = 1 , MCT_TYPE_FLOAT = 2 , MCT_TYPE_DOUBLE = 3 } |
| Type of elements storing in the MCT data. More... | |
| enum | MCT_ARRAY_TYPE { MCT_TYPE_DEPENDENCY = 0 , MCT_TYPE_DECORRELATION = 1 , MCT_TYPE_OFFSET = 2 } |
| Type of MCT array. More... | |
| enum | JP2_STATE { JP2_STATE_NONE = 0x0 , JP2_STATE_SIGNATURE = 0x1 , JP2_STATE_FILE_TYPE = 0x2 , JP2_STATE_HEADER = 0x4 , JP2_STATE_CODESTREAM = 0x8 , JP2_STATE_END_CODESTREAM = 0x10 } |
| enum class | GrkAccessPattern { ACCESS_SEQUENTIAL , ACCESS_RANDOM , ACCESS_NORMAL , ACCESS_DONTNEED } |
| enum | T2_MODE { THRESH_CALC = 0 , FINAL_PASS = 1 } |
Functions | |
| uint32_t | max_resolution (const Resolution *GRK_RESTRICT r, uint32_t i) |
| static Rect32_16 | intersect (const Rect32 *lhs, const Rect32_16 &rhs) |
| template<class T> | |
| constexpr T | getFilterPad (bool lossless) |
| template<typename S, typename D> | |
| void | write (const void *p_src_data, void *p_dest_data, uint64_t nb_elem) |
| void | MycmsLogErrorHandlerFunction (cmsContext ContextID, cmsUInt32Number ErrorCode, const char *Text) |
| static uint8_t * | assemble_super_box (uint32_t box_type, uint8_t **sub_boxes, const uint32_t *sub_sizes, uint32_t count, uint32_t *p_nb_bytes_written) |
| static uint32_t | toBigEndian (uint32_t value) |
| bool | minpf_get_full_path (const char *path, const void *addr, dynamic_handle_t handle, char *fullPath, size_t fullPathLen) |
| bool | minpf_unload_dynamic_library (minpf_dynamic_library *library) |
| minpf_dynamic_library * | minpf_load_dynamic_library (const char *path, char *error) |
| void * | minpf_get_symbol (minpf_dynamic_library *library, const char *symbol) |
| PLUGIN_API minpf_exit_func | minpf_init_plugin (const char *pluginPath, const minpf_platform_services *params) |
| static int32_t | minpf_post_load_plugin (const char *pluginPath, minpf_post_load_func initFunc) |
| static const char * | get_filename_ext (const char *filename) |
| static int32_t | minpf_load (const char *path) |
| static uint32_t | minpf_is_valid_plugin (const char *id, const minpf_register_params *params) |
| int32_t | minpf_register_object (const char *id, const minpf_register_params *params) |
| const char * | minpf_get_dynamic_library_extension (void) |
| void | minpf_initialize_plugin_manager (minpf_plugin_manager *manager) |
| minpf_plugin_manager * | minpf_get_plugin_manager (void) |
| void | minpf_cleanup_plugin_manager (void) |
| int32_t | minpf_load_from_path (const char *path, minpf_invoke_service_func func) |
| int32_t | minpf_load_from_dir (const char *directory_path, minpf_invoke_service_func func) |
| bool | tile_equals (grk_plugin_tile *plugin_tile, const Tile *tilePtr) |
| void | compress_synch_with_plugin (ITileProcessorCompress *tileProcessor, uint16_t compno, uint8_t resno, uint8_t bandIndex, uint64_t precinctIndex, uint32_t cblkno, Subband *band, t1::CodeblockCompress *cblk, uint32_t *num_pix) |
| void | grk_to_gpup_compress_params (const grk_cparameters *src, gpup_compress_params *dst) |
| void | grk_to_gpup_decompress_params (const grk_decompress_parameters *src, gpup_decompress_params *dst) |
| void | gpup_to_grk_header_info (const gpup_header_info *src, grk_header_info *dst) |
| void | grk_to_gpup_header_info (const grk_header_info *src, gpup_header_info *dst) |
| gpup_image * | grk_to_gpup_image (const grk_image *src) |
| void | gpup_image_free_shell (gpup_image *img) |
| void | gpup_to_grk_image_shallow (const gpup_image *src, grk_image *dst) |
| grk_plugin_tile * | gpup_tile_to_grk (gpup_tile *src) |
| void | gpup_tile_update_grk (grk_plugin_tile *dst, gpup_tile *src) |
| void | grk_tile_sync_metadata_to_gpup (grk_plugin_tile *wrapper, gpup_tile *original) |
| void | grk_plugin_tile_free_wrapper (grk_plugin_tile *t) |
| gpup_tile * | grk_tile_to_gpup (grk_plugin_tile *src) |
| void | gpup_tile_free_wrapper (gpup_tile *t) |
| void | grk_to_gpup_stream_params (const grk_stream_params *src, gpup_stream_params *dst) |
| void | gpup_to_grk_stream_params (const gpup_stream_params *src, grk_stream_params *dst) |
| tf::Executor & | executor () |
| Returns a reference to the core library's tf::Executor. | |
| size_t | num_workers () |
| Returns the total number of worker threads in the core pool. | |
| uint32_t | worker_id () |
| Returns the TaskFlow worker id of the calling thread. | |
| static int32_t | get_file_open_mode (const char *mode) |
| static uint64_t | size_proc (grk_handle fd) |
| static void * | grk_map (grk_handle fd, size_t len, bool do_read) |
| static int32_t | unmap (void *ptr, size_t len) |
| static grk_handle | open_fd (const char *fname, const char *mode) |
| static int32_t | close_fd (grk_handle fd) |
| static void | mem_map_free (void *user_data) |
| IStream * | createMappedFileReadStream (grk_stream_params *stream_param) |
| IStream * | create_mapped_file_write_stream (const char *fname) |
| bool | detectFormat (const uint8_t *buffer, GRK_CODEC_FORMAT *fmt) |
| Detect JPEG 2000 format from buffer Format is either GRK_FMT_J2K or GRK_FMT_JP2. | |
| static void | memStreamUserDataFree (void *user_data) |
| static void | memStreamFree (void *user_data) |
| static size_t | memStreamZeroCopyRead (uint8_t **buffer, size_t numBytes, void *src) |
| static size_t | memStreamRead (uint8_t *dest, size_t numBytes, void *src) |
| static size_t | memStreamWrite (const uint8_t *src, size_t numBytes, void *dest) |
| static bool | memStreamSeek (uint64_t numBytes, void *src) |
| void | memStreamSetup (IStream *stream, bool isReadStream) |
| IStream * | memStreamCreate (uint8_t *buf, size_t len, bool ownsBuffer, grk_stream_free_user_data_fn freeCallback, GRK_CODEC_FORMAT format, bool readStream) |
| Create stream from buffer. | |
| void | grk_write (uint8_t *dest, const uint8_t *value, uint8_t sizeOfType, uint32_t numBytes) |
| template<typename TYPE> | |
| void | grk_write (uint8_t *dest, TYPE value, uint32_t numBytes) |
| template<typename TYPE> | |
| void | grk_write (uint8_t *dest, TYPE value) |
| template<typename TYPE> | |
| void | grk_write (uint8_t **dest, TYPE value) |
| template<typename TYPE> | |
| void | grk_read (const uint8_t *src, TYPE *value, uint32_t numBytes) |
| template<typename TYPE> | |
| void | grk_read (uint8_t **src, uint32_t *bytesRemaining, TYPE *value, uint32_t numBytes) |
| template<typename TYPE> | |
| void | grk_read (uint8_t **src, TYPE *value, uint32_t numBytes) |
| template<typename TYPE> | |
| void | grk_read (const uint8_t *dest, TYPE *value) |
| template<typename TYPE> | |
| void | grk_read (uint8_t **dest, uint32_t *bytesRemaining, TYPE *value) |
| template<typename TYPE> | |
| void | grk_read (uint8_t **dest, TYPE *value) |
| template<typename T> | |
| void | grk_copy_strided (uint32_t w, uint32_t stride, uint32_t h, const T *src, int32_t *dest) |
| Assume that source stride == source width == destination width. | |
| template<typename T> | |
| T | clip (int64_t val) |
| template<typename T> | |
| T | satAdd (int64_t lhs, int64_t rhs) |
| template<typename T> | |
| T | satAdd (T lhs, T rhs) |
| template<typename T> | |
| T | satSub (T lhs, T rhs) |
| template<typename T> | |
| T | satSub (int64_t lhs, int64_t rhs) |
| template<typename T> | |
| void | clip (grk_image_comp *component, uint8_t precision) |
| void | hwy_clip_i32 (int32_t *data, uint32_t w, uint32_t h, uint32_t stride, int32_t minVal, int32_t maxVal) |
| void | hwy_scale_mul_i32 (int32_t *data, uint32_t w, uint32_t h, uint32_t stride, int32_t scale) |
| void | hwy_scale_div_i32 (int32_t *data, uint32_t w, uint32_t h, uint32_t stride, int32_t scale) |
| void | hwy_sycc444_to_rgb_i32 (const int32_t *y, const int32_t *cb, const int32_t *cr, int32_t *r, int32_t *g, int32_t *b, uint32_t w, uint32_t h, uint32_t src_stride, uint32_t dst_stride, int32_t offset, int32_t upb) |
| void | hwy_esycc_to_rgb_i32 (int32_t *yd, int32_t *bd, int32_t *rd, uint32_t w, uint32_t h, uint32_t stride, int32_t max_value, int32_t flip_value, bool sign1, bool sign2) |
| void | hwy_planar_to_packed_8 (const int32_t *r, const int32_t *g, const int32_t *b, uint8_t *out, uint32_t w, uint32_t h, uint32_t src_stride) |
| void | hwy_packed_to_planar_8 (const uint8_t *in, int32_t *r, int32_t *g, int32_t *b, uint32_t w, uint32_t h, uint32_t dst_stride) |
| void | hwy_planar_to_packed_16 (const int32_t *r, const int32_t *g, const int32_t *b, uint16_t *out, uint32_t w, uint32_t h, uint32_t src_stride) |
| void | hwy_packed_to_planar_16 (const uint16_t *in, int32_t *r, int32_t *g, int32_t *b, uint32_t w, uint32_t h, uint32_t dst_stride) |
| void | hwy_copy_tile_to_swath (const grk_image *tile_img, const grk_swath_buffer *buf) |
| Copy a decoded tile image (int32_t planar) into a swath output buffer described by grk_swath_buffer. | |
| GRK_SIMD_API void | hwy_unpack_8u_to_i32 (const uint8_t *src, int32_t *dest, size_t w, bool invert) |
| GRK_SIMD_API void | hwy_unpack_8s_to_i32 (const uint8_t *src, int32_t *dest, size_t w, bool invert) |
| GRK_SIMD_API void | hwy_unpack_16be_to_i32 (const uint8_t *src, int32_t *dest, size_t w, bool invert) |
| GRK_SIMD_API void | hwy_unpack_16le_to_i32 (const uint16_t *src, int32_t *dest, size_t w, bool invert) |
| GRK_SIMD_API void | hwy_deinterleave_i32 (const int32_t *src, int32_t *const *dest, uint32_t w, uint16_t numComps) |
| GRK_SIMD_API void | hwy_pack_planar_to_8 (const int32_t *const *src, uint32_t numPlanes, uint8_t *dest, uint32_t w, int32_t adjust) |
| GRK_SIMD_API void | hwy_pack_planar_to_16 (const int32_t *const *src, uint32_t numPlanes, uint16_t *dest, uint32_t w, int32_t adjust) |
| GRK_SIMD_API void | hwy_pack_planar_to_16be (const int32_t *const *src, uint32_t numPlanes, uint8_t *dest, uint32_t w, int32_t adjust) |
| GRK_SIMD_API void | hwy_scale_component_up (int32_t *data, uint32_t w, uint32_t h, uint32_t stride, int32_t scale) |
| GRK_SIMD_API void | hwy_scale_component_down (int32_t *data, uint32_t w, uint32_t h, uint32_t stride, int32_t scale) |
| template<typename T> | |
| uint32_t | ceildiv (T a, T b) |
| Divide an integer by another integer and round upwards. | |
| template<typename T> | |
| T | ceildivpow2 (T a, uint8_t b) |
| static uint32_t | floordivpow2 (uint32_t a, uint8_t b) |
| Divide an unsigned integer by a power of 2 and round downwards. | |
| static int32_t | fix_mul (int32_t a, int32_t b) |
| Multiply two fixed-point numbers. | |
| static uint8_t | floorlog2 (uint32_t a) |
| Get logarithm of an integer and round downwards. | |
| template<typename T> | |
| uint32_t | grk_make_aligned_width (uint32_t width) |
| void * | grk_malloc (size_t size) |
| void * | grk_calloc (size_t num, size_t size) |
| void * | grk_aligned_malloc (size_t bytes) |
| void * | grk_aligned_malloc (size_t alignment, size_t bytes) |
| void * | grk_realloc (void *ptr, size_t new_size) |
| void | grk_free (void *ptr) |
| void | grk_aligned_free (void *ptr) |
| void | grk_print_memory_stats () |
| template<typename T> | |
| T * | grk_unref (T *w) |
| template<typename T> | |
| T * | grk_ref (T *w) |
| uint32_t | get_PLL_COLS_53 () |
| uint32_t | get_PLL_COLS_16_53 () |
| uint32_t | get_PLL_COLS_16_97 () |
Variables | |
| const uint32_t | default_numbers_segments = 10 |
| const uint32_t | default_header_size = 4096 |
| const uint32_t | default_number_mcc_records = 10 |
| const uint32_t | default_number_mct_records = 10 |
| const uint32_t | sotMarkerSegmentLen = 12U |
| const uint32_t | SPCodSPCocLen = 5U |
| const uint32_t | codSocLen = 5U |
| const uint32_t | tlmMarkerBytesPerTilePart = 6 |
| const uint32_t | GRK_COMP_PARAM_DEFAULT_CBLOCKW = 64 |
| const uint32_t | GRK_COMP_PARAM_DEFAULT_CBLOCKH = 64 |
| const GRK_PROG_ORDER | GRK_DEFAULT_PROG_ORDER = GRK_LRCP |
| const uint32_t | GRK_DEFAULT_NUMRESOLUTION = 6 |
| const uint8_t | CP_CSTY_PRT = 0x01 |
| const uint8_t | CP_CSTY_SOP = 0x02 |
| const uint8_t | CP_CSTY_EPH = 0x04 |
| const uint8_t | CCP_CSTY_PRECINCT = 0x01 |
| const uint8_t | CCP_QNTSTY_NOQNT = 0x00 |
| const uint8_t | CCP_QNTSTY_SIQNT = 0x01 |
| const uint8_t | CCP_QNTSTY_SEQNT = 0x02 |
| const uint16_t | SOC = 0xff4f |
| const uint16_t | SOT = 0xff90 |
| SOC marker. | |
| const uint16_t | SOD = 0xff93 |
| SOT marker. | |
| const uint16_t | EOC = 0xffd9 |
| SOD marker. | |
| const uint16_t | CAP = 0xff50 |
| EOC marker. | |
| const uint16_t | SIZ = 0xff51 |
| CAP marker. | |
| const uint16_t | COD = 0xff52 |
| SIZ marker. | |
| const uint16_t | COC = 0xff53 |
| COD marker. | |
| const uint16_t | RGN = 0xff5e |
| COC marker. | |
| const uint16_t | QCD = 0xff5c |
| RGN marker. | |
| const uint16_t | QCC = 0xff5d |
| QCD marker. | |
| const uint16_t | POC = 0xff5f |
| QCC marker. | |
| const uint16_t | TLM = 0xff55 |
| POC marker. | |
| const uint16_t | PLM = 0xff57 |
| TLM marker. | |
| const uint16_t | PLT = 0xff58 |
| PLM marker. | |
| const uint16_t | PPM = 0xff60 |
| PLT marker. | |
| const uint16_t | PPT = 0xff61 |
| PPM marker. | |
| const uint16_t | SOP = 0xff91 |
| PPT marker. | |
| const uint16_t | EPH = 0xff92 |
| SOP marker. | |
| const uint16_t | CRG = 0xff63 |
| EPH marker. | |
| const uint16_t | COM = 0xff64 |
| CRG marker. | |
| const uint16_t | CBD = 0xff78 |
| COM marker. | |
| const uint16_t | MCC = 0xff75 |
| CBD marker. | |
| const uint16_t | MCT = 0xff74 |
| MCC marker. | |
| const uint16_t | MCO = 0xff77 |
| MCT marker. | |
| const uint16_t | UNK = 0 |
| MCO marker. | |
| const uint8_t | MARKER_BYTES = 2 |
| UNKNOWN marker. | |
| const uint8_t | MARKER_LENGTH_BYTES = 2 |
| const uint8_t | MARKER_BYTES_PLUS_MARKER_LENGTH_BYTES = MARKER_BYTES + MARKER_LENGTH_BYTES |
| const uint32_t | MCT_ELEMENT_SIZE [] = {2, 4, 4, 8} |
| const uint16_t | maxNumComponentsJ2K = 16384 |
| const uint8_t | maxPrecisionJ2K = 38 |
| const uint8_t | maxPassesPerSegmentJ2K = (maxPrecisionJ2K - 1) * 3 + 1 |
| const uint16_t | maxNumTilesJ2K = 65535 |
| const uint8_t | maxTilePartsPerTileJ2K = 255 |
| const uint16_t | maxTotalTilePartsJ2K = 65535 |
| const uint32_t | maxTilePartSizeJ2K = UINT_MAX |
| const uint16_t | maxNumLayersJ2K = 65535 |
| const uint32_t | maxBitPlanesJ2K = 30 |
| const uint16_t | maxCompressLayersGRK = 100 |
| static const mct_function | mct_write_functions_from_float [] |
| static prog_order | prog_order_list [] |
| const uint16_t | plWriteBufferLen = USHRT_MAX - 4 |
| const uint32_t | tlm_marker_start_bytes = 6 |
| static const uint16_t | tabMaxSubLevelFromMainLevel [] |
| const uint32_t | JP2_DTBL = 0x6474626c |
| const uint32_t | JP2_UINF = 0x75696e66 |
| Data Reference box. | |
| const uint32_t | JP2_ULST = 0x756c7374 |
| UUID info box (super-box). | |
| const uint32_t | JP2_URL = 0x75726c20 |
| UUID list box. | |
| const uint32_t | JP2_JUMB = 0x6a756d62 |
| Data entry URL box. | |
| const uint8_t | IPTC_UUID [16] |
| JUMBF super box (ISO/IEC 19566-5). | |
| const uint8_t | XMP_UUID [16] |
| const uint8_t | EXIF_UUID [16] |
| const uint8_t | EXIF_UUID_PS [16] |
| const uint8_t | GEOTIFF_UUID [16] |
| const uint8_t | MSIG_UUID [16] |
| const uint32_t | JP2_JP = 0x6a502020 |
| const uint32_t | JP2_SIG = 0x0d0a870a |
| JPEG 2000 signature box. | |
| const uint32_t | JP2_FTYP = 0x66747970 |
| JPEG 2000 signature. | |
| const uint32_t | JP2_JP2 = 0x6a703220 |
| File type box. | |
| const uint32_t | JP2_JPH = 0x6A706820 |
| File type fields. | |
| const uint32_t | JP2_JPX = 0x6a707820 |
| const uint32_t | JP2_JP2H = 0x6a703268 |
| JPX file type. | |
| const uint32_t | JP2_IHDR = 0x69686472 |
| JP2 header box (super-box). | |
| const uint32_t | JP2_BPCC = 0x62706363 |
| Image header box. | |
| const uint32_t | JP2_COLR = 0x636f6c72 |
| Bits per component box. | |
| const uint32_t | JP2_PCLR = 0x70636c72 |
| Colour specification box. | |
| const uint32_t | JP2_CMAP = 0x636d6170 |
| Palette box. | |
| const uint32_t | JP2_CDEF = 0x63646566 |
| Component Mapping box. | |
| const uint32_t | JP2_RES = 0x72657320 |
| Channel Definition box. | |
| const uint32_t | JP2_CAPTURE_RES = 0x72657363 |
| Resolution box (super-box). | |
| const uint32_t | JP2_DISPLAY_RES = 0x72657364 |
| Capture resolution box. | |
| const uint32_t | JP2_JP2C = 0x6a703263 |
| Display resolution box. | |
| const uint32_t | JP2_JP2I = 0x6a703269 |
| Contiguous code stream box. | |
| const uint32_t | JP2_XML = 0x786d6c20 |
| Intellectual property box. | |
| const uint32_t | JP2_UUID = 0x75756964 |
| XML box. | |
| const uint32_t | JP2_ASOC = 0x61736f63 |
| UUID box. | |
| const uint32_t | JP2_LBL = 0x6c626c20 |
| Associated data box. | |
| const uint32_t | JP2_RREQ = 0x72726571 |
| Label box. | |
| minpf_plugin_manager * | managerInstance |
| const uint8_t | gain_b [4] = {0, 1, 1, 2} |
| static const char * | JP2_RFC3745_MAGIC = "\x00\x00\x00\x0c\x6a\x50\x20\x20\x0d\x0a\x87\x0a" |
| static const char * | CODESTREAM_MAGIC = "\xff\x4f\xff\x51" |
| static const char * | JP2_MAGIC = "\x6a\x70" |
| static const char * | MJ2_MAGIC = "\x6d\x6a" |
| constexpr size_t | GRK_INCLUDE_TRACKER_CHUNK_SIZE = 1024 |
| Chunk size for chunked resolution include buffer. | |
| const double | slopeCutoff = pow(2, 64) |
| const double | scale = 256 / log(2) |
| const double | invScale = log(2) / 256 |
| const double | shift = 1 << 16 |
| const uint32_t | singleTileRowsPerStrip = 32 |
| constexpr uint32_t | GRK_CIE_DAY = ((((uint32_t)'C') << 24) + (((uint32_t)'T') << 16)) |
| constexpr uint32_t | GRK_CIE_D50 = ((uint32_t)0x00443530) |
| constexpr uint32_t | GRK_CIE_D65 = ((uint32_t)0x00443635) |
| constexpr uint32_t | GRK_CIE_D75 = ((uint32_t)0x00443735) |
| constexpr uint32_t | GRK_CIE_SA = ((uint32_t)0x00005341) |
| constexpr uint32_t | GRK_CIE_SC = ((uint32_t)0x00005343) |
| constexpr uint32_t | GRK_CIE_F2 = ((uint32_t)0x00004632) |
| constexpr uint32_t | GRK_CIE_F7 = ((uint32_t)0x00004637) |
| constexpr uint32_t | GRK_CIE_F11 = ((uint32_t)0x00463131) |
| ILogger & | grklog = Logger::logger_ |
| const size_t | grk_buffer_alignment = 64 |
Manage all buffers for a single DWT resolution. This class stores a buffer for the resolution (in REL coordinates), and also buffers for the 4 sub-bands generated by the DWT transform (in Canvas coordinates).
Note: if highest resolution window is set, then only this window allocates memory, and all other ResWindow buffers attach themselves to the highest resolution buffer
| typedef std::function<bool(uint8_t* headerData, uint32_t headerSize)> grk::BOX_FUNC |
| using grk::Buffer2dAligned32 = Buffer2d<int32_t, AllocatorAligned> |
| using grk::Buffer8 = Buffer<uint8_t, AllocatorVanilla> |
| using grk::BufferAligned8 = Buffer<uint8_t, AllocatorAligned> |
| typedef std::unordered_map<CoderKey, std::vector<std::shared_ptr<t1::ICoder> >, CoderKeyHash> grk::CODERMAP |
| typedef std::vector<ResBlocks> grk::ComponentBlocks |
| typedef size_t(* grk::CURL_FETCHER_WRITE_CALLBACK) (void *contents, size_t size, size_t nmemb, void *userp) |
| typedef int32_t grk::grk_handle |
| using grk::Line32 = Line<uint32_t> |
| typedef std::function<bool(uint8_t* headerData, uint16_t headerSize)> grk::MARKER_CALLBACK |
| typedef void(* grk::mct_function) (const void *p_src_data, void *p_dest_data, uint64_t nb_elem) |
| typedef void *(* grk::minpf_create_func) (minpf_object_params *) |
| typedef int32_t(* grk::minpf_destroy_func) (void *) |
| typedef int32_t(* grk::minpf_exit_func) () |
| typedef int32_t(* grk::minpf_invoke_service_func) (const char *serviceName, void *serviceParams) |
| typedef struct grk::minpf_object_params grk::minpf_object_params |
| typedef struct grk::minpf_platform_services grk::minpf_platform_services |
| typedef struct grk::minpf_plugin_api_version grk::minpf_plugin_api_version |
| typedef struct grk::minpf_plugin_manager grk::minpf_plugin_manager |
| typedef minpf_exit_func(* grk::minpf_post_load_func) (const minpf_platform_services *) |
| typedef int32_t(* grk::minpf_register_func) (const char *nodeType, const minpf_register_params *params) |
| typedef struct grk::minpf_register_params grk::minpf_register_params |
| typedef int32_t(* grk::PLUGIN_BATCH_DECODE) (void) |
| typedef int32_t(* grk::PLUGIN_BATCH_ENCODE) (gpup_compress_batch_info info) |
| typedef void(* grk::PLUGIN_DEBUG_MQC_NEXT_CXD) (grk_plugin_debug_mqc *mqc, uint32_t d) |
| typedef void(* grk::PLUGIN_DEBUG_MQC_NEXT_PLANE) (grk_plugin_debug_mqc *mqc) |
| typedef int32_t(* grk::PLUGIN_DECODE) (gpup_decompress_params *decoding_parameters, PLUGIN_DECODE_USER_CALLBACK userCallback) |
| typedef int32_t(* grk::PLUGIN_DECODE_USER_CALLBACK) (PluginDecodeCallbackInfo *info) |
| typedef int32_t(* grk::PLUGIN_ENCODE) (gpup_compress_params *encoding_parameters, GPUP_COMPRESS_USER_CALLBACK callback) |
| typedef uint32_t(* grk::PLUGIN_GET_DEBUG_STATE) (void) |
| typedef bool(* grk::PLUGIN_INIT) (gpup_init_info initInfo) |
| typedef int32_t(* grk::PLUGIN_INIT_BATCH_DECODE) (const char *input_dir, const char *output_dir, gpup_decompress_params *decoding_parameters, PLUGIN_DECODE_USER_CALLBACK userCallback) |
| typedef void(* grk::PLUGIN_STOP_BATCH_DECODE) (void) |
| typedef void(* grk::PLUGIN_STOP_BATCH_ENCODE) (void) |
| typedef void(* grk::PLUGIN_WAIT_FOR_BATCH_COMPLETE) (void) |
| using grk::Point16 = Point<uint16_t> |
| using grk::Point32 = Point<uint32_t> |
| using grk::Point8 = Point<uint8_t> |
| typedef std::function<bool(void)> grk::PROCEDURE_FUNC |
| using grk::QueueMap = std::map<ResolutionLayerKey, std::queue<t1::mqcoder>> |
| typedef std::vector<std::unique_ptr<Buffer8> > grk::RAW_PL_MARKER |
collection of raw marker data stored in Buffer8
Packet lengths are stored using comma code
| typedef std::map<uint32_t, std::unique_ptr<RAW_PL_MARKER> > grk::RAW_PL_MARKER_MAP |
collection of RAW_PL_MARKER pointers
RAW_PL_MARKERs are index by map key. According to the standard this key should be <= 255 but in practice it is allowed to be larger
Note: order is important for this map
| typedef size_t(* grk::readZeroCopyCallback) (uint8_t **buffer, size_t numBytes, void *user_data) |
| typedef Rect< uint16_t > grk::Rect16 = Rect<uint16_t> |
| typedef Rect< uint32_t > grk::Rect32 = Rect<uint32_t> |
| using grk::RectD = Rect<double> |
| using grk::RectF = Rect<float> |
| using grk::ResolutionLayerKey = std::pair<uint8_t, uint16_t> |
| using grk::StripOutputCallback |
| using grk::TagTreeU16 = TagTree<uint16_t> |
| using grk::TagTreeU8 = TagTree<uint8_t> |
| typedef std::vector<ComponentBlocks> grk::TileBlocks |
| using grk::TileFetchCallback = std::function<void(size_t requestIndex, TileFetchContext* context)> |
| using grk::TPSEQ_VEC = std::vector<std::unique_ptr<TPSeq>> |
| typedef vec<float, 4> grk::vec4f |
| typedef std::function<uint8_t*(uint32_t* len)> grk::WRITE_FUNC |
|
strong |
| enum grk::JP2_STATE |
| enum grk::MCT_ARRAY_TYPE |
| enum grk::T2_MODE |
|
static |
| uint32_t grk::ceildiv | ( | T | a, |
| T | b ) |
Divide an integer by another integer and round upwards.
| a | integer of type T |
| b | integer of type T |
Referenced by grk::CodeStreamDecompress::activateScratch(), grk::PacketIter::genPrecinctX0Grid(), grk::PacketIter::genPrecinctY0Grid(), grk::CodeStreamCompress::init(), grk::TileProcessor::init(), grk::Profile::isBroadcastCompliant(), grk::TileProcessorCompress::preCompressTile(), grk::SIZMarker::read(), grk::Rect< uint32_t >::scaleDown(), grk::Rect< uint32_t >::scaleDownCeil(), grk::Rect< uint32_t >::scaleDownCeil(), grk::CodeStreamDecompress::setDecompressRegion(), and grk::GrkImage::subsampleAndReduce().
| T grk::ceildivpow2 | ( | T | a, |
| uint8_t | b ) |
Referenced by grk::CodeStreamDecompress::activateScratch(), grk::CodeStreamDecompress::decompress(), grk::PrecinctImpl::genCodeBlockGrid(), grk::Resolution::genPrecinctPartition(), grk::PacketIter::genPrecinctX0GridPCRL_OPT(), grk::PacketIter::genPrecinctX0GridRPCL_OPT(), grk::PacketIter::genPrecinctY0GridPCRL_OPT(), grk::PacketIter::genPrecinctY0GridRPCL_OPT(), grk::ResSimple::getBandWindow(), grk::PacketManager::getParams(), grk::GrkImage::postReadHeader(), grk::ResWindow< T >::ResWindow(), grk::Rect< uint32_t >::scaleDownCeilPow2(), grk::Rect< uint32_t >::scaleDownCeilPow2(), grk::Rect< uint32_t >::scaleDownPow2(), and grk::GrkImage::subsampleAndReduce().
| void grk::clip | ( | grk_image_comp * | component, |
| uint8_t | precision ) |
References GRK_MAX_SUPPORTED_IMAGE_PRECISION, and hwy_clip_i32().
| T grk::clip | ( | int64_t | val | ) |
Referenced by grk::GrkImage::convertPrecision(), satAdd(), satAdd(), satSub(), and satSub().
|
static |
Referenced by mem_map_free().
| void grk::compress_synch_with_plugin | ( | ITileProcessorCompress * | tileProcessor, |
| uint16_t | compno, | ||
| uint8_t | resno, | ||
| uint8_t | bandIndex, | ||
| uint64_t | precinctIndex, | ||
| uint32_t | cblkno, | ||
| Subband * | band, | ||
| t1::CodeblockCompress * | cblk, | ||
| uint32_t * | num_pix ) |
References grk::Rect32_16::area(), grk::t1::CodeblockCompress::getCompressedStream(), grk::ITileProcessor::getCurrentPluginTile(), grk::t1::CodeblockCompress::getLastPass(), grk::t1::CodeblockCompress::getNumPasses(), grk::t1::CodeblockCompress::getPaddedCompressedStream(), grk::t1::CodeblockCompress::getPass(), grk_plugin_get_debug_state(), GRK_PLUGIN_STATE_DEBUG, grklog, grk::ITileProcessorCompress::needsRateControl(), grk::t1::CodePass::rate_, grk::Buffer< T, A >::set_num_elts(), grk::t1::CodeblockCompress::setNumBps(), grk::t1::CodeblockCompress::setNumPasses(), grk::t1::CodeblockCompress::setPaddedCompressedStream(), grk::Subband::stepsize_, grk::Rect32_16::x0(), grk::Rect32_16::x1(), grk::Rect32_16::y0(), and grk::Rect32_16::y1().
Referenced by grk::TileProcessorCompress::pcrdBisectFeasible(), grk::TileProcessorCompress::pcrdBisectSimple(), and grk::TileProcessorCompress::syncPluginCodeBlockData().
| IStream * grk::create_mapped_file_write_stream | ( | const char * | fname | ) |
| IStream * grk::createMappedFileReadStream | ( | grk_stream_params * | stream_param | ) |
References detectFormat(), GRK_JPEG_2000_NUM_IDENTIFIER_BYTES, grk_map(), grklog, mem_map_free(), memStreamSetup(), open_fd(), and size_proc().
Referenced by grk::StreamGenerator::createFileStream().
| bool grk::detectFormat | ( | const uint8_t * | buffer, |
| GRK_CODEC_FORMAT * | fmt ) |
Detect JPEG 2000 format from buffer Format is either GRK_FMT_J2K or GRK_FMT_JP2.
| buffer | buffer |
| fmt | pointer to detected format |
References CODESTREAM_MAGIC, GRK_CODEC_J2K, GRK_CODEC_JP2, GRK_CODEC_MJ2, GRK_CODEC_UNK, grklog, JP2_MAGIC, JP2_RFC3745_MAGIC, and MJ2_MAGIC.
Referenced by createMappedFileReadStream(), grk_detect_format(), memStreamCreate(), and grk::StreamGenerator::validateStream().
|
inline |
Returns a reference to the core library's tf::Executor.
The executor is created by grk_initialize() and destroyed by grk_deinitialize(). Calling this outside that window is undefined.
References grk_thread_pool().
Referenced by grk::TileProcessorCompress::pcrdBisectFeasible(), and grk::TileProcessorCompress::pcrdBisectSimple().
|
inlinestatic |
Multiply two fixed-point numbers.
| a | N-bit precision fixed point number |
| b | 13-bit precision fixed point number |
|
inlinestatic |
Divide an unsigned integer by a power of 2 and round downwards.
Referenced by grk::PrecinctImpl::genCodeBlockGrid(), grk::Resolution::genPrecinctPartition(), grk::PacketIter::genPrecinctX0Grid(), grk::PacketIter::genPrecinctY0Grid(), grk::PacketManager::getParams(), and grk::ResPrecinctInfo::init().
|
inlinestatic |
Get logarithm of an integer and round downwards.
| a | 32 bit integer |
Referenced by grk::t1::BlockCoder::compress_cblk(), grk::T2Compress::compressHeader(), grk::Quantizer::generate(), grk::CodeStreamCompress::init(), grk::PLMarker::pushPL(), and grk::t1::CodeblockDecompressImpl::readPacketHeader().
|
static |
Referenced by open_fd().
|
static |
Referenced by minpf_load_from_dir().
| uint32_t grk::get_PLL_COLS_16_53 | ( | ) |
| uint32_t grk::get_PLL_COLS_16_97 | ( | ) |
| uint32_t grk::get_PLL_COLS_53 | ( | ) |
Referenced by grk::WaveletPoolData::alloc().
|
constexpr |
Referenced by grk::TileComponentWindowBase< T >::TileComponentWindowBase().
|
inline |
References _gpup_image::comps.
Referenced by grk_plugin_internal_decode_callback(), and grk_to_gpup_init_decompressors_bridge().
|
inline |
|
inline |
References _gpup_tile::decompress_flags, GRK_MAX_PASSES, _gpup_tile::numComponents, and _gpup_tile::tileComponents.
Referenced by grk_plugin_internal_decode_callback(), and grk_plugin_internal_encode_callback().
|
inline |
References _gpup_tile::decompress_flags, _gpup_tile::numComponents, and _gpup_tile::tileComponents.
Referenced by grk_plugin_internal_decode_callback(), and grk_plugin_internal_encode_callback().
|
inline |
References _gpup_header_info::cblk_sty, _gpup_header_info::cblockh_init, _gpup_header_info::cblockw_init, _gpup_header_info::csty, GPUP_MAXRLVLS, _gpup_header_info::irreversible, _gpup_header_info::max_layers_, _gpup_header_info::mct, _gpup_header_info::numresolutions, _gpup_header_info::prch_init, _gpup_header_info::prcw_init, _gpup_header_info::rsiz, _gpup_header_info::t_grid_height, _gpup_header_info::t_grid_width, _gpup_header_info::t_height, _gpup_header_info::t_width, _gpup_header_info::tx0, and _gpup_header_info::ty0.
Referenced by grk_plugin_internal_decode_callback(), and grk_to_gpup_init_decompressors_bridge().
|
inline |
|
inline |
|
inline |
References grk::MemoryManager::aligned_free(), and grk::MemoryManager::get().
Referenced by grk::t1::BlockCoder::alloc(), grk::WaveletPoolData::alloc(), grk::GrkImage::apply_palette_clr(), grk::AllocatorAligned< T >::dealloc(), grk::HWY_NAMESPACE::encode(), grk::HWY_NAMESPACE::encode_53_16(), grk::HWY_NAMESPACE::encode_97_16(), grk::WaveletPoolData::AlignedDeleter::operator()(), grk::dwt_scratch< ST >::release(), grk::GrkImage::single_component_data_free(), grk::t1::BlockCoder::~BlockCoder(), grk::GrkImage::~GrkImage(), grk::t1::mqcoder_backup::~mqcoder_backup(), and grk::HWY_NAMESPACE::WaveletFwdScheduleDataImpl< T, DWT >::~WaveletFwdScheduleDataImpl().
|
inline |
References grk::MemoryManager::aligned_malloc(), and grk::MemoryManager::get().
|
inline |
References grk::MemoryManager::aligned_malloc(), and grk::MemoryManager::get().
Referenced by grk::AllocatorAligned< T >::alloc(), grk::dwt_scratch< ST >::alloc(), grk::t1::BlockCoder::alloc(), grk::WaveletPoolData::alloc(), grk::GrkImage::allocData(), grk::BufferedStream::BufferedStream(), grk::t1::BlockCoder::decompressBackup(), grk::HWY_NAMESPACE::encode(), grk::HWY_NAMESPACE::encode_53_16(), grk::HWY_NAMESPACE::encode_97_16(), grk::HWY_NAMESPACE::schedule_encode(), and grk::TileProcessor::scheduleAndRunDecompress().
|
inline |
References grk::MemoryManager::calloc(), and grk::MemoryManager::get().
Referenced by assemble_super_box(), grk::GrkImage::check_color(), grk::TileCodingParams::initDefault(), grk::PPMMarker::read(), grk::FileFormatJP2Family::read_ftyp(), grk::FileFormatJP2Family::readHeaderProcedure(), grk::TileCodingParams::readPpt(), grk::FileFormatJP2Compress::write_bpc(), grk::FileFormatJP2Family::write_buffer(), grk::FileFormatJP2Compress::write_colr(), grk::FileFormatMJ2Compress::write_dinf(), grk::FileFormatMJ2Compress::write_hdlr(), grk::FileFormatJP2Compress::write_ihdr(), grk::FileFormatMJ2Compress::write_mdhd(), grk::FileFormatMJ2Compress::write_mvhd(), grk::FileFormatJP2Compress::write_res(), grk::FileFormatMJ2Compress::write_smj2(), grk::FileFormatMJ2Compress::write_stco(), grk::FileFormatMJ2Compress::write_stsc(), grk::FileFormatMJ2Compress::write_stsd(), grk::FileFormatMJ2Compress::write_stsz(), grk::FileFormatMJ2Compress::write_stts(), grk::FileFormatMJ2Compress::write_tkhd(), and grk::FileFormatMJ2Compress::write_vmhd().
| void grk::grk_copy_strided | ( | uint32_t | w, |
| uint32_t | stride, | ||
| uint32_t | h, | ||
| const T * | src, | ||
| int32_t * | dest ) |
Assume that source stride == source width == destination width.
Referenced by grk::TileProcessorCompress::ingestUncompressedData().
|
inline |
References grk::MemoryManager::free(), and grk::MemoryManager::get().
Referenced by grk::TileCodingParams::addMct(), assemble_super_box(), grk::GrkImage::check_color(), grk::CodeStreamCompress::init(), grk::CodeStreamCompress::init_mct_encoding(), grk::GrkMatrix::matrix_inversion_f(), grk::PPMMarker::merge(), grk::TileCodingParams::mergePpt(), grk::FileFormatJP2Family::readHeaderProcedure(), grk::TileCodingParams::readMcc(), grk::TileCodingParams::readMco(), grk::TileCodingParams::readMct(), grk::FileFormatJP2Compress::write_ipr(), grk::FileFormatJP2Compress::write_jp2h(), grk::FileFormatMJ2Compress::write_mdia(), grk::FileFormatMJ2Compress::write_minf(), grk::FileFormatMJ2Compress::write_moov(), grk::FileFormatMJ2Compress::write_smj2(), grk::FileFormatMJ2Compress::write_stbl(), grk::FileFormatMJ2Compress::write_stsd(), grk::FileFormatMJ2Compress::write_trak(), grk::FileFormatJP2Compress::write_xml_boxes(), grk::FileFormatJP2Family::~FileFormatJP2Family(), grk::PPMMarker::~PPMMarker(), and grk::TileCodingParams::~TileCodingParams().
| uint32_t grk::grk_make_aligned_width | ( | uint32_t | width | ) |
References grk_buffer_alignment.
Referenced by grk::dwt_scratch< ST >::alloc(), and grk::GrkImage::allocData().
|
inline |
References grk::MemoryManager::get(), and grk::MemoryManager::malloc().
Referenced by grk::TileCodingParams::addMct(), grk_set_MCT(), grk::CodeStreamCompress::init(), grk::FileFormatJP2Compress::init(), grk::CodeStreamCompress::init_mct_encoding(), grk::GrkMatrix::matrix_inversion_f(), grk::PPMMarker::read(), grk::TileCodingParams::readMct(), grk::TileCodingParams::readPpt(), grk::TileCodingParams::TileCodingParams(), grk::FileFormatJP2Compress::write_channel_definition(), grk::FileFormatJP2Compress::write_component_mapping(), and grk::FileFormatJP2Compress::write_palette_clr().
|
static |
Referenced by createMappedFileReadStream().
|
inline |
Referenced by grk_plugin_internal_decode_callback(), and grk_plugin_internal_encode_callback().
|
inline |
References grk::MemoryManager::get(), and grk::MemoryManager::print_stats().
| void grk::grk_read | ( | const uint8_t * | dest, |
| TYPE * | value ) |
References grk_read().
| void grk::grk_read | ( | const uint8_t * | src, |
| TYPE * | value, | ||
| uint32_t | numBytes ) |
Referenced by grk::FileFormatMJ2Decompress::decompressSampleInternal(), grk_read(), grk_read(), grk_read(), grk_read(), grk_read(), grk::PPMMarker::merge(), grk::PPMMarker::read(), grk::SIZMarker::read(), grk::TLMMarker::read(), grk::FileFormatJP2Family::read_asoc(), grk::FileFormatJP2Family::read_box_header(), grk::FileFormatJP2Family::read_box_header(), grk::FileFormatJP2Family::read_bpc(), grk::FileFormatJP2Family::read_channel_definition(), grk::FileFormatJP2Family::read_colr(), grk::FileFormatJP2Family::read_component_mapping(), grk::FileFormatMJ2Decompress::read_dref(), grk::FileFormatMJ2Decompress::read_fiel(), grk::FileFormatJP2Family::read_ftyp(), grk::FileFormatMJ2Decompress::read_hdlr(), grk::FileFormatJP2Family::read_ihdr(), grk::FileFormatMJ2Decompress::read_jp2p(), grk::FileFormatMJ2Decompress::read_jsub(), grk::FileFormatMJ2Decompress::read_mdhd(), grk::FileFormatMJ2Decompress::read_mvhd(), grk::FileFormatMJ2Decompress::read_orfo(), grk::FileFormatJP2Family::read_palette_clr(), grk::FileFormatJP2Family::read_res_box(), grk::FileFormatJP2Family::read_signature(), grk::FileFormatMJ2Decompress::read_smj2(), grk::FileFormatMJ2Decompress::read_stco(), grk::FileFormatMJ2Decompress::read_stsc(), grk::FileFormatMJ2Decompress::read_stsd(), grk::FileFormatMJ2Decompress::read_stsz(), grk::FileFormatMJ2Decompress::read_stts(), grk::FileFormatMJ2Decompress::read_tkhd(), grk::FileFormatMJ2Decompress::read_url(), grk::FileFormatMJ2Decompress::read_urn(), grk::FileFormatMJ2Decompress::read_version_and_flag(), grk::FileFormatMJ2Decompress::read_vmhd(), grk::CodeStreamDecompress::readCAP(), grk::CodeStreamDecompress::readCBD(), grk::TileCodingParams::readCoc(), grk::TileCodingParams::readCod(), grk::CodingParams::readCom(), grk::CodeStreamDecompress::readCRG(), grk::FileFormatMJ2Decompress::readHeader(), grk::TileCodingParams::readMcc(), grk::TileCodingParams::readMco(), grk::TileCodingParams::readMct(), grk::TileCodingParams::readPoc(), grk::TileCodingParams::readPpt(), grk::TileCodingParams::readQcc(), grk::TileCodingParams::readRgn(), grk::MarkerParser::readShort(), grk::CodeStreamDecompress::readSOC(), grk::CodeStreamDecompress::readSOT(), grk::TileProcessor::readSOT(), grk::TileCodingParams::readSPCodSPCoc(), and grk::TileCodingParams::readSQcdSQcc().
| void grk::grk_read | ( | uint8_t ** | dest, |
| TYPE * | value ) |
References grk_read().
| void grk::grk_read | ( | uint8_t ** | dest, |
| uint32_t * | bytesRemaining, | ||
| TYPE * | value ) |
References grk_read().
| void grk::grk_read | ( | uint8_t ** | src, |
| TYPE * | value, | ||
| uint32_t | numBytes ) |
References grk_read().
| void grk::grk_read | ( | uint8_t ** | src, |
| uint32_t * | bytesRemaining, | ||
| TYPE * | value, | ||
| uint32_t | numBytes ) |
References grk_read().
|
inline |
References grk::MemoryManager::get(), and grk::MemoryManager::realloc().
Referenced by grk::CodeStreamCompress::init_mct_encoding(), grk::PPMMarker::read(), grk::FileFormatJP2Family::readHeaderProcedure(), grk::TileCodingParams::readMcc(), grk::TileCodingParams::readMct(), and grk::TileCodingParams::readPpt().
| T * grk::grk_ref | ( | T * | w | ) |
References grk_object_ref().
Referenced by grk::GrkImage::copyHeaderTo(), grk::FileFormatMJ2Decompress::decompressSampleInternal(), and grk::FileFormatJP2Compress::init().
|
inline |
References _gpup_tile::numComponents, and _gpup_tile::tileComponents.
Referenced by grk_plugin_internal_decode_callback().
|
inline |
References GRK_MAX_PASSES.
|
inline |
References _gpup_compress_params::allocationByQuality, _gpup_compress_params::allocationByRateDistoration, _gpup_compress_params::cblk_sty, _gpup_compress_params::cblockh_init, _gpup_compress_params::cblockw_init, _gpup_compress_params::cod_format, _gpup_compress_params::csty, _gpup_compress_params::decod_format, _gpup_compress_params::deviceId, _gpup_compress_params::duration, _gpup_compress_params::enableTilePartGeneration, _gpup_compress_params::framerate, GPUP_MAX_LAYERS, GPUP_MAXRLVLS, GPUP_PATH_LEN, _gpup_compress_params::image_offset_x0, _gpup_compress_params::image_offset_y0, _gpup_compress_params::infile, _gpup_compress_params::irreversible, _gpup_compress_params::kernelBuildOptions, _gpup_compress_params::layer_distortion, _gpup_compress_params::layer_rate, _gpup_compress_params::max_comp_size, _gpup_compress_params::max_cs_size, _gpup_compress_params::mct, _gpup_compress_params::newTilePartProgressionDivider, _gpup_compress_params::numgbits, _gpup_compress_params::numlayers, _gpup_compress_params::numpocs, _gpup_compress_params::numresolution, _gpup_compress_params::numThreads, _gpup_compress_params::outfile, _gpup_compress_params::prch_init, _gpup_compress_params::prcw_init, _gpup_compress_params::prog_order, _gpup_compress_params::rateControlAlgorithm, _gpup_compress_params::repeats, _gpup_compress_params::res_spec, _gpup_compress_params::roi_compno, _gpup_compress_params::roi_shift, _gpup_compress_params::rsiz, _gpup_compress_params::sharedMemoryInterface, _gpup_compress_params::subsampling_dx, _gpup_compress_params::subsampling_dy, _gpup_compress_params::t_height, _gpup_compress_params::t_width, _gpup_compress_params::tile_size_on, _gpup_compress_params::tx0, _gpup_compress_params::ty0, and _gpup_compress_params::verbose.
Referenced by grk_plugin_batch_compress(), and grk_plugin_compress().
|
inline |
References _gpup_decompress_params::cod_format, _gpup_decompress_params::core, _gpup_decompress_params::decod_format, _gpup_decompress_params::deviceId, _gpup_decompress_params::dw_x0, _gpup_decompress_params::dw_x1, _gpup_decompress_params::dw_y0, _gpup_decompress_params::dw_y1, GPUP_PATH_LEN, _gpup_decompress_params::infile, _gpup_decompress_params::kernelBuildOptions, _gpup_decompress_core_params::layers_to_decompress_, _gpup_decompress_params::numThreads, _gpup_decompress_params::outfile, _gpup_decompress_core_params::reduce, _gpup_decompress_params::repeats, _gpup_decompress_params::tileIndex, _gpup_decompress_params::user_data, and _gpup_decompress_params::verbose_.
Referenced by grk_plugin_decompress(), and grk_plugin_init_batch_decompress().
|
inline |
References _gpup_header_info::cblk_sty, _gpup_header_info::cblockh_init, _gpup_header_info::cblockw_init, _gpup_header_info::csty, GPUP_MAXRLVLS, _gpup_header_info::irreversible, _gpup_header_info::max_layers_, _gpup_header_info::mct, _gpup_header_info::numresolutions, _gpup_header_info::prch_init, _gpup_header_info::prcw_init, _gpup_header_info::rsiz, _gpup_header_info::t_grid_height, _gpup_header_info::t_grid_width, _gpup_header_info::t_height, _gpup_header_info::t_width, _gpup_header_info::tx0, and _gpup_header_info::ty0.
Referenced by grk_plugin_internal_decode_callback(), and grk_to_gpup_init_decompressors_bridge().
|
inline |
Referenced by grk_plugin_internal_decode_callback(), and grk_to_gpup_init_decompressors_bridge().
|
inline |
| T * grk::grk_unref | ( | T * | w | ) |
References grk_object_unref().
Referenced by grk::GrkImage::cieLabToRGB(), grk::GrkImage::copyHeaderTo(), grk::FileFormatMJ2Decompress::decompress(), grk::FileFormatMJ2Decompress::decompressSampleInternal(), grk::RefCountedDeleter< T >::operator()(), grk::TileProcessor::post_decompressT2T1(), grk::TileProcessor::release(), grk::TileProcessor::releaseForSwath(), grk::TileProcessor::scheduleAndRunDecompress(), grk::TileProcessor::setImage(), grk::GrkImage::sycc420_to_rgb(), grk::GrkImage::sycc422_to_rgb(), grk::GrkImage::sycc444_to_rgb(), grk::CodeStream::~CodeStream(), grk::FileFormatJP2Compress::~FileFormatJP2Compress(), grk::FileFormatMJ2::~FileFormatMJ2(), grk::FileFormatMJ2Decompress::~FileFormatMJ2Decompress(), and grk::GrkImage::~GrkImage().
| void grk::grk_write | ( | uint8_t ** | dest, |
| TYPE | value ) |
References grk_write().
| void grk::grk_write | ( | uint8_t * | dest, |
| const uint8_t * | value, | ||
| uint8_t | sizeOfType, | ||
| uint32_t | numBytes ) |
Referenced by assemble_super_box(), grk_write(), grk_write(), grk_write(), write(), grk::FileFormatJP2Compress::write_bpc(), grk::FileFormatJP2Family::write_buffer(), grk::FileFormatJP2Compress::write_channel_definition(), grk::FileFormatJP2Compress::write_colr(), grk::FileFormatJP2Compress::write_component_mapping(), grk::FileFormatMJ2Compress::write_dinf(), grk::FileFormatMJ2Compress::write_hdlr(), grk::FileFormatJP2Compress::write_ihdr(), grk::FileFormatMJ2Compress::write_mdhd(), grk::FileFormatMJ2Compress::write_mvhd(), grk::BufferedStream::write_non_template(), grk::FileFormatJP2Compress::write_palette_clr(), grk::FileFormatJP2Compress::write_res(), grk::FileFormatJP2Compress::write_res_box(), grk::FileFormatMJ2Compress::write_smj2(), grk::FileFormatMJ2Compress::write_stco(), grk::FileFormatMJ2Compress::write_stsc(), grk::FileFormatMJ2Compress::write_stsd(), grk::FileFormatMJ2Compress::write_stsz(), grk::FileFormatMJ2Compress::write_stts(), grk::FileFormatMJ2Compress::write_tkhd(), and grk::FileFormatMJ2Compress::write_vmhd().
| void grk::grk_write | ( | uint8_t * | dest, |
| TYPE | value ) |
References grk_write().
| void grk::grk_write | ( | uint8_t * | dest, |
| TYPE | value, | ||
| uint32_t | numBytes ) |
References grk_write().
| void grk::hwy_clip_i32 | ( | int32_t * | data, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | minVal, | ||
| int32_t | maxVal ) |
Referenced by clip().
| void grk::hwy_copy_tile_to_swath | ( | const grk_image * | tile_img, |
| const grk_swath_buffer * | buf ) |
Copy a decoded tile image (int32_t planar) into a swath output buffer described by grk_swath_buffer.
Handles any output type (uint8, int16, uint16, int32, uint32) and any GDAL-style pixel/line/band spacing (BIP, BSQ, etc.). Conversion follows GDALCopyWords semantics: values are clamped to the output range. Assumes component subsampling dx == dy == 1.
Referenced by grk_copy_tile_to_swath(), and grk::CodeStreamDecompress::scheduleSwathCopy().
| GRK_SIMD_API void grk::hwy_deinterleave_i32 | ( | const int32_t * | src, |
| int32_t *const * | dest, | ||
| uint32_t | w, | ||
| uint16_t | numComps ) |
References GRK_SIMD_API.
| void grk::hwy_esycc_to_rgb_i32 | ( | int32_t * | yd, |
| int32_t * | bd, | ||
| int32_t * | rd, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | max_value, | ||
| int32_t | flip_value, | ||
| bool | sign1, | ||
| bool | sign2 ) |
Referenced by grk::GrkImage::color_esycc_to_rgb().
| GRK_SIMD_API void grk::hwy_pack_planar_to_16 | ( | const int32_t *const * | src, |
| uint32_t | numPlanes, | ||
| uint16_t * | dest, | ||
| uint32_t | w, | ||
| int32_t | adjust ) |
References GRK_SIMD_API.
| GRK_SIMD_API void grk::hwy_pack_planar_to_16be | ( | const int32_t *const * | src, |
| uint32_t | numPlanes, | ||
| uint8_t * | dest, | ||
| uint32_t | w, | ||
| int32_t | adjust ) |
References GRK_SIMD_API.
| GRK_SIMD_API void grk::hwy_pack_planar_to_8 | ( | const int32_t *const * | src, |
| uint32_t | numPlanes, | ||
| uint8_t * | dest, | ||
| uint32_t | w, | ||
| int32_t | adjust ) |
References GRK_SIMD_API.
| void grk::hwy_packed_to_planar_16 | ( | const uint16_t * | in, |
| int32_t * | r, | ||
| int32_t * | g, | ||
| int32_t * | b, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | dst_stride ) |
Referenced by grk::GrkImage::applyICC().
| void grk::hwy_packed_to_planar_8 | ( | const uint8_t * | in, |
| int32_t * | r, | ||
| int32_t * | g, | ||
| int32_t * | b, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | dst_stride ) |
Referenced by grk::GrkImage::applyICC().
| void grk::hwy_planar_to_packed_16 | ( | const int32_t * | r, |
| const int32_t * | g, | ||
| const int32_t * | b, | ||
| uint16_t * | out, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | src_stride ) |
Referenced by grk::GrkImage::applyICC().
| void grk::hwy_planar_to_packed_8 | ( | const int32_t * | r, |
| const int32_t * | g, | ||
| const int32_t * | b, | ||
| uint8_t * | out, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | src_stride ) |
Referenced by grk::GrkImage::applyICC().
| GRK_SIMD_API void grk::hwy_scale_component_down | ( | int32_t * | data, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | scale ) |
References GRK_SIMD_API, and scale.
| GRK_SIMD_API void grk::hwy_scale_component_up | ( | int32_t * | data, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | scale ) |
References GRK_SIMD_API, and scale.
| void grk::hwy_scale_div_i32 | ( | int32_t * | data, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | scale ) |
References scale.
Referenced by grk::GrkImage::scaleComponent().
| void grk::hwy_scale_mul_i32 | ( | int32_t * | data, |
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | stride, | ||
| int32_t | scale ) |
References scale.
Referenced by grk::GrkImage::scaleComponent().
| void grk::hwy_sycc444_to_rgb_i32 | ( | const int32_t * | y, |
| const int32_t * | cb, | ||
| const int32_t * | cr, | ||
| int32_t * | r, | ||
| int32_t * | g, | ||
| int32_t * | b, | ||
| uint32_t | w, | ||
| uint32_t | h, | ||
| uint32_t | src_stride, | ||
| uint32_t | dst_stride, | ||
| int32_t | offset, | ||
| int32_t | upb ) |
Referenced by grk::GrkImage::sycc444_to_rgb().
| GRK_SIMD_API void grk::hwy_unpack_16be_to_i32 | ( | const uint8_t * | src, |
| int32_t * | dest, | ||
| size_t | w, | ||
| bool | invert ) |
References GRK_SIMD_API.
| GRK_SIMD_API void grk::hwy_unpack_16le_to_i32 | ( | const uint16_t * | src, |
| int32_t * | dest, | ||
| size_t | w, | ||
| bool | invert ) |
References GRK_SIMD_API.
| GRK_SIMD_API void grk::hwy_unpack_8s_to_i32 | ( | const uint8_t * | src, |
| int32_t * | dest, | ||
| size_t | w, | ||
| bool | invert ) |
References GRK_SIMD_API.
| GRK_SIMD_API void grk::hwy_unpack_8u_to_i32 | ( | const uint8_t * | src, |
| int32_t * | dest, | ||
| size_t | w, | ||
| bool | invert ) |
References GRK_SIMD_API.
|
inline |
References GRK_RESTRICT.
Referenced by grk::HWY_NAMESPACE::encode(), grk::HWY_NAMESPACE::encode_53_16(), grk::HWY_NAMESPACE::encode_97_16(), and grk::HWY_NAMESPACE::schedule_encode().
|
static |
References close_fd(), grklog, and unmap().
Referenced by createMappedFileReadStream().
| IStream * grk::memStreamCreate | ( | uint8_t * | buf, |
| size_t | len, | ||
| bool | ownsBuffer, | ||
| grk_stream_free_user_data_fn | freeCallback, | ||
| GRK_CODEC_FORMAT | format, | ||
| bool | readStream ) |
Create stream from buffer.
| buf | buffer |
| len | length of buffer |
| ownsBuffer | if true, library will delete[] buffer. Otherwise, it is the caller's responsibility to delete the buffer |
| readStream | whether the stream is a read stream (true) or not (false) |
References detectFormat(), GRK_CODEC_UNK, GRK_JPEG_2000_NUM_IDENTIFIER_BYTES, grklog, memStreamFree(), and memStreamSetup().
Referenced by grk::StreamGenerator::createBufferStream(), grk::FileFormatMJ2Decompress::decompressSampleInternal(), and grk::CompressedChunkCache::reloadFromDisk().
|
static |
Referenced by memStreamCreate().
|
static |
Referenced by memStreamSetup().
|
static |
Referenced by memStreamSetup().
| void grk::memStreamSetup | ( | IStream * | stream, |
| bool | isReadStream ) |
References memStreamRead(), memStreamSeek(), memStreamWrite(), memStreamZeroCopyRead(), grk::StreamCallbacks::readCallback_, grk::StreamCallbacks::readZeroCopyCallback_, grk::StreamCallbacks::seekCallback_, grk::IStream::setCallbacks(), and grk::StreamCallbacks::writeCallback_.
Referenced by grk::BufferedStream::bifurcate(), createMappedFileReadStream(), and memStreamCreate().
|
static |
Referenced by grk::MemStream::MemStream().
|
static |
Referenced by memStreamSetup().
|
static |
Referenced by memStreamSetup().
| void grk::minpf_cleanup_plugin_manager | ( | void | ) |
References managerInstance, and minpf_unload_dynamic_library().
Referenced by grk_plugin_cleanup(), and grk_plugin_load().
| const char * grk::minpf_get_dynamic_library_extension | ( | void | ) |
Referenced by grk_plugin_load(), and minpf_load_from_dir().
| bool grk::minpf_get_full_path | ( | const char * | path, |
| const void * | addr, | ||
| dynamic_handle_t | handle, | ||
| char * | fullPath, | ||
| size_t | fullPathLen ) |
Referenced by minpf_load().
| minpf_plugin_manager * grk::minpf_get_plugin_manager | ( | void | ) |
References managerInstance, and minpf_initialize_plugin_manager().
Referenced by grk_plugin_batch_compress(), grk_plugin_batch_decompress(), grk_plugin_compress(), grk_plugin_decompress(), grk_plugin_get_debug_state(), grk_plugin_init(), grk_plugin_init_batch_decompress(), grk_plugin_stop_batch_compress(), grk_plugin_stop_batch_decompress(), grk_plugin_wait_for_batch_complete(), minpf_load(), minpf_load_from_dir(), minpf_load_from_path(), minpf_post_load_plugin(), and minpf_register_object().
| void * grk::minpf_get_symbol | ( | minpf_dynamic_library * | library, |
| const char * | symbol ) |
References grklog.
Referenced by grk_plugin_batch_compress(), grk_plugin_batch_decompress(), grk_plugin_compress(), grk_plugin_decompress(), grk_plugin_get_debug_state(), grk_plugin_init(), grk_plugin_init_batch_decompress(), grk_plugin_stop_batch_compress(), grk_plugin_stop_batch_decompress(), grk_plugin_wait_for_batch_complete(), and minpf_load().
| PLUGIN_API minpf_exit_func grk::minpf_init_plugin | ( | const char * | pluginPath, |
| const minpf_platform_services * | params ) |
References PLUGIN_API.
| void grk::minpf_initialize_plugin_manager | ( | minpf_plugin_manager * | manager | ) |
References grk::minpf_platform_services::invokeService, grk::minpf_plugin_api_version::major, grk::minpf_plugin_api_version::minor, minpf_register_object(), grk::minpf_plugin_manager::platformServices, grk::minpf_plugin_manager::plugins, grk::minpf_platform_services::registerObject, and grk::minpf_platform_services::version.
Referenced by minpf_get_plugin_manager().
|
static |
Referenced by minpf_register_object().
|
static |
References grk::minpf_plugin_manager::dynamic_libraries, grk::minpf_dynamic_library::handle, minpf_get_full_path(), minpf_get_plugin_manager(), minpf_get_symbol(), minpf_load_dynamic_library(), MINPF_MAX_PLUGINS, minpf_post_load_plugin(), minpf_unload_dynamic_library(), and grk::minpf_plugin_manager::num_libraries.
Referenced by minpf_load_from_dir(), and minpf_load_from_path().
| minpf_dynamic_library * grk::minpf_load_dynamic_library | ( | const char * | path, |
| char * | error ) |
References grk::minpf_dynamic_library::handle, and grk::minpf_dynamic_library::path.
Referenced by minpf_load().
| int32_t grk::minpf_load_from_dir | ( | const char * | directory_path, |
| minpf_invoke_service_func | func ) |
| int32_t grk::minpf_load_from_path | ( | const char * | path, |
| minpf_invoke_service_func | func ) |
References grk::minpf_platform_services::invokeService, minpf_get_plugin_manager(), minpf_load(), and grk::minpf_plugin_manager::platformServices.
Referenced by grk_plugin_load().
|
static |
References grk::minpf_plugin_manager::exit_functions, grk::minpf_platform_services::logger, grk::Logger::logger_, minpf_get_plugin_manager(), grk::minpf_plugin_manager::num_exit_functions, grk::minpf_plugin_manager::platformServices, grk::minpf_platform_services::pluginPath, and grk::minpf_platform_services::verbose.
Referenced by minpf_load().
| int32_t grk::minpf_register_object | ( | const char * | id, |
| const minpf_register_params * | params ) |
References grk::minpf_plugin_api_version::major, minpf_get_plugin_manager(), minpf_is_valid_plugin(), grk::minpf_plugin_manager::platformServices, grk::minpf_plugin_manager::plugins, grk::minpf_platform_services::version, and grk::minpf_register_params::version.
Referenced by minpf_initialize_plugin_manager().
| bool grk::minpf_unload_dynamic_library | ( | minpf_dynamic_library * | library | ) |
Referenced by minpf_cleanup_plugin_manager(), and minpf_load().
| void grk::MycmsLogErrorHandlerFunction | ( | cmsContext | ContextID, |
| cmsUInt32Number | ErrorCode, | ||
| const char * | Text ) |
References grklog.
Referenced by grk::FileFormatJP2Compress::init().
|
inline |
Returns the total number of worker threads in the core pool.
References grk_num_workers().
|
static |
References get_file_open_mode(), and grklog.
Referenced by createMappedFileReadStream().
| T grk::satAdd | ( | int64_t | lhs, |
| int64_t | rhs ) |
References clip().
Referenced by grk::Rect< uint32_t >::grow_IN_PLACE(), grk::Rect< uint32_t >::pan_IN_PLACE(), and grk::SIZMarker::read().
| T grk::satAdd | ( | T | lhs, |
| T | rhs ) |
References clip().
| T grk::satSub | ( | int64_t | lhs, |
| int64_t | rhs ) |
References clip().
| T grk::satSub | ( | T | lhs, |
| T | rhs ) |
References clip().
Referenced by grk::Rect< uint32_t >::grow_IN_PLACE().
|
static |
Referenced by createMappedFileReadStream().
| bool grk::tile_equals | ( | grk_plugin_tile * | plugin_tile, |
| const Tile * | tilePtr ) |
References grk::Tile::comps_, grk_plugin_get_debug_state(), GRK_PLUGIN_STATE_DEBUG, and grk::Tile::numcomps_.
Referenced by grk::TileProcessor::init().
|
static |
Referenced by grk::FileFormatJP2Family::getBoxName().
|
static |
Referenced by mem_map_free().
|
inline |
Returns the TaskFlow worker id of the calling thread.
References grk_worker_id().
| void grk::write | ( | const void * | p_src_data, |
| void * | p_dest_data, | ||
| uint64_t | nb_elem ) |
References D, grk_write(), and S.
Referenced by grk::TLMFile< T >::writeToFileWithLock().
| const uint16_t grk::CAP = 0xff50 |
EOC marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), grk::MarkerParser::markerString(), and grk::ojph::QuantizerOJPH::write().
| const uint16_t grk::CBD = 0xff78 |
COM marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), grk::MarkerParser::markerString(), and grk::CodeStreamCompress::write_cbd().
| const uint8_t grk::CCP_CSTY_PRECINCT = 0x01 |
| const uint8_t grk::CCP_QNTSTY_NOQNT = 0x00 |
| const uint8_t grk::CCP_QNTSTY_SEQNT = 0x02 |
Referenced by grk::CodeStreamCompress::init(), and grk::TileCodingParams::readSQcdSQcc().
| const uint8_t grk::CCP_QNTSTY_SIQNT = 0x01 |
| const uint16_t grk::COC = 0xff53 |
| const uint16_t grk::COD = 0xff52 |
|
static |
Referenced by detectFormat().
| const uint32_t grk::codSocLen = 5U |
Referenced by grk::TileCodingParams::readCod(), and grk::CodeStreamCompress::write_coc().
| const uint16_t grk::COM = 0xff64 |
| const uint8_t grk::CP_CSTY_EPH = 0x04 |
| const uint8_t grk::CP_CSTY_PRT = 0x01 |
| const uint8_t grk::CP_CSTY_SOP = 0x02 |
| const uint16_t grk::CRG = 0xff63 |
EPH marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), and grk::MarkerParser::markerString().
| const uint32_t grk::default_header_size = 4096 |
Referenced by grk::MarkerScratch::MarkerScratch().
| const uint32_t grk::default_number_mcc_records = 10 |
Referenced by grk::TileCodingParams::initDefault(), and grk::TileCodingParams::readMcc().
| const uint32_t grk::default_number_mct_records = 10 |
| const uint32_t grk::default_numbers_segments = 10 |
| const uint16_t grk::EOC = 0xffd9 |
| const uint16_t grk::EPH = 0xff92 |
SOP marker.
Referenced by grk::T2Compress::compressPacket(), grk::MarkerParser::markerString(), and grk::PacketParser::readHeader().
| const uint8_t grk::EXIF_UUID[16] |
Referenced by grk::FileFormatJP2Compress::init(), and grk::FileFormatJP2Decompress::readHeader().
| const uint8_t grk::EXIF_UUID_PS[16] |
Referenced by grk::FileFormatJP2Decompress::readHeader().
| const uint8_t grk::gain_b[4] = {0, 1, 1, 2} |
| const uint8_t grk::GEOTIFF_UUID[16] |
Referenced by grk::FileFormatJP2Compress::init(), and grk::FileFormatJP2Decompress::readHeader().
| const size_t grk::grk_buffer_alignment = 64 |
Referenced by grk::MemoryManager::aligned_malloc(), and grk_make_aligned_width().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
|
constexpr |
Referenced by grk::GrkImage::cieLabToRGB().
| const uint32_t grk::GRK_COMP_PARAM_DEFAULT_CBLOCKH = 64 |
Referenced by grk_compress_set_default_params(), and grk::Profile::setImfParams().
| const uint32_t grk::GRK_COMP_PARAM_DEFAULT_CBLOCKW = 64 |
Referenced by grk_compress_set_default_params(), and grk::Profile::setImfParams().
| const uint32_t grk::GRK_DEFAULT_NUMRESOLUTION = 6 |
| const GRK_PROG_ORDER grk::GRK_DEFAULT_PROG_ORDER = GRK_LRCP |
Referenced by grk_compress_set_default_params(), and grk::Profile::setImfParams().
|
constexpr |
Chunk size for chunked resolution include buffer.
Referenced by grk::LayerIncludeBuffers::update().
| ILogger & grk::grklog = Logger::logger_ |
Referenced by grk::MarkerParser::add(), grk::PLMarker::addNewMarker(), grk::TileCodingParams::advanceTilePartCounter(), grk::GrkImage::allComponentsSanityCheck(), grk::dwt_scratch< ST >::alloc(), grk::SparseCanvas< T, LBW, LBH >::alloc(), grk::t1::BlockCoder::alloc(), grk::Buffer2d< T, AllocatorAligned >::alloc2d(), grk::GrkImage::allocCompositeData(), grk::GrkImage::allocData(), grk::GrkImage::apply_channel_definition(), grk::GrkImage::apply_palette_clr(), grk::GrkImage::applyColourManagement(), grk::GrkImage::applyICC(), grk::TileProcessorCompress::buildCompressDAG(), grk::TileComponent::canCreateWindow(), grk::GrkImage::check_color(), grk::t1::BlockCoder::checkSegSym(), grk::GrkImage::cieLabToRGB(), grk::GrkImage::color_cmyk_to_rgb(), grk::GrkImage::color_esycc_to_rgb(), grk::GrkImage::color_sycc_to_rgb(), grk::TileCompletion::complete(), grk::GrkImage::compositeInterleaved(), grk::GrkImage::compositePlanar(), grk::CodeStreamCompress::compress(), compress_synch_with_plugin(), grk::T2Compress::compressHeader(), grk::T2Compress::compressPacket(), grk::T2Compress::compressPackets(), grk::T2Compress::compressPacketSimulate(), grk::T2Compress::compressPacketsSimulate(), grk::CodeStreamCompress::compressValidation(), grk::GrkImage::convertPrecision(), grk::GrkImage::convertToRGB_T(), grk::GrkImage::create(), grk::StreamGenerator::create(), grk::StreamGenerator::createBufferStream(), grk::StreamGenerator::createCurlFetchStream(), grk::StreamGenerator::createFileStream(), createMappedFileReadStream(), grk::Subband::createPrecinct(), grk::GrkImage::createRGB(), grk::MarkerParser::currentProcessor(), grk::FileFormatJP2Decompress::decompress(), grk::FileFormatMJ2Decompress::decompress(), grk::t1::CodeblockDecompressImpl::decompress(), grk::t1::ojph::T1OJPH::decompress(), grk::TileProcessor::decompress_synch_plugin_with_host(), grk::t1::BlockCoder::decompressBackup(), grk::t1::BlockCoder::decompressFinish(), grk::TileProcessor::decompressPrepareWithTLM(), grk::FileFormatMJ2Decompress::decompressSampleInternal(), grk::CodeStreamDecompress::decompressSequential(), grk::CodeStreamDecompress::decompressTile(), grk::FileFormatMJ2Decompress::decompressTile(), grk::SchedulerFreebyrd::decompressTile(), grk::CodeStreamDecompress::decompressTileImpl(), detectFormat(), grk::TileProcessorCompress::doCompress(), grk::AllLayersPrecinctPacketParser::enqueue(), grk::GrkImage::execUpsample(), grk::TileCodingParams::finalizePocs(), grk::PLMarker::findMarker(), grk::ChronoTimer::finish(), grk::BufferedStream::flush(), grk::Resolution::genPrecinctPartition(), grk::PrecinctImpl::getIMsbTagTree(), grk::PrecinctImpl::getIncludeTagTree(), grk::CodeStreamCompress::getNumTileParts(), grk_compress_init(), grk_decompress_init(), grk_initialize(), grk_transcode(), grkDecompressCreate(), grk::Buffer< uint8_t, AllocatorVanilla >::increment_offset(), grk::ChunkBuffer< T >::increment_offset(), grk::CodeStreamCompress::init(), grk::FileFormatJP2Compress::init(), grk::TileProcessor::init(), grk::TileCodingParams::initDefault(), grk::Profile::isBroadcastCompliant(), grk::Profile::isCinemaCompliant(), grk::Profile::isImfCompliant(), grk::CodeStreamCompress::mct_validation(), mem_map_free(), memStreamCreate(), grk::PPMMarker::merge(), grk::TileCodingParams::mergePpt(), minpf_get_symbol(), MycmsLogErrorHandlerFunction(), grk::TileProcessor::needsMctDecompress(), grk::PacketLengthCache< T >::next(), grk::TLMMarker::next(), open_fd(), grk::IniParser::parse(), grk::FetchPathParser::parseBucketKey(), grk::FetchPathParser::parseHostPort(), grk::FetchPathParser::parseHttpsPath(), grk::t1::CodeblockDecompressImpl::parsePacketData(), grk::T2Decompress::parsePackets(), grk::TileProcessor::parseTilePart(), grk::FetchPathParser::parseVsiPath(), grk::WaveletReverse::partial_tile(), grk::PLMarker::pop(), grk::CodeStreamDecompress::postMultiTile(), grk::FileFormatJP2Decompress::postProcess(), grk::t1::part1::Coder::preCompress(), grk::TileProcessorCompress::preCompressTile(), grk::TileProcessor::prepareForDecompression(), grk::GrkImage::print(), grk::Rect32_16::print(), grk::Rect< uint32_t >::print(), grk::ResPrecinctInfo::print(), grk::t1::Segment::print(), grk::PacketIter::printDynamicState(), grk::PacketIter::printStaticState(), grk::MarkerScratch::process(), grk::MarkerParser::processMarker(), grk::TPSeq::push_back(), grk::TileCache::put(), grk::BufferedStream::read(), grk::PPMMarker::read(), grk::SIZMarker::read(), grk::SparseBuffer::read(), grk::TLMMarker::read(), grk::FileFormatJP2Family::read_asoc(), grk::FileFormatJP2Family::read_asoc(), grk::FileFormatJP2Family::read_box_header(), grk::FileFormatJP2Family::read_box_header(), grk::FileFormatJP2Family::read_bpc(), grk::FileFormatJP2Family::read_channel_definition(), grk::FileFormatJP2Family::read_colr(), grk::FileFormatJP2Family::read_component_mapping(), grk::FileFormatMJ2Decompress::read_dref(), grk::FileFormatJP2Family::read_ftyp(), grk::FileFormatJP2Family::read_ihdr(), grk::FileFormatJP2Decompress::read_ipr(), grk::FileFormatJP2Family::read_jp2h(), grk::FileFormatMJ2Decompress::read_mvhd(), grk::FileFormatJP2Family::read_palette_clr(), grk::FileFormatJP2Family::read_res(), grk::FileFormatJP2Family::read_res_box(), grk::FileFormatJP2Family::read_signature(), grk::FileFormatMJ2Decompress::read_smj2(), grk::FileFormatMJ2Decompress::read_stco(), grk::FileFormatMJ2Decompress::read_stsc(), grk::FileFormatMJ2Decompress::read_stsd(), grk::FileFormatMJ2Decompress::read_stsz(), grk::FileFormatMJ2Decompress::read_url(), grk::FileFormatMJ2Decompress::read_urn(), grk::FileFormatJP2Decompress::read_uuid(), grk::FileFormatMJ2Decompress::read_version_and_flag_check(), grk::FileFormatJP2Decompress::read_xml(), grk::CodeStreamDecompress::readCAP(), grk::CodeStreamDecompress::readCBD(), grk::TileCodingParams::readCoc(), grk::TileCodingParams::readCod(), grk::CodingParams::readCom(), grk::CodeStreamDecompress::readCRG(), grk::PacketParser::readData(), grk::BufferedStream::readDirect(), grk::FileFormatJP2Decompress::readHeader(), grk::FileFormatJP2Family::readHeader(), grk::FileFormatMJ2Decompress::readHeader(), grk::PacketParser::readHeader(), grk::CodeStreamDecompress::readHeaderProcedure(), grk::FileFormatJP2Family::readHeaderProcedure(), grk::MarkerParser::readId(), grk::TileCodingParams::readMcc(), grk::TileCodingParams::readMco(), grk::TileCodingParams::readMct(), grk::t1::CodeblockDecompressImpl::readPacketHeader(), grk::PLMarker::readPLM(), grk::PLMarker::readPLT(), grk::TileCodingParams::readPoc(), grk::TileCodingParams::readPpt(), grk::TileCodingParams::readQcc(), grk::TileCodingParams::readQcd(), grk::TileCodingParams::readRgn(), grk::CodeStreamDecompress::readSOT(), grk::TileProcessor::readSOT(), grk::MarkerParser::readSOTafterSOD(), grk::MarkerParser::readSOTorEOC(), grk::TileCodingParams::readSPCodSPCoc(), grk::TileCodingParams::readSQcdSQcc(), grk::CodeStreamDecompress::readUNK(), grk::SparseCanvas< T, LBW, LBH >::readWrite(), grk::PLMarker::rewind(), grk::TLMMarker::rewind(), grk::GrkImage::scaleComponent(), grk::TileProcessor::scheduleAndRunDecompress(), grk::DecompressScheduler::scheduleT1(), grk::DecompressSchedulerExcalibur::scheduleT1(), grk::TLMMarker::seekNextSlated(), grk::CodeStreamDecompress::sequentialParseAndSchedule(), grk::FileFormatJP2Family::serializeAsoc(), grk::ChunkBuffer< T >::set_offset(), grk::Profile::setCinemaParams(), grk::CodeStreamDecompress::setDecompressRegion(), grk::SparseBuffer::skip(), grk::PacketIter::skipPackets(), grk::FileFormatMJ2Compress::start(), grk::GrkImage::subsampleAndReduce(), grk::GrkImage::sycc420_to_rgb(), grk::GrkImage::sycc422_to_rgb(), grk::TileCodingParams::TileCodingParams(), grk::TileCompletion::TileCompletion(), grk::FileFormatJP2Compress::transcode(), grk::FileFormatJP2Compress::transcodeCodestream(), grk::HWY_NAMESPACE::DecompressIrrev16::transform(), grk::HWY_NAMESPACE::DecompressIrrev::transform(), grk::HWY_NAMESPACE::DecompressRev16::transform(), grk::HWY_NAMESPACE::DecompressRev::transform(), grk::RefCounted::unref(), grk::GrkImage::validateICC(), grk::TLMMarkerManager::validateMarkerId(), grk::CodeStreamCompress::validateProgressionOrders(), grk::TileCodingParams::validateQuantization(), grk::StreamGenerator::validateStream(), grk::CodeStreamDecompress::wait(), grk::CodeStreamDecompress::wait(), grk::TileCompletion::wait(), grk::CodeStreamCompress::write_cod(), grk::CodeStreamCompress::write_com(), grk::FileFormatJP2Family::write_ftyp(), grk::FileFormatJP2Compress::write_jp2c(), grk::FileFormatJP2Compress::write_jp2h(), grk::CodeStreamCompress::write_qcd(), grk::TLMMarker::writeBegin(), grk::TLMMarker::writeEnd(), grk::CodeStreamCompress::writeTilePart(), and grk::CodeStreamCompress::writeTileParts().
| const double grk::invScale = log(2) / 256 |
| const uint8_t grk::IPTC_UUID[16] |
JUMBF super box (ISO/IEC 19566-5).
Referenced by grk::FileFormatJP2Compress::init(), and grk::FileFormatJP2Decompress::readHeader().
| const uint32_t grk::JP2_ASOC = 0x61736f63 |
| const uint32_t grk::JP2_BPCC = 0x62706363 |
Image header box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_bpc().
| const uint32_t grk::JP2_CAPTURE_RES = 0x72657363 |
Resolution box (super-box).
Referenced by grk::FileFormatJP2Family::read_res(), and grk::FileFormatJP2Compress::write_res().
| const uint32_t grk::JP2_CDEF = 0x63646566 |
Component Mapping box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_channel_definition().
| const uint32_t grk::JP2_CMAP = 0x636d6170 |
Palette box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_component_mapping().
| const uint32_t grk::JP2_COLR = 0x636f6c72 |
Bits per component box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_colr().
| const uint32_t grk::JP2_DISPLAY_RES = 0x72657364 |
Capture resolution box.
Referenced by grk::FileFormatJP2Family::read_res(), and grk::FileFormatJP2Compress::write_res().
| const uint32_t grk::JP2_DTBL = 0x6474626c |
| const uint32_t grk::JP2_FTYP = 0x66747970 |
JPEG 2000 signature.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), grk::FileFormatJP2Compress::write_ftyp(), and grk::FileFormatMJ2Compress::write_mj2_ftyp().
| const uint32_t grk::JP2_IHDR = 0x69686472 |
JP2 header box (super-box).
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), grk::FileFormatJP2Family::read_jp2h(), and grk::FileFormatJP2Compress::write_ihdr().
| const uint32_t grk::JP2_JP = 0x6a502020 |
| const uint32_t grk::JP2_JP2 = 0x6a703220 |
File type box.
Referenced by grk::FileFormatJP2Compress::init().
| const uint32_t grk::JP2_JP2C = 0x6a703263 |
Display resolution box.
Referenced by grk::FileFormatJP2Family::read_box_header(), grk::FileFormatJP2Family::readHeaderProcedure(), grk::FileFormatJP2Compress::transcode(), and grk::FileFormatJP2Compress::write_jp2c().
| const uint32_t grk::JP2_JP2H = 0x6a703268 |
| const uint32_t grk::JP2_JP2I = 0x6a703269 |
Contiguous code stream box.
Referenced by grk::FileFormatJP2Decompress::FileFormatJP2Decompress(), and grk::FileFormatJP2Compress::write_ipr().
| const uint32_t grk::JP2_JPH = 0x6A706820 |
File type fields.
Referenced by grk::FileFormatJP2Compress::init().
| const uint32_t grk::JP2_JPX = 0x6a707820 |
Referenced by grk::FileFormatJP2Compress::init().
| const uint32_t grk::JP2_JUMB = 0x6a756d62 |
Data entry URL box.
Referenced by grk::FileFormatJP2Decompress::FileFormatJP2Decompress().
| const uint32_t grk::JP2_LBL = 0x6c626c20 |
Associated data box.
Referenced by grk::FileFormatJP2Family::read_asoc(), and grk::FileFormatJP2Compress::writeAsocBox().
|
static |
Referenced by detectFormat().
| const uint32_t grk::JP2_PCLR = 0x70636c72 |
Colour specification box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_palette_clr().
| const uint32_t grk::JP2_RES = 0x72657320 |
Channel Definition box.
Referenced by grk::FileFormatJP2Family::FileFormatJP2Family(), and grk::FileFormatJP2Compress::write_res().
|
static |
Referenced by detectFormat().
| const uint32_t grk::JP2_RREQ = 0x72726571 |
Label box.
Referenced by grk::FileFormatJP2Decompress::FileFormatJP2Decompress(), and grk::FileFormatJP2Compress::write_rreq().
| const uint32_t grk::JP2_SIG = 0x0d0a870a |
JPEG 2000 signature box.
Referenced by grk::FileFormatJP2Family::read_signature(), and grk::FileFormatJP2Family::write_signature().
| const uint32_t grk::JP2_UINF = 0x75696e66 |
Data Reference box.
| const uint32_t grk::JP2_ULST = 0x756c7374 |
UUID info box (super-box).
| const uint32_t grk::JP2_URL = 0x75726c20 |
UUID list box.
| const uint32_t grk::JP2_UUID = 0x75756964 |
XML box.
Referenced by grk::FileFormatJP2Decompress::FileFormatJP2Decompress(), and grk::FileFormatJP2Compress::write_uuids().
| const uint32_t grk::JP2_XML = 0x786d6c20 |
| minpf_plugin_manager* grk::managerInstance |
Referenced by minpf_cleanup_plugin_manager(), and minpf_get_plugin_manager().
| const uint8_t grk::MARKER_BYTES = 2 |
UNKNOWN marker.
Referenced by grk::CodeStreamDecompress::decompressSequentialPrepare(), grk::TileProcessor::parseTilePart(), grk::CodeStreamDecompress::readHeaderProcedure(), grk::CodeStreamDecompress::readSOC(), grk::CodeStreamDecompress::readUNK(), grk::SIZMarker::write(), and grk::TLMMarker::writeBegin().
| const uint8_t grk::MARKER_BYTES_PLUS_MARKER_LENGTH_BYTES = MARKER_BYTES + MARKER_LENGTH_BYTES |
| const uint8_t grk::MARKER_LENGTH_BYTES = 2 |
Referenced by grk::MarkerParser::processMarker(), and grk::CodeStreamDecompress::readHeaderProcedure().
| const uint32_t grk::maxBitPlanesJ2K = 30 |
Referenced by grk::t1::CodeblockDecompressImpl::decompress(), and grk::PacketParser::readHeader().
| const uint16_t grk::maxCompressLayersGRK = 100 |
| const uint16_t grk::maxNumComponentsJ2K = 16384 |
Referenced by grk::CodeStreamCompress::init(), grk::SIZMarker::read(), and grk::FileFormatJP2Family::read_ihdr().
| const uint16_t grk::maxNumLayersJ2K = 65535 |
| const uint16_t grk::maxNumTilesJ2K = 65535 |
Referenced by grk::CodeStreamCompress::compress(), grk::CodeStreamCompress::init(), and grk::SIZMarker::read().
| const uint8_t grk::maxPassesPerSegmentJ2K = (maxPrecisionJ2K - 1) * 3 + 1 |
| const uint8_t grk::maxPrecisionJ2K = 38 |
Referenced by grk::FileFormatJP2Compress::default_validation().
| const uint32_t grk::maxTilePartSizeJ2K = UINT_MAX |
| const uint8_t grk::maxTilePartsPerTileJ2K = 255 |
| const uint16_t grk::maxTotalTilePartsJ2K = 65535 |
Referenced by grk::CodeStreamCompress::getNumTileParts().
| const uint16_t grk::MCC = 0xff75 |
| const uint16_t grk::MCO = 0xff77 |
| const uint16_t grk::MCT = 0xff74 |
| const uint32_t grk::MCT_ELEMENT_SIZE[] = {2, 4, 4, 8} |
Referenced by grk::TileCodingParams::addMct(), and grk::CodeStreamCompress::init_mct_encoding().
|
static |
Referenced by grk::CodeStreamCompress::init_mct_encoding().
|
static |
Referenced by detectFormat().
| const uint8_t grk::MSIG_UUID[16] |
| const uint16_t grk::PLM = 0xff57 |
TLM marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), and grk::MarkerParser::markerString().
| const uint16_t grk::PLT = 0xff58 |
PLM marker.
Referenced by grk::MarkerParser::markerString(), grk::TileProcessor::setProcessors(), and grk::PLMarker::write().
| const uint16_t grk::plWriteBufferLen = USHRT_MAX - 4 |
Referenced by grk::PLMarker::pushPL().
| const uint16_t grk::POC = 0xff5f |
| const uint16_t grk::PPM = 0xff60 |
PLT marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), and grk::MarkerParser::markerString().
| const uint16_t grk::PPT = 0xff61 |
PPM marker.
Referenced by grk::MarkerParser::markerString(), and grk::TileProcessor::setProcessors().
|
static |
Referenced by grk::CodeStreamCompress::convertProgressionOrder().
| const uint16_t grk::QCC = 0xff5d |
| const uint16_t grk::QCD = 0xff5c |
| const uint16_t grk::RGN = 0xff5e |
| const double grk::scale = 256 / log(2) |
Referenced by grk::HWY_NAMESPACE::Hwy_scale_component_down(), hwy_scale_component_down(), grk::HWY_NAMESPACE::Hwy_scale_component_up(), hwy_scale_component_up(), grk::HWY_NAMESPACE::Hwy_scale_div_i32(), hwy_scale_div_i32(), grk::HWY_NAMESPACE::Hwy_scale_mul_i32(), hwy_scale_mul_i32(), grk::GrkImage::scaleComponent(), and grk::RateControl::slopeToLog().
| const double grk::shift = 1 << 16 |
Referenced by grk::t1::ojph::local::decode_one_quad32(), grk::t1::ojph::local::decode_two_quad16(), grk::t1::ojph::T1OJPH::preCompress(), grk::ShiftInfo::ShiftInfo(), grk::RateControl::slopeToLog(), grk::HWY_NAMESPACE::CompressIrrev::transform(), grk::HWY_NAMESPACE::CompressRev::transform(), grk::HWY_NAMESPACE::DecompressIrrev16::transform(), grk::HWY_NAMESPACE::DecompressIrrev::transform(), grk::HWY_NAMESPACE::DecompressRev16::transform(), and grk::HWY_NAMESPACE::DecompressRev::transform().
| const uint32_t grk::singleTileRowsPerStrip = 32 |
| const uint16_t grk::SIZ = 0xff51 |
| const double grk::slopeCutoff = pow(2, 64) |
Referenced by grk::RateControl::slopeToLog().
| const uint16_t grk::SOC = 0xff4f |
| const uint16_t grk::SOD = 0xff93 |
| const uint16_t grk::SOP = 0xff91 |
PPT marker.
Referenced by grk::T2Compress::compressPacket(), grk::MarkerParser::markerString(), and grk::PacketParser::readHeader().
| const uint16_t grk::SOT = 0xff90 |
SOC marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), grk::CodeStreamDecompress::decompressSequential(), grk::CodeStreamDecompress::decompressTileImpl(), grk::MarkerParser::markerString(), grk::TileProcessor::parseTilePart(), grk::CodeStreamDecompress::readHeaderProcedure(), grk::MarkerParser::readSOTafterSOD(), grk::MarkerParser::readSOTorEOC(), grk::CodeStreamDecompress::sequentialParseAndSchedule(), grk::TileProcessor::setProcessors(), grk::MarkerParser::setSOT(), grk::FileFormatJP2Compress::transcodeCodestream(), and grk::SOTMarker::write().
| const uint32_t grk::sotMarkerSegmentLen = 12U |
Referenced by grk::TileProcessorCompress::buildCompressDAG(), grk::TileProcessor::decompressFromCachedTileParts(), grk::TileProcessorCompress::doCompress(), grk::CodeStreamDecompress::readSOT(), grk::TileProcessor::readSOT(), grk::CodeStreamDecompress::sequentialParseAndSchedule(), and grk::CodeStreamCompress::writeTilePart().
| const uint32_t grk::SPCodSPCocLen = 5U |
|
static |
Referenced by grk::Profile::isImfCompliant().
| const uint16_t grk::TLM = 0xff55 |
POC marker.
Referenced by grk::CodeStreamDecompress::CodeStreamDecompress(), grk::MarkerParser::markerString(), and grk::TLMMarker::writeBegin().
| const uint32_t grk::tlm_marker_start_bytes = 6 |
Referenced by grk::TLMMarker::read(), grk::TLMMarker::writeBegin(), and grk::TLMMarker::writeEnd().
| const uint32_t grk::tlmMarkerBytesPerTilePart = 6 |
Referenced by grk::TLMMarker::writeBegin().
| const uint16_t grk::UNK = 0 |
MCO marker.
Referenced by grk::MarkerParser::markerString().
| const uint8_t grk::XMP_UUID[16] |
Referenced by grk::FileFormatJP2Compress::init(), and grk::FileFormatJP2Decompress::readHeader().