]> granicus.if.org Git - libvpx/commitdiff
Fix comment for target_bandwidth in VP9 and VP10
authorhui su <huisu@google.com>
Mon, 9 May 2016 23:43:02 +0000 (16:43 -0700)
committerhui su <huisu@google.com>
Mon, 9 May 2016 23:43:02 +0000 (16:43 -0700)
Unlike in VP8, it is in units of bits per second in VP9 and VP10.

Change-Id: Iee1936cc58cdfaff205624c2fe87cecdf7eda123

vp10/encoder/encoder.h
vp9/encoder/vp9_encoder.h

index bd6a00932f6cdd404213a8a13c43c1453296bf3f..2cd1d3c4f377df1524b18f2463d2b4e8062cbbfa 100644 (file)
@@ -129,7 +129,7 @@ typedef struct VP10EncoderConfig {
   int height;  // height of data passed to the compressor
   unsigned int input_bit_depth;  // Input bit depth.
   double init_framerate;  // set to passed in framerate
-  int64_t target_bandwidth;  // bandwidth to be used in kilobits per second
+  int64_t target_bandwidth;  // bandwidth to be used in bits per second
 
   int noise_sensitivity;  // pre processing blur: recommendation 0
   int sharpness;  // sharpening output: recommendation 0:
index 8a5c4f40be33d686094c291860c22252497a16ed..add4102d646d556216effecc17546da2d11ba4ce 100644 (file)
@@ -129,7 +129,7 @@ typedef struct VP9EncoderConfig {
   int height;  // height of data passed to the compressor
   unsigned int input_bit_depth;  // Input bit depth.
   double init_framerate;  // set to passed in framerate
-  int64_t target_bandwidth;  // bandwidth to be used in kilobits per second
+  int64_t target_bandwidth;  // bandwidth to be used in bits per second
 
   int noise_sensitivity;  // pre processing blur: recommendation 0
   int sharpness;  // sharpening output: recommendation 0: