24#include <core/exceptions/software.h>
25#include <fvfilters/invert.h>
26#include <fvutils/color/yuv.h>
62 unsigned char *lyp = yp;
104 unsigned char *lyp = yp;
105 unsigned char *lup = up;
106 unsigned char *lvp = vp;
107 unsigned char *ldyp = dyp;
108 unsigned char *ldup = dup;
109 unsigned char *ldvp = dvp;
111 for (h = 0; (h <
src_roi[0]->
height) && (h < dst_roi->height); ++h) {
112 for (w = 0; (w <
src_roi[0]->
width) && (w < dst_roi->width); w += 2) {
113 *dyp++ = 255 - *yp++;
114 *dyp++ = 255 - *yp++;
A NULL pointer was supplied where not allowed.
FilterInvert()
Constructor.
virtual void apply()
Apply the filter.
ROI ** src_roi
Source ROIs, dynamically allocated by Filter ctor.
unsigned char ** src
Source buffers, dynamically allocated by Filter ctor.
unsigned char * dst
Destination buffer.
ROI * dst_roi
Destination ROI.
unsigned int height
ROI height.
fawkes::upoint_t start
ROI start.
unsigned int line_step
line step
unsigned int width
ROI width.
unsigned int image_width
width of image that contains this ROI
unsigned int pixel_step
pixel step
unsigned int image_height
height of image that contains this ROI
unsigned int x
x coordinate
unsigned int y
y coordinate