kopia lustrzana https://gitlab.com/sane-project/backends
pixma_mp810: rename => pixma_mp800
1st ccd scanner in pixma_mp810 is MP800merge-requests/224/head
rodzic
fc300be715
commit
ab0314399a
|
@ -865,7 +865,7 @@ libsane_pint_la_CPPFLAGS = $(AM_CPPFLAGS) -DBACKEND_NAME=pint
|
||||||
libsane_pint_la_LDFLAGS = $(DIST_SANELIBS_LDFLAGS)
|
libsane_pint_la_LDFLAGS = $(DIST_SANELIBS_LDFLAGS)
|
||||||
libsane_pint_la_LIBADD = $(COMMON_LIBS) libpint.la ../sanei/sanei_init_debug.lo ../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo sane_strstatus.lo
|
libsane_pint_la_LIBADD = $(COMMON_LIBS) libpint.la ../sanei/sanei_init_debug.lo ../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo sane_strstatus.lo
|
||||||
|
|
||||||
libpixma_la_SOURCES = pixma.c pixma.h pixma_io_sanei.c pixma_io.h pixma_common.c pixma_common.h pixma_mp150.c pixma_mp730.c pixma_mp750.c pixma_mp810.c pixma_imageclass.c pixma_bjnp.c pixma_bjnp.h pixma_bjnp_private.h pixma_rename.h
|
libpixma_la_SOURCES = pixma.c pixma.h pixma_io_sanei.c pixma_io.h pixma_common.c pixma_common.h pixma_mp150.c pixma_mp730.c pixma_mp750.c pixma_mp800.c pixma_imageclass.c pixma_bjnp.c pixma_bjnp.h pixma_bjnp_private.h pixma_rename.h
|
||||||
libpixma_la_CPPFLAGS = $(AM_CPPFLAGS) -DBACKEND_NAME=pixma
|
libpixma_la_CPPFLAGS = $(AM_CPPFLAGS) -DBACKEND_NAME=pixma
|
||||||
|
|
||||||
nodist_libsane_pixma_la_SOURCES = pixma-s.c
|
nodist_libsane_pixma_la_SOURCES = pixma-s.c
|
||||||
|
|
|
@ -313,7 +313,7 @@ struct pixma_scan_param_t
|
||||||
|
|
||||||
/** Flag indicating whether the offset correction for TPU scans
|
/** Flag indicating whether the offset correction for TPU scans
|
||||||
* was already performed (to avoid repeated corrections).
|
* was already performed (to avoid repeated corrections).
|
||||||
* Currently only used in pixma_mp810.c sub-driver */
|
* Currently only used in pixma_mp800.c sub-driver */
|
||||||
unsigned tpu_offset_added;
|
unsigned tpu_offset_added;
|
||||||
|
|
||||||
/* Flag indicating if data from scanner will be in JPEG format */
|
/* Flag indicating if data from scanner will be in JPEG format */
|
||||||
|
|
|
@ -69,14 +69,14 @@
|
||||||
extern const pixma_config_t pixma_mp150_devices[];
|
extern const pixma_config_t pixma_mp150_devices[];
|
||||||
extern const pixma_config_t pixma_mp750_devices[];
|
extern const pixma_config_t pixma_mp750_devices[];
|
||||||
extern const pixma_config_t pixma_mp730_devices[];
|
extern const pixma_config_t pixma_mp730_devices[];
|
||||||
extern const pixma_config_t pixma_mp810_devices[];
|
extern const pixma_config_t pixma_mp800_devices[];
|
||||||
extern const pixma_config_t pixma_iclass_devices[];
|
extern const pixma_config_t pixma_iclass_devices[];
|
||||||
|
|
||||||
static const pixma_config_t *const pixma_devices[] = {
|
static const pixma_config_t *const pixma_devices[] = {
|
||||||
pixma_mp150_devices,
|
pixma_mp150_devices,
|
||||||
pixma_mp750_devices,
|
pixma_mp750_devices,
|
||||||
pixma_mp730_devices,
|
pixma_mp730_devices,
|
||||||
pixma_mp810_devices,
|
pixma_mp800_devices,
|
||||||
pixma_iclass_devices,
|
pixma_iclass_devices,
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
|
@ -2363,7 +2363,7 @@ static int mp810_get_status (pixma_t * s, pixma_device_status_t * status)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const pixma_scan_ops_t pixma_mp810_ops =
|
static const pixma_scan_ops_t pixma_mp800_ops =
|
||||||
{
|
{
|
||||||
mp810_open,
|
mp810_open,
|
||||||
mp810_close,
|
mp810_close,
|
||||||
|
@ -2380,7 +2380,7 @@ static const pixma_scan_ops_t pixma_mp810_ops =
|
||||||
model, /* model */ \
|
model, /* model */ \
|
||||||
CANON_VID, pid, /* vid pid */ \
|
CANON_VID, pid, /* vid pid */ \
|
||||||
0, /* iface */ \
|
0, /* iface */ \
|
||||||
&pixma_mp810_ops, /* ops */ \
|
&pixma_mp800_ops, /* ops */ \
|
||||||
dpi, 2*(dpi), /* xdpi, ydpi */ \
|
dpi, 2*(dpi), /* xdpi, ydpi */ \
|
||||||
adftpu_min_dpi, adftpu_max_dpi, /* adftpu_min_dpi, adftpu_max_dpi */ \
|
adftpu_min_dpi, adftpu_max_dpi, /* adftpu_min_dpi, adftpu_max_dpi */ \
|
||||||
tpuir_min_dpi, tpuir_max_dpi, /* tpuir_min_dpi, tpuir_max_dpi */ \
|
tpuir_min_dpi, tpuir_max_dpi, /* tpuir_min_dpi, tpuir_max_dpi */ \
|
||||||
|
@ -2394,7 +2394,7 @@ static const pixma_scan_ops_t pixma_mp810_ops =
|
||||||
|
|
||||||
#define END_OF_DEVICE_LIST DEVICE(NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
#define END_OF_DEVICE_LIST DEVICE(NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
||||||
|
|
||||||
const pixma_config_t pixma_mp810_devices[] =
|
const pixma_config_t pixma_mp800_devices[] =
|
||||||
{
|
{
|
||||||
/* Generation 1: CCD */
|
/* Generation 1: CCD */
|
||||||
DEVICE ("Canon PIXMA MP800", "MP800", MP800_PID, 2400, 150, 0, 0, 0, 638, 877, PIXMA_CAP_CCD | PIXMA_CAP_TPU),
|
DEVICE ("Canon PIXMA MP800", "MP800", MP800_PID, 2400, 150, 0, 0, 0, 638, 877, PIXMA_CAP_CCD | PIXMA_CAP_TPU),
|
|
@ -81,7 +81,7 @@
|
||||||
#define pixma_mp150_devices sanei_pixma_mp150_devices
|
#define pixma_mp150_devices sanei_pixma_mp150_devices
|
||||||
#define pixma_mp730_devices sanei_pixma_mp730_devices
|
#define pixma_mp730_devices sanei_pixma_mp730_devices
|
||||||
#define pixma_mp750_devices sanei_pixma_mp750_devices
|
#define pixma_mp750_devices sanei_pixma_mp750_devices
|
||||||
#define pixma_mp810_devices sanei_pixma_mp810_devices
|
#define pixma_mp800_devices sanei_pixma_mp800_devices
|
||||||
#define pixma_iclass_devices sanei_pixma_iclass_devices
|
#define pixma_iclass_devices sanei_pixma_iclass_devices
|
||||||
#define pixma_newcmd sanei_pixma_newcmd
|
#define pixma_newcmd sanei_pixma_newcmd
|
||||||
#define pixma_open sanei_pixma_open
|
#define pixma_open sanei_pixma_open
|
||||||
|
|
Ładowanie…
Reference in New Issue