[Mplayer-cvslog] CVS: main/libmpcodecs ve_xvid.c,1.20,1.21
Rémi Guyomarch CVS
rguyom at mplayerhq.hu
Fri Apr 4 07:47:51 CEST 2003
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv12252/libmpcodecs
Modified Files:
ve_xvid.c
Log Message:
Shift vhq values and set vhq=1 to MODEDECISION.
Higher values seems to loose PSNR atm.
Index: ve_xvid.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_xvid.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- ve_xvid.c 3 Apr 2003 20:36:58 -0000 1.20
+++ ve_xvid.c 4 Apr 2003 05:47:27 -0000 1.21
@@ -143,7 +143,7 @@
{ "gmc", &xvidenc_gmc, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{ "chroma_me", &xvidenc_chroma_me, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{ "hq_ac", &xvidenc_hqac, CONF_TYPE_FLAG, 0, 0, 1, NULL},
- { "vhq", &xvidenc_vhq, CONF_TYPE_INT, CONF_RANGE, 0, 3, NULL},
+ { "vhq", &xvidenc_vhq, CONF_TYPE_INT, CONF_RANGE, 0, 4, NULL},
{ "chroma_opt", &xvidenc_chroma_opt, CONF_TYPE_FLAG, 0, 0, 1, NULL},
#endif
{ NULL, NULL, 0, 0, 0, 0, NULL}
@@ -279,12 +279,13 @@
fp->enc_frame.motion |= PMV_QUARTERPELREFINE16 | PMV_QUARTERPELREFINE8;
}
switch (xvidenc_vhq) {
- case 3: // wide search
+ case 4: // wide search
fp->enc_frame.motion |= EXTSEARCH_BITS | PMV_EXTSEARCH8;
- case 2: // medium search
+ case 3: // medium search
fp->enc_frame.motion |= HALFPELREFINE8_BITS | QUARTERPELREFINE8_BITS | CHECKPREDICTION_BITS;
- case 1: // limited search
+ case 2: // limited search
fp->enc_frame.motion |= HALFPELREFINE16_BITS | QUARTERPELREFINE16_BITS;
+ case 1: // mode decision
fp->enc_frame.general |= XVID_MODEDECISION_BITS;
break;
case 0: // off
More information about the MPlayer-cvslog
mailing list