Mercurial > mplayer.hg
annotate DOCS/tech/swscaler_filters.txt @ 13568:1cb0e1833515
Currently vbeGetProtModeInfo call the 0x4f0a function of int 10h the get
a simple 32 bits protected mode interface to some VESA functions. This
protected mode interface is interesting because it's quicker than the
raw int 10h interface.
Unfortunatly, begining with VBE 3.0, the 0x4f0a function is optional,
and some video cards don't implement it (3dfx, intel 845/855/865...).
This protected mode interface is then only used in vbeSetWindow and
vbeSetDisplayStart :
?- vbeSetWindow already implement an alternative methode if protected
mode interface is not available.
?- vbeSetDisplayStart also contain an alternative implementation, but
this one is disabled with a #if 0. I don't exactly know why because
it works well !
So currently, cards which don't have the 0x4f0a function are not
supported. This patch correct this.
?- vbeGetProtModeInfo failure is not fatal.
?- vbeSetDisplayStart has it's alternative implementation reenabled.
? ?it's used only with cards which don't have the 0x4f0a function
? ?so this won't make any difference for cards which were already
? ?working.
This patch also make the failure of vbeGetModeInfo not fatal. The
VBE 3.0 standard state that GetModeInfo can fail with some mode
which are listed as supported if the mode can't be used in the
current situation (not enough video memory for example). So a
failure of vbeGetModeInfo don't mean that other modes won't work
and should really not be fatal.
patch by Aurelien Jacobs <aurel@gnuage.org>
author | faust3 |
---|---|
date | Wed, 06 Oct 2004 08:42:13 +0000 |
parents | 0fe056bdb135 |
children | 780caed72ac7 |
rev | line source |
---|---|
6348 | 1 software scaler filter docs |
2 | |
3 -ssf cgb=<float> chrominance gaussian blur | |
4 usefull for videos with some chroma (color) noise (TV captures, VHS, ...) | |
5 | |
6 -ssf lgb=<float> -> luminance gaussian blur | |
7 hmm, mostly special effect, could be used as lame noise reducer though | |
8 | |
9 -ssf chs=<int> -> shift chrominance horizontally | |
10 -ssf cvs=<int> -> shift chrominance vertically | |
11 usefull if the luma & chroma are not aligned exactly | |
12 | |
13 -ssf cs=<float> -> chrominance sharpen | |
14 -ssf ls=<float> -> luminance sharpen | |
15 simple sharpening filter | |
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 | 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 |