Package org.lwjgl.util.tinyexr
@NullMarked
package org.lwjgl.util.tinyexr
Contains bindings to the Tiny OpenEXR image library.
tinyexr is a small, single header-only library to load and save OpenEXR(.exr) images.
-
ClassDescriptionCallback function:
(* anonymous)struct ExrAllocator { void * userdata; void * (* alloc) (void * userdata, size_t size, size_t alignment); void * (* realloc) (void * userdata, void * ptr, size_t old_size, size_t new_size, size_t alignment); void (* free) (void * userdata, void * ptr, size_t size); }An array ofExrAllocatorstructs.Callback function:(* anonymous)struct ExrAttribute { char const * name; char const * type_name; ExrAttributeType type; void const * value; uint32_t size; }An array ofExrAttributestructs.struct ExrBox2i { int32_t min_x; int32_t min_y; int32_t max_x; int32_t max_y; }An array ofExrBox2istructs.struct ExrBuffer { void * data; size_t size; size_t offset; }An array ofExrBufferstructs.struct ExrChannelInfo { char const * name; uint32_t pixel_type; int32_t x_sampling; int32_t y_sampling; uint8_t p_linear; uint8_t reserved[3]; }An array ofExrChannelInfostructs.struct ExrChunkInfo { uint64_t file_offset; uint32_t compressed_size; uint32_t uncompressed_size; int32_t y_start; int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y; uint32_t chunk_type; }An array ofExrChunkInfostructs.struct ExrCommandBufferCreateInfo { ExrDecoder decoder; ExrEncoder encoder; uint32_t max_commands; uint32_t flags; }An array ofExrCommandBufferCreateInfostructs.struct ExrCompressInfo { void const * src; size_t src_size; void * dst; size_t dst_capacity; size_t * out_size; uint32_t compression; int32_t compression_level; int32_t width; int32_t num_lines; uint32_t num_channels;ExrChannelInfoconst * channels; ExrMemoryPool scratch; }An array ofExrCompressInfostructs.struct ExrContextCreateInfo { uint32_t api_version;ExrAllocatorconst * allocator;ExrErrorCallbackerror_callback; void * error_userdata; uint32_t flags; uint32_t max_threads; }An array ofExrContextCreateInfostructs.struct ExrDataSink { void * userdata;ExrWriteCallbackwrite;ExrFetchCancelcancel; uint32_t flags; }An array ofExrDataSinkstructs.struct ExrDataSource { void * userdata;ExrFetchCallbackfetch;ExrFetchCancelcancel; uint64_t total_size; uint32_t flags; }An array ofExrDataSourcestructs.struct ExrDecoderCreateInfo {ExrDataSourcesource; ExrMemoryPool scratch_pool; uint32_t flags; }An array ofExrDecoderCreateInfostructs.struct ExrDecompressInfo { void const * src; size_t src_size; void * dst; size_t dst_capacity; size_t * out_size; uint32_t compression; int32_t width; int32_t num_lines; uint32_t num_channels;ExrChannelInfoconst * channels; ExrMemoryPool scratch; }An array ofExrDecompressInfostructs.struct ExrDeepSampleInfo { int32_t y_start; int32_t num_lines; int32_t width; uint64_t total_samples; uint32_t * sample_counts; uint64_t * sample_offsets; }An array ofExrDeepSampleInfostructs.struct ExrDeepScanlineRequest { ExrPart part; int32_t y_start; int32_t num_lines;ExrDeepSampleInfo* sample_info;ExrBufferoutput; uint32_t channels_mask; uint32_t output_pixel_type; }An array ofExrDeepScanlineRequeststructs.struct ExrDeepScanlineWrite { ExrWriteImage image; int32_t y_start; int32_t num_lines; int32_t width; uint32_t const * sample_counts; uint64_t total_samples;ExrBufferinput; uint32_t input_layout; uint32_t input_pixel_type; }An array ofExrDeepScanlineWritestructs.struct ExrDeepTileRequest { ExrPart part; int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y;ExrDeepTileSampleInfo* sample_info;ExrBufferoutput; uint32_t channels_mask; uint32_t output_pixel_type; }An array ofExrDeepTileRequeststructs.struct ExrDeepTileSampleInfo { int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y; int32_t width; int32_t height; uint64_t total_samples; uint32_t * sample_counts; uint64_t * sample_offsets; }An array ofExrDeepTileSampleInfostructs.struct ExrDeepTileWrite { ExrWriteImage image; int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y; int32_t width; int32_t height; uint32_t const * sample_counts; uint64_t total_samples;ExrBufferinput; uint32_t input_layout; uint32_t input_pixel_type; }An array ofExrDeepTileWritestructs.struct ExrEncoderCreateInfo {ExrDataSinksink; ExrMemoryPool scratch_pool; uint32_t flags; }An array ofExrEncoderCreateInfostructs.Callback function:ExrErrorCallbackCallback function:ExrErrorCallbackstruct ExrErrorInfo { ExrResult code; char const * message; char const * context; uint64_t byte_position; int32_t line_number; char const * source_file; }An array ofExrErrorInfostructs.struct ExrFenceCreateInfo { uint32_t flags; }An array ofExrFenceCreateInfostructs.Callback function:ExrFetchCallbackCallback function:ExrFetchCallbackCallback function:ExrFetchCancelCallback function:ExrFetchCancelCallback function:ExrFetchCompleteCallback function:ExrFetchCompleteCallback function:(* anonymous)Callback function:(* anonymous)struct ExrFullImageRequest { ExrPart part;ExrBufferoutput; uint32_t channels_mask; uint32_t output_pixel_type; uint32_t output_layout; int32_t target_level; }An array ofExrFullImageRequeststructs.struct ExrImageInfo { int32_t width; int32_t height;ExrBox2idata_window;ExrBox2idisplay_window; uint32_t num_channels; uint32_t num_parts; uint32_t compression; uint32_t flags; uint32_t tile_size_x; uint32_t tile_size_y; uint32_t num_x_levels; uint32_t num_y_levels; float pixel_aspect_ratio;ExrVec2fscreen_window_center; float screen_window_width; }An array ofExrImageInfostructs.struct ExrMemoryPoolCreateInfo { size_t initial_size; size_t max_size; uint32_t flags; }An array ofExrMemoryPoolCreateInfostructs.struct ExrPartInfo { char const * name; char const * type_string; uint32_t part_type; int32_t width; int32_t height; uint32_t num_channels; uint32_t compression; uint32_t flags; }An array ofExrPartInfostructs.struct ExrPendingFetch { uint64_t offset; uint64_t size; void * destination; }An array ofExrPendingFetchstructs.Callback function:ExrProgressCallbackCallback function:ExrProgressCallbackstruct ExrProgressInfo { int32_t percent_complete; int32_t current_block; int32_t total_blocks; uint64_t bytes_processed; uint64_t bytes_total; }An array ofExrProgressInfostructs.Callback function:(* anonymous)Callback function:(* anonymous)struct ExrScanlineRequest { ExrPart part; int32_t y_start; int32_t num_lines;ExrBufferoutput; uint32_t channels_mask; uint32_t output_pixel_type; uint32_t output_layout; }An array ofExrScanlineRequeststructs.struct ExrScanlineWrite { ExrWriteImage image; int32_t y_start; int32_t num_lines;ExrBufferinput; uint32_t input_layout; uint32_t input_pixel_type; }An array ofExrScanlineWritestructs.Callback function:ExrSubmitCompleteCallback function:ExrSubmitCompletestruct ExrSubmitInfo { uint32_t command_buffer_count; ExrCommandBuffer const * command_buffers; ExrFence signal_fence;ExrSubmitCompleteon_complete; void * userdata; }An array ofExrSubmitInfostructs.struct ExrTileRequest { ExrPart part; int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y;ExrBufferoutput; uint32_t channels_mask; uint32_t output_pixel_type; uint32_t output_layout; }An array ofExrTileRequeststructs.struct ExrTileWrite { ExrWriteImage image; int32_t tile_x; int32_t tile_y; int32_t level_x; int32_t level_y;ExrBufferinput; uint32_t input_layout; uint32_t input_pixel_type; }An array ofExrTileWritestructs.struct ExrVec2f { float x; float y; }An array ofExrVec2fstructs.struct ExrVec2i { int32_t x; int32_t y; }An array ofExrVec2istructs.Callback function:ExrWriteCallbackCallback function:ExrWriteCallbackstruct ExrWriteChannelInfo { char const * name; uint32_t pixel_type; int32_t x_sampling; int32_t y_sampling; uint8_t p_linear; }An array ofExrWriteChannelInfostructs.struct ExrWriteImageCreateInfo { int32_t width; int32_t height; uint32_t num_channels;ExrWriteChannelInfoconst * channels; uint32_t compression; int32_t compression_level; uint32_t flags; int32_t tile_size_x; int32_t tile_size_y;ExrBox2iconst * data_window;ExrBox2iconst * display_window; char const * part_name; }An array ofExrWriteImageCreateInfostructs.