ref: 67377d3833005932e213dd2fcb2bad79ebef31f6
parent: 3329c0e15f08ef8c76bfc8254e5f3aa8025b3829
author: angiebird <angiebird@google.com>
date: Thu Feb 6 09:51:51 EST 2020
Rename inverse_vpx_rational to invert_vpx_rational Change-Id: I9139ebc22be74e9726eee157821faf22d44bd30f
--- a/vp9/simple_encode.cc
+++ b/vp9/simple_encode.cc
@@ -123,7 +123,7 @@
return v;
}
-static INLINE vpx_rational_t inverse_vpx_rational(vpx_rational_t v) {
+static INLINE vpx_rational_t invert_vpx_rational(vpx_rational_t v) {
vpx_rational_t inverse_v;
inverse_v.num = v.den;
inverse_v.den = v.num;
@@ -677,7 +677,7 @@
if (out_file_ != NULL) {
const char *fourcc = "VP90";
- vpx_rational_t time_base = inverse_vpx_rational(frame_rate);
+ vpx_rational_t time_base = invert_vpx_rational(frame_rate);
ivf_write_file_header_with_video_info(out_file_, *(const uint32_t *)fourcc,
num_frames_, frame_width_,
frame_height_, time_base);