Revision 356e7a9d ffmpeg.c

View differences:

ffmpeg.c
133 133
static float video_b_qoffset = 1.25;
134 134
static float video_i_qfactor = -0.8;
135 135
static float video_i_qoffset = 0.0;
136
static int video_intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
137 136
static int video_inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
138 137
static int me_method = ME_EPZS;
139 138
static int video_disable = 0;
......
2483 2482
    video_i_qoffset = atof(arg);
2484 2483
}
2485 2484

  
2486
static void opt_ibias(const char *arg)
2487
{
2488
    video_intra_quant_bias = atoi(arg);
2489
}
2490 2485
static void opt_pbias(const char *arg)
2491 2486
{
2492 2487
    video_inter_quant_bias = atoi(arg);
......
3089 3084
        video_enc->b_quant_factor = video_b_qfactor;
3090 3085
        video_enc->i_quant_offset = video_i_qoffset;
3091 3086
        video_enc->b_quant_offset = video_b_qoffset;
3092
        video_enc->intra_quant_bias = video_intra_quant_bias;
3093 3087
        video_enc->inter_quant_bias = video_inter_quant_bias;
3094 3088
        video_enc->me_threshold= me_threshold;
3095 3089
        video_enc->mb_threshold= mb_threshold;
......
4008 4002
    { "i_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qfactor}, "qp factor between p and i frames", "factor" },
4009 4003
    { "b_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_qoffset}, "qp offset between p and b frames", "offset" },
4010 4004
    { "i_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qoffset}, "qp offset between p and i frames", "offset" },
4011
    { "ibias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_ibias}, "intra quant bias", "bias" },
4012 4005
    { "pbias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_pbias}, "inter quant bias", "bias" },
4013 4006
    { "rc_eq", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_eq}, "set rate control equation", "equation" },
4014 4007
    { "rc_override", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_override_string}, "rate control override for specific intervals", "override" },

Also available in: Unified diff