Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
aom-rav1e
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
aom-rav1e
Commits
5bfa29b6
Commit
5bfa29b6
authored
13 years ago
by
Scott LaVarnway
Committed by
Gerrit Code Review
13 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Make a local copy of the dequantized data"
parents
9f1083e9
db389cb8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vp8/common/invtrans.h
+16
-1
16 additions, 1 deletion
vp8/common/invtrans.h
with
16 additions
and
1 deletion
vp8/common/invtrans.h
+
16
−
1
View file @
5bfa29b6
...
...
@@ -17,6 +17,10 @@
#include
"blockd.h"
#include
"onyxc_int.h"
#if CONFIG_MULTITHREAD
#include
"vpx_mem/vpx_mem.h"
#endif
static
void
eob_adjust
(
char
*
eobs
,
short
*
diff
)
{
/* eob adjust.... the idct can only skip if both the dc and eob are zero */
...
...
@@ -36,6 +40,10 @@ static void vp8_inverse_transform_mby(MACROBLOCKD *xd,
/* save the dc dequant constant in case it is overridden */
short
dc_dequant_temp
=
DQC
[
0
];
#if CONFIG_MULTITHREAD
DECLARE_ALIGNED
(
16
,
short
,
local_dequant
[
16
]);
#endif
if
(
xd
->
mode_info_context
->
mbmi
.
mode
!=
SPLITMV
)
{
/* do 2nd order transform on the dc block */
...
...
@@ -51,11 +59,18 @@ static void vp8_inverse_transform_mby(MACROBLOCKD *xd,
}
eob_adjust
(
xd
->
eobs
,
xd
->
qcoeff
);
#if CONFIG_MULTITHREAD
DQC
=
local_dequant
;
vpx_memcpy
(
DQC
,
xd
->
block
[
0
].
dequant
,
sizeof
(
local_dequant
));
#endif
/* override the dc dequant constant */
DQC
[
0
]
=
1
;
}
DEQUANT_INVOKE
(
&
rtcd
->
dequant
,
idct_add_y_block
)
(
xd
->
qcoeff
,
xd
->
block
[
0
].
dequant
,
(
xd
->
qcoeff
,
DQC
,
xd
->
dst
.
y_buffer
,
xd
->
dst
.
y_stride
,
xd
->
eobs
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment