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

takis subversion
Fri Sep 15 19:51:47 CEST 2006


Author: takis
Date: Fri Sep 15 19:51:46 2006
New Revision: 6267

Modified:
   trunk/ffmpeg.c

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


Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c	(original)
+++ trunk/ffmpeg.c	Fri Sep 15 19:51:46 2006
@@ -115,7 +115,6 @@
 static int video_mb_lmax = 31*FF_QP2LAMBDA;
 static int video_qdiff = 3;
 static float video_qsquish = 0.0;
-static float video_qcomp = 0.5;
 static uint16_t *intra_matrix = NULL;
 static uint16_t *inter_matrix = NULL;
 #if 0 //experimental, (can be removed)
@@ -2449,11 +2448,6 @@
     }
 }
 
-static void opt_qcomp(const char *arg)
-{
-    video_qcomp = atof(arg);
-}
-
 static void opt_rc_initial_cplx(const char *arg)
 {
     video_rc_initial_cplx = atof(arg);
@@ -3033,7 +3027,6 @@
         video_enc->mb_lmin = video_mb_lmin;
         video_enc->mb_lmax = video_mb_lmax;
         video_enc->max_qdiff = video_qdiff;
-        video_enc->qcompress = video_qcomp;
         video_enc->rc_eq = video_rc_eq;
         video_enc->workaround_bugs = workaround_bugs;
         video_enc->thread_count = thread_count;
@@ -3981,7 +3974,6 @@
     { "mblmax", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_mb_lmax}, "max macroblock quantiser scale (VBR)", "q" },
     { "qdiff", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qdiff}, "max difference between the quantiser scale (VBR)", "q" },
     { "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" },
-    { "qcomp", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_qcomp}, "video quantiser scale compression (VBR)", "compression" },
     { "rc_init_cplx", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_rc_initial_cplx}, "initial complexity for 1-pass encoding", "complexity" },
     { "b_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_b_qfactor}, "qp factor between p and b frames", "factor" },
     { "i_qfactor", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qfactor}, "qp factor between p and i frames", "factor" },




More information about the ffmpeg-cvslog mailing list