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
77440d50
Commit
77440d50
authored
Feb 05, 2013
by
Scott LaVarnway
Committed by
Gerrit Code Review
Feb 05, 2013
Browse files
Merge "Added vp9_short_idct1_32x32_c" into experimental
parents
fb4b533d
5780c4cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
vp9/common/vp9_idctllm.c
View file @
77440d50
...
...
@@ -1644,6 +1644,16 @@ void vp9_short_idct32x32_c(int16_t *input, int16_t *output, int pitch) {
}
}
void
vp9_short_idct1_32x32_c
(
int16_t
*
input
,
int16_t
*
output
)
{
int
tmp
;
int16_t
out
;
tmp
=
input
[
0
]
*
cospi_16_64
;
out
=
dct_const_round_shift
(
tmp
);
tmp
=
out
*
cospi_16_64
;
out
=
dct_const_round_shift
(
tmp
);
*
output
=
(
out
+
32
)
>>
6
;
}
#else // !CONFIG_DWTDCTHYBRID
#if DWT_TYPE == 53
...
...
vp9/common/vp9_rtcd_defs.sh
View file @
77440d50
...
...
@@ -408,6 +408,9 @@ specialize vp9_short_idct1_16x16
prototype void vp9_short_idct32x32
"int16_t *input, int16_t *output, int pitch"
specialize vp9_short_idct32x32
prototype void vp9_short_idct1_32x32
"int16_t *input, int16_t *output"
specialize vp9_short_idct1_32x32
prototype void vp9_ihtllm
"const int16_t *input, int16_t *output, int pitch, int tx_type, int tx_dim, int16_t eobs"
specialize vp9_ihtllm
...
...
vp9/decoder/vp9_dequantize.c
View file @
77440d50
...
...
@@ -349,13 +349,22 @@ void vp9_dequant_idct_add_32x32_c(int16_t *input, const int16_t *dq,
int
i
;
if
(
eob
)
{
input
[
0
]
=
input
[
0
]
*
dq
[
0
]
/
2
;
for
(
i
=
1
;
i
<
1024
;
i
++
)
input
[
i
]
=
input
[
i
]
*
dq
[
1
]
/
2
;
vp9_short_idct32x32_c
(
input
,
output
,
64
);
vpx_memset
(
input
,
0
,
2048
);
add_residual
(
output
,
pred
,
pitch
,
dest
,
stride
,
32
,
32
);
input
[
0
]
=
input
[
0
]
*
dq
[
0
]
/
2
;
#if !CONFIG_DWTDCTHYBRID
if
(
eob
==
1
)
{
vp9_short_idct1_32x32_c
(
input
,
output
);
add_constant_residual
(
output
[
0
],
pred
,
pitch
,
dest
,
stride
,
32
,
32
);
input
[
0
]
=
0
;
}
else
{
#endif
for
(
i
=
1
;
i
<
1024
;
i
++
)
input
[
i
]
=
input
[
i
]
*
dq
[
1
]
/
2
;
vp9_short_idct32x32_c
(
input
,
output
,
64
);
vpx_memset
(
input
,
0
,
2048
);
add_residual
(
output
,
pred
,
pitch
,
dest
,
stride
,
32
,
32
);
#if !CONFIG_DWTDCTHYBRID
}
#endif
}
}
...
...
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