Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
59ff7c68
Commit
59ff7c68
authored
Feb 10, 2014
by
Jim Bankoski
Committed by
Gerrit Code Review
Feb 10, 2014
Browse files
Merge "Convert small static functions in header to inline.."
parents
09d374f0
b5f59ea2
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_scale.h
View file @
59ff7c68
...
...
@@ -40,12 +40,12 @@ void vp9_setup_scale_factors_for_frame(struct scale_factors *sf,
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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment