Lines Matching refs:filter2Size
189 int filter2Size;
355 filter2Size= filterSize;
356 if (srcFilter) filter2Size+= srcFilter->length - 1;
357 if (dstFilter) filter2Size+= dstFilter->length - 1;
358 assert(filter2Size>0);
359 FF_ALLOCZ_OR_GOTO(NULL, filter2, filter2Size*dstW*sizeof(*filter2), fail);
367 filter2[i*filter2Size + k + j] += srcFilter->coeff[k]*filter[i*filterSize + j];
371 filter2[i*filter2Size + j]= filter[i*filterSize + j];
375 (*filterPos)[i]+= (filterSize-1)/2 - (filter2Size-1)/2;
383 int min= filter2Size;
388 for (j=0; j<filter2Size; j++) {
390 cutOff += FFABS(filter2[i*filter2Size]);
398 for (k=1; k<filter2Size; k++)
399 filter2[i*filter2Size + k - 1]= filter2[i*filter2Size + k];
400 filter2[i*filter2Size + k - 1]= 0;
406 for (j=filter2Size-1; j>0; j--) {
407 cutOff += FFABS(filter2[i*filter2Size + j]);
446 av_log(NULL, AV_LOG_VERBOSE, "SwScaler: reducing / aligning filtersize %d -> %d\n", filter2Size, filterSize);
452 if (j>=filter2Size) filter[i*filterSize + j]= 0;
453 else filter[i*filterSize + j]= filter2[i*filter2Size + j];