25 #include <fvfilters/hor_search.h>
26 #include <fvutils/color/yuv.h>
31 namespace firevision {
76 unsigned char *lyp = yp;
77 unsigned char *lup = up;
78 unsigned char *lvp = vp;
79 unsigned char *ldyp = dyp;
86 for (h = 0; (h <
src_roi[0]->
height) && (h < dst_roi->height); ++h) {
89 for (w = 0; (w <
src_roi[0]->
width) && (w < dst_roi->width); ++w) {
90 if ((cm->
determine(*yp++, *up, *vp) == what)) {
94 left = flag ? left : w;
96 if ((cm->
determine(*yp++, *up++, *vp++) == what)) {
101 left = flag ? left : w;
111 if (left != 0 && left < dst_roi->width)
113 if (right != 0 && right < dst_roi->width)