Inheritance diagram for ImageFilterFadeOut:


Public Member Functions | |
| char * | GetDescription () const |
| void | FilterFrame (uint8_t *pixels, int width, int height, double position, double frame_delta) |
Definition at line 111 of file image_filters.cc.
|
||||||||||||||||||||||||
|
Implements ImageFilter. Definition at line 119 of file image_filters.cc. 00120 {
00121 double r = ( 1.0 - position );
00122 for ( uint8_t *p = pixels; p < ( pixels + width * height * 3 ); ++p )
00123 *p = uint8_t( *p * r + 0.5 );
00124 }
|
|
|
Implements ImageFilter. Definition at line 114 of file image_filters.cc. 00115 {
00116 return _( "Fade Out" );
00117 }
|
1.4.2