Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mathis Rosenhauer
libaec
Commits
b20512d2
Commit
b20512d2
authored
Dec 10, 2012
by
Moritz Hanke
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
unrolling in fill_acc
parent
69837c2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/decode.c
View file @
b20512d2
...
...
@@ -220,8 +220,25 @@ static inline void fill_acc(struct aec_stream *strm)
strm
->
avail_in
-=
b
;
strm
->
state
->
bitp
+=
b
<<
3
;
while
(
b
--
)
switch
(
b
)
{
case
(
7
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
6
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
5
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
4
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
3
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
2
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
case
(
1
):
strm
->
state
->
acc
=
(
strm
->
state
->
acc
<<
8
)
|
*
strm
->
next_in
++
;
};
}
static
inline
uint32_t
direct_get
(
struct
aec_stream
*
strm
,
unsigned
int
n
)
...
...
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