Mercurial > mplayer.hg
comparison libmpcodecs/vf_smartblur.c @ 9975:3914afe5c0a7
removing sws - global verbose var dependancy
removing sws - cpudetect dependancy (note rgb2rgb still needs it)
moving mplayer specific stuff from swscale.c -> vf_scale.c
author | michael |
---|---|
date | Thu, 24 Apr 2003 17:04:20 +0000 |
parents | e9a2af584986 |
children | 35f52ad860a0 |
comparison
equal
deleted
inserted
replaced
9974:a19da4c57b67 | 9975:3914afe5c0a7 |
---|---|
92 sws_scaleVec(vec, f->strength); | 92 sws_scaleVec(vec, f->strength); |
93 vec->coeff[vec->length/2]+= 1.0 - f->strength; | 93 vec->coeff[vec->length/2]+= 1.0 - f->strength; |
94 swsF.lumH= swsF.lumV= vec; | 94 swsF.lumH= swsF.lumV= vec; |
95 swsF.chrH= swsF.chrV= NULL; | 95 swsF.chrH= swsF.chrV= NULL; |
96 f->filterContext= sws_getContext( | 96 f->filterContext= sws_getContext( |
97 width, height, IMGFMT_Y8, width, height, IMGFMT_Y8, 0, &swsF, NULL); | 97 width, height, IMGFMT_Y8, width, height, IMGFMT_Y8, get_sws_cpuflags(), &swsF, NULL); |
98 | 98 |
99 sws_freeVec(vec); | 99 sws_freeVec(vec); |
100 | 100 |
101 return 0; | 101 return 0; |
102 } | 102 } |