1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 18:57:35 +00:00

fix artifacts in -vf fspp. regression in r23476.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25596 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
lorenm 2008-01-05 10:42:39 +00:00
parent 3ca9d94c64
commit 06b0571bf9

View File

@ -457,8 +457,8 @@ static void filter(struct vf_priv_s *p, uint8_t *dst, uint8_t *src,
column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block+x*8, block3+x*8, 8); //yes, this is a HOTSPOT
}
row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, 2*(BLOCKSZ-1));
memcpy(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling
memcpy(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM));
memmove(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling
memmove(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM));
}
//
es=width+8-x0; // 8, ...