Mercurial > mplayer.hg
comparison libmpcodecs/vf_fspp.c @ 21578:9345eb2d8c8f
count needs to be even
author | henry |
---|---|
date | Mon, 11 Dec 2006 18:50:52 +0000 |
parents | 68b55a823fd4 |
children | a124f3abc1ec |
comparison
equal
deleted
inserted
replaced
21577:6093e7cede5a | 21578:9345eb2d8c8f |
---|---|
461 } | 461 } |
462 // | 462 // |
463 es=width+8-x0; // 8, ... | 463 es=width+8-x0; // 8, ... |
464 if (es>8) | 464 if (es>8) |
465 row_fdct_s(block+8*8, p->src + y*stride+8+x0 +2-(y&1), stride, (es-4)>>2); | 465 row_fdct_s(block+8*8, p->src + y*stride+8+x0 +2-(y&1), stride, (es-4)>>2); |
466 column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block, block3, es-0); | 466 column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block, block3, es&(~1)); |
467 row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, es>>2); | 467 row_idct_s(block3+0*8, p->temp + (y&15)*stride+x0+2-(y&1), stride, es>>2); |
468 {const int y1=y-8+step;//l5-7 l4-6 | 468 {const int y1=y-8+step;//l5-7 l4-6 |
469 if (!(y1&7) && y1) { | 469 if (!(y1&7) && y1) { |
470 if (y1&8) store_slice_s(dst + (y1-8)*dst_stride, p->temp+ 8 +8*stride, | 470 if (y1&8) store_slice_s(dst + (y1-8)*dst_stride, p->temp+ 8 +8*stride, |
471 dst_stride, stride, width, 8, 5-p->log2_count); | 471 dst_stride, stride, width, 8, 5-p->log2_count); |