hdr_convert
hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp);
hdr_convert(hdr_data, rgbe, req_comp);
hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp);