Fades R G and B channels to the given color by the given amount, ignores A
| 47 | |
| 48 | // Fades R G and B channels to the given color by the given amount, ignores A |
| 49 | struct FadeToColorImageOperation { |
| 50 | FadeToColorImageOperation(Vec3B color, float amount); |
| 51 | |
| 52 | Vec3B color; |
| 53 | float amount; |
| 54 | |
| 55 | Array<uint8_t, 256> rTable; |
| 56 | Array<uint8_t, 256> gTable; |
| 57 | Array<uint8_t, 256> bTable; |
| 58 | }; |
| 59 | |
| 60 | // Applies two FadeToColor operations in alternating rows to produce a scanline effect |
| 61 | struct ScanLinesImageOperation { |
no outgoing calls
no test coverage detected