ref: 59ff7c68985a96133a8ea129159bada12f10bef6
parent: 09d374f0a52bd0fcdc40cb8a0dc65a80888a5424
parent: b5f59ea28094781127d67a1eceb54ea5c80d67d9
author: Jim Bankoski <jimbankoski@google.com>
date: Mon Feb 10 06:35:02 EST 2014
Merge "Convert small static functions in header to inline.."
--- a/vp9/common/vp9_scale.h
+++ b/vp9/common/vp9_scale.h
@@ -40,12 +40,12 @@
int other_w, int other_h,
int this_w, int this_h);
-static int vp9_is_valid_scale(const struct scale_factors *sf) {
+static INLINE int vp9_is_valid_scale(const struct scale_factors *sf) {
return sf->x_scale_fp != REF_INVALID_SCALE &&
sf->y_scale_fp != REF_INVALID_SCALE;
}
-static int vp9_is_scaled(const struct scale_factors *sf) {
+static INLINE int vp9_is_scaled(const struct scale_factors *sf) {
return sf->x_scale_fp != REF_NO_SCALE ||
sf->y_scale_fp != REF_NO_SCALE;
}
--
⑨