&data[0] is pointer to start &data[0] is pointer to start of data Actual data is either 1 or 2 bytes per pixel (depends on imgdata.params.output_bps), no extra padding. See mem-image.cpp sample, it covers all/most cases (1/3 channels, 8 and 16 bits) -- Alex Tutubalin @LibRaw LLC reply
&data[0] is pointer to start of data
Actual data is either 1 or 2 bytes per pixel (depends on imgdata.params.output_bps), no extra padding.
See mem-image.cpp sample, it covers all/most cases (1/3 channels, 8 and 16 bits)