6 #ifndef OPENEXR_CORE_DECODE_H
7 #define OPENEXR_CORE_DECODE_H
28 #define EXR_DECODE_SAMPLE_COUNTS_AS_INDIVIDUAL ((uint16_t) (1 << 0))
50 #define EXR_DECODE_NON_IMAGE_DATA_AS_POINTERS ((uint16_t) (1 << 1))
55 #define EXR_DECODE_SAMPLE_DATA_ONLY ((uint16_t) (1 << 2))
250 #define EXR_DECODE_PIPELINE_INITIALIZER \
exr_const_context_t context
void * decoding_user_data
Struct for negotiating buffers when decoding/encoding chunks of data.
enum exr_transcoding_pipeline_buffer_id exr_transcoding_pipeline_buffer_id_t
const struct _priv_exr_context_t * exr_const_context_t
size_t scratch_alloc_size_2
EXR_EXPORT exr_result_t exr_decoding_update(exr_const_context_t ctxt, int part_index, const exr_chunk_info_t *cinfo, exr_decode_pipeline_t *decode)
void(* free_fn)(exr_transcoding_pipeline_buffer_id_t, void *)
struct _exr_decode_pipeline exr_decode_pipeline_t
exr_coding_channel_info_t * channels
exr_coding_channel_info_t _quick_chan_store[5]
exr_result_t(* unpack_and_convert_fn)(struct _exr_decode_pipeline *pipeline)
EXR_EXPORT exr_result_t exr_decoding_destroy(exr_const_context_t ctxt, exr_decode_pipeline_t *decode)
size_t sample_count_alloc_size
size_t packed_sample_count_alloc_size
EXR_EXPORT exr_result_t exr_decoding_run(exr_const_context_t ctxt, int part_index, exr_decode_pipeline_t *decode)
exr_result_t(* realloc_nonimage_data_fn)(struct _exr_decode_pipeline *pipeline)
exr_result_t(* decompress_fn)(struct _exr_decode_pipeline *pipeline)
int32_t * sample_count_table
exr_result_t(* read_fn)(struct _exr_decode_pipeline *pipeline)
EXR_EXPORT exr_result_t exr_decoding_initialize(exr_const_context_t ctxt, int part_index, const exr_chunk_info_t *cinfo, exr_decode_pipeline_t *decode)
EXR_EXPORT exr_result_t exr_decoding_choose_default_routines(exr_const_context_t ctxt, int part_index, exr_decode_pipeline_t *decode)
size_t scratch_alloc_size_1
void * packed_sample_count_table
size_t unpacked_alloc_size