[Ffmpeg-cvslog] CVS: ffmpeg ffserver.c,1.106,1.107

Aurelien Jacobs CVS aurel
Thu Mar 9 01:36:41 CET 2006


Update of /cvsroot/ffmpeg/ffmpeg
In directory mail:/var2/tmp/cvs-serv23398

Modified Files:
	ffserver.c 
Log Message:
Update ffserver regression tests:
 - really produce readable files (instead of 0 byte files or headers only)
 - use bitexact, fastint dct, simple idct and qscale
 - gives consistent results across several archs
 - still fails on altivec ppc


Index: ffserver.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/ffserver.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- ffserver.c	21 Feb 2006 21:15:19 -0000	1.106
+++ ffserver.c	9 Mar 2006 00:36:39 -0000	1.107
@@ -4146,6 +4146,24 @@
                 video_enc.mb_decision = FF_MB_DECISION_BITS; //FIXME remove
                 video_enc.flags |= CODEC_FLAG_4MV;
             }
+        } else if (!strcasecmp(cmd, "BitExact")) {
+            if (stream) {
+                video_enc.flags |= CODEC_FLAG_BITEXACT;
+            }
+        } else if (!strcasecmp(cmd, "DctFastint")) {
+            if (stream) {
+                video_enc.dct_algo  = FF_DCT_FASTINT;
+            }
+        } else if (!strcasecmp(cmd, "IdctSimple")) {
+            if (stream) {
+                video_enc.idct_algo = FF_IDCT_SIMPLE;
+            }
+        } else if (!strcasecmp(cmd, "Qscale")) {
+            get_arg(arg, sizeof(arg), &p);
+            if (stream) {
+                video_enc.flags |= CODEC_FLAG_QSCALE;
+                video_enc.global_quality = FF_QP2LAMBDA * atoi(arg);
+            }
         } else if (!strcasecmp(cmd, "VideoQDiff")) {
             get_arg(arg, sizeof(arg), &p);
             if (stream) {





More information about the ffmpeg-cvslog mailing list