Inheritance diagram for ImageFilterReverseVideo:


Public Member Functions | |
| char * | GetDescription () const |
| void | FilterFrame (uint8_t *pixels, int width, int height, double position, double frame_delta) |
Definition at line 432 of file image_filters.cc.
|
||||||||||||||||||||||||
|
Implements ImageFilter. Definition at line 440 of file image_filters.cc. 00441 {
00442 uint8_t r, g, b;
00443 uint8_t *p = pixels;
00444 while ( p < ( pixels + width * height * 3 ) )
00445 {
00446 r = *( p );
00447 g = *( p + 1 );
00448 b = *( p + 2 );
00449 *p ++ = 0xff - r;
00450 *p ++ = 0xff - g;
00451 *p ++ = 0xff - b;
00452 }
00453 }
|
|
|
Implements ImageFilter. Definition at line 435 of file image_filters.cc. 00436 {
00437 return _( "Reverse Video" );
00438 }
|
1.4.2