Lines Matching defs:out
682 despeckle (int width, int height, SANE_Byte * in, SANE_Byte * out)
705 memcpy (&out[i * 3], &in[i * 3], 3);
710 out[i * 3] = (pR + nR) / 2;
712 out[i * 3] = R;
716 out[i * 3 + 1] = (pG + nG) / 2;
718 out[i * 3 + 1] = G;
722 out[i * 3 + 2] = (pB + nB) / 2;
724 out[i * 3 + 2] = B;
741 despeckle32 (int width, int height, SANE_Byte * in, SANE_Byte * out)
763 memcpy (&out[i * 4], &in[i * 4], 4);
774 out[i * 4 + 3] = (pR + nR) / 2;
776 out[i * 4 + 3] = R;
780 out[i * 4 + 1] = (pGa + nGa) / 2;
782 out[i * 4 + 1] = Ga;
786 out[i * 4 + 2] = (pGb + nGb) / 2;
788 out[i * 4 + 2] = Gb;
793 out[i * 4 + 0] = (pB + nB) / 2;
795 out[i * 4 + 0] = B;
843 fflush (ofp); /* force everything out the pipe */
1290 "32x32 pixels each. Use this to find out whether the "