Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mark Harris
Opus
Commits
f705e9b5
Commit
f705e9b5
authored
Jun 06, 2016
by
Jean-Marc Valin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use SPREAD_AGGRESSIVE on non-transient hybrid frames
parent
8229f07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
celt/celt_encoder.c
celt/celt_encoder.c
+9
-1
No files found.
celt/celt_encoder.c
View file @
f705e9b5
...
...
@@ -1800,7 +1800,15 @@ int celt_encode_with_ec(CELTEncoder * OPUS_RESTRICT st, const opus_val16 * pcm,
{
st
->
tapset_decision
=
0
;
st
->
spread_decision
=
SPREAD_NORMAL
;
}
else
if
(
shortBlocks
||
st
->
complexity
<
3
||
nbAvailableBytes
<
10
*
C
||
hybrid
)
}
else
if
(
hybrid
)
{
if
(
st
->
complexity
==
0
)
st
->
spread_decision
=
SPREAD_NONE
;
else
if
(
isTransient
)
st
->
spread_decision
=
SPREAD_NORMAL
;
else
st
->
spread_decision
=
SPREAD_AGGRESSIVE
;
}
else
if
(
shortBlocks
||
st
->
complexity
<
3
||
nbAvailableBytes
<
10
*
C
)
{
if
(
st
->
complexity
==
0
)
st
->
spread_decision
=
SPREAD_NONE
;
...
...
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