]> granicus.if.org Git - libvpx/commitdiff
Describe ObserveFirstPassStats with more details
authorangiebird <angiebird@google.com>
Tue, 26 Nov 2019 21:43:03 +0000 (13:43 -0800)
committerangiebird <angiebird@google.com>
Wed, 4 Dec 2019 02:32:48 +0000 (18:32 -0800)
Change-Id: I7c15aeaf0c0884b7c7b265fb03fbbb9ccc6b73be

vp9/simple_encode.h

index f2344a24070e504b3ce2f9a83930ddb237cdde87..a05ef10cb32d8490a3b8b9700cb0022df4095d07 100644 (file)
@@ -51,7 +51,10 @@ class SimpleEncode {
   // future encode.
   void ComputeFirstPassStats();
 
-  // Outputs the first pass stats.
+  // Outputs the first pass stats represented by a 2-D vector.
+  // One can use the frame index at first dimension to retrieve the stats for
+  // each video frame. The stats of each video frame is a vector of 25 double
+  // values. For details, please check FIRSTPASS_STATS in vp9_firstpass.h
   std::vector<std::vector<double>> ObserveFirstPassStats();
 
   // Initializes the encoder for actual encoding.