[FFmpeg-soc] [soc]: r3258 - mlp/mlpenc.c

ramiro subversion at mplayerhq.hu
Thu Aug 14 04:11:47 CEST 2008


Author: ramiro
Date: Thu Aug 14 04:11:47 2008
New Revision: 3258

Log:
Update comments to what I know of these values...

Modified:
   mlp/mlpenc.c

Modified: mlp/mlpenc.c
==============================================================================
--- mlp/mlpenc.c	(original)
+++ mlp/mlpenc.c	Thu Aug 14 04:11:47 2008
@@ -142,9 +142,13 @@ static void write_major_sync(MLPEncodeCo
     put_bits(&pb, 16, 0x4000);
     put_bits(&pb, 16, 0x0000);
 
-    put_bits(&pb,  1, 1); /* TODO is_vbr */
-    put_bits(&pb, 15, 0); /* TODO peak_bitrate */
-    put_bits(&pb,  4, 1); /* TODO num_substreams */
+    put_bits(&pb,  1, 1); /* This value is 1 in all MLP samples tested.
+                           * I suppose it would be 0 only when no filters
+                           * or codebooks are used. */
+    put_bits(&pb, 15, 0); /* TODO peak_bitrate: most MLP samples tested encode
+                           * a value that evaluates peak_bitrate to 9600000 or
+                           * a little bit less. */
+    put_bits(&pb,  4, 1); /* TODO Support more num_substreams. */
 
     /* TODO copied from luckynight.mlp, 440hz.mlp. */
 #if 0



More information about the FFmpeg-soc mailing list