• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libswscale/

Lines Matching defs:coeff

239                 int64_t coeff= fone - FFABS((xx<<16) - xDstInSrc)*(fone>>16);
240 if (coeff<0) coeff=0;
241 filter[i*filterSize + j]= coeff;
278 int64_t coeff;
289 coeff = 0.0;
295 coeff = (12*(1<<24)-9*B-6*C)*ddd + (-18*(1<<24)+12*B+6*C)*dd + (6*(1<<24)-2*B)*(1<<30);
297 coeff = (-B-6*C)*ddd + (6*B+30*C)*dd + (-12*B-48*C)*d + (8*B+24*C)*(1<<30);
299 coeff *= fone>>(30+24);
303 coeff = d ? sin(d*M_PI)/(d*M_PI) : 1.0;
304 coeff*= pow(2.0, - p*d*d);
316 coeff= (c*0.5 + 0.5)*fone;
319 if (d2*xInc < -(1LL<<(29+16))) coeff= 1.0 * (1LL<<(30+16));
320 else if (d2*xInc < (1LL<<(29+16))) coeff= -d2*xInc + (1LL<<(29+16));
321 else coeff=0.0;
322 coeff *= fone>>(30+16);
325 coeff = (pow(2.0, - p*floatd*floatd))*fone;
327 coeff = (d ? sin(floatd*M_PI)/(floatd*M_PI) : 1.0)*fone;
330 coeff = (d ? sin(floatd*M_PI)*sin(floatd*M_PI/p)/(floatd*floatd*M_PI*M_PI/p) : 1.0)*fone;
331 if (floatd>p) coeff=0;
333 coeff= (1<<30) - d;
334 if (coeff<0) coeff=0;
335 coeff *= fone >> 30;
338 coeff = getSplineCoeff(1.0, 0.0, p, -p-1.0, floatd) * fone;
340 coeff= 0.0; //GCC warning killer
344 filter[i*filterSize + j]= coeff;
367 filter2[i*filter2Size + k + j] += srcFilter->coeff[k]*filter[i*filterSize + j];
1206 vec->coeff = av_malloc(sizeof(double) * length);
1207 if (!vec->coeff)
1224 vec->coeff[i]= exp(-dist*dist/(2*variance*variance)) / sqrt(2*variance*M_PI);
1241 vec->coeff[i]= c;
1257 sum+= a->coeff[i];
1267 a->coeff[i]*= scalar;
1286 vec->coeff[i+j]+= a->coeff[i]*b->coeff[j];
1302 for (i=0; i<a->length; i++) vec->coeff[i + (length-1)/2 - (a->length-1)/2]+= a->coeff[i];
1303 for (i=0; i<b->length; i++) vec->coeff[i + (length-1)/2 - (b->length-1)/2]+= b->coeff[i];
1317 for (i=0; i<a->length; i++) vec->coeff[i + (length-1)/2 - (a->length-1)/2]+= a->coeff[i];
1318 for (i=0; i<b->length; i++) vec->coeff[i + (length-1)/2 - (b->length-1)/2]-= b->coeff[i];
1334 vec->coeff[i + (length-1)/2 - (a->length-1)/2 - shift]= a->coeff[i];
1343 av_free(a->coeff);
1344 a->coeff= shifted->coeff;
1352 av_free(a->coeff);
1353 a->coeff= sum->coeff;
1361 av_free(a->coeff);
1362 a->coeff= diff->coeff;
1370 av_free(a->coeff);
1371 a->coeff= conv->coeff;
1384 for (i=0; i<a->length; i++) vec->coeff[i]= a->coeff[i];
1397 if (a->coeff[i]>max) max= a->coeff[i];
1400 if (a->coeff[i]<min) min= a->coeff[i];
1405 int x= (int)((a->coeff[i]-min)*60.0/range +0.5);
1406 av_log(log_ctx, log_level, "%1.3f ", a->coeff[i]);
1415 av_freep(&a->coeff);