Topics related to the frei0r plugins project
Adujstment effects
(Guess some code can be taken out of Cinelerra here)
- Brightness/Contrast (*)
- Gaussian Blur (should be fast, 3x3 only)
- Canny edge
- Color Balance
- Hue/Saturation (*)
- Translate
- Rotate
- Scale (Zoom)
- Levels
Already existing:
- Brightness
- Contrast
- Hue
- Saturation
- Invert
- Flip/flop
- Threshold
(*) In most movie editing tools those are combined; in frei0r we got both independently
Compositing effects
We're going to get the 20-some compositing effects out of Gimp (we already did it for Drone).
Alpha channels
We have alpha channels and basic alpha channel operations already implemented in Drone.
- Fill alpha (fill alpha with the same value)
- Set alpha (the alpha channel is given by a mask)
- Invert alpha
- Set opacity (multiplies alpha by some value)
- Over (DONE)
- In (DONE)
- Out (DONE)
- Atop (DONE)
- Xor (DONE)
Transition effects
Those effects make a transition between two images, or between one image and a uniform color. Some of them (like "Blend") can thus be seen as compositing effects. See P.i.D.i.P. for some effects.
- Blend
- Push (first image is "pushing" the second one in one direction)
- Fade in/out (just applies on one image, fade in/out to some color)
- ???
Common utilities
A set of common macros in c. Will be located in common/utils.h.
Macros:
- CLAMP0255(x)
- INT_MULT(a,b,tmp)
- INT_MULT3(a,b,tmp)
- GRAY(x) or lightness(x) ? maybe we could have two choices: fast and precise
Functions:
- uint32_t gray(uint32_t)

