Add new comment

Libraw slowdown when updating 19.2 to 20.2

Hi everyone,

I was using libraw 0.19.2 in my application for reading raw images. Once I decided to upgrade to 0.20.2 version image import obviously slowed down.
I would like to know if there is any specific reason for that, or maybe some new functionality has been added for importing that I miss for new version.

Just to note that in my app, both 19.2 and 20.2 were running the same code. Output data is the same but t_20.2 = t_19.2 * 2.

Please find code example bellow.

	LibRaw proc;
	setting some parameters here
	proc.get_mem_image_format(&width, &height, &colorspace, &bps);
	const auto stride = width * (bps / 8) * colors;
	proc.copy_mem_image(outputImage, stride, 0);