comparison libmpcodecs/vf_smartblur.c @ 33415:53073a44a899

Fix build after removal of SWS_CPU_CAPS_* from libswscale in FFmpeg. Remove the get_sws_cpuflags() and its uses across filters.
author iive
date Wed, 25 May 2011 13:46:32 +0000
parents 8b0d95785db2
children
comparison
equal deleted inserted replaced
33414:9bc9e1851a13 33415:53073a44a899
87 sws_scaleVec(vec, f->strength); 87 sws_scaleVec(vec, f->strength);
88 vec->coeff[vec->length/2]+= 1.0 - f->strength; 88 vec->coeff[vec->length/2]+= 1.0 - f->strength;
89 swsF.lumH= swsF.lumV= vec; 89 swsF.lumH= swsF.lumV= vec;
90 swsF.chrH= swsF.chrV= NULL; 90 swsF.chrH= swsF.chrV= NULL;
91 f->filterContext= sws_getContext( 91 f->filterContext= sws_getContext(
92 width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC | get_sws_cpuflags(), &swsF, NULL, NULL); 92 width, height, PIX_FMT_GRAY8, width, height, PIX_FMT_GRAY8, SWS_BICUBIC, &swsF, NULL, NULL);
93 93
94 sws_freeVec(vec); 94 sws_freeVec(vec);
95 95
96 return 0; 96 return 0;
97 } 97 }