summaryrefslogtreecommitdiff
path: root/vp8/encoder/firstpass.c
diff options
context:
space:
mode:
authorPaul Wilkins <paulwilkins@google.com>2010-06-09 15:03:48 +0100
committerPaul Wilkins <paulwilkins@google.com>2010-06-10 11:15:05 +0100
commita04ed23ff56f536c3da206563f64dea19e5a7e82 (patch)
tree311330d7e7d9ab9133d4f1d38f56490242c8bd63 /vp8/encoder/firstpass.c
parent6702a4047da8f99a54a4eae87059d6897ea55266 (diff)
downloadlibvpx-a04ed23ff56f536c3da206563f64dea19e5a7e82.tar
libvpx-a04ed23ff56f536c3da206563f64dea19e5a7e82.tar.gz
libvpx-a04ed23ff56f536c3da206563f64dea19e5a7e82.tar.bz2
libvpx-a04ed23ff56f536c3da206563f64dea19e5a7e82.zip
Adjust to avoid long line
Diffstat (limited to 'vp8/encoder/firstpass.c')
-rw-r--r--vp8/encoder/firstpass.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/vp8/encoder/firstpass.c b/vp8/encoder/firstpass.c
index 26f09d5e3..f0ddbf2d5 100644
--- a/vp8/encoder/firstpass.c
+++ b/vp8/encoder/firstpass.c
@@ -1869,12 +1869,16 @@ void vp8_second_pass(VP8_COMP *cpi)
}
}
- // Keep a globally available copy of this frames iiratio and the next.
- cpi->this_iiratio = this_frame_intra_error / DOUBLE_DIVIDE_CHECK(this_frame_coded_error);
+ // Keep a globally available copy of this and the next frame's iiratio.
+ cpi->this_iiratio = this_frame_intra_error /
+ DOUBLE_DIVIDE_CHECK(this_frame_coded_error);
{
FIRSTPASS_STATS next_frame;
if ( lookup_next_frame_stats(cpi, &next_frame) != EOF )
- cpi->next_iiratio = next_frame.intra_error / DOUBLE_DIVIDE_CHECK(next_frame.coded_error);
+ {
+ cpi->next_iiratio = next_frame.intra_error /
+ DOUBLE_DIVIDE_CHECK(next_frame.coded_error);
+ }
}
// Set nominal per second bandwidth for this frame