annotate DOCS/tech/swscaler_filters.txt @ 34635:7e0f50b4921c

Fix vo_png after FFmpeg merge. Now avcodec_open2() function wants a valid avctx->pix_fmt to be set, but the current vo_png opens the encoder in preinit() function, long before the exact pixel format is know. The fix moves the avcodec_open2() function to vo_png::config() and adds a check for changed pixel format in case there are more config() calls.
author iive
date Tue, 14 Feb 2012 17:06:09 +0000
parents 0ad2da052b2e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
1 software scaler filter docs
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
2
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
3 -ssf cgb=<float> chrominance gaussian blur
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22289
diff changeset
4 useful for videos with some chroma (color) noise (TV captures, VHS, ...)
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
5
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
6 -ssf lgb=<float> -> luminance gaussian blur
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22289
diff changeset
7 hmm, mostly special effect, could be used as lame noise reducer though
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
8
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
9 -ssf chs=<int> -> shift chrominance horizontally
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
10 -ssf cvs=<int> -> shift chrominance vertically
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22289
diff changeset
11 useful if the luma & chroma are not aligned exactly
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
12
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
13 -ssf cs=<float> -> chrominance sharpen
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
14 -ssf ls=<float> -> luminance sharpen
30990
0ad2da052b2e the great MPlayer tab removal: part I
diego
parents: 22289
diff changeset
15 simple sharpening filter
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
16
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 6348
diff changeset
17 note: these will only work if the swscaler is used at all (use -vf scale)
6348
c5859db5e457 software scaler filter docs
michael
parents:
diff changeset
18
9644
0fe056bdb135 vop -> vf change, small fixes. The Polish documentation should be checked for correctness.
jonas
parents: 6348
diff changeset
19 example: mplayer foobar.avi -vf scale -ssf lgb=3.0