Lines Matching defs:mycoords

336 				  struct st_coords *mycoords);
1639 struct st_coords mycoords;
1652 memset (&mycoords, 0, sizeof (struct st_coords));
1710 mycoords.left =
1713 mycoords.width =
1716 mycoords.top =
1718 mycoords.height =
1755 mycoords.left = scancfg->coord.left;
1756 mycoords.top = scancfg->coord.top;
1757 mycoords.width = scancfg->coord.width;
1758 mycoords.height = scancfg->coord.height;
1802 if ((mycoords.width % dots_per_block) != 0)
1804 aditional_dots = dots_per_block - (mycoords.width % dots_per_block);
1805 mycoords.width += aditional_dots;
1811 dots_per_block = 32 - (mycoords.width & 0x1f);
1814 mycoords.width += dots_per_block;
1826 PIXEL_RATE) ? mycoords.width / 4 : mycoords.width / 8;
1849 bytesperline = mycoords.width * (channel_count * channel_size);
1857 imagesize = mycoords.height * bytesperline;
1866 scancfg->coord.left = mycoords.left;
1867 scancfg->coord.top = mycoords.top;
1868 scancfg->coord.width = mycoords.width;
1869 scancfg->coord.height = mycoords.height;
13901 SANE_Int scantype, struct st_coords *mycoords)
13940 if (mycoords->left < 0)
13941 mycoords->left = 0;
13943 mycoords->left += coords.left;
13945 if (mycoords->top < 0)
13946 mycoords->top = 0;
13948 mycoords->top += coords.top;
13951 if ((mycoords->width < 0) || (mycoords->width > coords.width))
13952 mycoords->width = coords.width;
13954 if ((mycoords->height < 0) || (mycoords->height > coords.height))
13955 mycoords->height = coords.height;
13962 dbg_scantype (scantype), Resolution, mycoords->left, mycoords->width,
13963 mycoords->top, mycoords->height, rst);