Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
858b60e8
Commit
858b60e8
authored
Feb 27, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Feb 27, 2013
Browse files
Merge "Improve 32x32 forward dct" into experimental
parents
eb939f45
66d94ac1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_idct.h
View file @
858b60e8
...
...
@@ -61,4 +61,11 @@ static INLINE int dct_const_round_shift(int input) {
assert
(
INT16_MIN
<=
rv
&&
rv
<=
INT16_MAX
);
return
rv
;
}
static
INLINE
int
dct_32_round
(
int
input
)
{
int
rv
=
(
input
+
DCT_CONST_ROUNDING
)
>>
DCT_CONST_BITS
;
assert
(
-
131072
<=
rv
&&
rv
<=
131071
);
return
rv
;
}
#endif
vp9/encoder/vp9_dct.c
View file @
858b60e8
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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