shithub: libvpx

Download patch

ref: 690678fc422c2527ca74a86b2e9382f2f4ca2313
parent: 8fe4f77a7ae4754de5c69d28cb99cb04e4a974cb
parent: 2536a89a4f6398b9b48e5443f8259b9968ae9da6
author: Jingning Han <jingning@google.com>
date: Thu Apr 3 11:35:48 EDT 2014

Merge "Adjust key frame quantization index for rtc coding"

--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -244,10 +244,10 @@
     sf->min_partition_size = BLOCK_8X8;
     sf->partition_check =
         (cm->current_video_frame % sf->last_partitioning_redo_frequency == 1);
-    sf->force_ref_frame =
+    sf->force_ref_frame = cm->frame_type == KEY_FRAME ||
         (cm->current_video_frame %
             (sf->last_partitioning_redo_frequency << 1) == 1);
-    sf->max_delta_qindex = 15;
+    sf->max_delta_qindex = (cm->frame_type == KEY_FRAME) ? 20 : 15;
     sf->partition_search_type = REFERENCE_PARTITION;
     sf->use_nonrd_pick_mode = 1;
     sf->search_method = FAST_DIAMOND;