Home
RecentChanges

Search:

» AviSynth is a powerful video FrameServer for Win32.

AviSynth Links:
»Download
»Learn to script
»FAQ
»Manual
»Discussion fora
»Project page
»External filters
»FeedBack

» You can add pages to this website immediately. No login required.
Edit this document

» AboutAviSynth

 

Avisynth 
Logo

Tweak

( Diese Seite in flag-germany.gif Deutsch )

Tweak(clip clip [, float hue] [, float sat] [, float bright] [, float cont] [, bool coring] [, bool sse])

This function provides the means to adjust the hue, saturation, brightness, and contrast of a video clip.

hue (-180.0 to +180.0, default 0.0) is used to adjust the color hue of the image. Positive values shift the image towards red. Negative values shift it towards green.

sat (0.0 to 10.0, default 1.0) is used to adjust the color saturation of the image. Values above 1.0 increase the saturation. Values below 1.0 reduce the saturation. Use sat=0 to convert to Greyscale.

bright (-255.0 to 255.0, default 0.0) is used to change the brightness of the image. Positive values increase the brightness. Negative values decrease the brightness.

cont (0.0 to 10.0, default 1.0) is used to change the contrast of the image. Values above 1.0 increase the contrast. Values below 1.0 decrease the contrast.

coring = true/false (optional; true by default, which reflects the behaviour in older versions). When set to true, the luma (Y) is clipped to [16,235]; when set to false, the luma is left untouched. [Added in v2.53].

sse = true/false (optional; false by default) re-enables the SSE code if required (perhaps an AMD might run it faster). [Added in v2.56.]

Changes

v2.56 added sse=true/false to enable sse code

SourceForge Logo

 


Edit this document | View document history
Document last modified Fri, 21 Jan 2005 18:31:14