Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
502ac722
Commit
502ac722
authored
Mar 31, 2015
by
Jingning Han
Committed by
Gerrit Code Review
Mar 31, 2015
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Tuning SATD rate calculation for speed"
parents
1c39c5b9
531468a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vp9/encoder/vp9_pickmode.c
vp9/encoder/vp9_pickmode.c
+5
-1
No files found.
vp9/encoder/vp9_pickmode.c
View file @
502ac722
...
...
@@ -401,7 +401,11 @@ static void block_yrd(VP9_COMP *cpi, MACROBLOCK *x, int *rate, int64_t *dist,
}
*
dist
+=
vp9_block_error
(
coeff
,
dqcoeff
,
step
<<
4
,
&
this_sse
)
>>
shift
;
*
rate
+=
(
int
)
vp9_satd
((
const
int16_t
*
)
qcoeff
,
step
<<
4
);
if
(
*
eob
==
1
)
*
rate
+=
(
int
)
abs
(
qcoeff
[
0
]);
else
if
(
*
eob
>
1
)
*
rate
+=
(
int
)
vp9_satd
((
const
int16_t
*
)
qcoeff
,
step
<<
4
);
*
sse
+=
(
this_sse
>>
shift
);
*
skippable
&=
(
*
eob
==
0
);
...
...
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