summaryrefslogtreecommitdiffstats
path: root/g729b
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
commit631fffee8a28b1bec5ed1f1d26a20e0135967f99 (patch)
tree74afe3bf3efe15aa82bcd0272b2b0f4d48c2d837 /g729b
parent7908865936604036e6f200f1b5e069f8752f3a3a (diff)
downloaddoubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.zip
doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.tar.gz
-
Diffstat (limited to 'g729b')
-rw-r--r--g729b/droid-makefile65
-rw-r--r--g729b/export.def13
-rw-r--r--g729b/g729b.sln23
-rw-r--r--g729b/g729b.vcproj442
4 files changed, 543 insertions, 0 deletions
diff --git a/g729b/droid-makefile b/g729b/droid-makefile
new file mode 100644
index 0000000..8b1ef07
--- /dev/null
+++ b/g729b/droid-makefile
@@ -0,0 +1,65 @@
+APP := lib$(PROJECT)_$(MARCH).$(EXT)
+
+CFLAGS := $(CFLAGS_LIB) -D__unix__
+LDFLAGS := $(LDFLAGS_LIB)
+
+all: $(APP)
+
+OBJS = acelp_ca.o\
+ basic_op.o\
+ bits.o\
+ calcexc.o\
+ cod_ld8a.o\
+ cor_func.o\
+ dec_gain.o\
+ dec_lag3.o\
+ dec_ld8a.o\
+ dec_sid.o\
+ de_acelp.o\
+ dspfunc.o\
+ dtx.o\
+ filter.o\
+ gainpred.o\
+ lpc.o\
+ lpcfunc.o\
+ lspdec.o\
+ lspgetq.o\
+ oper_32b.o\
+ pitch_a.o\
+ postfilt.o\
+ post_pro.o\
+ pred_lt3.o\
+ pre_proc.o\
+ p_parity.o\
+ qsidgain.o\
+ qsidlsf.o\
+ qua_gain.o\
+ qua_lsp.o\
+ tab_dtx.o\
+ tab_ld8a.o\
+ taming.o\
+ util.o\
+ vad.o
+
+
+$(APP): $(OBJS)
+ifeq ($(EXT), a)
+ $(AR) rcs $@ $^
+else
+ $(CC) $(LDFLAGS) -o $@ $^
+endif
+
+%.O: %.C
+ $(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@
+
+install: $(APP)
+ cp -f $(APP) ../thirdparties/android/lib
+
+shell:
+ $(ANDROID_SDK_ROOT)/tools/adb shell
+
+run:
+ $(ANDROID_SDK_ROOT)/tools/adb shell $(LIB_DIR)/$(APP)
+
+clean:
+ @rm -f $(OBJS) $(APP) \ No newline at end of file
diff --git a/g729b/export.def b/g729b/export.def
new file mode 100644
index 0000000..490b886
--- /dev/null
+++ b/g729b/export.def
@@ -0,0 +1,13 @@
+EXPORTS
+
+ Init_Decod_ld8a
+ Init_Post_Filter
+ Init_Post_Process
+ Decod_ld8a
+ Check_Parity_Pitch
+ bits2prm_ld8k
+
+ Init_Pre_Process
+ Init_Coder_ld8a
+ Set_zero
+ \ No newline at end of file
diff --git a/g729b/g729b.sln b/g729b/g729b.sln
new file mode 100644
index 0000000..df03a4b
--- /dev/null
+++ b/g729b/g729b.sln
@@ -0,0 +1,23 @@
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "g729b", "g729b.vcproj", "{6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Release_Static|Win32 = Release_Static|Win32
+ Release|Win32 = Release|Win32
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Debug|Win32.ActiveCfg = Debug|Win32
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Debug|Win32.Build.0 = Debug|Win32
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Release_Static|Win32.ActiveCfg = Release_Static|Win32
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Release_Static|Win32.Build.0 = Release_Static|Win32
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Release|Win32.ActiveCfg = Release|Win32
+ {6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}.Release|Win32.Build.0 = Release|Win32
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/g729b/g729b.vcproj b/g729b/g729b.vcproj
new file mode 100644
index 0000000..3723239
--- /dev/null
+++ b/g729b/g729b.vcproj
@@ -0,0 +1,442 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="9.00"
+ Name="g729b"
+ ProjectGUID="{6AE3B85D-7696-4AF3-AFFF-2DC7BB153E58}"
+ RootNamespace="g729b"
+ Keyword="Win32Proj"
+ TargetFrameworkVersion="196613"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="2"
+ CharacterSet="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;G729B_EXPORTS"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="4"
+ CompileAs="1"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="2"
+ ModuleDefinitionFile="export.def"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="2"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;G729B_EXPORTS"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ CompileAs="1"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLinkerTool"
+ LinkIncremental="1"
+ ModuleDefinitionFile="export.def"
+ GenerateDebugInformation="true"
+ SubSystem="2"
+ OptimizeReferences="2"
+ EnableCOMDATFolding="2"
+ TargetMachine="1"
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCManifestTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCAppVerifierTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release_Static|Win32"
+ OutputDirectory="$(SolutionDir)$(ConfigurationName)"
+ IntermediateDirectory="$(ConfigurationName)"
+ ConfigurationType="4"
+ CharacterSet="1"
+ WholeProgramOptimization="0"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ EnableIntrinsicFunctions="true"
+ PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;G729B_EXPORTS"
+ RuntimeLibrary="2"
+ EnableFunctionLevelLinking="true"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ DebugInformationFormat="3"
+ CompileAs="1"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ OutputFile="..\thirdparties\win32\lib\g729b\$(ProjectName).a"
+ ModuleDefinitionFile=""
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\acelp_ca.c"
+ >
+ </File>
+ <File
+ RelativePath=".\basic_op.c"
+ >
+ </File>
+ <File
+ RelativePath=".\bits.c"
+ >
+ </File>
+ <File
+ RelativePath=".\calcexc.c"
+ >
+ </File>
+ <File
+ RelativePath=".\cod_ld8a.c"
+ >
+ </File>
+ <File
+ RelativePath=".\cor_func.c"
+ >
+ </File>
+ <File
+ RelativePath=".\de_acelp.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dec_gain.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dec_lag3.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dec_ld8a.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dec_sid.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dspfunc.c"
+ >
+ </File>
+ <File
+ RelativePath=".\dtx.c"
+ >
+ </File>
+ <File
+ RelativePath=".\filter.c"
+ >
+ </File>
+ <File
+ RelativePath=".\gainpred.c"
+ >
+ </File>
+ <File
+ RelativePath=".\lpc.c"
+ >
+ </File>
+ <File
+ RelativePath=".\lpcfunc.c"
+ >
+ </File>
+ <File
+ RelativePath=".\lspdec.c"
+ >
+ </File>
+ <File
+ RelativePath=".\lspgetq.c"
+ >
+ </File>
+ <File
+ RelativePath=".\oper_32b.c"
+ >
+ </File>
+ <File
+ RelativePath=".\p_parity.c"
+ >
+ </File>
+ <File
+ RelativePath=".\pitch_a.c"
+ >
+ </File>
+ <File
+ RelativePath=".\post_pro.c"
+ >
+ </File>
+ <File
+ RelativePath=".\postfilt.c"
+ >
+ </File>
+ <File
+ RelativePath=".\pre_proc.c"
+ >
+ </File>
+ <File
+ RelativePath=".\pred_lt3.c"
+ >
+ </File>
+ <File
+ RelativePath=".\qsidgain.c"
+ >
+ </File>
+ <File
+ RelativePath=".\qsidlsf.c"
+ >
+ </File>
+ <File
+ RelativePath=".\qua_gain.c"
+ >
+ </File>
+ <File
+ RelativePath=".\qua_lsp.c"
+ >
+ </File>
+ <File
+ RelativePath=".\tab_dtx.c"
+ >
+ </File>
+ <File
+ RelativePath=".\tab_ld8a.c"
+ >
+ </File>
+ <File
+ RelativePath=".\taming.c"
+ >
+ </File>
+ <File
+ RelativePath=".\util.c"
+ >
+ </File>
+ <File
+ RelativePath=".\vad.c"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\basic_op.h"
+ >
+ </File>
+ <File
+ RelativePath=".\dtx.h"
+ >
+ </File>
+ <File
+ RelativePath=".\ld8a.h"
+ >
+ </File>
+ <File
+ RelativePath=".\octet.h"
+ >
+ </File>
+ <File
+ RelativePath=".\oper_32b.h"
+ >
+ </File>
+ <File
+ RelativePath=".\sid.h"
+ >
+ </File>
+ <File
+ RelativePath=".\tab_dtx.h"
+ >
+ </File>
+ <File
+ RelativePath=".\tab_ld8a.h"
+ >
+ </File>
+ <File
+ RelativePath=".\typedef.h"
+ >
+ </File>
+ <File
+ RelativePath=".\vad.h"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Resource Files"
+ Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
+ UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
+ >
+ </Filter>
+ <File
+ RelativePath=".\export.def"
+ >
+ </File>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>
OpenPOWER on IntegriCloud