view DOCS/tech/swscaler_filters.txt @ 28973:9ae8c54007f5

Initialize *srcContext, *dstContext, *outContext to NULL, avoids the warnings: libswscale/swscale-example.c:60: warning: 'outContext' may be used uninitialized in this function libswscale/swscale-example.c:60: warning: 'dstContext' may be used uninitialized in this function libswscale/swscale-example.c:60: warning: 'srcContext' may be used uninitialized in this function
author diego
date Thu, 19 Mar 2009 23:33:35 +0000
parents 780caed72ac7
children 0ad2da052b2e
line wrap: on
line source

software scaler filter docs

-ssf cgb=<float> chrominance gaussian blur
	useful for videos with some chroma (color) noise (TV captures, VHS, ...)

-ssf lgb=<float> -> luminance gaussian blur
	hmm, mostly special effect, could be used as lame noise reducer though

-ssf chs=<int> -> shift chrominance horizontally
-ssf cvs=<int> -> shift chrominance vertically
	useful if the luma & chroma are not aligned exactly

-ssf cs=<float> -> chrominance sharpen
-ssf ls=<float> -> luminance sharpen
	simple sharpening filter

note: these will only work if the swscaler is used at all (use -vf scale)

example: mplayer foobar.avi -vf scale -ssf lgb=3.0