kopia lustrzana https://gitlab.com/sane-project/backends
pixma: fix end of line crop buffer size for better efficiency.
modified: ChangeLog modified: backend/pixma.cmerge-requests/1/head
rodzic
bb346c0725
commit
b95d698f33
|
@ -1,3 +1,8 @@
|
|||
2010-07-03 Nicolas Martin <nicols-guest at users.alioth.debian.org>
|
||||
* doc/descriptions/pixma.desc, backend/pixma.c
|
||||
pixma: fix ImageClass MF6550 description.
|
||||
fix end of line crop buffer size.
|
||||
|
||||
2010-07-02 Nicolas Martin <nicols-guest at users.alioth.debian.org>
|
||||
* doc/descriptions/pixma.desc, doc/sane-pixma.man:
|
||||
pixma: update doc to include ImageClass MF6550 support.
|
||||
|
|
|
@ -1301,7 +1301,10 @@ sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen, SANE_Int * len)
|
|||
{
|
||||
DECL_CTX;
|
||||
int sum, n;
|
||||
SANE_Byte temp[60];
|
||||
/* Due to 32 pixels alignment, sizeof(temp) is to be greater than:
|
||||
* max(nchannels) * max (sp.line_size - output_line_size)
|
||||
* so currently: 3 * 32 = 96 for better end line cropping efficiency */
|
||||
SANE_Byte temp[100];
|
||||
SANE_Status status;
|
||||
|
||||
if (len)
|
||||
|
|
Ładowanie…
Reference in New Issue