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
b1394c58
Verified
Commit
b1394c58
authored
1 year ago
by
Jean-Marc Valin
Browse files
Options
Downloads
Patches
Plain Diff
Add missing include guards and config.h
parent
8dc345fe
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
celt/laplace.h
+6
-1
6 additions, 1 deletion
celt/laplace.h
lpcnet
+1
-1
1 addition, 1 deletion
lpcnet
silk/dred_decoder.h
+5
-0
5 additions, 0 deletions
silk/dred_decoder.h
tests/test_opus_padding.c
+4
-0
4 additions, 0 deletions
tests/test_opus_padding.c
with
16 additions
and
2 deletions
celt/laplace.h
+
6
−
1
View file @
b1394c58
...
...
@@ -26,6 +26,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef LAPLACE_H
#define LAPLACE_H
#include
"entenc.h"
#include
"entdec.h"
...
...
@@ -49,4 +52,6 @@ int ec_laplace_decode(ec_dec *dec, unsigned fs, int decay);
int
ec_laplace_decode_p0
(
ec_dec
*
dec
,
opus_uint16
p0
,
opus_uint16
decay
);
void
ec_laplace_encode_p0
(
ec_enc
*
enc
,
int
value
,
opus_uint16
p0
,
opus_uint16
decay
);
\ No newline at end of file
void
ec_laplace_encode_p0
(
ec_enc
*
enc
,
int
value
,
opus_uint16
p0
,
opus_uint16
decay
);
#endif
This diff is collapsed.
Click to expand it.
lpcnet
@
3f09d5fa
Compare
2f719a50
...
3f09d5fa
Subproject commit
2f719a503d284fb4f05d097d95a85c496473f5a1
Subproject commit
3f09d5fa52f6606f60d5e440b1ea8cf730e144e7
This diff is collapsed.
Click to expand it.
silk/dred_decoder.h
+
5
−
0
View file @
b1394c58
...
...
@@ -25,6 +25,9 @@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#ifndef DRED_DECODER_H
#define DRED_DECODER_H
#include
"opus.h"
#include
"dred_config.h"
#include
"dred_rdovae.h"
...
...
@@ -40,3 +43,5 @@ struct OpusDRED {
int
dred_ec_decode
(
OpusDRED
*
dec
,
const
opus_uint8
*
bytes
,
int
num_bytes
,
int
min_feature_frames
);
#endif
This diff is collapsed.
Click to expand it.
tests/test_opus_padding.c
+
4
−
0
View file @
b1394c58
...
...
@@ -29,6 +29,10 @@
* http://lists.xiph.org/pipermail/opus/2012-November/001834.html
*/
#ifdef HAVE_CONFIG_H
#include
"config.h"
#endif
#include
<stdio.h>
#include
<stdlib.h>
#include
<string.h>
...
...
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