Mercurial > mplayer.hg
comparison libmpcodecs/ve_x264.c @ 17268:2ec81c50a763
sync to x264 r390 (bime)
author | lorenm |
---|---|
date | Fri, 30 Dec 2005 05:15:27 +0000 |
parents | 3c4b93bc0db3 |
children | 5a5a351734f2 |
comparison
equal
deleted
inserted
replaced
17267:123b780115e7 | 17268:2ec81c50a763 |
---|---|
99 static float complexity_blur = 20; | 99 static float complexity_blur = 20; |
100 static char *rc_eq = "blurCplx^(1-qComp)"; | 100 static char *rc_eq = "blurCplx^(1-qComp)"; |
101 static char *zones = NULL; | 101 static char *zones = NULL; |
102 static int subq = 5; | 102 static int subq = 5; |
103 static int bframe_rdo = 0; | 103 static int bframe_rdo = 0; |
104 static int bidir_me = 0; | |
104 static int me_method = 2; | 105 static int me_method = 2; |
105 static int me_range = 16; | 106 static int me_range = 16; |
106 static int trellis = 1; | 107 static int trellis = 1; |
107 static int threads = 1; | 108 static int threads = 1; |
108 static int level_idc = 51; | 109 static int level_idc = 51; |
152 {"8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 153 {"8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
153 {"no8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 0, NULL}, | 154 {"no8x8dct", &dct8, CONF_TYPE_FLAG, 0, 0, 0, NULL}, |
154 {"direct_pred", &direct_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, | 155 {"direct_pred", &direct_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2, NULL}, |
155 {"weight_b", &weight_b, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 156 {"weight_b", &weight_b, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
156 {"noweight_b", &weight_b, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 157 {"noweight_b", &weight_b, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
158 {"bime", &bidir_me, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | |
159 {"nobime", &bidir_me, CONF_TYPE_FLAG, 0, 0, 0, NULL}, | |
157 {"chroma_me", &chroma_me, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 160 {"chroma_me", &chroma_me, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
158 {"nochroma_me", &chroma_me, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 161 {"nochroma_me", &chroma_me, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
159 {"mixed_refs", &mixed_references, CONF_TYPE_FLAG, 0, 0, 1, NULL}, | 162 {"mixed_refs", &mixed_references, CONF_TYPE_FLAG, 0, 0, 1, NULL}, |
160 {"nomixed_refs", &mixed_references, CONF_TYPE_FLAG, 0, 1, 0, NULL}, | 163 {"nomixed_refs", &mixed_references, CONF_TYPE_FLAG, 0, 1, 0, NULL}, |
161 {"chroma_qp_offset", &chroma_qp_offset, CONF_TYPE_INT, CONF_RANGE, -12, 12, NULL}, | 164 {"chroma_qp_offset", &chroma_qp_offset, CONF_TYPE_INT, CONF_RANGE, -12, 12, NULL}, |
290 if(i8x8) mod->param.analyse.inter |= X264_ANALYSE_I8x8; | 293 if(i8x8) mod->param.analyse.inter |= X264_ANALYSE_I8x8; |
291 mod->param.analyse.b_transform_8x8 = dct8; | 294 mod->param.analyse.b_transform_8x8 = dct8; |
292 mod->param.analyse.i_direct_mv_pred = direct_pred; | 295 mod->param.analyse.i_direct_mv_pred = direct_pred; |
293 mod->param.analyse.b_weighted_bipred = weight_b; | 296 mod->param.analyse.b_weighted_bipred = weight_b; |
294 mod->param.analyse.i_chroma_qp_offset = chroma_qp_offset; | 297 mod->param.analyse.i_chroma_qp_offset = chroma_qp_offset; |
298 mod->param.analyse.b_bidir_me = bidir_me; | |
295 mod->param.analyse.b_chroma_me = chroma_me; | 299 mod->param.analyse.b_chroma_me = chroma_me; |
296 mod->param.analyse.b_mixed_references = mixed_references; | 300 mod->param.analyse.b_mixed_references = mixed_references; |
297 mod->param.analyse.i_trellis = trellis; | 301 mod->param.analyse.i_trellis = trellis; |
298 mod->param.analyse.b_bframe_rdo = bframe_rdo; | 302 mod->param.analyse.b_bframe_rdo = bframe_rdo; |
299 | 303 |