Lines Matching refs:output
874 unsigned char *output = frame->data; in bayer_unshuffle() local
898 memset (output, 0, 3 * vw * vh); /* clear output matrix. */ in bayer_unshuffle()
927 *(output + i + colour) = (unsigned char) p; in bayer_unshuffle()
942 *(output + i) = red[*(output + i)]; in bayer_unshuffle()
943 *(output + i + 1) = green[*(output + i + 1)]; in bayer_unshuffle()
944 *(output + i + 2) = blue[*(output + i + 2)]; in bayer_unshuffle()
960 …*(output + AD (x, y, vw) + BLUE) = ((int) *(output + AD (x - 1, y, vw) + BLUE) + (int) *(output + … in bayer_unshuffle()
961 …*(output + AD (x, y, vw) + RED) = ((int) *(output + AD (x, y - 1, vw) + RED) + (int) *(output + AD… in bayer_unshuffle()
965 …output + AD (x, y, vw) + GREEN) = ((int) *(output + AD (x - 1, y, vw) + GREEN) + (int) *(output + … in bayer_unshuffle()
966 …output + AD (x, y, vw) + RED) = ((int) *(output + AD (x - 1, y - 1, vw) + RED) + (int) *(output + … in bayer_unshuffle()
970 …output + AD (x, y, vw) + GREEN) = ((int) *(output + AD (x - 1, y, vw) + GREEN) + (int) *(output + … in bayer_unshuffle()
971 …output + AD (x, y, vw) + BLUE) = ((int) *(output + AD (x - 1, y - 1, vw) + BLUE) + (int) *(output … in bayer_unshuffle()
975 …*(output + AD (x, y, vw) + RED) = ((int) *(output + AD (x - 1, y, vw) + RED) + (int) *(output + AD… in bayer_unshuffle()
976 …*(output + AD (x, y, vw) + BLUE) = ((int) *(output + AD (x, y - 1, vw) + BLUE) + (int) *(output + … in bayer_unshuffle()
984 memcpy (output, (output + i), i); in bayer_unshuffle()
985 memcpy ((output + (vh * i)), (output + ((vh - 1) * i)), i); in bayer_unshuffle()
988 memcpy ((output + i), (output + i + 3), 3); in bayer_unshuffle()
989 memcpy ((output + i + (vw * 3)), (output + i + (vw - 1) * 3), 3); in bayer_unshuffle()
1000 *(output + i) = *(output + p); in bayer_unshuffle()
1001 *(output + i + 1) = *(output + p + 1); in bayer_unshuffle()
1002 *(output + i + 2) = *(output + p + 2); in bayer_unshuffle()
1026 *(temp) = *(output + i); in bayer_unshuffle()
1027 *(output + i) = *(output + i + 2); in bayer_unshuffle()
1028 *(output + i + 2) = *(temp); in bayer_unshuffle()
1037 if ((*(output + x) + (unsigned char) p) > 255) in bayer_unshuffle()
1038 *(output + x) = 255; in bayer_unshuffle()
1040 *(output + x) += (unsigned char) p; in bayer_unshuffle()
1045 if ((unsigned char) p > *(output + x)) in bayer_unshuffle()
1046 *(output + x) = 0; in bayer_unshuffle()
1048 *(output + x) -= (unsigned char) p; in bayer_unshuffle()