[MPlayer-cvslog] CVS: main/libmpcodecs vf_fspp.c,1.8,1.9
Jindrich Makovicka CVS
syncmail at mplayerhq.hu
Sun Dec 18 14:35:51 CET 2005
- Previous message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.36, 1.37 gl_common.h, 1.23, 1.24 vo_gl.c, 1.112, 1.113 vo_gl2.c, 1.85, 1.86
- Next message: [MPlayer-cvslog] CVS: main/libmpcodecs vf_fspp.c,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
CVS change done by Jindrich Makovicka CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv22366
Modified Files:
vf_fspp.c
Log Message:
do not postprocess H264
Index: vf_fspp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_fspp.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vf_fspp.c 7 Dec 2005 20:04:16 -0000 1.8
+++ vf_fspp.c 18 Dec 2005 13:35:48 -0000 1.9
@@ -95,7 +95,7 @@
int log2_count;
int temp_stride;
int qp;
- int mpeg2;
+ int qscale_type;
int prev_q;
uint8_t *src;
int16_t *temp;
@@ -458,7 +458,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?
+ if(p->qscale_type == FF_QSCALE_TYPE_MPEG2) t>>=1; //copy p->mpeg2,prev_q to locals?
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
}
@@ -535,7 +535,7 @@
dmpi=vf->dmpi;
}
- vf->priv->mpeg2= mpi->qscale_type;
+ vf->priv->qscale_type= mpi->qscale_type;
if(mpi->pict_type != 3 && mpi->qscale && !vf->priv->qp){
if(!vf->priv->non_b_qp)
vf->priv->non_b_qp= malloc(mpi->qstride * mpi->h);
@@ -546,7 +546,8 @@
if(vf->priv->bframes || !qp_tab)
qp_tab= mpi->qscale;
- if(qp_tab || vf->priv->qp){
+ if((qp_tab || vf->priv->qp)
+ && (mpi->qscale_type == FF_QSCALE_TYPE_MPEG1 || mpi->qscale_type == FF_QSCALE_TYPE_MPEG2)){
filter(vf->priv, dmpi->planes[0], mpi->planes[0], dmpi->stride[0], mpi->stride[0],
mpi->w, mpi->h, qp_tab, mpi->qstride, 1);
filter(vf->priv, dmpi->planes[1], mpi->planes[1], dmpi->stride[1], mpi->stride[1],
- Previous message: [MPlayer-cvslog] CVS: main/libvo gl_common.c, 1.36, 1.37 gl_common.h, 1.23, 1.24 vo_gl.c, 1.112, 1.113 vo_gl2.c, 1.85, 1.86
- Next message: [MPlayer-cvslog] CVS: main/libmpcodecs vf_fspp.c,1.8,1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list