mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
This commit is contained in:
parent
ac0ad72981
commit
5fe4aad711
@ -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…
x
Reference in New Issue
Block a user