| 212 | private: |
| 213 | |
| 214 | double apply(int c, |
| 215 | double inR, |
| 216 | double inG, |
| 217 | double inB, |
| 218 | double inA) |
| 219 | { |
| 220 | double comp = _matrix[c].r * inR + _matrix[c].g * inG + _matrix[c].b * inB + _matrix[c].a * inA; |
| 221 | |
| 222 | if ( _clampBlack && (comp < 0.) ) { |
| 223 | comp = 0.; |
| 224 | } else if ( _clampWhite && (comp > maxValue) ) { |
| 225 | comp = maxValue; |
| 226 | } |
| 227 | |
| 228 | return comp; |
| 229 | } |
| 230 | |
| 231 | void multiThreadProcessImages(const OfxRectI& procWindow, const OfxPointD& rs) OVERRIDE FINAL |
| 232 | { |
nothing calls this directly
no outgoing calls
no test coverage detected