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
Container Registry
Model registry
Operate
Environments
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
Xiph.Org
Opus
Commits
961f723a
Commit
961f723a
authored
14 years ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Prototypes for the _ec variants of the calls
parent
2f6c5fea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libcelt/modes.h
+8
-0
8 additions, 0 deletions
libcelt/modes.h
with
8 additions
and
0 deletions
libcelt/modes.h
+
8
−
0
View file @
961f723a
...
...
@@ -39,6 +39,8 @@
#include
"arch.h"
#include
"mdct.h"
#include
"pitch.h"
#include
"entenc.h"
#include
"entdec.h"
#define MAX_CONFIG_SIZES 5
...
...
@@ -110,4 +112,10 @@ struct CELTMode {
int
check_mode
(
const
CELTMode
*
mode
);
/* Prototypes for _ec versions of the encoder/decoder calls (not public) */
int
celt_encode_with_ec
(
CELTEncoder
*
restrict
st
,
const
celt_int16
*
pcm
,
celt_int16
*
optional_resynthesis
,
int
frame_size
,
unsigned
char
*
compressed
,
int
nbCompressedBytes
,
ec_enc
*
enc
);
int
celt_encode_with_ec_float
(
CELTEncoder
*
restrict
st
,
const
float
*
pcm
,
float
*
optional_resynthesis
,
int
frame_size
,
unsigned
char
*
compressed
,
int
nbCompressedBytes
,
ec_enc
*
enc
);
int
celt_decode_with_ec
(
CELTDecoder
*
restrict
st
,
const
unsigned
char
*
data
,
int
len
,
celt_int16
*
restrict
pcm
,
int
frame_size
,
ec_dec
*
dec
);
int
celt_decode_with_ec_float
(
CELTDecoder
*
restrict
st
,
const
unsigned
char
*
data
,
int
len
,
celt_sig
*
restrict
pcm
,
int
frame_size
,
ec_dec
*
dec
);
#endif
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