comparison utils.c @ 3335:97af1b315f59 libavcodec

Make B-frame reduction sensitivity by b_strategy/vb_strategy = 1 user-tunable.
author corey
date Sat, 03 Jun 2006 06:26:04 +0000
parents ceb221c4eca7
children 4d807145f29a
comparison
equal deleted inserted replaced
3334:97d9937d4ce7 3335:97af1b315f59
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 {"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E},
743 {"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"}, 743 {"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"},
744 {"b_sensitivity", NULL, OFFSET(b_sensitivity), FF_OPT_TYPE_INT, 40, 1, INT_MAX, V|E},
744 {NULL}, 745 {NULL},
745 }; 746 };
746 747
747 #undef A 748 #undef A
748 #undef V 749 #undef V
794 s->pix_fmt= PIX_FMT_NONE; 795 s->pix_fmt= PIX_FMT_NONE;
795 s->frame_skip_cmp= FF_CMP_DCTMAX; 796 s->frame_skip_cmp= FF_CMP_DCTMAX;
796 s->nsse_weight= 8; 797 s->nsse_weight= 8;
797 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE 798 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE
798 s->mv0_threshold= 256; 799 s->mv0_threshold= 256;
800 s->b_sensitivity= 40;
799 801
800 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; 802 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
801 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS; 803 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
802 s->palctrl = NULL; 804 s->palctrl = NULL;
803 s->reget_buffer= avcodec_default_reget_buffer; 805 s->reget_buffer= avcodec_default_reget_buffer;