2003-12-01 Jochen Eisinger <jochen@penguin-breeder.org>

* backend/mustek_pp_ccd300.c: Fixed horizontal offset of scan area
	  and scaling for color scans
merge-requests/1/head
Jochen Eisinger 2003-12-01 11:52:19 +00:00
rodzic 0071c50c5c
commit 7819d0f185
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
2003-12-01 Jochen Eisinger <jochen@penguin-breeder.org>
* backend/mustek_pp_ccd300.c: Fixed vertical offset of scan area
* backend/mustek_pp_ccd300.c: Fixed horizontal offset of scan area
and scaling for color scans
2003-11-27 Karl Heinz Kremer <khk@khk.net>

Wyświetl plik

@ -1947,7 +1947,7 @@ ccd300_start (SANE_Handle handle)
{
int failed = SANE_FALSE, cnt;
priv->line_step = SANE_FIX (300.0 / (float) priv->hwres);
priv->line_step = SANE_FIX (300.0 / (float) dev->res);
priv->rdiff = priv->line_step;
priv->bdiff = priv->rdiff + (priv->blue_offs << SANE_FIXED_SCALE_SHIFT);
priv->gdiff =