pub unsafe extern "C" fn om_decoder_init_index_read(
decoder: *const OmDecoder_t,
indexRead: *mut OmDecoder_indexRead_t,
)Expand description
@brief Initializes an om_decoder_index_read_t structure for reading chunk indices.
This function calculates the starting and ending chunk indices for reading data based on
the dimensions, chunk sizes, and read parameters provided by the om_decoder_t structure.
It determines the range of chunks that need to be processed to fulfill the read request,
setting the appropriate values in the om_decoder_index_read_t structure.
@param decoder A pointer to a constant om_decoder_t structure containing information
about the data array, chunk sizes, read offsets, and dimensions.
@param index_read A pointer to an om_decoder_index_read_t structure that will be
initialized with the computed chunk index range and other related values.