Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Alexander Traud
Opus
Commits
2bf4e44e
Commit
2bf4e44e
authored
14 years ago
by
Koen Vos
Committed by
Jean-Marc Valin
14 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Moving ec_enc_done() outside of the API call.
parent
dae5c333
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src_FLP/SKP_Silk_encode_frame_FLP.c
+1
-1
1 addition, 1 deletion
src_FLP/SKP_Silk_encode_frame_FLP.c
test/Encoder.c
+4
-0
4 additions, 0 deletions
test/Encoder.c
with
5 additions
and
1 deletion
src_FLP/SKP_Silk_encode_frame_FLP.c
+
1
−
1
View file @
2bf4e44e
...
...
@@ -211,7 +211,7 @@ TOC(ENCODE_PARAMS)
if
(
*
pnBytesOut
>=
nBytes
)
{
//SKP_int bits_in_stream, mask;
//bits_in_stream = ec_enc_tell( psRangeEnc, 0 );
ec_enc_done
(
psRangeEnc
);
//
ec_enc_done( psRangeEnc );
#if 0
/* Fill up any remaining bits in the last byte with 1s */
...
...
This diff is collapsed.
Click to expand it.
test/Encoder.c
+
4
−
0
View file @
2bf4e44e
...
...
@@ -265,6 +265,10 @@ int main( int argc, char* argv[] )
}
tottime
+=
GetHighResolutionTime
()
-
starttime
;
/* Finish up the range coder */
ec_enc_done
(
&
range_enc_celt_state
);
#ifdef SKP_MACRO_COUNT
Ops
=
SKP_SaveResetCount
();
if
(
Ops
>
maxOps
){
maxOps
=
Ops
;
}
...
...
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