On Sat, 30 Sep 2006 14:22:46 +0200, Pierre Marc Dumuid <[EMAIL PROTECTED]> wrote:

Huh,
depends on how you look at it. I personally like to be able to gain above 100% (which results in the user needing to be wary of wrap-around), but at the same time, I don't want it to saturate because I know that for saturation, the following code:

value = value > 255 ? 255 : value;

needs to be executed on every pixel on every frame, which I thought may slow things (not sure how much though).

 If you check for saturation like that, it may cause a performance hit.
But modern CPUs have extra instructions that saturate instead of wrapping
around.  You may have to write some assembly, but it is doable without
spending any extra cycles.


Wrap-around can results in some wierd effects as well..(which some people might call "artistic" :) )

 They are totally weird and unexpected, and logically wrong.  Brighter than
white is not black or gray. Such sampling model artifacts should be treated
like what they are, artifacts.

 A distant relative of wraparound is solarisation, which can be achieved in
the darkroom.  I would rather have separate effects to perform wraparounds,
for those who actually want it.

--
Herman Robak

_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to