24 #include <fvfilters/compare.h> 26 #include <fvutils/color/yuv.h> 35 const unsigned int FilterCompare::BACKGROUND = 0;
37 const unsigned int FilterCompare::FOREGROUND = 1;
44 FilterCompare::FilterCompare()
45 :
Filter(
"FilterCompare", 2)
57 register unsigned int h = 0;
58 register unsigned int w = 0;
85 unsigned char *lbyp = byp;
86 unsigned char *lfyp = fyp;
87 unsigned char *lfup = fup;
88 unsigned char *lfvp = fvp;
89 unsigned char *ldyp = dyp;
90 unsigned char *ldup = dup;
91 unsigned char *ldvp = dvp;
fawkes::upoint_t start
ROI start.
unsigned int y
y coordinate
unsigned int x
x coordinate
unsigned int width
ROI width.
static const unsigned int FOREGROUND
Foreground image.
unsigned int image_width
width of image that contains this ROI
virtual void apply()
Apply the filter.
unsigned char ** src
Source buffers, dynamically allocated by Filter ctor.
unsigned int image_height
height of image that contains this ROI
static const unsigned int BACKGROUND
Background image.
ROI ** src_roi
Source ROIs, dynamically allocated by Filter ctor.
unsigned int height
ROI height.
unsigned int line_step
line step
unsigned char * dst
Destination buffer.
unsigned int pixel_step
pixel step
ROI * dst_roi
Destination ROI.