|
|
|
|
@ -528,10 +528,10 @@ void debayer_rggb10_simple (uint8_t * src, int src_w, int src_h,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (pdst - dst > max) {
|
|
|
|
|
printf ("debayer error. dpst out of bounds size:%dx%d pos:%dx%d \n", dst_w, dst_h, xd, yd);
|
|
|
|
|
}
|
|
|
|
|
if ((ys == 10 || ys == 11) && xs < 10) printf ("%dx%d - %d, %d, %d\n", xs, ys, r, g, b);
|
|
|
|
|
// if (pdst - dst > max) {
|
|
|
|
|
// printf ("debayer error. dpst out of bounds size:%dx%d pos:%dx%d \n", dst_w, dst_h, xd, yd);
|
|
|
|
|
// }
|
|
|
|
|
// if ((ys == 10 || ys == 11) && xs < 10) printf ("%dx%d - %d, %d, %d\n", xs, ys, r, g, b);
|
|
|
|
|
pdst[0] = (r);
|
|
|
|
|
pdst[1] = (g);
|
|
|
|
|
pdst[2] = (b);
|
|
|
|
|
|