Browse Source

Correct normalization constant for the vertical filter, iam not

completely sure why this was at such incorrect value, but i could
not find any problems when it was set correctly.

Originally committed as revision 27575 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Michael Niedermayer 16 years ago
parent
commit
5fe4aad711
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libswscale/swscale.c

+ 2
- 2
libswscale/swscale.c View File

@@ -2434,11 +2434,11 @@ SwsContext *sws_getContext(int srcW, int srcH, int srcFormat, int dstW, int dstH
1;

initFilter(&c->vLumFilter, &c->vLumFilterPos, &c->vLumFilterSize, c->lumYInc,
srcH , dstH, filterAlign, (1<<12)-4,
srcH , dstH, filterAlign, (1<<12),
(flags&SWS_BICUBLIN) ? (flags|SWS_BICUBIC) : flags,
srcFilter->lumV, dstFilter->lumV, c->param);
initFilter(&c->vChrFilter, &c->vChrFilterPos, &c->vChrFilterSize, c->chrYInc,
c->chrSrcH, c->chrDstH, filterAlign, (1<<12)-4,
c->chrSrcH, c->chrDstH, filterAlign, (1<<12),
(flags&SWS_BICUBLIN) ? (flags|SWS_BILINEAR) : flags,
srcFilter->chrV, dstFilter->chrV, c->param);



Loading…
Cancel
Save