Mercurial > mplayer.hg
diff libmpcodecs/vf_fspp.c @ 30412:41fb4acf3df6
Support more qscale types in most post-processing filters.
author | reimar |
---|---|
date | Fri, 29 Jan 2010 19:13:07 +0000 |
parents | 915be5c7a30c |
children | a7b908875c14 |
line wrap: on
line diff
--- a/libmpcodecs/vf_fspp.c Fri Jan 29 13:54:20 2010 +0000 +++ b/libmpcodecs/vf_fspp.c Fri Jan 29 19:13:07 2010 +0000 @@ -454,7 +454,7 @@ t=x+x0-2; //correct t=x+x0-2-(y&1), but its the same if (t<0) t=0;//t always < width-2 t=qp_store[qy+(t>>qps)]; - if(p->mpeg2) t>>=1; //copy p->mpeg2,prev_q to locals? + t=norm_qscale(t, p->mpeg2); if (t!=p->prev_q) p->prev_q=t, mul_thrmat_s(p, t); column_fidct_s((int16_t*)(&p->threshold_mtx[0]), block+x*8, block3+x*8, 8); //yes, this is a HOTSPOT }