Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
28f46aa6
Commit
28f46aa6
authored
Feb 11, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Feb 11, 2014
Browse files
Merge "Fixing errorperbit calculation."
parents
c6574f4d
71b7cb20
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_rdopt.c
+2
-1
No files found.
vp9/encoder/vp9_rdopt.c
View file @
28f46aa6
...
...
@@ -285,7 +285,8 @@ void vp9_initialize_rd_consts(VP9_COMP *cpi) {
cpi
->
RDDIV
=
RDDIV_BITS
;
// in bits (to multiply D by 128)
cpi
->
RDMULT
=
vp9_compute_rd_mult
(
cpi
,
qindex
);
x
->
errorperbit
=
cpi
->
RDMULT
/
RD_MULT_EPB_RATIO
+
(
x
->
errorperbit
==
0
);
x
->
errorperbit
=
cpi
->
RDMULT
/
RD_MULT_EPB_RATIO
;
x
->
errorperbit
+=
(
x
->
errorperbit
==
0
);
vp9_set_speed_features
(
cpi
);
...
...
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