comparison utils.c @ 3385:340e5d35b326 libavcodec

flac-lpc patch by (Justin Ruggles jruggle earthlink net) tabs removed and regression.sh fixed (it was missing in the patch) by me
author michael
date Sun, 02 Jul 2006 10:22:31 +0000
parents b8996cc5ccae
children 54814e15aa3d
comparison
equal deleted inserted replaced
3384:573fed4bf20f 3385:340e5d35b326
742 {"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"}, 742 {"partb8x8", NULL, 0, FF_OPT_TYPE_CONST, X264_PART_B8X8, INT_MIN, INT_MAX, V|E, "partitions"},
743 {"sc_factor", NULL, OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E}, 743 {"sc_factor", NULL, OFFSET(scenechange_factor), FF_OPT_TYPE_INT, 6, 0, INT_MAX, V|E},
744 {"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E}, 744 {"mv0_threshold", NULL, OFFSET(mv0_threshold), FF_OPT_TYPE_INT, 256, 0, INT_MAX, V|E},
745 {"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"}, 745 {"ivlc", "intra vlc table", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_INTRA_VLC, INT_MIN, INT_MAX, V|E, "flags2"},
746 {"b_sensitivity", NULL, OFFSET(b_sensitivity), FF_OPT_TYPE_INT, 40, 1, INT_MAX, V|E}, 746 {"b_sensitivity", NULL, OFFSET(b_sensitivity), FF_OPT_TYPE_INT, 40, 1, INT_MAX, V|E},
747 {"compression_level", NULL, OFFSET(compression_level), FF_OPT_TYPE_INT, FF_COMPRESSION_DEFAULT, INT_MIN, INT_MAX, V|A|E},
748 {"use_lpc", NULL, OFFSET(use_lpc), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
749 {"lpc_coeff_precision", NULL, OFFSET(lpc_coeff_precision), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, A|E},
750 {"min_prediction_order", NULL, OFFSET(min_prediction_order), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
751 {"max_prediction_order", NULL, OFFSET(max_prediction_order), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
752 {"prediction_order_method", NULL, OFFSET(prediction_order_method), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
753 {"min_partition_order", NULL, OFFSET(min_partition_order), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
754 {"max_partition_order", NULL, OFFSET(max_partition_order), FF_OPT_TYPE_INT, -1, INT_MIN, INT_MAX, A|E},
747 {NULL}, 755 {NULL},
748 }; 756 };
749 757
750 #undef A 758 #undef A
751 #undef V 759 #undef V
798 s->frame_skip_cmp= FF_CMP_DCTMAX; 806 s->frame_skip_cmp= FF_CMP_DCTMAX;
799 s->nsse_weight= 8; 807 s->nsse_weight= 8;
800 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE 808 s->sample_fmt= SAMPLE_FMT_S16; // FIXME: set to NONE
801 s->mv0_threshold= 256; 809 s->mv0_threshold= 256;
802 s->b_sensitivity= 40; 810 s->b_sensitivity= 40;
811 s->compression_level = FF_COMPRESSION_DEFAULT;
812 s->use_lpc = -1;
813 s->min_prediction_order = -1;
814 s->max_prediction_order = -1;
815 s->prediction_order_method = -1;
816 s->min_partition_order = -1;
817 s->max_partition_order = -1;
803 818
804 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS; 819 s->intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
805 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS; 820 s->inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
806 s->palctrl = NULL; 821 s->palctrl = NULL;
807 s->reget_buffer= avcodec_default_reget_buffer; 822 s->reget_buffer= avcodec_default_reget_buffer;