From 56c21ffc1f3afea8bbe9ef79202b2cfcf1281b6b Mon Sep 17 00:00:00 2001 From: Alberto Fustinoni Date: Mon, 19 Jun 2017 23:51:41 +0900 Subject: [PATCH] using toolkit --- libretro-common/include/audio/audio_mix.h | 93 + libretro-common/include/audio/audio_mixer.h | 74 + .../include/audio/audio_resampler.h | 184 + .../include/audio/conversion/float_to_s16.h | 55 + .../include/audio/conversion/s16_to_float.h | 55 + libretro-common/include/audio/dsp_filter.h | 53 + libretro-common/include/boolean.h | 39 + libretro-common/include/clamping.h | 65 + libretro-common/include/compat/apple_compat.h | 84 + libretro-common/include/compat/fnmatch.h | 30 + libretro-common/include/compat/getopt.h | 75 + libretro-common/include/compat/ifaddrs.h | 53 + libretro-common/include/compat/intrinsics.h | 85 + libretro-common/include/compat/msvc.h | 104 + libretro-common/include/compat/msvc/stdint.h | 254 ++ libretro-common/include/compat/posix_string.h | 61 + libretro-common/include/compat/strcasestr.h | 49 + libretro-common/include/compat/strl.h | 58 + libretro-common/include/compat/zconf.h | 483 +++ libretro-common/include/compat/zconf.h.in | 483 +++ libretro-common/include/compat/zlib.h | 1780 ++++++++++ libretro-common/include/compat/zutil.h | 253 ++ libretro-common/include/dynamic/dylib.h | 71 + libretro-common/include/encodings/crc32.h | 38 + libretro-common/include/encodings/utf.h | 53 + libretro-common/include/encodings/win32.h | 63 + libretro-common/include/fastcpy.h | 94 + .../include/features/features_cpu.h | 73 + libretro-common/include/file/archive_file.h | 213 ++ libretro-common/include/file/config_file.h | 166 + .../include/file/config_file_userdata.h | 61 + libretro-common/include/file/file_path.h | 478 +++ libretro-common/include/file/nbio.h | 102 + libretro-common/include/filters.h | 93 + libretro-common/include/formats/image.h | 95 + libretro-common/include/formats/jsonsax.h | 71 + .../include/formats/jsonsax_full.h | 1040 ++++++ libretro-common/include/formats/rbmp.h | 62 + libretro-common/include/formats/rjpeg.h | 49 + libretro-common/include/formats/rpng.h | 62 + libretro-common/include/formats/rtga.h | 48 + libretro-common/include/formats/rwav.h | 87 + libretro-common/include/formats/rxml.h | 95 + libretro-common/include/gfx/gl_capabilities.h | 68 + libretro-common/include/gfx/math/matrix_3x3.h | 254 ++ libretro-common/include/gfx/math/matrix_4x4.h | 396 +++ libretro-common/include/gfx/math/vector_2.h | 139 + libretro-common/include/gfx/math/vector_3.h | 69 + libretro-common/include/gfx/math/vector_4.h | 62 + libretro-common/include/gfx/scaler/filter.h | 38 + libretro-common/include/gfx/scaler/pixconv.h | 100 + libretro-common/include/gfx/scaler/scaler.h | 129 + .../include/gfx/scaler/scaler_int.h | 47 + libretro-common/include/gfx/video_frame.h | 218 ++ libretro-common/include/glsm/glsm.h | 157 + libretro-common/include/glsm/glsmsym.h | 414 +++ libretro-common/include/glsym/glsym.h | 39 + libretro-common/include/glsym/glsym_es2.h | 639 ++++ libretro-common/include/glsym/glsym_es3.h | 650 ++++ libretro-common/include/glsym/glsym_gl.h | 3140 +++++++++++++++++ libretro-common/include/glsym/rglgen.h | 47 + .../include/glsym/rglgen_headers.h | 81 + libretro-common/include/libco.h | 79 + libretro-common/include/libretro.h | 2166 ++++++++++++ libretro-common/include/libretro_dspfilter.h | 187 + libretro-common/include/libretro_vulkan.h | 398 +++ libretro-common/include/lists/dir_list.h | 70 + libretro-common/include/lists/file_list.h | 122 + libretro-common/include/lists/string_list.h | 160 + libretro-common/include/math/complex.h | 77 + libretro-common/include/math/float_minmax.h | 62 + libretro-common/include/math/fxp.h | 62 + libretro-common/include/memalign.h | 40 + libretro-common/include/memmap.h | 49 + libretro-common/include/net/net_compat.h | 247 ++ libretro-common/include/net/net_http.h | 75 + libretro-common/include/net/net_http_parse.h | 53 + libretro-common/include/net/net_ifinfo.h | 57 + libretro-common/include/net/net_natt.h | 83 + libretro-common/include/net/net_socket.h | 94 + libretro-common/include/queues/fifo_queue.h | 78 + .../include/queues/message_queue.h | 88 + libretro-common/include/queues/task_queue.h | 236 ++ libretro-common/include/retro_assert.h | 36 + libretro-common/include/retro_common.h | 37 + libretro-common/include/retro_common_api.h | 108 + libretro-common/include/retro_dirent.h | 107 + libretro-common/include/retro_endianness.h | 246 ++ libretro-common/include/retro_environment.h | 78 + libretro-common/include/retro_inline.h | 39 + libretro-common/include/retro_miscellaneous.h | 216 ++ libretro-common/include/rhash.h | 132 + libretro-common/include/rthreads/rthreads.h | 229 ++ libretro-common/include/streams/file_stream.h | 90 + .../include/streams/interface_stream.h | 91 + .../include/streams/memory_stream.h | 61 + .../include/streams/stdin_stream.h | 40 + .../include/streams/trans_stream.h | 108 + libretro-common/include/string/stdstring.h | 94 + libretro-common/include/utils/md5.h | 52 + .../include/vulkan/vulkan_symbol_wrapper.h | 356 ++ libretro-common/streams/file_stream.c | 660 ++++ 102 files changed, 21534 insertions(+) create mode 100644 libretro-common/include/audio/audio_mix.h create mode 100644 libretro-common/include/audio/audio_mixer.h create mode 100644 libretro-common/include/audio/audio_resampler.h create mode 100644 libretro-common/include/audio/conversion/float_to_s16.h create mode 100644 libretro-common/include/audio/conversion/s16_to_float.h create mode 100644 libretro-common/include/audio/dsp_filter.h create mode 100644 libretro-common/include/boolean.h create mode 100644 libretro-common/include/clamping.h create mode 100644 libretro-common/include/compat/apple_compat.h create mode 100644 libretro-common/include/compat/fnmatch.h create mode 100644 libretro-common/include/compat/getopt.h create mode 100644 libretro-common/include/compat/ifaddrs.h create mode 100644 libretro-common/include/compat/intrinsics.h create mode 100644 libretro-common/include/compat/msvc.h create mode 100644 libretro-common/include/compat/msvc/stdint.h create mode 100644 libretro-common/include/compat/posix_string.h create mode 100644 libretro-common/include/compat/strcasestr.h create mode 100644 libretro-common/include/compat/strl.h create mode 100644 libretro-common/include/compat/zconf.h create mode 100644 libretro-common/include/compat/zconf.h.in create mode 100644 libretro-common/include/compat/zlib.h create mode 100644 libretro-common/include/compat/zutil.h create mode 100644 libretro-common/include/dynamic/dylib.h create mode 100644 libretro-common/include/encodings/crc32.h create mode 100644 libretro-common/include/encodings/utf.h create mode 100644 libretro-common/include/encodings/win32.h create mode 100644 libretro-common/include/fastcpy.h create mode 100644 libretro-common/include/features/features_cpu.h create mode 100644 libretro-common/include/file/archive_file.h create mode 100644 libretro-common/include/file/config_file.h create mode 100644 libretro-common/include/file/config_file_userdata.h create mode 100644 libretro-common/include/file/file_path.h create mode 100644 libretro-common/include/file/nbio.h create mode 100644 libretro-common/include/filters.h create mode 100644 libretro-common/include/formats/image.h create mode 100644 libretro-common/include/formats/jsonsax.h create mode 100644 libretro-common/include/formats/jsonsax_full.h create mode 100644 libretro-common/include/formats/rbmp.h create mode 100644 libretro-common/include/formats/rjpeg.h create mode 100644 libretro-common/include/formats/rpng.h create mode 100644 libretro-common/include/formats/rtga.h create mode 100644 libretro-common/include/formats/rwav.h create mode 100644 libretro-common/include/formats/rxml.h create mode 100644 libretro-common/include/gfx/gl_capabilities.h create mode 100644 libretro-common/include/gfx/math/matrix_3x3.h create mode 100644 libretro-common/include/gfx/math/matrix_4x4.h create mode 100644 libretro-common/include/gfx/math/vector_2.h create mode 100644 libretro-common/include/gfx/math/vector_3.h create mode 100644 libretro-common/include/gfx/math/vector_4.h create mode 100644 libretro-common/include/gfx/scaler/filter.h create mode 100644 libretro-common/include/gfx/scaler/pixconv.h create mode 100644 libretro-common/include/gfx/scaler/scaler.h create mode 100644 libretro-common/include/gfx/scaler/scaler_int.h create mode 100644 libretro-common/include/gfx/video_frame.h create mode 100644 libretro-common/include/glsm/glsm.h create mode 100644 libretro-common/include/glsm/glsmsym.h create mode 100644 libretro-common/include/glsym/glsym.h create mode 100644 libretro-common/include/glsym/glsym_es2.h create mode 100644 libretro-common/include/glsym/glsym_es3.h create mode 100644 libretro-common/include/glsym/glsym_gl.h create mode 100644 libretro-common/include/glsym/rglgen.h create mode 100644 libretro-common/include/glsym/rglgen_headers.h create mode 100644 libretro-common/include/libco.h create mode 100644 libretro-common/include/libretro.h create mode 100644 libretro-common/include/libretro_dspfilter.h create mode 100644 libretro-common/include/libretro_vulkan.h create mode 100644 libretro-common/include/lists/dir_list.h create mode 100644 libretro-common/include/lists/file_list.h create mode 100644 libretro-common/include/lists/string_list.h create mode 100644 libretro-common/include/math/complex.h create mode 100644 libretro-common/include/math/float_minmax.h create mode 100644 libretro-common/include/math/fxp.h create mode 100644 libretro-common/include/memalign.h create mode 100644 libretro-common/include/memmap.h create mode 100644 libretro-common/include/net/net_compat.h create mode 100644 libretro-common/include/net/net_http.h create mode 100644 libretro-common/include/net/net_http_parse.h create mode 100644 libretro-common/include/net/net_ifinfo.h create mode 100644 libretro-common/include/net/net_natt.h create mode 100644 libretro-common/include/net/net_socket.h create mode 100644 libretro-common/include/queues/fifo_queue.h create mode 100644 libretro-common/include/queues/message_queue.h create mode 100644 libretro-common/include/queues/task_queue.h create mode 100644 libretro-common/include/retro_assert.h create mode 100644 libretro-common/include/retro_common.h create mode 100644 libretro-common/include/retro_common_api.h create mode 100644 libretro-common/include/retro_dirent.h create mode 100644 libretro-common/include/retro_endianness.h create mode 100644 libretro-common/include/retro_environment.h create mode 100644 libretro-common/include/retro_inline.h create mode 100644 libretro-common/include/retro_miscellaneous.h create mode 100644 libretro-common/include/rhash.h create mode 100644 libretro-common/include/rthreads/rthreads.h create mode 100644 libretro-common/include/streams/file_stream.h create mode 100644 libretro-common/include/streams/interface_stream.h create mode 100644 libretro-common/include/streams/memory_stream.h create mode 100644 libretro-common/include/streams/stdin_stream.h create mode 100644 libretro-common/include/streams/trans_stream.h create mode 100644 libretro-common/include/string/stdstring.h create mode 100644 libretro-common/include/utils/md5.h create mode 100644 libretro-common/include/vulkan/vulkan_symbol_wrapper.h create mode 100644 libretro-common/streams/file_stream.c diff --git a/libretro-common/include/audio/audio_mix.h b/libretro-common/include/audio/audio_mix.h new file mode 100644 index 0000000..3b59dff --- /dev/null +++ b/libretro-common/include/audio/audio_mix.h @@ -0,0 +1,93 @@ +/* Copyright (C) 2010-2017 The RetroArch team + * + * --------------------------------------------------------------------------------------- + * The following license statement only applies to this file (audio_mix.h). + * --------------------------------------------------------------------------------------- + * + * Permission is hereby granted, free of charge, + * to any person obtaining a copy of this software and associated documentation files (the "Software"), + * to deal in the Software without restriction, including without limitation the rights to + * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, + * and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, + * INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifndef __LIBRETRO_SDK_AUDIO_MIX_H__ +#define __LIBRETRO_SDK_AUDIO_MIX_H__ + +#include + +#include +#include +#ifdef _WIN32 +#include +#else +#include +#endif + +#include +#include