- new prebuilt libraries
This commit is contained in:
36
opencore-amr/include/dec_if.h
Normal file
36
opencore-amr/include/dec_if.h
Normal file
@@ -0,0 +1,36 @@
|
||||
/* ------------------------------------------------------------------
|
||||
* Copyright (C) 2009 Martin Storsjo
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
* express or implied.
|
||||
* See the License for the specific language governing permissions
|
||||
* and limitations under the License.
|
||||
* -------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef OPENCORE_AMRWB_DEC_IF_H
|
||||
#define OPENCORE_AMRWB_DEC_IF_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define _good_frame 0
|
||||
|
||||
void* D_IF_init(void);
|
||||
void D_IF_decode(void* state, const unsigned char* bits, short* synth, int bfi);
|
||||
void D_IF_exit(void* state);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
33
opencore-amr/include/if_rom.h
Normal file
33
opencore-amr/include/if_rom.h
Normal file
@@ -0,0 +1,33 @@
|
||||
/* ------------------------------------------------------------------
|
||||
* Copyright (C) 2009 Martin Storsjo
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
* express or implied.
|
||||
* See the License for the specific language governing permissions
|
||||
* and limitations under the License.
|
||||
* -------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef OPENCORE_AMRWB_IF_ROM_H
|
||||
#define OPENCORE_AMRWB_IF_ROM_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
typedef int16_t Word16;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
34
opencore-amr/include/interf_dec.h
Normal file
34
opencore-amr/include/interf_dec.h
Normal file
@@ -0,0 +1,34 @@
|
||||
/* ------------------------------------------------------------------
|
||||
* Copyright (C) 2009 Martin Storsjo
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
* express or implied.
|
||||
* See the License for the specific language governing permissions
|
||||
* and limitations under the License.
|
||||
* -------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef OPENCORE_AMRNB_INTERF_DEC_H
|
||||
#define OPENCORE_AMRNB_INTERF_DEC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
void* Decoder_Interface_init(void);
|
||||
void Decoder_Interface_exit(void* state);
|
||||
void Decoder_Interface_Decode(void* state, const unsigned char* in, short* out, int bfi);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
50
opencore-amr/include/interf_enc.h
Normal file
50
opencore-amr/include/interf_enc.h
Normal file
@@ -0,0 +1,50 @@
|
||||
/* ------------------------------------------------------------------
|
||||
* Copyright (C) 2009 Martin Storsjo
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
||||
* express or implied.
|
||||
* See the License for the specific language governing permissions
|
||||
* and limitations under the License.
|
||||
* -------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifndef OPENCORE_AMRNB_INTERF_ENC_H
|
||||
#define OPENCORE_AMRNB_INTERF_ENC_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef AMRNB_WRAPPER_INTERNAL
|
||||
/* Copied from enc/src/gsmamr_enc.h */
|
||||
enum Mode {
|
||||
MR475 = 0,/* 4.75 kbps */
|
||||
MR515, /* 5.15 kbps */
|
||||
MR59, /* 5.90 kbps */
|
||||
MR67, /* 6.70 kbps */
|
||||
MR74, /* 7.40 kbps */
|
||||
MR795, /* 7.95 kbps */
|
||||
MR102, /* 10.2 kbps */
|
||||
MR122, /* 12.2 kbps */
|
||||
MRDTX, /* DTX */
|
||||
N_MODES /* Not Used */
|
||||
};
|
||||
#endif
|
||||
|
||||
void* Encoder_Interface_init(int dtx);
|
||||
void Encoder_Interface_exit(void* state);
|
||||
int Encoder_Interface_Encode(void* state, enum Mode mode, const short* speech, unsigned char* out, int forceSpeech);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
BIN
opencore-amr/linux/libopencore-amrnb.a
Normal file
BIN
opencore-amr/linux/libopencore-amrnb.a
Normal file
Binary file not shown.
BIN
opencore-amr/linux/libopencore-amrwb.a
Normal file
BIN
opencore-amr/linux/libopencore-amrwb.a
Normal file
Binary file not shown.
BIN
openssl/1.0/android/armeabi-v7a/libcrypto.a
Normal file
BIN
openssl/1.0/android/armeabi-v7a/libcrypto.a
Normal file
Binary file not shown.
BIN
openssl/1.0/android/armeabi-v7a/libssl.a
Normal file
BIN
openssl/1.0/android/armeabi-v7a/libssl.a
Normal file
Binary file not shown.
BIN
openssl/1.0/android/x86/libcrypto.a
Normal file
BIN
openssl/1.0/android/x86/libcrypto.a
Normal file
Binary file not shown.
BIN
openssl/1.0/android/x86/libssl.a
Normal file
BIN
openssl/1.0/android/x86/libssl.a
Normal file
Binary file not shown.
BIN
openssl/1.0/ios/libcrypto.a
Normal file
BIN
openssl/1.0/ios/libcrypto.a
Normal file
Binary file not shown.
BIN
openssl/1.0/ios/libssl.a
Normal file
BIN
openssl/1.0/ios/libssl.a
Normal file
Binary file not shown.
BIN
openssl/1.0/osx/libcrypto.a
Normal file
BIN
openssl/1.0/osx/libcrypto.a
Normal file
Binary file not shown.
BIN
openssl/1.0/osx/libssl.a
Normal file
BIN
openssl/1.0/osx/libssl.a
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
openssl/1.0/win64/libeay32.lib
Normal file
BIN
openssl/1.0/win64/libeay32.lib
Normal file
Binary file not shown.
BIN
openssl/1.0/win64/ssleay32.lib
Normal file
BIN
openssl/1.0/win64/ssleay32.lib
Normal file
Binary file not shown.
BIN
opus/android/armeabi-v7a/libopus.a
Normal file
BIN
opus/android/armeabi-v7a/libopus.a
Normal file
Binary file not shown.
BIN
opus/android/x86/libopus.a
Normal file
BIN
opus/android/x86/libopus.a
Normal file
Binary file not shown.
@@ -33,29 +33,14 @@
|
||||
#ifndef OPUS_TYPES_H
|
||||
#define OPUS_TYPES_H
|
||||
|
||||
#define opus_int int /* used for counters etc; at least 16 bits */
|
||||
#define opus_int64 long long
|
||||
#define opus_int8 signed char
|
||||
|
||||
#define opus_uint unsigned int /* used for counters etc; at least 16 bits */
|
||||
#define opus_uint64 unsigned long long
|
||||
#define opus_uint8 unsigned char
|
||||
|
||||
/* Use the real stdint.h if it's there (taken from Paul Hsieh's pstdint.h) */
|
||||
#if (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_)) || defined (HAVE_STDINT_H))
|
||||
#if (defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_)) || defined (HAVE_STDINT_H))
|
||||
#include <stdint.h>
|
||||
# undef opus_int64
|
||||
# undef opus_int8
|
||||
# undef opus_uint64
|
||||
# undef opus_uint8
|
||||
typedef int8_t opus_int8;
|
||||
typedef uint8_t opus_uint8;
|
||||
|
||||
typedef int16_t opus_int16;
|
||||
typedef uint16_t opus_uint16;
|
||||
typedef int32_t opus_int32;
|
||||
typedef uint32_t opus_uint32;
|
||||
typedef int64_t opus_int64;
|
||||
typedef uint64_t opus_uint64;
|
||||
#elif defined(_WIN32)
|
||||
|
||||
# if defined(__CYGWIN__)
|
||||
@@ -163,4 +148,12 @@
|
||||
|
||||
#endif
|
||||
|
||||
#define opus_int int /* used for counters etc; at least 16 bits */
|
||||
#define opus_int64 long long
|
||||
#define opus_int8 signed char
|
||||
|
||||
#define opus_uint unsigned int /* used for counters etc; at least 16 bits */
|
||||
#define opus_uint64 unsigned long long
|
||||
#define opus_uint8 unsigned char
|
||||
|
||||
#endif /* OPUS_TYPES_H */
|
||||
|
||||
BIN
opus/ios/libopuscodec.a
Normal file
BIN
opus/ios/libopuscodec.a
Normal file
Binary file not shown.
BIN
opus/linux/libopus.a
Normal file
BIN
opus/linux/libopus.a
Normal file
Binary file not shown.
BIN
opus/linux/libopus.so
Executable file
BIN
opus/linux/libopus.so
Executable file
Binary file not shown.
BIN
opus/openwrt/mips32/libopus.a
Normal file
BIN
opus/openwrt/mips32/libopus.a
Normal file
Binary file not shown.
BIN
opus/osx/libopus.a
Normal file
BIN
opus/osx/libopus.a
Normal file
Binary file not shown.
BIN
opus/win64/release/celt.lib
Normal file
BIN
opus/win64/release/celt.lib
Normal file
Binary file not shown.
BIN
opus/win64/release/opus.lib
Normal file
BIN
opus/win64/release/opus.lib
Normal file
Binary file not shown.
BIN
opus/win64/release/silk_common.lib
Normal file
BIN
opus/win64/release/silk_common.lib
Normal file
Binary file not shown.
BIN
opus/win64/release/silk_float.lib
Normal file
BIN
opus/win64/release/silk_float.lib
Normal file
Binary file not shown.
104
uuid/include/uuid.h
Normal file
104
uuid/include/uuid.h
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* Public include file for the UUID library
|
||||
*
|
||||
* Copyright (C) 1996, 1997, 1998 Theodore Ts'o.
|
||||
*
|
||||
* %Begin-Header%
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, and the entire permission notice in its entirety,
|
||||
* including the disclaimer of warranties.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote
|
||||
* products derived from this software without specific prior
|
||||
* written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
|
||||
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ALL OF
|
||||
* WHICH ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE
|
||||
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
||||
* BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
* USE OF THIS SOFTWARE, EVEN IF NOT ADVISED OF THE POSSIBILITY OF SUCH
|
||||
* DAMAGE.
|
||||
* %End-Header%
|
||||
*/
|
||||
|
||||
#ifndef _UUID_UUID_H
|
||||
#define _UUID_UUID_H
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifndef _WIN32
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
#include <time.h>
|
||||
|
||||
typedef unsigned char uuid_t[16];
|
||||
|
||||
/* UUID Variant definitions */
|
||||
#define UUID_VARIANT_NCS 0
|
||||
#define UUID_VARIANT_DCE 1
|
||||
#define UUID_VARIANT_MICROSOFT 2
|
||||
#define UUID_VARIANT_OTHER 3
|
||||
|
||||
/* UUID Type definitions */
|
||||
#define UUID_TYPE_DCE_TIME 1
|
||||
#define UUID_TYPE_DCE_RANDOM 4
|
||||
|
||||
/* Allow UUID constants to be defined */
|
||||
#ifdef __GNUC__
|
||||
#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \
|
||||
static const uuid_t name __attribute__ ((unused)) = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}
|
||||
#else
|
||||
#define UUID_DEFINE(name,u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15) \
|
||||
static const uuid_t name = {u0,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10,u11,u12,u13,u14,u15}
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* clear.c */
|
||||
void uuid_clear(uuid_t uu);
|
||||
|
||||
/* compare.c */
|
||||
int uuid_compare(const uuid_t uu1, const uuid_t uu2);
|
||||
|
||||
/* copy.c */
|
||||
void uuid_copy(uuid_t dst, const uuid_t src);
|
||||
|
||||
/* gen_uuid.c */
|
||||
void uuid_generate(uuid_t out);
|
||||
void uuid_generate_random(uuid_t out);
|
||||
void uuid_generate_time(uuid_t out);
|
||||
int uuid_generate_time_safe(uuid_t out);
|
||||
|
||||
/* isnull.c */
|
||||
int uuid_is_null(const uuid_t uu);
|
||||
|
||||
/* parse.c */
|
||||
int uuid_parse(const char *in, uuid_t uu);
|
||||
|
||||
/* unparse.c */
|
||||
void uuid_unparse(const uuid_t uu, char *out);
|
||||
void uuid_unparse_lower(const uuid_t uu, char *out);
|
||||
void uuid_unparse_upper(const uuid_t uu, char *out);
|
||||
|
||||
/* uuid_time.c */
|
||||
time_t uuid_time(const uuid_t uu, struct timeval *ret_tv);
|
||||
int uuid_type(const uuid_t uu);
|
||||
int uuid_variant(const uuid_t uu);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _UUID_UUID_H */
|
||||
BIN
uuid/lib/lin64/libuuid.a
Normal file
BIN
uuid/lib/lin64/libuuid.a
Normal file
Binary file not shown.
BIN
uuid/lib/osx/libuuid.a
Normal file
BIN
uuid/lib/osx/libuuid.a
Normal file
Binary file not shown.
BIN
uuid/lib/osx/libuuid.dylib
Executable file
BIN
uuid/lib/osx/libuuid.dylib
Executable file
Binary file not shown.
Reference in New Issue
Block a user