mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Remove the "mb_threshold" OptionDef. The equally named AVOption takes over its
function. Originally committed as revision 6317 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
f40d17398d
commit
bf08081389
8
ffmpeg.c
8
ffmpeg.c
@ -133,7 +133,6 @@ static int error_rate = 0;
|
||||
static int strict = 0;
|
||||
static int top_field_first = -1;
|
||||
static int me_threshold = 0;
|
||||
static int mb_threshold = 0;
|
||||
static int intra_dc_precision = 8;
|
||||
static int me_penalty_compensation= 256;
|
||||
static int frame_skip_threshold= 0;
|
||||
@ -2103,11 +2102,6 @@ static void opt_me_threshold(const char *arg)
|
||||
me_threshold = atoi(arg);
|
||||
}
|
||||
|
||||
static void opt_mb_threshold(const char *arg)
|
||||
{
|
||||
mb_threshold = atoi(arg);
|
||||
}
|
||||
|
||||
static void opt_verbose(const char *arg)
|
||||
{
|
||||
verbose = atoi(arg);
|
||||
@ -2939,7 +2933,6 @@ static void new_video_stream(AVFormatContext *oc)
|
||||
video_enc->rc_override_count=i;
|
||||
video_enc->rc_initial_buffer_occupancy = video_enc->rc_buffer_size*3/4;
|
||||
video_enc->me_threshold= me_threshold;
|
||||
video_enc->mb_threshold= mb_threshold;
|
||||
video_enc->intra_dc_precision= intra_dc_precision - 8;
|
||||
video_enc->strict_std_compliance = strict;
|
||||
video_enc->error_rate = error_rate;
|
||||
@ -3847,7 +3840,6 @@ const OptionDef options[] = {
|
||||
{ "me", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_motion_estimation}, "set motion estimation method",
|
||||
"method" },
|
||||
{ "me_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_me_threshold}, "motion estimaton threshold", "" },
|
||||
{ "mb_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_mb_threshold}, "macroblock threshold", "" },
|
||||
{ "ps", HAS_ARG | OPT_EXPERT, {(void*)opt_packet_size}, "set packet size in bits", "size" },
|
||||
{ "error", HAS_ARG | OPT_EXPERT, {(void*)opt_error_rate}, "error rate", "rate" },
|
||||
{ "strict", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_strict}, "how strictly to follow the standards", "strictness" },
|
||||
|
@ -695,7 +695,7 @@ static const AVOption options[]={
|
||||
{"qns", "quantizer noise shaping", OFFSET(quantizer_noise_shaping), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
|
||||
{"threads", NULL, OFFSET(thread_count), FF_OPT_TYPE_INT, 1, INT_MIN, INT_MAX, V|E|D},
|
||||
{"me_threshold", "motion estimaton threshold", OFFSET(me_threshold), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
||||
{"mb_threshold", "macroblock threshold", OFFSET(mb_threshold), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX},
|
||||
{"mb_threshold", "macroblock threshold", OFFSET(mb_threshold), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|E},
|
||||
{"dc", "intra_dc_precision", OFFSET(intra_dc_precision), FF_OPT_TYPE_INT, 8, INT_MIN, INT_MAX, V|E},
|
||||
{"nssew", "nsse weight", OFFSET(nsse_weight), FF_OPT_TYPE_INT, 8, INT_MIN, INT_MAX, V|E},
|
||||
{"skip_top", NULL, OFFSET(skip_top), FF_OPT_TYPE_INT, DEFAULT, INT_MIN, INT_MAX, V|D},
|
||||
|
Loading…
Reference in New Issue
Block a user