Mercurial > mplayer.hg
comparison libmpcodecs/vf_fspp.c @ 25568:707b810a2558
fix artifacts in -vf fspp. regression in r23476.
author | lorenm |
---|---|
date | Sat, 05 Jan 2008 10:42:39 +0000 |
parents | 00fff9a3b735 |
children | c2210e68a2a9 |
comparison
equal
deleted
inserted
replaced
25567:ca62d466a9fc | 25568:707b810a2558 |
---|---|
455 if(p->mpeg2) t>>=1; //copy p->mpeg2,prev_q to locals? | 455 if(p->mpeg2) t>>=1; //copy p->mpeg2,prev_q to locals? |
456 if (t!=p->prev_q) p->prev_q=t, mul_thrmat_s(p, t); | 456 if (t!=p->prev_q) p->prev_q=t, mul_thrmat_s(p, t); |
457 column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block+x*8, block3+x*8, 8); //yes, this is a HOTSPOT | 457 column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block+x*8, block3+x*8, 8); //yes, this is a HOTSPOT |
458 } | 458 } |
459 row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, 2*(BLOCKSZ-1)); | 459 row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, 2*(BLOCKSZ-1)); |
460 memcpy(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling | 460 memmove(block, block+(BLOCKSZ-1)*64, 8*8*sizeof(DCTELEM)); //cycling |
461 memcpy(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM)); | 461 memmove(block3, block3+(BLOCKSZ-1)*64, 6*8*sizeof(DCTELEM)); |
462 } | 462 } |
463 // | 463 // |
464 es=width+8-x0; // 8, ... | 464 es=width+8-x0; // 8, ... |
465 if (es>8) | 465 if (es>8) |
466 row_fdct_s(block+8*8, p->src + y*stride+8+x0 +2-(y&1), stride, (es-4)>>2); | 466 row_fdct_s(block+8*8, p->src + y*stride+8+x0 +2-(y&1), stride, (es-4)>>2); |