[Ffmpeg-cvslog] r6264 - trunk/ffmpeg.c

takis subversion
Fri Sep 15 19:49:09 CEST 2006


Author: takis
Date: Fri Sep 15 19:49:09 2006
New Revision: 6264

Modified:
   trunk/ffmpeg.c

Log:
Remove the "ibias" OptionDef option from ffmpeg.c. The equally named "ibias"
AVOption takes over its function and this occurs transparantly.


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Sep 15 19:49:09 2006
@@ -133,7 +133,6 @@
 static float video_b_qoffset = 1.25;
 static float video_i_qfactor = -0.8;
 static float video_i_qoffset = 0.0;
-static int video_intra_quant_bias= FF_DEFAULT_QUANT_BIAS;
 static int video_inter_quant_bias= FF_DEFAULT_QUANT_BIAS;
 static int me_method = ME_EPZS;
 static int video_disable = 0;
@@ -2483,10 +2482,6 @@
     video_i_qoffset = atof(arg);
 }
 
-static void opt_ibias(const char *arg)
-{
-    video_intra_quant_bias = atoi(arg);
-}
 static void opt_pbias(const char *arg)
 {
     video_inter_quant_bias = atoi(arg);
@@ -3089,7 +3084,6 @@
         video_enc->b_quant_factor = video_b_qfactor;
         video_enc->i_quant_offset = video_i_qoffset;
         video_enc->b_quant_offset = video_b_qoffset;
-        video_enc->intra_quant_bias = video_intra_quant_bias;
         video_enc->inter_quant_bias = video_inter_quant_bias;
         video_enc->me_threshold= me_threshold;
         video_enc->mb_threshold= mb_threshold;
@@ -4008,7 +4002,6 @@
     { "i_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qfactor}, "qp factor between p and i frames", "factor" },
     { "b_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_qoffset}, "qp offset between p and b frames", "offset" },
     { "i_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qoffset}, "qp offset between p and i frames", "offset" },
-    { "ibias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_ibias}, "intra quant bias", "bias" },
     { "pbias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_pbias}, "inter quant bias", "bias" },
     { "rc_eq", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_eq}, "set rate control equation", "equation" },
     { "rc_override", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_override_string}, "rate control override for specific intervals", "override" },




More information about the ffmpeg-cvslog mailing list