Mercurial > libavcodec.hg
diff utils.c @ 3293:f1bcb9ae510b libavcodec
make zero motion vector threshold user setable
author | michael |
---|---|
date | Sun, 07 May 2006 11:48:07 +0000 |
parents | 18af2f7788c6 |
children | ceb221c4eca7 |
line wrap: on
line diff
--- a/utils.c Sat May 06 10:57:38 2006 +0000 +++ b/utils.c Sun May 07 11:48:07 2006 +0000 @@ -739,6 +739,7 @@ {"partp8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P8X8, INT_MIN, INT_MAX, V|E, "partitions"}, {"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"}, {"sc_factor", NULL, OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E}, +{"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E}, {NULL}, }; @@ -793,6 +794,7 @@ s->frame_skip_cmp= FF_CMP_DCTMAX; s->nsse_weight= 8; s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE + s->mv0_threshold= 256; s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;