Skip to content
GitLab
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
af4c9d2f
Commit
af4c9d2f
authored
Feb 01, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Feb 01, 2013
Browse files
Merge "Changes 16 point idct" into experimental
parents
c1f611be
91e0e801
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_idctllm.c
View file @
af4c9d2f
This diff is collapsed.
Click to expand it.
vp9/common/vp9_rtcd_defs.sh
View file @
af4c9d2f
...
...
@@ -398,6 +398,10 @@ specialize vp9_short_idct16x16
prototype void vp9_short_idct10_16x16
"int16_t *input, int16_t *output, int pitch"
specialize vp9_short_idct10_16x16
prototype void vp9_short_idct1_16x16
"int16_t *input, int16_t *output"
specialize vp9_short_idct1_16x16
prototype void vp9_short_idct32x32
"int16_t *input, int16_t *output, int pitch"
specialize vp9_short_idct32x32
...
...
vp9/decoder/vp9_dequantize.c
View file @
af4c9d2f
...
...
@@ -300,14 +300,11 @@ void vp9_dequant_idct_add_16x16_c(int16_t *input, const int16_t *dq,
vp9_copy_mem16x16
(
pred
,
pitch
,
dest
,
stride
);
}
else
if
(
eob
==
1
)
{
/* DC only DCT coefficient. */
int16_t
in
=
input
[
0
]
*
dq
[
0
];
int16_t
out
;
/* Note: the idct1 will need to be modified accordingly whenever
* vp9_short_idct16x16_c() is modified. */
out
=
(
input
[
0
]
*
dq
[
0
]
+
2
)
>>
2
;
out
=
(
out
+
2
)
>>
2
;
out
=
(
out
+
4
)
>>
3
;
vp9_short_idct1_16x16_c
(
&
in
,
&
out
);
input
[
0
]
=
0
;
add_constant_residual
(
out
,
pred
,
pitch
,
dest
,
stride
,
16
,
16
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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