Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mark Harris
Opus
Commits
c245a226
Commit
c245a226
authored
Dec 06, 2007
by
Jean-Marc Valin
Browse files
minor cleanup
parent
9cace64e
Changes
5
Hide whitespace changes
Inline
Side-by-side
celt.kdevelop
View file @
c245a226
...
...
@@ -8,13 +8,28 @@
<primarylanguage>
C
</primarylanguage>
<ignoreparts/>
<projectname>
celt
</projectname>
<projectdirectory>
.
</projectdirectory>
<absoluteprojectpath>
false
</absoluteprojectpath>
<description></description>
<defaultencoding></defaultencoding>
</general>
<kdevautoproject>
<general>
<useconfiguration>
default
</useconfiguration>
<activetarget>
libcelt/libcelt.la
</activetarget>
</general>
<run/>
<run>
<mainprogram/>
<programargs/>
<globaldebugarguments/>
<globalcwd/>
<useglobalprogram>
true
</useglobalprogram>
<terminal>
false
</terminal>
<autocompile>
false
</autocompile>
<autoinstall>
false
</autoinstall>
<autokdesu>
false
</autokdesu>
<envvars/>
</run>
<configurations>
<optimized>
<builddir>
optimized
</builddir>
...
...
@@ -42,7 +57,20 @@
<kdevdebugger>
<general>
<dbgshell>
libtool
</dbgshell>
<gdbpath></gdbpath>
<configGdbScript></configGdbScript>
<runShellScript></runShellScript>
<runGdbScript></runGdbScript>
<breakonloadinglibs>
true
</breakonloadinglibs>
<separatetty>
false
</separatetty>
<floatingtoolbar>
false
</floatingtoolbar>
<raiseGDBOnStart>
false
</raiseGDBOnStart>
</general>
<display>
<staticmembers>
false
</staticmembers>
<demanglenames>
true
</demanglenames>
<outputradix>
10
</outputradix>
</display>
</kdevdebugger>
<kdevdoctreeview>
<ignoretocs>
...
...
@@ -104,13 +132,12 @@
<used>
false
</used>
<version>
3
</version>
<includestyle>
3
</includestyle>
<root>
/usr/share/qt3
</root>
<root></root>
<designerintegration>
EmbeddedKDevDesigner
</designerintegration>
<qmake>
/usr/bin/qmake-qt3
</qmake>
<designer>
/usr/bin/designer
</designer>
<qmake></qmake>
<designer></designer>
<designerpluginpaths/>
</qt>
<references/>
<codecompletion>
<automaticCodeCompletion>
false
</automaticCodeCompletion>
<automaticArgumentsHint>
true
</automaticArgumentsHint>
...
...
@@ -134,15 +161,39 @@
<alwaysIncludeNamespaces>
false
</alwaysIncludeNamespaces>
<includePaths>
.;
</includePaths>
</codecompletion>
<creategettersetter>
<prefixGet></prefixGet>
<prefixSet>
set
</prefixSet>
<prefixVariable>
m_,_
</prefixVariable>
<parameterName>
theValue
</parameterName>
<inlineGet>
true
</inlineGet>
<inlineSet>
true
</inlineSet>
</creategettersetter>
<splitheadersource>
<enabled>
true
</enabled>
<synchronize>
true
</synchronize>
<orientation>
Horizontal
</orientation>
</splitheadersource>
<references/>
</kdevcppsupport>
<cppsupportpart>
<filetemplates>
<interfacesuffix>
.h
</interfacesuffix>
<implementationsuffix>
.cpp
</implementationsuffix>
</filetemplates>
</cppsupportpart>
<kdevfileview>
<groups>
<hidenonprojectfiles>
false
</hidenonprojectfiles>
<hidenonlocation>
false
</hidenonlocation>
</groups>
<groups/>
<tree>
<hidepatterns>
*.o,*.lo,CVS
</hidepatterns>
<hidenonprojectfiles>
false
</hidenonprojectfiles>
</tree>
</kdevfileview>
<kdevdocumentation>
<projectdoc>
<docsystem></docsystem>
<docurl></docurl>
<usermanualurl></usermanualurl>
</projectdoc>
</kdevdocumentation>
</kdevelop>
libcelt/celt.c
View file @
c245a226
...
...
@@ -41,7 +41,7 @@
#define MAX_PERIOD 1024
struct
CELTState
_
{
struct
CELTState
{
const
CELTMode
*
mode
;
int
frame_size
;
int
block_size
;
...
...
@@ -104,6 +104,8 @@ void celt_encoder_destroy(CELTState *st)
celt_warning
(
"NULL passed to celt_encoder_destroy"
);
return
;
}
ec_byte_writeclear
(
&
st
->
buf
);
mdct_clear
(
&
st
->
mdct_lookup
);
spx_fft_destroy
(
st
->
fft
);
...
...
@@ -112,6 +114,7 @@ void celt_encoder_destroy(CELTState *st)
celt_free
(
st
->
mdct_overlap
);
celt_free
(
st
->
out_mem
);
celt_free
(
st
->
oldBandE
);
celt_free
(
st
);
}
...
...
libcelt/celt.h
View file @
c245a226
...
...
@@ -32,11 +32,9 @@
#ifndef CELT_H
#define CELT_H
struct
CELTState_
;
typedef
struct
CELTState_
CELTState
;
typedef
struct
CELTState
CELTState
;
struct
CELTMode_
;
typedef
struct
CELTMode_
CELTMode
;
typedef
struct
CELTMode
CELTMode
;
extern
const
CELTMode
const
*
celt_mode1
;
...
...
libcelt/modes.h
View file @
c245a226
...
...
@@ -34,7 +34,7 @@
#include "celt.h"
struct
CELTMode
_
{
struct
CELTMode
{
int
frameSize
;
int
mdctSize
;
int
nbMdctBlocks
;
...
...
libcelt/testcelt.c
View file @
c245a226
...
...
@@ -57,6 +57,8 @@ int main(int argc, char *argv[])
fwrite
(
in
,
sizeof
(
short
),
FRAME_SIZE
,
fout
);
}
celt_encoder_destroy
(
st
);
fclose
(
fin
);
fclose
(
fout
);
return
0
;
}
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