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

takis subversion
Fri Sep 15 20:55:09 CEST 2006


Author: takis
Date: Fri Sep 15 20:55:08 2006
New Revision: 6270

Modified:
   trunk/ffmpeg.c

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


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Sep 15 20:55:08 2006
@@ -127,7 +127,6 @@
 static int video_rc_buffer_size=0;
 static float video_rc_buffer_aggressivity=1.0;
 static float video_rc_initial_cplx=0;
-static float video_b_qoffset = 1.25;
 static float video_i_qfactor = -0.8;
 static float video_i_qoffset = 0.0;
 static int me_method = ME_EPZS;
@@ -2455,10 +2454,6 @@
 {
     video_i_qfactor = atof(arg);
 }
-static void opt_b_qoffset(const char *arg)
-{
-    video_b_qoffset = atof(arg);
-}
 static void opt_i_qoffset(const char *arg)
 {
     video_i_qoffset = atof(arg);
@@ -3054,7 +3049,6 @@
         video_enc->rc_initial_cplx= video_rc_initial_cplx;
         video_enc->i_quant_factor = video_i_qfactor;
         video_enc->i_quant_offset = video_i_qoffset;
-        video_enc->b_quant_offset = video_b_qoffset;
         video_enc->me_threshold= me_threshold;
         video_enc->mb_threshold= mb_threshold;
         video_enc->intra_dc_precision= intra_dc_precision - 8;
@@ -3967,7 +3961,6 @@
     { "qsquish", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qsquish}, "how to keep quantiser between qmin and qmax (0 = clip, 1 = use differentiable function)", "squish" },
     { "rc_init_cplx", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_rc_initial_cplx}, "initial complexity for 1-pass encoding", "complexity" },
     { "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" },
     { "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