comparison 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
comparison
equal deleted inserted replaced
3292:1fd5fce70e66 3293:f1bcb9ae510b
737 {"parti8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_I8X8, INT_MIN, INT_MAX, V|E, "partitions"}, 737 {"parti8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_I8X8, INT_MIN, INT_MAX, V|E, "partitions"},
738 {"partp4x4", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P4X4, INT_MIN, INT_MAX, V|E, "partitions"}, 738 {"partp4x4", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P4X4, INT_MIN, INT_MAX, V|E, "partitions"},
739 {"partp8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P8X8, INT_MIN, INT_MAX, V|E, "partitions"}, 739 {"partp8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_P8X8, INT_MIN, INT_MAX, V|E, "partitions"},
740 {"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"}, 740 {"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"},
741 {"sc_factor", NULL, OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E}, 741 {"sc_factor", NULL, OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E},
742 {"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E},
742 {NULL}, 743 {NULL},
743 }; 744 };
744 745
745 #undef A 746 #undef A
746 #undef V 747 #undef V
791 s->me_penalty_compensation= 256; 792 s->me_penalty_compensation= 256;
792 s->pix_fmt= PIX_FMT_NONE; 793 s->pix_fmt= PIX_FMT_NONE;
793 s->frame_skip_cmp= FF_CMP_DCTMAX; 794 s->frame_skip_cmp= FF_CMP_DCTMAX;
794 s->nsse_weight= 8; 795 s->nsse_weight= 8;
795 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE 796 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE
797 s->mv0_threshold= 256;
796 798
797 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; 799 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
798 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS; 800 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
799 s->palctrl = NULL; 801 s->palctrl = NULL;
800 s->reget_buffer= avcodec_default_reget_buffer; 802 s->reget_buffer= avcodec_default_reget_buffer;