[MPlayer-cvslog] CVS: main/libmpcodecs ve_x264.c,1.28,1.29
Loren Merritt CVS
syncmail at mplayerhq.hu
Sun Jun 5 21:03:26 CEST 2005
CVS change done by Loren Merritt CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv4871/libmpcodecs
Modified Files:
ve_x264.c
Log Message:
sync to x264 r252 (8x8dct)
Index: ve_x264.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_x264.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- ve_x264.c 29 May 2005 19:05:32 -0000 1.28
+++ ve_x264.c 5 Jun 2005 19:03:23 -0000 1.29
@@ -75,6 +75,9 @@
static int p4x4mv = 0;
static int p8x8mv = 1;
static int b8x8mv = 1;
+static int i8x8 = 1;
+static int i4x4 = 1;
+static int dct8 = 0;
static int direct_pred = X264_DIRECT_PRED_TEMPORAL;
static int weight_b = 0;
static int chroma_me = 1;
@@ -127,6 +130,12 @@
{"no8x8mv", &p8x8mv, CONF_TYPE_FLAG, 0, 1, 0, NULL},
{"b8x8mv", &b8x8mv, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"nob8x8mv", &b8x8mv, CONF_TYPE_FLAG, 0, 1, 0, NULL},
+ {"i4x4", &i4x4, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"noi4x4", &i4x4, CONF_TYPE_FLAG, 0, 0, 0, NULL},
+ {"i8x8", &i8x8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"noi8x8", &i8x8, CONF_TYPE_FLAG, 0, 0, 0, NULL},
+ {"8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 1, NULL},
+ {"no8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 0, NULL},
{"direct_pred", &direct_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL},
{"weight_b", &weight_b, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"noweight_b", &weight_b, CONF_TYPE_FLAG, 0, 1, 0, NULL},
@@ -245,13 +254,13 @@
}
if(me_method >= 3)
mod->param.analyse.i_me_range = me_range;
- mod->param.analyse.inter = X264_ANALYSE_I4x4;
- if(p4x4mv)
- mod->param.analyse.inter |= X264_ANALYSE_PSUB8x8;
- if(p8x8mv)
- mod->param.analyse.inter |= X264_ANALYSE_PSUB16x16;
- if(b8x8mv)
- mod->param.analyse.inter |= X264_ANALYSE_BSUB16x16;
+ mod->param.analyse.inter = 0;
+ if(p4x4mv) mod->param.analyse.inter |= X264_ANALYSE_PSUB8x8;
+ if(p8x8mv) mod->param.analyse.inter |= X264_ANALYSE_PSUB16x16;
+ if(b8x8mv) mod->param.analyse.inter |= X264_ANALYSE_BSUB16x16;
+ if(i4x4) mod->param.analyse.inter |= X264_ANALYSE_I4x4;
+ if(i8x8) mod->param.analyse.inter |= X264_ANALYSE_I8x8;
+ mod->param.analyse.b_transform_8x8 = dct8;
mod->param.analyse.i_direct_mv_pred = direct_pred;
mod->param.analyse.b_weighted_bipred = weight_b;
mod->param.analyse.i_chroma_qp_offset = chroma_qp_offset;
More information about the MPlayer-cvslog
mailing list