gst_comb_detect_transform_frame (GstVideoFilter * filter,
GstVideoFrame * inframe, GstVideoFrame * outframe)
{
+ static int z;
int k;
int height;
int width;
#define GET_LINE(frame,comp,line) (((unsigned char *)(frame)->data[k]) + \
(line) * GST_VIDEO_FRAME_COMP_STRIDE((frame), (comp)))
+ z++;
+
for (k = 1; k < 3; k++) {
int i;
height = GST_VIDEO_FRAME_COMP_HEIGHT (outframe, k);
thisline[i] = 0;
}
if (thisline[i] > 100) {
- dest[i] = 255;
+ dest[i] = ((i + j + z) & 0x4) ? 235 : 16;
score++;
} else {
- dest[i] = src2[i] / 2;
+ dest[i] = src2[i];
}
}
}