From 7c891ed2e00a85c47d88fed8e19a4007cb6829c4 Mon Sep 17 00:00:00 2001 From: Yunqing Wang <yunqingwang@google.com> Date: Wed, 9 Apr 2014 12:07:26 -0700 Subject: [PATCH] Minor code cleanup Cleanup. Change-Id: I54d989e24b35323cda7290654e425565d5c9ea2d --- vp9/encoder/vp9_encodeframe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 61a5022ece..fc6cc6aa9f 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -3284,9 +3284,9 @@ static void encode_frame_internal(VP9_COMP *cpi) { } vp9_zero(x->zcoeff_blk); - if (cpi->sf.partition_search_type == SOURCE_VAR_BASED_PARTITION && + if (sf->partition_search_type == SOURCE_VAR_BASED_PARTITION && cm->current_video_frame > 0) { - int check_freq = cpi->sf.search_type_check_frequency; + int check_freq = sf->search_type_check_frequency; if ((cm->current_video_frame - 1) % check_freq == 0) { cpi->use_large_partition_rate = 0; @@ -3303,7 +3303,7 @@ static void encode_frame_internal(VP9_COMP *cpi) { if ((cm->current_video_frame - 1) % check_freq >= 1) { if (cpi->use_large_partition_rate < 15) - cpi->sf.partition_search_type = FIXED_PARTITION; + sf->partition_search_type = FIXED_PARTITION; } } } -- GitLab