├── FFmpeg ├── libavcodec │ ├── reverse.c │ ├── file_open.c │ ├── log2_tab.c │ ├── riscv │ │ └── cpu_common.c │ ├── vulkan.c │ ├── float2half.c │ ├── half2float.c │ ├── tests │ │ ├── bitstream_be.c │ │ └── bitstream_le.c │ ├── sinewin.c │ ├── dct32_fixed.c │ ├── dct32_float.c │ ├── mpegaudiodsp_fixed.c │ ├── mpegaudiodsp_float.c │ ├── mpegaudiotabs.c │ ├── ac3_channel_layout_tab.c │ ├── vulkan.h │ ├── aacpsdsp_fixed.c │ ├── aacpsdsp_float.c │ ├── jfdctint.c │ ├── aacps_fixed.c │ ├── aacps_float.c │ ├── arm │ │ ├── vp9dsp_init_10bpp_arm.c │ │ ├── vp9dsp_init_12bpp_arm.c │ │ ├── vc1dsp.h │ │ ├── startcode.h │ │ ├── audiodsp_arm.h │ │ ├── blockdsp_arm.h │ │ ├── mpegvideo_arm.h │ │ ├── hevcdsp_arm.h │ │ ├── vp9dsp_init.h │ │ ├── videodsp_arm.h │ │ └── hpeldsp_arm.h │ ├── x86 │ │ ├── fdct.h │ │ ├── vp9dsp_init_10bpp.c │ │ ├── vp9dsp_init_12bpp.c │ │ └── vc1dsp.h │ ├── ppc │ │ └── fdct.h │ ├── to_upper4.c │ ├── aarch64 │ │ ├── fdct.h │ │ ├── vp9dsp_init_10bpp_aarch64.c │ │ ├── vp9dsp_init_12bpp_aarch64.c │ │ └── vp9dsp_init.h │ ├── dvdsub.h │ ├── wma_freqs.h │ ├── dct32.h │ ├── libvpx.h │ ├── h2645data.h │ ├── cbrt_tablegen.c │ ├── aacps_tablegen.c │ ├── cbrt_fixed_tablegen.c │ ├── rv10dec.h │ ├── aacps_fixed_tablegen.c │ ├── flvdec.h │ ├── eaidct.h │ ├── mpeg4audio_sample_rates.c │ ├── mpeg_er.h │ ├── wmv2data.h │ ├── libopus.h │ ├── dca_sample_rate_tab.c │ ├── vaapi_hevc.h │ ├── vp9dsp_8bpp.c │ ├── vp9dsp_10bpp.c │ ├── vp9dsp_12bpp.c │ ├── bsf │ │ └── null.c │ ├── lzf.h │ ├── rv10enc.h │ ├── cbrt_data_fixed.c │ ├── wma_common.h │ ├── cbrt_data.c │ ├── paf.h │ ├── dctref.h │ ├── htmlsubtitles.h │ ├── libaom.h │ ├── mpeg12codecs.h │ ├── wma_freqs.c │ ├── aandcttab.h │ ├── bmp.h │ ├── flacdata.h │ ├── g729.h │ ├── sgi.h │ ├── wmv2enc.h │ └── dcadct.h ├── libavdevice │ ├── reverse.c │ ├── file_open.c │ ├── riscv │ │ └── cpu_common.c │ ├── outdev_list.c │ ├── indev_list.c │ ├── ccfifo.c │ └── internal.h ├── libavfilter │ ├── file_open.c │ ├── log2_tab.c │ ├── riscv │ │ └── cpu_common.c │ ├── vulkan.c │ ├── fflcms2.c │ ├── vulkan.h │ └── fflcms2.h ├── libavformat │ ├── file_open.c │ ├── golomb_tab.c │ ├── log2_tab.c │ ├── rangecoder_dec.c │ ├── riscv │ │ └── cpu_common.c │ ├── mpegaudiotabs.c │ ├── jpegxl_parse.c │ ├── ac3_channel_layout_tab.c │ ├── ffjni.c │ ├── to_upper4.c │ ├── jpegtables.c │ ├── mpeg4audio_sample_rates.c │ ├── dca_sample_rate_tab.c │ ├── yuv4mpeg.h │ ├── lrc.h │ ├── asfcrypt.h │ ├── rawenc.h │ ├── rtpproto.h │ ├── ffmeta.h │ ├── protocol_list.c │ ├── ircam.h │ ├── ast.h │ ├── sox.h │ └── caf.h ├── libswresample │ ├── log2_tab.c │ └── version_major.h ├── libswscale │ ├── log2_tab.c │ ├── riscv │ │ └── cpu_common.c │ └── half2float.c ├── libavutil │ ├── avconfig.h │ ├── ffversion.h │ ├── tx_double.c │ ├── tx_float.c │ ├── tx_int32.c │ ├── macos_kperf.h │ ├── reverse.h │ ├── x86 │ │ └── pixelutils.h │ ├── version_major.h │ ├── mips │ │ └── cpu.h │ ├── objc.h │ ├── intmath.c │ ├── ppc │ │ └── cpu.h │ └── tests │ │ └── file.c ├── compat │ ├── float │ │ └── limits.h │ ├── djgpp │ │ └── math.h │ └── aix │ │ └── math.h └── libpostproc │ └── version_major.h ├── SDL ├── src │ ├── hidapi │ │ ├── testgui │ │ │ ├── TestGUI.app.in │ │ │ │ └── Contents │ │ │ │ │ ├── PkgInfo │ │ │ │ │ ├── Resources │ │ │ │ │ ├── Signal11.icns │ │ │ │ │ └── English.lproj │ │ │ │ │ │ └── InfoPlist.strings │ │ │ │ │ └── Info.plist │ │ │ ├── start.sh │ │ │ ├── mac_support.h │ │ │ ├── Makefile-manual │ │ │ ├── Makefile.freebsd │ │ │ ├── Makefile.linux │ │ │ ├── Makefile.mingw │ │ │ └── testgui.sln │ │ ├── bootstrap │ │ ├── libusb │ │ │ ├── hidusb.cpp │ │ │ ├── Makefile-manual │ │ │ ├── Makefile.am │ │ │ └── Makefile.freebsd │ │ ├── linux │ │ │ ├── hidraw.cpp │ │ │ └── Makefile.am │ │ ├── android │ │ │ ├── jni │ │ │ │ ├── Application.mk │ │ │ │ └── Android.mk │ │ │ └── project.properties │ │ ├── windows │ │ │ ├── Makefile-manual │ │ │ ├── Makefile.am │ │ │ ├── ddk_build │ │ │ │ ├── hidapi.def │ │ │ │ └── sources │ │ │ └── Makefile.mingw │ │ ├── ios │ │ │ ├── Makefile.am │ │ │ └── Makefile-manual │ │ ├── mac │ │ │ ├── Makefile.am │ │ │ └── Makefile-manual │ │ ├── LICENSE-orig.txt │ │ ├── pc │ │ │ ├── hidapi.pc.in │ │ │ ├── hidapi-libusb.pc.in │ │ │ └── hidapi-hidraw.pc.in │ │ ├── AUTHORS.txt │ │ ├── HACKING.txt │ │ ├── hidtest │ │ │ └── Makefile.am │ │ └── LICENSE.txt │ ├── render │ │ ├── vitagxm │ │ │ └── shader_src │ │ │ │ ├── color_f.cg │ │ │ │ ├── clear_f.cg │ │ │ │ ├── clear_v.cg │ │ │ │ ├── texture_f.cg │ │ │ │ ├── color_v.cg │ │ │ │ └── texture_v.cg │ │ ├── metal │ │ │ └── build-metal-shaders.sh │ │ └── direct3d12 │ │ │ └── SDL_render_d3d12_xbox.h │ ├── audio │ │ └── sun │ │ │ └── SDL_sunaudio.c │ ├── core │ │ ├── os2 │ │ │ ├── geniconv │ │ │ │ ├── test.c │ │ │ │ ├── iconv.h │ │ │ │ └── makefile │ │ │ └── iconv2.lbc │ │ ├── openbsd │ │ │ └── SDL_wscons.h │ │ └── gdk │ │ │ └── SDL_gdk.h │ ├── events │ │ └── default_cursor.h │ ├── haptic │ │ └── android │ │ │ └── SDL_syshaptic_c.h │ ├── main │ │ └── uikit │ │ │ └── SDL_uikit_main.c │ ├── video │ │ ├── khronos │ │ │ └── GLES2 │ │ │ │ └── gl2platform.h │ │ ├── psp │ │ │ ├── SDL_pspmouse_c.h │ │ │ └── SDL_pspevents_c.h │ │ ├── nacl │ │ │ └── SDL_naclglue.c │ │ ├── directfb │ │ │ └── SDL_DirectFB_render.h │ │ ├── pandora │ │ │ └── SDL_pandora_events.h │ │ ├── offscreen │ │ │ └── SDL_offscreenevents_c.h │ │ └── ngage │ │ │ └── SDL_ngageevents_c.h │ ├── libm │ │ ├── s_fabs.c │ │ └── s_copysign.c │ ├── sensor │ │ ├── dummy │ │ │ └── SDL_dummysensor.h │ │ └── windows │ │ │ └── SDL_windowssensor.h │ ├── thread │ │ ├── ps2 │ │ │ └── SDL_systhread_c.h │ │ ├── psp │ │ │ ├── SDL_sysmutex_c.h │ │ │ └── SDL_systhread_c.h │ │ ├── generic │ │ │ └── SDL_sysmutex_c.h │ │ ├── vita │ │ │ ├── SDL_sysmutex_c.h │ │ │ └── SDL_systhread_c.h │ │ ├── ngage │ │ │ └── SDL_systhread_c.h │ │ ├── os2 │ │ │ └── SDL_systhread_c.h │ │ └── pthread │ │ │ └── SDL_systhread_c.h │ ├── joystick │ │ └── check_8bitdo.sh │ └── misc │ │ └── dummy │ │ └── SDL_sysurl.c ├── Xcode │ ├── SDL │ │ ├── pkg-support │ │ │ ├── sdl_logo.pdf │ │ │ ├── resources │ │ │ │ ├── SDL_DS_Store │ │ │ │ └── License.txt │ │ │ └── SDL.info │ │ ├── SDL.xcodeproj │ │ │ └── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── SDL2 │ │ │ └── Info.plist │ │ └── Info-Framework.plist │ └── SDLTest │ │ ├── TestDropFile-Info.plist │ │ └── config.xcconfig └── include │ ├── SDL_revision.h │ ├── SDL_revision.h.cmake │ ├── SDL_opengles2_gl2platform.h │ ├── SDL_copying.h │ └── SDL_types.h ├── snapshot ├── add.png ├── delete.png ├── target.png ├── arguments.png ├── build-1.png ├── build-2.png ├── replace.png └── schemes.png ├── FFmpeg.xcodeproj └── project.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ └── IDEWorkspaceChecks.plist ├── .gitignore ├── Build └── build.pch └── LICENSE /FFmpeg/libavcodec/reverse.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/reverse.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/reverse.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/reverse.c" 2 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/TestGUI.app.in/Contents/PkgInfo: -------------------------------------------------------------------------------- 1 | APPL???? -------------------------------------------------------------------------------- /FFmpeg/libavcodec/file_open.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/file_open.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/log2_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/log2_tab.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/file_open.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/file_open.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/file_open.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/file_open.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/log2_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/log2_tab.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/file_open.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/file_open.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/golomb_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavcodec/golomb.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/log2_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/log2_tab.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libswresample/log2_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/log2_tab.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libswscale/log2_tab.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/log2_tab.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/rangecoder_dec.c: -------------------------------------------------------------------------------- 1 | #include "libavcodec/rangecoder.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/riscv/cpu_common.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/riscv/cpu_common.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/riscv/cpu_common.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/riscv/cpu_common.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/riscv/cpu_common.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/riscv/cpu_common.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/riscv/cpu_common.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/riscv/cpu_common.c" 2 | -------------------------------------------------------------------------------- /FFmpeg/libswscale/riscv/cpu_common.c: -------------------------------------------------------------------------------- 1 | #include "libavutil/riscv/cpu_common.c" 2 | -------------------------------------------------------------------------------- /SDL/src/hidapi/bootstrap: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | autoreconf --install --verbose --force 3 | -------------------------------------------------------------------------------- /SDL/src/hidapi/libusb/hidusb.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define NAMESPACE HIDUSB 3 | #include "hid.c" 4 | -------------------------------------------------------------------------------- /SDL/src/hidapi/linux/hidraw.cpp: -------------------------------------------------------------------------------- 1 | 2 | #define NAMESPACE HIDRAW 3 | #include "hid.c" 4 | -------------------------------------------------------------------------------- /snapshot/add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/add.png -------------------------------------------------------------------------------- /SDL/src/hidapi/android/jni/Application.mk: -------------------------------------------------------------------------------- 1 | APP_STL := gnustl_static 2 | APP_ABI := armeabi-v7a 3 | -------------------------------------------------------------------------------- /snapshot/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/delete.png -------------------------------------------------------------------------------- /snapshot/target.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/target.png -------------------------------------------------------------------------------- /snapshot/arguments.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/arguments.png -------------------------------------------------------------------------------- /snapshot/build-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/build-1.png -------------------------------------------------------------------------------- /snapshot/build-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/build-2.png -------------------------------------------------------------------------------- /snapshot/replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/replace.png -------------------------------------------------------------------------------- /snapshot/schemes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/snapshot/schemes.png -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/color_f.cg: -------------------------------------------------------------------------------- 1 | float4 main(float4 vColor : COLOR) 2 | { 3 | return vColor; 4 | } 5 | -------------------------------------------------------------------------------- /SDL/src/audio/sun/SDL_sunaudio.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/src/audio/sun/SDL_sunaudio.c -------------------------------------------------------------------------------- /SDL/src/core/os2/geniconv/test.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/src/core/os2/geniconv/test.c -------------------------------------------------------------------------------- /SDL/src/events/default_cursor.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/src/events/default_cursor.h -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | xterm -e /Users/alan/work/hidapi/testgui/TestGUI.app/Contents/MacOS/tg 3 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/pkg-support/sdl_logo.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/Xcode/SDL/pkg-support/sdl_logo.pdf -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/clear_f.cg: -------------------------------------------------------------------------------- 1 | float4 main( uniform float4 uClearColor) : COLOR 2 | { 3 | return uClearColor; 4 | } 5 | -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/clear_v.cg: -------------------------------------------------------------------------------- 1 | float4 main(float2 aPosition) : POSITION 2 | { 3 | return float4(aPosition, 1.f, 1.f); 4 | } 5 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/pkg-support/resources/SDL_DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/Xcode/SDL/pkg-support/resources/SDL_DS_Store -------------------------------------------------------------------------------- /FFmpeg/libavdevice/outdev_list.c: -------------------------------------------------------------------------------- 1 | static const FFOutputFormat * const outdev_list[] = { 2 | &ff_audiotoolbox_muxer, 3 | &ff_sdl2_muxer, 4 | NULL }; 5 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/indev_list.c: -------------------------------------------------------------------------------- 1 | static const FFInputFormat * const indev_list[] = { 2 | &ff_avfoundation_demuxer, 3 | &ff_lavfi_demuxer, 4 | NULL }; 5 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/SDL.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /SDL/include/SDL_revision.h: -------------------------------------------------------------------------------- 1 | #ifdef SDL_VENDOR_INFO 2 | #define SDL_REVISION SDL_VENDOR_INFO 3 | #else 4 | #define SDL_REVISION "" 5 | #endif 6 | #define SDL_REVISION_NUMBER 0 7 | -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/texture_f.cg: -------------------------------------------------------------------------------- 1 | float4 main(float2 vTexcoord : TEXCOORD0, float4 vColor : COLOR, uniform sampler2D tex) 2 | { 3 | return tex2D(tex, vTexcoord) * vColor; 4 | } 5 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/Signal11.icns -------------------------------------------------------------------------------- /SDL/src/core/os2/iconv2.lbc: -------------------------------------------------------------------------------- 1 | # OpenWatcom exports file for libiconv 2 | ++'libiconv'.'ICONV2'..'_libiconv' 3 | ++'libiconv_close'.'ICONV2'..'_libiconv_close' 4 | ++'libiconv_open'.'ICONV2'..'_libiconv_open' 5 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/avconfig.h: -------------------------------------------------------------------------------- 1 | /* Generated by ffmpeg configure */ 2 | #ifndef AVUTIL_AVCONFIG_H 3 | #define AVUTIL_AVCONFIG_H 4 | #define AV_HAVE_BIGENDIAN 0 5 | #define AV_HAVE_FAST_UNALIGNED 0 6 | #endif /* AVUTIL_AVCONFIG_H */ 7 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/ffversion.h: -------------------------------------------------------------------------------- 1 | /* Automatically generated by version.sh, do not manually edit! */ 2 | #ifndef AVUTIL_FFVERSION_H 3 | #define AVUTIL_FFVERSION_H 4 | #define FFMPEG_VERSION "n7.1" 5 | #endif /* AVUTIL_FFVERSION_H */ 6 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/libobjc/FFmpeg-in-Xcode/HEAD/SDL/src/hidapi/testgui/TestGUI.app.in/Contents/Resources/English.lproj/InfoPlist.strings -------------------------------------------------------------------------------- /FFmpeg.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /SDL/include/SDL_revision.h.cmake: -------------------------------------------------------------------------------- 1 | #cmakedefine SDL_VENDOR_INFO "@SDL_VENDOR_INFO@" 2 | #define SDL_REVISION_NUMBER 0 3 | 4 | #ifdef SDL_VENDOR_INFO 5 | #define SDL_REVISION "@SDL_REVISION@ (" SDL_VENDOR_INFO ")" 6 | #else 7 | #define SDL_REVISION "@SDL_REVISION@" 8 | #endif 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.pbxuser 2 | !default.pbxuser 3 | *.mode1v3 4 | !default.mode1v3 5 | *.mode2v3 6 | !default.mode2v3 7 | *.perspectivev3 8 | !default.perspectivev3 9 | xcuserdata 10 | *.xccheckout 11 | *.moved-aside 12 | DerivedData 13 | *.hmap 14 | *.ipa 15 | *.xcuserstate 16 | .DS_Store -------------------------------------------------------------------------------- /SDL/src/hidapi/windows/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifneq (,$(findstring MINGW,$(OS))) 6 | FILE=Makefile.mingw 7 | endif 8 | 9 | ifeq ($(FILE), ) 10 | all: 11 | $(error Your platform ${OS} is not supported at this time.) 12 | endif 13 | 14 | include $(FILE) 15 | -------------------------------------------------------------------------------- /SDL/src/hidapi/ios/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.m 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | 6 | hdrdir = $(includedir)/hidapi 7 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 8 | 9 | EXTRA_DIST = Makefile-manual 10 | -------------------------------------------------------------------------------- /SDL/src/hidapi/mac/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | 6 | hdrdir = $(includedir)/hidapi 7 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 8 | 9 | EXTRA_DIST = Makefile-manual 10 | -------------------------------------------------------------------------------- /SDL/src/haptic/android/SDL_syshaptic_c.h: -------------------------------------------------------------------------------- 1 | #include "SDL_config.h" 2 | 3 | #ifdef SDL_HAPTIC_ANDROID 4 | 5 | 6 | extern int Android_AddHaptic(int device_id, const char *name); 7 | extern int Android_RemoveHaptic(int device_id); 8 | 9 | 10 | #endif /* SDL_HAPTIC_ANDROID */ 11 | 12 | /* vi: set ts=4 sw=4 expandtab: */ 13 | -------------------------------------------------------------------------------- /SDL/src/hidapi/LICENSE-orig.txt: -------------------------------------------------------------------------------- 1 | HIDAPI - Multi-Platform library for 2 | communication with HID devices. 3 | 4 | Copyright 2009, Alan Ott, Signal 11 Software. 5 | All Rights Reserved. 6 | 7 | This software may be used by anyone for any reason so 8 | long as the copyright notice in the source files 9 | remains intact. 10 | -------------------------------------------------------------------------------- /Build/build.pch: -------------------------------------------------------------------------------- 1 | // 2 | // config.pch 3 | // libavutil 4 | // 5 | // Created by Single on 2018/10/11. 6 | // Copyright © 2018 Single. All rights reserved. 7 | // 8 | 9 | #ifndef config_pch 10 | #define config_pch 11 | 12 | #include "libavutil/internal.h" 13 | #include "libavutil/intmath.h" 14 | 15 | #endif /* config_pch */ 16 | -------------------------------------------------------------------------------- /FFmpeg.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/SDL.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /SDL/src/hidapi/pc/hidapi.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /SDL/src/hidapi/libusb/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Linux) 6 | FILE=Makefile.linux 7 | endif 8 | 9 | ifeq ($(OS), FreeBSD) 10 | FILE=Makefile.freebsd 11 | endif 12 | 13 | ifeq ($(FILE), ) 14 | all: 15 | $(error Your platform ${OS} is not supported by hidapi/libusb at this time.) 16 | endif 17 | 18 | include $(FILE) 19 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/mac_support.h: -------------------------------------------------------------------------------- 1 | /******************************* 2 | Mac support for HID Test GUI 3 | 4 | Alan Ott 5 | Signal 11 Software 6 | 7 | *******************************/ 8 | 9 | #ifndef MAC_SUPPORT_H__ 10 | #define MAC_SUPPORT_H__ 11 | 12 | extern "C" { 13 | void init_apple_message_system(); 14 | void check_apple_events(); 15 | } 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/color_v.cg: -------------------------------------------------------------------------------- 1 | void main( 2 | float2 aPosition, 3 | float4 aColor, 4 | uniform float4x4 wvp, 5 | out float4 vPosition : POSITION, 6 | out float4 vColor : COLOR, 7 | out float pSize : PSIZE 8 | ) 9 | { 10 | vPosition = mul(float4(aPosition, 1.f, 0.5f), wvp); 11 | vColor = aColor; 12 | pSize = 1.f; 13 | } 14 | -------------------------------------------------------------------------------- /SDL/src/hidapi/android/jni/Android.mk: -------------------------------------------------------------------------------- 1 | LOCAL_PATH:= $(call my-dir) 2 | 3 | HIDAPI_ROOT_REL:= ../.. 4 | HIDAPI_ROOT_ABS:= $(LOCAL_PATH)/../.. 5 | 6 | include $(CLEAR_VARS) 7 | 8 | LOCAL_CPPFLAGS += -std=c++11 9 | 10 | LOCAL_SRC_FILES := \ 11 | $(HIDAPI_ROOT_REL)/android/hid.cpp 12 | 13 | LOCAL_MODULE := libhidapi 14 | LOCAL_LDLIBS := -llog 15 | 16 | include $(BUILD_SHARED_LIBRARY) 17 | -------------------------------------------------------------------------------- /SDL/src/hidapi/pc/hidapi-libusb.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-libusb 7 | Description: C Library for USB HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the libusb implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-libusb 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/pkg-support/SDL.info: -------------------------------------------------------------------------------- 1 | Title SDL 2.28.5 2 | Version 1 3 | Description SDL Library for Mac OS X (http://www.libsdl.org) 4 | DefaultLocation /Library/Frameworks 5 | Diskname (null) 6 | DeleteWarning 7 | NeedsAuthorization NO 8 | DisableStop NO 9 | UseUserMask NO 10 | Application NO 11 | Relocatable YES 12 | Required NO 13 | InstallOnly NO 14 | RequiresReboot NO 15 | InstallFat NO 16 | -------------------------------------------------------------------------------- /SDL/src/hidapi/linux/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi-hidraw.la 2 | libhidapi_hidraw_la_SOURCES = hid.c 3 | libhidapi_hidraw_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ $(CFLAGS_HIDRAW) 5 | libhidapi_hidraw_la_LIBADD = $(LIBS_HIDRAW) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = Makefile-manual 11 | -------------------------------------------------------------------------------- /SDL/src/hidapi/pc/hidapi-hidraw.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: hidapi-hidraw 7 | Description: C Library for USB/Bluetooth HID device access from Linux, Mac OS X, FreeBSD, and Windows. This is the hidraw implementation. 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lhidapi-hidraw 10 | Cflags: -I${includedir}/hidapi 11 | -------------------------------------------------------------------------------- /SDL/src/render/vitagxm/shader_src/texture_v.cg: -------------------------------------------------------------------------------- 1 | void main( 2 | float2 aPosition, 3 | float2 aTexcoord, 4 | float4 aColor, 5 | uniform float4x4 wvp, 6 | out float4 vPosition : POSITION, 7 | out float4 vColor : COLOR, 8 | out float2 vTexcoord : TEXCOORD0 9 | ) 10 | { 11 | vPosition = mul(float4(aPosition, 1.f, 0.5f), wvp); 12 | vTexcoord = aTexcoord; 13 | vColor = aColor; 14 | } 15 | -------------------------------------------------------------------------------- /SDL/src/hidapi/AUTHORS.txt: -------------------------------------------------------------------------------- 1 | 2 | HIDAPI Authors: 3 | 4 | Alan Ott : 5 | Original Author and Maintainer 6 | Linux, Windows, and Mac implementations 7 | 8 | Ludovic Rousseau : 9 | Formatting for Doxygen documentation 10 | Bug fixes 11 | Correctness fixes 12 | 13 | 14 | For a comprehensive list of contributions, see the commit list at github: 15 | https://github.com/libusb/hidapi/commits/master 16 | 17 | -------------------------------------------------------------------------------- /SDL/src/hidapi/HACKING.txt: -------------------------------------------------------------------------------- 1 | This file is mostly for the maintainer. 2 | 3 | 1. Build hidapi.dll 4 | 2. Build hidtest.exe in DEBUG and RELEASE 5 | 3. Commit all 6 | 7 | 4. Run the Following 8 | export VERSION=0.1.0 9 | export TAG_NAME=hidapi-$VERSION 10 | git tag $TAG_NAME 11 | git archive --format zip --prefix $TAG_NAME/ $TAG_NAME >../$TAG_NAME.zip 12 | 5. Test the zip file. 13 | 6. Run the following: 14 | git push origin $TAG_NAME 15 | 16 | -------------------------------------------------------------------------------- /SDL/src/hidapi/windows/Makefile.am: -------------------------------------------------------------------------------- 1 | lib_LTLIBRARIES = libhidapi.la 2 | libhidapi_la_SOURCES = hid.c 3 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 4 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 5 | libhidapi_la_LIBADD = $(LIBS) 6 | 7 | hdrdir = $(includedir)/hidapi 8 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 9 | 10 | EXTRA_DIST = \ 11 | ddk_build \ 12 | hidapi.vcproj \ 13 | hidtest.vcproj \ 14 | Makefile-manual \ 15 | Makefile.mingw \ 16 | hidapi.sln 17 | -------------------------------------------------------------------------------- /SDL/src/hidapi/windows/ddk_build/hidapi.def: -------------------------------------------------------------------------------- 1 | LIBRARY hidapi 2 | EXPORTS 3 | hid_open @1 4 | hid_write @2 5 | hid_read @3 6 | hid_close @4 7 | hid_get_product_string @5 8 | hid_get_manufacturer_string @6 9 | hid_get_serial_number_string @7 10 | hid_get_indexed_string @8 11 | hid_error @9 12 | hid_set_nonblocking @10 13 | hid_enumerate @11 14 | hid_open_path @12 15 | hid_send_feature_report @13 16 | hid_get_feature_report @14 17 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/Makefile-manual: -------------------------------------------------------------------------------- 1 | 2 | 3 | OS=$(shell uname) 4 | 5 | ifeq ($(OS), Darwin) 6 | FILE=Makefile.mac 7 | endif 8 | 9 | ifneq (,$(findstring MINGW,$(OS))) 10 | FILE=Makefile.mingw 11 | endif 12 | 13 | ifeq ($(OS), Linux) 14 | FILE=Makefile.linux 15 | endif 16 | 17 | ifeq ($(OS), FreeBSD) 18 | FILE=Makefile.freebsd 19 | endif 20 | 21 | ifeq ($(FILE), ) 22 | all: 23 | $(error Your platform ${OS} is not supported at this time.) 24 | endif 25 | 26 | include $(FILE) 27 | -------------------------------------------------------------------------------- /SDL/src/hidapi/windows/ddk_build/sources: -------------------------------------------------------------------------------- 1 | TARGETNAME=hidapi 2 | TARGETTYPE=DYNLINK 3 | UMTYPE=console 4 | UMENTRY=main 5 | 6 | MSC_WARNING_LEVEL=/W3 /WX 7 | 8 | TARGETLIBS=$(SDK_LIB_PATH)\hid.lib \ 9 | $(SDK_LIB_PATH)\setupapi.lib \ 10 | $(SDK_LIB_PATH)\kernel32.lib \ 11 | $(SDK_LIB_PATH)\comdlg32.lib 12 | 13 | USE_MSVCRT=1 14 | 15 | INCLUDES= ..\..\hidapi 16 | SOURCES= ..\hid.c \ 17 | 18 | 19 | TARGET_DESTINATION=retail 20 | 21 | MUI=0 22 | MUI_COMMENT="HID Interface DLL" 23 | 24 | -------------------------------------------------------------------------------- /SDL/src/core/os2/geniconv/iconv.h: -------------------------------------------------------------------------------- 1 | #ifndef ICONV_H_ /* minimal iconv.h header based on public knowledge */ 2 | #define ICONV_H_ 3 | 4 | #include /* size_t */ 5 | #include 6 | 7 | typedef void *iconv_t; 8 | 9 | #ifdef __cplusplus 10 | extern "C" { 11 | #endif 12 | 13 | extern iconv_t iconv_open(const char *, const char *); 14 | extern size_t iconv(iconv_t, char **, size_t *, char **, size_t *); 15 | extern int iconv_close(iconv_t); 16 | 17 | #ifdef __cplusplus 18 | } 19 | #endif 20 | 21 | #endif /* ICONV_H_ */ 22 | -------------------------------------------------------------------------------- /SDL/src/hidapi/hidtest/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi/ 2 | 3 | ## Linux 4 | if OS_LINUX 5 | noinst_PROGRAMS = hidtest-libusb hidtest-hidraw 6 | 7 | hidtest_hidraw_SOURCES = hidtest.cpp 8 | hidtest_hidraw_LDADD = $(top_builddir)/linux/libhidapi-hidraw.la 9 | 10 | hidtest_libusb_SOURCES = hidtest.cpp 11 | hidtest_libusb_LDADD = $(top_builddir)/libusb/libhidapi-libusb.la 12 | else 13 | 14 | # Other OS's 15 | noinst_PROGRAMS = hidtest 16 | 17 | hidtest_SOURCES = hidtest.cpp 18 | hidtest_LDADD = $(top_builddir)/$(backend)/libhidapi.la 19 | 20 | endif 21 | -------------------------------------------------------------------------------- /SDL/src/main/uikit/SDL_uikit_main.c: -------------------------------------------------------------------------------- 1 | /* 2 | SDL_uikit_main.c, placed in the public domain by Sam Lantinga 3/18/2019 3 | */ 4 | 5 | /* Include the SDL main definition header */ 6 | #include "SDL_main.h" 7 | 8 | #if defined(__IPHONEOS__) || defined(__TVOS__) 9 | 10 | #ifndef SDL_MAIN_HANDLED 11 | #ifdef main 12 | #undef main 13 | #endif 14 | 15 | int main(int argc, char *argv[]) 16 | { 17 | return SDL_UIKitRunApp(argc, argv, SDL_main); 18 | } 19 | #endif /* !SDL_MAIN_HANDLED */ 20 | 21 | #endif /* __IPHONEOS__ || __TVOS__ */ 22 | 23 | /* vi: set ts=4 sw=4 expandtab: */ 24 | -------------------------------------------------------------------------------- /SDL/src/hidapi/LICENSE.txt: -------------------------------------------------------------------------------- 1 | HIDAPI can be used under one of three licenses. 2 | 3 | 1. The GNU General Public License, version 3.0, in LICENSE-gpl3.txt 4 | 2. A BSD-Style License, in LICENSE-bsd.txt. 5 | 3. The more liberal original HIDAPI license. LICENSE-orig.txt 6 | 7 | The license chosen is at the discretion of the user of HIDAPI. For example: 8 | 1. An author of GPL software would likely use HIDAPI under the terms of the 9 | GPL. 10 | 11 | 2. An author of commercial closed-source software would likely use HIDAPI 12 | under the terms of the BSD-style license or the original HIDAPI license. 13 | 14 | -------------------------------------------------------------------------------- /SDL/src/hidapi/android/project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-21 15 | -------------------------------------------------------------------------------- /SDL/src/hidapi/mac/Makefile-manual: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-07-03 7 | ########################################### 8 | 9 | all: hidtest 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS+=-I../hidapi -Wall -g -c 17 | LIBS=-framework IOKit -framework CoreFoundation 18 | 19 | 20 | hidtest: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o hidtest 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidtest $(CPPOBJS) 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /SDL/src/hidapi/ios/Makefile-manual: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-07-03 7 | ########################################### 8 | 9 | all: hidtest 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS+=-I../hidapi -Wall -g -c 17 | LIBS=-framework CoreBluetooth -framework CoreFoundation 18 | 19 | 20 | hidtest: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o hidtest 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidtest $(CPPOBJS) 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /SDL/include/SDL_opengles2_gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* 5 | ** Copyright 2017-2020 The Khronos Group Inc. 6 | ** SPDX-License-Identifier: Apache-2.0 7 | */ 8 | 9 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 10 | * 11 | * Adopters may modify khrplatform.h and this file to suit their platform. 12 | * Please contribute modifications back to Khronos as pull requests on the 13 | * public github repository: 14 | * https://github.com/KhronosGroup/OpenGL-Registry 15 | */ 16 | 17 | /*#include */ 18 | 19 | #ifndef GL_APICALL 20 | #define GL_APICALL KHRONOS_APICALL 21 | #endif 22 | 23 | #ifndef GL_APIENTRY 24 | #define GL_APIENTRY KHRONOS_APIENTRY 25 | #endif 26 | 27 | #endif /* __gl2platform_h_ */ 28 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/Makefile.freebsd: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: testgui 10 | 11 | CC=cc 12 | CXX=c++ 13 | COBJS=../libusb/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -I/usr/local/include `fox-config --cflags` -Wall -g -c 17 | LDFLAGS= -L/usr/local/lib 18 | LIBS= -lusb -liconv `fox-config --libs` -pthread 19 | 20 | 21 | testgui: $(OBJS) 22 | $(CXX) -Wall -g $^ $(LDFLAGS) -o $@ $(LIBS) 23 | 24 | $(COBJS): %.o: %.c 25 | $(CC) $(CFLAGS) $< -o $@ 26 | 27 | $(CPPOBJS): %.o: %.cpp 28 | $(CXX) $(CFLAGS) $< -o $@ 29 | 30 | clean: 31 | rm *.o testgui 32 | 33 | .PHONY: clean 34 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/Makefile.linux: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: testgui 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=../libusb/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -Wall -g -c `fox-config --cflags` `pkg-config libusb-1.0 --cflags` 17 | LIBS=-ludev -lrt -lpthread `fox-config --libs` `pkg-config libusb-1.0 --libs` 18 | 19 | 20 | testgui: $(OBJS) 21 | g++ -Wall -g $^ $(LIBS) -o testgui 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm *.o testgui 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /SDL/src/video/khronos/GLES2/gl2platform.h: -------------------------------------------------------------------------------- 1 | #ifndef __gl2platform_h_ 2 | #define __gl2platform_h_ 3 | 4 | /* 5 | ** Copyright 2017-2020 The Khronos Group Inc. 6 | ** SPDX-License-Identifier: Apache-2.0 7 | */ 8 | 9 | /* Platform-specific types and definitions for OpenGL ES 2.X gl2.h 10 | * 11 | * Adopters may modify khrplatform.h and this file to suit their platform. 12 | * Please contribute modifications back to Khronos as pull requests on the 13 | * public github repository: 14 | * https://github.com/KhronosGroup/OpenGL-Registry 15 | */ 16 | 17 | #include 18 | 19 | #ifndef GL_APICALL 20 | #define GL_APICALL KHRONOS_APICALL 21 | #endif 22 | 23 | #ifndef GL_APIENTRY 24 | #define GL_APIENTRY KHRONOS_APIENTRY 25 | #endif 26 | 27 | #endif /* __gl2platform_h_ */ 28 | -------------------------------------------------------------------------------- /SDL/src/hidapi/libusb/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS = -I$(top_srcdir)/hidapi $(CFLAGS_LIBUSB) 2 | 3 | if OS_LINUX 4 | lib_LTLIBRARIES = libhidapi-libusb.la 5 | libhidapi_libusb_la_SOURCES = hid.c 6 | libhidapi_libusb_la_LDFLAGS = $(LTLDFLAGS) $(PTHREAD_CFLAGS) 7 | libhidapi_libusb_la_LIBADD = $(LIBS_LIBUSB) 8 | endif 9 | 10 | if OS_FREEBSD 11 | lib_LTLIBRARIES = libhidapi.la 12 | libhidapi_la_SOURCES = hid.c 13 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 14 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 15 | endif 16 | 17 | if OS_KFREEBSD 18 | lib_LTLIBRARIES = libhidapi.la 19 | libhidapi_la_SOURCES = hid.c 20 | libhidapi_la_LDFLAGS = $(LTLDFLAGS) 21 | libhidapi_la_LIBADD = $(LIBS_LIBUSB) 22 | endif 23 | 24 | hdrdir = $(includedir)/hidapi 25 | hdr_HEADERS = $(top_srcdir)/hidapi/hidapi.h 26 | 27 | EXTRA_DIST = Makefile-manual 28 | -------------------------------------------------------------------------------- /SDL/src/hidapi/windows/Makefile.mingw: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidtest libhidapi.dll 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=hid.o 14 | CPPOBJS=../hidtest/hidtest.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -g -c 17 | LIBS= -lsetupapi 18 | DLL_LDFLAGS = -mwindows -lsetupapi 19 | 20 | hidtest: $(OBJS) 21 | g++ -g $^ $(LIBS) -o hidtest 22 | 23 | libhidapi.dll: $(OBJS) 24 | $(CC) -g $^ $(DLL_LDFLAGS) -o libhidapi.dll 25 | 26 | $(COBJS): %.o: %.c 27 | $(CC) $(CFLAGS) $< -o $@ 28 | 29 | $(CPPOBJS): %.o: %.cpp 30 | $(CXX) $(CFLAGS) $< -o $@ 31 | 32 | clean: 33 | rm *.o ../hidtest/*.o hidtest.exe 34 | 35 | .PHONY: clean 36 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/SDL2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | $(CURRENT_PROJECT_VERSION) 21 | 22 | 23 | -------------------------------------------------------------------------------- /SDL/src/libm/s_fabs.c: -------------------------------------------------------------------------------- 1 | /* 2 | * ==================================================== 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 | * 5 | * Developed at SunPro, a Sun Microsystems, Inc. business. 6 | * Permission to use, copy, modify, and distribute this 7 | * software is freely granted, provided that this notice 8 | * is preserved. 9 | * ==================================================== 10 | */ 11 | 12 | /* 13 | * fabs(x) returns the absolute value of x. 14 | */ 15 | 16 | /*#include */ 17 | /* Prevent math.h from defining a colliding inline */ 18 | #undef __USE_EXTERN_INLINES 19 | #include "math_libm.h" 20 | #include "math_private.h" 21 | 22 | double fabs(double x) 23 | { 24 | u_int32_t high; 25 | GET_HIGH_WORD(high,x); 26 | SET_HIGH_WORD(x,high&0x7fffffff); 27 | return x; 28 | } 29 | libm_hidden_def(fabs) 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vulkan.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/vulkan.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/vulkan.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/vulkan.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/fflcms2.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavcodec/fflcms2.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/float2half.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/float2half.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/half2float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/half2float.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libswscale/half2float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/half2float.c" 20 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/Makefile.mingw: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidapi-testgui 10 | 11 | CC=gcc 12 | CXX=g++ 13 | COBJS=../windows/hid.o 14 | CPPOBJS=test.o 15 | OBJS=$(COBJS) $(CPPOBJS) 16 | CFLAGS=-I../hidapi -I../../hidapi-externals/fox/include -g -c 17 | LIBS= -mwindows -lsetupapi -L../../hidapi-externals/fox/lib -Wl,-Bstatic -lFOX-1.6 -Wl,-Bdynamic -lgdi32 -Wl,--enable-auto-import -static-libgcc -static-libstdc++ -lkernel32 18 | 19 | 20 | hidapi-testgui: $(OBJS) 21 | g++ -g $^ $(LIBS) -o hidapi-testgui 22 | 23 | $(COBJS): %.o: %.c 24 | $(CC) $(CFLAGS) $< -o $@ 25 | 26 | $(CPPOBJS): %.o: %.cpp 27 | $(CXX) $(CFLAGS) $< -o $@ 28 | 29 | clean: 30 | rm -f *.o hidapi-testgui.exe 31 | 32 | .PHONY: clean 33 | -------------------------------------------------------------------------------- /SDL/src/libm/s_copysign.c: -------------------------------------------------------------------------------- 1 | /* 2 | * ==================================================== 3 | * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved. 4 | * 5 | * Developed at SunPro, a Sun Microsystems, Inc. business. 6 | * Permission to use, copy, modify, and distribute this 7 | * software is freely granted, provided that this notice 8 | * is preserved. 9 | * ==================================================== 10 | */ 11 | 12 | /* 13 | * copysign(double x, double y) 14 | * copysign(x,y) returns a value with the magnitude of x and 15 | * with the sign bit of y. 16 | */ 17 | 18 | #include "math_libm.h" 19 | #include "math_private.h" 20 | 21 | double copysign(double x, double y) 22 | { 23 | u_int32_t hx,hy; 24 | GET_HIGH_WORD(hx,x); 25 | GET_HIGH_WORD(hy,y); 26 | SET_HIGH_WORD(x,(hx&0x7fffffff)|(hy&0x80000000)); 27 | return x; 28 | } 29 | libm_hidden_def(copysign) 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/tests/bitstream_be.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "bitstream_template.c" 20 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/sinewin.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "sinewin.h" 20 | #include "sinewin_tablegen.h" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dct32_fixed.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define DCT32_FLOAT 0 20 | #include "dct32_template.c" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dct32_float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define DCT32_FLOAT 1 20 | #include "dct32_template.c" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/tests/bitstream_le.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define BITSTREAM_LE 20 | #include "bitstream_template.c" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpegaudiodsp_fixed.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define USE_FLOATS 0 20 | #include "mpegaudiodsp_template.c" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpegaudiodsp_float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define USE_FLOATS 1 20 | #include "mpegaudiodsp_template.c" 21 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/tx_double.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define TX_DOUBLE 20 | #include "tx_priv.h" 21 | #include "tx_template.c" 22 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/tx_float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define TX_FLOAT 20 | #include "tx_priv.h" 21 | #include "tx_template.c" 22 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/tx_int32.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define TX_INT32 20 | #include "tx_priv.h" 21 | #include "tx_template.c" 22 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpegaudiotabs.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG Audio common tables 3 | * copyright (c) 2002 Fabrice Bellard 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "mpegaudiotabs.h" 23 | -------------------------------------------------------------------------------- /FFmpeg/compat/float/limits.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Work around broken floating point limits on some systems. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #include_next 22 | #include 23 | -------------------------------------------------------------------------------- /SDL/src/render/metal/build-metal-shaders.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -x 4 | set -e 5 | cd `dirname "$0"` 6 | 7 | generate_shaders() 8 | { 9 | fileplatform=$1 10 | compileplatform=$2 11 | sdkplatform=$3 12 | minversion=$4 13 | xcrun -sdk $sdkplatform metal -c -std=$compileplatform-metal1.1 -m$sdkplatform-version-min=$minversion -Wall -O3 -o ./sdl.air ./SDL_shaders_metal.metal || exit $? 14 | xcrun -sdk $sdkplatform metal-ar rc sdl.metalar sdl.air || exit $? 15 | xcrun -sdk $sdkplatform metallib -o sdl.metallib sdl.metalar || exit $? 16 | xxd -i sdl.metallib | perl -w -p -e 's/\Aunsigned /const unsigned /;' >./SDL_shaders_metal_$fileplatform.h 17 | rm -f sdl.air sdl.metalar sdl.metallib 18 | } 19 | 20 | generate_shaders osx osx macosx 10.11 21 | generate_shaders ios ios iphoneos 8.0 22 | generate_shaders iphonesimulator ios iphonesimulator 8.0 23 | generate_shaders tvos ios appletvos 9.0 24 | generate_shaders tvsimulator ios appletvsimulator 9.0 25 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/mpegaudiotabs.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG Audio common tables 3 | * copyright (c) 2002 Fabrice Bellard 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "libavcodec/mpegaudiotabs.h" 23 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/TestGUI.app.in/Contents/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDisplayName 8 | 9 | CFBundleExecutable 10 | hidapi-testgui 11 | CFBundleIconFile 12 | Signal11.icns 13 | CFBundleIdentifier 14 | us.signal11.hidtestgui 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | testgui 19 | CFBundlePackageType 20 | APPL 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | CSResourcesFileMapped 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /SDL/src/hidapi/testgui/testgui.sln: -------------------------------------------------------------------------------- 1 | 2 | Microsoft Visual Studio Solution File, Format Version 10.00 3 | # Visual C++ Express 2008 4 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testgui", "testgui.vcproj", "{08769AC3-785A-4DDC-BFC7-1775414B7AB7}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|Win32 = Debug|Win32 9 | Release|Win32 = Release|Win32 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Debug|Win32.ActiveCfg = Debug|Win32 13 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Debug|Win32.Build.0 = Debug|Win32 14 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Release|Win32.ActiveCfg = Release|Win32 15 | {08769AC3-785A-4DDC-BFC7-1775414B7AB7}.Release|Win32.Build.0 = Release|Win32 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/ac3_channel_layout_tab.c: -------------------------------------------------------------------------------- 1 | /* 2 | * AC-3 channel layout table 3 | * copyright (c) 2001 Fabrice Bellard 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "ac3_channel_layout_tab.h" 23 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vulkan.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_VULKAN_H 20 | #define AVCODEC_VULKAN_H 21 | 22 | #include "libavutil/vulkan.h" 23 | 24 | #endif /* AVCODEC_VULKAN_H */ 25 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/vulkan.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVFILTER_VULKAN_H 20 | #define AVFILTER_VULKAN_H 21 | 22 | #include "libavutil/vulkan.h" 23 | 24 | #endif /* AVFILTER_VULKAN_H */ 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacpsdsp_fixed.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 Alex Converse 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define USE_FIXED 1 22 | 23 | #include "aacpsdsp_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacpsdsp_float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 Alex Converse 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define USE_FIXED 0 22 | 23 | #include "aacpsdsp_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavfilter/fflcms2.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVFILTER_FFLCMS2_H 20 | #define AVFILTER_FFLCMS2_H 21 | 22 | #include "libavcodec/fflcms2.h" 23 | 24 | #endif /* AVFILTER_FFLCMS2_H */ 25 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/jpegxl_parse.c: -------------------------------------------------------------------------------- 1 | /* 2 | * JPEG XL Header Parser Stub 3 | * Copyright (c) 2023 Leo Izen 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "libavcodec/jpegxl_parse.c" 23 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/ac3_channel_layout_tab.c: -------------------------------------------------------------------------------- 1 | /* 2 | * AC-3 channel layout table 3 | * copyright (c) 2001 Fabrice Bellard 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #include "libavcodec/ac3_channel_layout_tab.h" 23 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/ffjni.c: -------------------------------------------------------------------------------- 1 | /* 2 | * JNI utility functions - included stub 3 | * 4 | * Copyright (c) 2024 Leo Izen 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #include "libavcodec/ffjni.c" 24 | -------------------------------------------------------------------------------- /SDL/src/core/os2/geniconv/makefile: -------------------------------------------------------------------------------- 1 | # 2 | # Universal iconv implementation for OS/2. 3 | # 4 | # OpenWatcom makefile to build a library that uses kiconv.dll / iconv2.dll / 5 | # iconv.dll or OS/2 Uni*() API. 6 | # 7 | # Andrey Vasilkin, 2016. 8 | # 9 | 10 | LIBFILE = geniconv.lib 11 | 12 | all: $(LIBFILE) test.exe .symbolic 13 | 14 | CFLAGS = -I$(%WATCOM)/h/os2 -I$(%WATCOM)/h -I. -bt=os2 -q -d0 -w2 -DGENICONV_STANDALONE=1 15 | 16 | SRCS = geniconv.c os2cp.c os2iconv.c 17 | SRCS+= sys2utf8.c 18 | 19 | OBJS = $(SRCS:.c=.obj) 20 | 21 | LIBS = libuls.lib libconv.lib $(LIBFILE) 22 | 23 | test.exe: $(LIBFILE) test.obj 24 | wlink op quiet system os2v2 file test.obj lib {$(LIBS)} name $* 25 | 26 | $(LIBFILE): $(OBJS) 27 | @if exist $@ rm $@ 28 | @for %f in ($(OBJS)) do wlib -q -b $* +%f 29 | 30 | .c.obj: 31 | wcc386 $(CFLAGS) -fo=$^@ $< 32 | 33 | clean: .SYMBOLIC 34 | @if exist *.obj rm *.obj 35 | @if exist *.err rm *.err 36 | @if exist $(LIBFILE) rm $(LIBFILE) 37 | @if exist test.exe rm test.exe 38 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/Info-Framework.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleGetInfoString 10 | http://www.libsdl.org 11 | CFBundleIconFile 12 | 13 | CFBundleIdentifier 14 | $(PRODUCT_BUNDLE_IDENTIFIER) 15 | CFBundleInfoDictionaryVersion 16 | 6.0 17 | CFBundleName 18 | Simple DirectMedia Layer 19 | CFBundlePackageType 20 | FMWK 21 | CFBundleShortVersionString 22 | 2.28.5 23 | CFBundleSignature 24 | SDLX 25 | CFBundleVersion 26 | 2.28.5 27 | 28 | 29 | -------------------------------------------------------------------------------- /SDL/Xcode/SDL/pkg-support/resources/License.txt: -------------------------------------------------------------------------------- 1 | 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/jfdctint.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #define BIT_DEPTH 8 20 | #include "jfdctint_template.c" 21 | #undef BIT_DEPTH 22 | 23 | #define BIT_DEPTH 10 24 | #include "jfdctint_template.c" 25 | #undef BIT_DEPTH 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacps_fixed.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG-4 Parametric Stereo decoding functions 3 | * Copyright (c) 2010 Alex Converse 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #define USE_FIXED 1 23 | 24 | #include "aacps.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacps_float.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG-4 Parametric Stereo decoding functions 3 | * Copyright (c) 2010 Alex Converse 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #define USE_FIXED 0 23 | 24 | #include "aacps.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/vp9dsp_init_10bpp_arm.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define BPP 10 22 | #define INIT_FUNC ff_vp9dsp_init_10bpp_arm 23 | #include "vp9dsp_init_16bpp_arm_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/vp9dsp_init_12bpp_arm.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define BPP 12 22 | #define INIT_FUNC ff_vp9dsp_init_12bpp_arm 23 | #include "vp9dsp_init_16bpp_arm_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/x86/fdct.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_X86_FDCT_H 20 | #define AVCODEC_X86_FDCT_H 21 | 22 | #include 23 | 24 | void ff_fdct_sse2(int16_t *block); 25 | 26 | #endif /* AVCODEC_X86_FDCT_H */ 27 | -------------------------------------------------------------------------------- /SDL/include/SDL_copying.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/ppc/fdct.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_PPC_FDCT_H 20 | #define AVCODEC_PPC_FDCT_H 21 | 22 | #include 23 | 24 | void ff_fdct_altivec(int16_t *block); 25 | 26 | #endif /* AVCODEC_PPC_FDCT_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/to_upper4.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Converting FOURCCs to uppercase 3 | * Copyright (c) 2001 Fabrice Bellard 4 | * Copyright (c) 2002-2004 Michael Niedermayer 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #include "to_upper4.h" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aarch64/fdct.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_AARCH64_FDCT_H 20 | #define AVCODEC_AARCH64_FDCT_H 21 | 22 | #include 23 | 24 | void ff_fdct_neon(int16_t *block); 25 | 26 | #endif /* AVCODEC_AARCH64_FDCT_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aarch64/vp9dsp_init_10bpp_aarch64.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define BPP 10 22 | #define INIT_FUNC ff_vp9dsp_init_10bpp_aarch64 23 | #include "vp9dsp_init_16bpp_aarch64_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aarch64/vp9dsp_init_12bpp_aarch64.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #define BPP 12 22 | #define INIT_FUNC ff_vp9dsp_init_12bpp_aarch64 23 | #include "vp9dsp_init_16bpp_aarch64_template.c" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/macos_kperf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or modify 5 | * it under the terms of the GNU General Public License as published by 6 | * the Free Software Foundation; either version 2 of the License, or 7 | * (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 | * GNU General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU General Public License along 15 | * with FFmpeg; if not, write to the Free Software Foundation, Inc., 16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 17 | */ 18 | 19 | #ifndef AVUTIL_MACOS_KPERF_H 20 | #define AVUTIL_MACOS_KPERF_H 21 | 22 | #include 23 | 24 | void ff_kperf_init(void); 25 | uint64_t ff_kperf_cycles(void); 26 | 27 | #endif /* AVUTIL_MACOS_KPERF_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dvdsub.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_DVDSUB_H 20 | #define AVCODEC_DVDSUB_H 21 | 22 | #include 23 | 24 | void ff_dvdsub_parse_palette(uint32_t *palette, const char *p); 25 | 26 | #endif /* AVCODEC_DVDSUB_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/wma_freqs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_WMA_FREQS_H 20 | #define AVCODEC_WMA_FREQS_H 21 | 22 | #include 23 | 24 | extern const uint16_t ff_wma_critical_freqs[25]; 25 | 26 | #endif /* AVCODEC_WMA_FREQS_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/to_upper4.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Converting FOURCCs to uppercase 3 | * Copyright (c) 2001 Fabrice Bellard 4 | * Copyright (c) 2002-2004 Michael Niedermayer 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #include "libavcodec/to_upper4.h" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dct32.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_DCT32_H 20 | #define AVCODEC_DCT32_H 21 | 22 | void ff_dct32_float(float *dst, const float *src); 23 | void ff_dct32_fixed(int *dst, const int *src); 24 | 25 | #endif /* AVCODEC_DCT32_H */ 26 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/ccfifo.c: -------------------------------------------------------------------------------- 1 | /* 2 | * CEA-708 Closed Captioning FIFO 3 | * Copyright (c) 2023 LTN Global Communications 4 | * 5 | * Author: Devin Heitmueller 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #include "libavfilter/ccfifo.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/vc1dsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_VC1DSP_H 20 | #define AVCODEC_ARM_VC1DSP_H 21 | 22 | #include "libavcodec/vc1dsp.h" 23 | 24 | void ff_vc1dsp_init_neon(VC1DSPContext *dsp); 25 | 26 | #endif /* AVCODEC_ARM_VC1DSP_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/libvpx.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2013 Guillaume Martres 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_LIBVPX_H 22 | #define AVCODEC_LIBVPX_H 23 | 24 | #define MAX_VPX_THREADS 64 25 | 26 | #endif /* AVCODEC_LIBVPX_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/jpegtables.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MJPEG tables 3 | * Copyright (c) 2000, 2001 Fabrice Bellard 4 | * Copyright (c) 2003 Alex Beregszaszi 5 | * Copyright (c) 2003-2004 Michael Niedermayer 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #include "libavcodec/jpegtabs.h" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/h2645data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_H2645DATA_H 20 | #define AVCODEC_H2645DATA_H 21 | 22 | #include "libavutil/rational.h" 23 | 24 | extern const AVRational ff_h2645_pixel_aspect[17]; 25 | 26 | #endif /* AVCODEC_H2645DATA_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/cbrt_tablegen.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Generate a header file for hardcoded AAC cube-root table 3 | * 4 | * Copyright (c) 2010 Reimar Döffinger 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define USE_FIXED 0 24 | #include "cbrt_tablegen_template.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacps_tablegen.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Generate a header file for hardcoded Parametric Stereo tables 3 | * 4 | * Copyright (c) 2010 Alex Converse 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define USE_FIXED 0 24 | #include "aacps_tablegen_template.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/cbrt_fixed_tablegen.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Generate a header file for hardcoded AAC cube-root table 3 | * 4 | * Copyright (c) 2010 Reimar Döffinger 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define USE_FIXED 1 24 | #include "cbrt_tablegen_template.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/rv10dec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RV10/RV20 decoder 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_RV10DEC_H 22 | #define AVCODEC_RV10DEC_H 23 | 24 | #include "mpegvideo.h" 25 | 26 | int ff_rv_decode_dc(MpegEncContext *s, int n); 27 | 28 | #endif /* AVCODEC_RV10DEC_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aacps_fixed_tablegen.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Generate a header file for hardcoded Parametric Stereo tables 3 | * 4 | * Copyright (c) 2010 Alex Converse 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define USE_FIXED 1 24 | #include "aacps_tablegen_template.c" 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/flvdec.h: -------------------------------------------------------------------------------- 1 | /* 2 | * FLV decoder header. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_FLVDEC_H 22 | #define AVCODEC_FLVDEC_H 23 | 24 | #include "mpegvideo.h" 25 | 26 | int ff_flv_decode_picture_header(MpegEncContext *s); 27 | 28 | #endif /* AVCODEC_FLVDEC_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/startcode.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_STARTCODE_H 20 | #define AVCODEC_ARM_STARTCODE_H 21 | 22 | #include 23 | 24 | int ff_startcode_find_candidate_armv6(const uint8_t *buf, int size); 25 | 26 | #endif /* AVCODEC_ARM_STARTCODE_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/eaidct.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_EAIDCT_H 20 | #define AVCODEC_EAIDCT_H 21 | 22 | #include 23 | #include 24 | 25 | void ff_ea_idct_put_c(uint8_t *dest, ptrdiff_t linesize, int16_t *block); 26 | 27 | #endif /* AVCODEC_EAIDCT_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/x86/vp9dsp_init_10bpp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * VP9 SIMD optimizations 3 | * 4 | * Copyright (c) 2013 Ronald S. Bultje 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define BPC 10 24 | #define INIT_FUNC ff_vp9dsp_init_10bpp_x86 25 | #include "vp9dsp_init_16bpp_template.c" 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/x86/vp9dsp_init_12bpp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * VP9 SIMD optimizations 3 | * 4 | * Copyright (c) 2013 Ronald S. Bultje 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #define BPC 12 24 | #define INIT_FUNC ff_vp9dsp_init_12bpp_x86 25 | #include "vp9dsp_init_16bpp_template.c" 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/audiodsp_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_AUDIODSP_ARM_H 20 | #define AVCODEC_ARM_AUDIODSP_ARM_H 21 | 22 | #include "libavcodec/audiodsp.h" 23 | 24 | void ff_audiodsp_init_neon(AudioDSPContext *c); 25 | 26 | #endif /* AVCODEC_ARM_AUDIODSP_ARM_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/blockdsp_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_BLOCKDSP_ARM_H 20 | #define AVCODEC_ARM_BLOCKDSP_ARM_H 21 | 22 | #include "libavcodec/blockdsp.h" 23 | 24 | void ff_blockdsp_init_neon(BlockDSPContext *c); 25 | 26 | #endif /* AVCODEC_ARM_BLOCKDSP_ARM_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpeg4audio_sample_rates.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG-4 Audio sample rates 3 | * Copyright (c) 2008 Baptiste Coudurier 4 | * Copyright (c) 2009 Alex Converse 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #include "mpeg4audio_sample_rates.h" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpeg_er.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_MPEG_ER_H 20 | #define AVCODEC_MPEG_ER_H 21 | 22 | #include "mpegvideo.h" 23 | 24 | int ff_mpeg_er_init(MpegEncContext *s); 25 | void ff_mpeg_er_frame_start(MpegEncContext *s); 26 | 27 | #endif /* AVCODEC_MPEG_ER_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/wmv2data.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_WMV2DATA_H 20 | #define AVCODEC_WMV2DATA_H 21 | 22 | #include 23 | 24 | extern const uint8_t ff_wmv2_scantableA[64]; 25 | extern const uint8_t ff_wmv2_scantableB[64]; 26 | 27 | #endif /* AVCODEC_WMV2DATA_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/libopus.h: -------------------------------------------------------------------------------- 1 | /* 2 | * libopus encoder/decoder common code 3 | * Copyright (c) 2012 Nicolas George 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_LIBOPUS_H 23 | #define AVCODEC_LIBOPUS_H 24 | 25 | int ff_opus_error_to_averror(int err); 26 | 27 | #endif /* AVCODEC_LIBOPUS_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/mpegvideo_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_MPEGVIDEO_ARM_H 20 | #define AVCODEC_ARM_MPEGVIDEO_ARM_H 21 | 22 | #include "libavcodec/mpegvideo.h" 23 | 24 | void ff_mpv_common_init_armv5te(MpegEncContext *s); 25 | 26 | #endif /* AVCODEC_ARM_MPEGVIDEO_ARM_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dca_sample_rate_tab.c: -------------------------------------------------------------------------------- 1 | /* 2 | * DCA sample rates 3 | * Copyright (C) 2004 Gildas Bazin 4 | * Copyright (C) 2004 Benjamin Zores 5 | * Copyright (C) 2006 Benjamin Larsson 6 | * Copyright (C) 2007 Konstantin Shishkov 7 | * 8 | * This file is part of FFmpeg. 9 | * 10 | * FFmpeg is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | * 15 | * FFmpeg is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with FFmpeg; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | #include "dca_sample_rate_tab.h" 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vaapi_hevc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_VAAPI_HEVC_H 20 | #define AVCODEC_VAAPI_HEVC_H 21 | 22 | #include 23 | #include "avcodec.h" 24 | 25 | VAProfile ff_vaapi_parse_hevc_rext_scc_profile(AVCodecContext *avctx); 26 | 27 | #endif /* AVCODEC_VAAPI_HEVC_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/mpeg4audio_sample_rates.c: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG-4 Audio sample rates 3 | * Copyright (c) 2008 Baptiste Coudurier 4 | * Copyright (c) 2009 Alex Converse 5 | * 6 | * This file is part of FFmpeg. 7 | * 8 | * FFmpeg is free software; you can redistribute it and/or 9 | * modify it under the terms of the GNU Lesser General Public 10 | * License as published by the Free Software Foundation; either 11 | * version 2.1 of the License, or (at your option) any later version. 12 | * 13 | * FFmpeg is distributed in the hope that it will be useful, 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 16 | * Lesser General Public License for more details. 17 | * 18 | * You should have received a copy of the GNU Lesser General Public 19 | * License along with FFmpeg; if not, write to the Free Software 20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 21 | */ 22 | 23 | #include "libavcodec/mpeg4audio_sample_rates.h" 24 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/hevcdsp_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVCODEC_ARM_HEVCDSP_ARM_H 20 | #define AVCODEC_ARM_HEVCDSP_ARM_H 21 | 22 | #include "libavcodec/hevc/dsp.h" 23 | 24 | void ff_hevc_dsp_init_neon(HEVCDSPContext *c, const int bit_depth); 25 | 26 | #endif /* AVCODEC_ARM_HEVCDSP_ARM_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vp9dsp_8bpp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * VP9 compatible video decoder 3 | * 4 | * Copyright (C) 2013 Ronald S. Bultje 5 | * Copyright (C) 2013 Clément Bœsch 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #define BIT_DEPTH 8 25 | #define dctint int 26 | #include "vp9dsp_template.c" 27 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/reverse.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002-2004 Michael Niedermayer 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVUTIL_REVERSE_H 22 | #define AVUTIL_REVERSE_H 23 | 24 | #include 25 | 26 | extern const uint8_t ff_reverse[256]; 27 | 28 | #endif /* AVUTIL_REVERSE_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/x86/pixelutils.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_X86_PIXELUTILS_H 20 | #define AVUTIL_X86_PIXELUTILS_H 21 | 22 | #include "libavutil/pixelutils.h" 23 | 24 | void ff_pixelutils_sad_init_x86(av_pixelutils_sad_fn *sad, int aligned); 25 | 26 | #endif /* AVUTIL_X86_PIXELUTILS_H */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vp9dsp_10bpp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * VP9 compatible video decoder 3 | * 4 | * Copyright (C) 2013 Ronald S. Bultje 5 | * Copyright (C) 2013 Clément Bœsch 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #define BIT_DEPTH 10 25 | #define dctint int64_t 26 | #include "vp9dsp_template.c" 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/vp9dsp_12bpp.c: -------------------------------------------------------------------------------- 1 | /* 2 | * VP9 compatible video decoder 3 | * 4 | * Copyright (C) 2013 Ronald S. Bultje 5 | * Copyright (C) 2013 Clément Bœsch 6 | * 7 | * This file is part of FFmpeg. 8 | * 9 | * FFmpeg is free software; you can redistribute it and/or 10 | * modify it under the terms of the GNU Lesser General Public 11 | * License as published by the Free Software Foundation; either 12 | * version 2.1 of the License, or (at your option) any later version. 13 | * 14 | * FFmpeg is distributed in the hope that it will be useful, 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 17 | * Lesser General Public License for more details. 18 | * 19 | * You should have received a copy of the GNU Lesser General Public 20 | * License along with FFmpeg; if not, write to the Free Software 21 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 22 | */ 23 | 24 | #define BIT_DEPTH 12 25 | #define dctint int64_t 26 | #include "vp9dsp_template.c" 27 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/dca_sample_rate_tab.c: -------------------------------------------------------------------------------- 1 | /* 2 | * DCA sample rates 3 | * Copyright (C) 2004 Gildas Bazin 4 | * Copyright (C) 2004 Benjamin Zores 5 | * Copyright (C) 2006 Benjamin Larsson 6 | * Copyright (C) 2007 Konstantin Shishkov 7 | * 8 | * This file is part of FFmpeg. 9 | * 10 | * FFmpeg is free software; you can redistribute it and/or 11 | * modify it under the terms of the GNU Lesser General Public 12 | * License as published by the Free Software Foundation; either 13 | * version 2.1 of the License, or (at your option) any later version. 14 | * 15 | * FFmpeg is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 18 | * Lesser General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU Lesser General Public 21 | * License along with FFmpeg; if not, write to the Free Software 22 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 23 | */ 24 | 25 | #include "libavcodec/dca_sample_rate_tab.h" 26 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/yuv4mpeg.h: -------------------------------------------------------------------------------- 1 | /* 2 | * YUV4MPEG common definitions 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVFORMAT_YUV4MPEG_H 22 | #define AVFORMAT_YUV4MPEG_H 23 | 24 | #define Y4M_MAGIC "YUV4MPEG2" 25 | #define Y4M_FRAME_MAGIC "FRAME" 26 | #define Y4M_FRAME_MAGIC_LEN 6 27 | 28 | #endif /* AVFORMAT_YUV4MPEG_H */ 29 | -------------------------------------------------------------------------------- /SDL/src/sensor/dummy/SDL_dummysensor.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "SDL_config.h" 22 | 23 | /* vi: set ts=4 sw=4 expandtab: */ 24 | -------------------------------------------------------------------------------- /SDL/src/thread/ps2/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include 23 | 24 | typedef int32_t SYS_ThreadHandle; 25 | -------------------------------------------------------------------------------- /SDL/src/thread/psp/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | /* vi: set ts=4 sw=4 expandtab: */ 23 | -------------------------------------------------------------------------------- /SDL/src/video/psp/SDL_pspmouse_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include "SDL_pspvideo.h" 23 | 24 | /* Functions to be exported */ 25 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/lrc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * LRC lyrics file format decoder 3 | * Copyright (c) 2014 StarBrilliant 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_LRC_H 23 | #define AVFORMAT_LRC_H 24 | 25 | #include "metadata.h" 26 | 27 | extern const AVMetadataConv ff_lrc_metadata_conv[]; 28 | 29 | #endif 30 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/version_major.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_VERSION_MAJOR_H 20 | #define AVUTIL_VERSION_MAJOR_H 21 | 22 | /* This file is intentionally empty; it's only kept to fulfill make 23 | * dependencies for ffbuild/libversion.sh. It is not installed. */ 24 | 25 | #endif /* AVUTIL_VERSION_MAJOR_H */ 26 | -------------------------------------------------------------------------------- /SDL/src/sensor/windows/SDL_windowssensor.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "SDL_config.h" 22 | 23 | /* vi: set ts=4 sw=4 expandtab: */ 24 | -------------------------------------------------------------------------------- /SDL/src/thread/generic/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | /* vi: set ts=4 sw=4 expandtab: */ 23 | -------------------------------------------------------------------------------- /FFmpeg/compat/djgpp/math.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | double fmin(double, double); 20 | double fmax(double, double); 21 | float fminf(float, float); 22 | float fmaxf(float, float); 23 | long double fmodl(long double, long double); 24 | long double scalbnl(long double, int); 25 | long double copysignl(long double, long double); 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/bsf/null.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * Null bitstream filter -- pass the input through unchanged. 22 | */ 23 | 24 | #include "bsf_internal.h" 25 | 26 | const FFBitStreamFilter ff_null_bsf = { 27 | .p.name = "null", 28 | .filter = ff_bsf_get_packet_ref, 29 | }; 30 | -------------------------------------------------------------------------------- /SDL/src/joystick/check_8bitdo.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Check to make sure 8BitDo controller configurations are correct 4 | 5 | echo "Expected output:" 6 | cat <<__EOF__ 7 | "050000003512000020ab000000780f00,8BitDo SNES30 Gamepad,a:b20,b:b21,back:b30,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b26,rightshoulder:b27,start:b31,x:b23,y:b24,hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,", 8 | "050000003512000020ab000000780f00,8BitDo SNES30 Gamepad,a:b21,b:b20,back:b30,dpdown:+a1,dpleft:-a0,dpright:+a0,dpup:-a1,leftshoulder:b26,rightshoulder:b27,start:b31,x:b24,y:b23,hint:!SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,", 9 | 10 | __EOF__ 11 | 12 | echo "Actual output:" 13 | ${FGREP:-grep -F} 8BitDo SDL_gamecontrollerdb.h | ${FGREP:-grep -F} -v hint 14 | ${EGREP:-grep -E} "hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1" SDL_gamecontrollerdb.h | ${FGREP:-grep -F} -i 8bit | ${FGREP:-grep -F} -v x:b2,y:b3 | ${FGREP:-grep -F} -v x:b3,y:b4 15 | ${EGREP:-grep -E} "hint:.SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1" SDL_gamecontrollerdb.h | ${FGREP:-grep -F} -i 8bit | ${FGREP:-grep -F} -v x:b3,y:b2 | ${FGREP:-grep -F} -v x:b4,y:b3 16 | -------------------------------------------------------------------------------- /SDL/src/thread/psp/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include 23 | 24 | typedef SceUID SYS_ThreadHandle; 25 | -------------------------------------------------------------------------------- /SDL/src/thread/vita/SDL_sysmutex_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | /* vi: set ts=4 sw=4 expandtab: */ 24 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/mips/cpu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_MIPS_CPU_H 20 | #define AVUTIL_MIPS_CPU_H 21 | 22 | #include "libavutil/cpu.h" 23 | #include "libavutil/cpu_internal.h" 24 | 25 | #define have_mmi(flags) CPUEXT(flags, MMI) 26 | #define have_msa(flags) CPUEXT(flags, MSA) 27 | 28 | #endif /* AVUTIL_MIPS_CPU_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libpostproc/version_major.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef POSTPROC_VERSION_MAJOR_H 22 | #define POSTPROC_VERSION_MAJOR_H 23 | 24 | /** 25 | * @file 26 | * Libpostproc version macros 27 | */ 28 | 29 | #define LIBPOSTPROC_VERSION_MAJOR 58 30 | 31 | #endif /* POSTPROC_VERSION_MAJOR_H */ 32 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/lzf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * lzf decompression algorithm 3 | * Copyright (c) 2015 Luca Barbato 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_LZF_H 23 | #define AVCODEC_LZF_H 24 | 25 | #include "bytestream.h" 26 | 27 | int ff_lzf_uncompress(GetByteContext *gb, uint8_t **buf, int64_t *size); 28 | 29 | #endif /* AVCODEC_LZF_H */ 30 | -------------------------------------------------------------------------------- /SDL/src/hidapi/libusb/Makefile.freebsd: -------------------------------------------------------------------------------- 1 | ########################################### 2 | # Simple Makefile for HIDAPI test program 3 | # 4 | # Alan Ott 5 | # Signal 11 Software 6 | # 2010-06-01 7 | ########################################### 8 | 9 | all: hidtest libs 10 | 11 | libs: libhidapi.so 12 | 13 | CC ?= cc 14 | CFLAGS ?= -Wall -g -fPIC 15 | 16 | CXX ?= c++ 17 | CXXFLAGS ?= -Wall -g 18 | 19 | COBJS = hid.o 20 | CPPOBJS = ../hidtest/hidtest.o 21 | OBJS = $(COBJS) $(CPPOBJS) 22 | INCLUDES = -I../hidapi -I/usr/local/include 23 | LDFLAGS = -L/usr/local/lib 24 | LIBS = -lusb -liconv -pthread 25 | 26 | 27 | # Console Test Program 28 | hidtest: $(OBJS) 29 | $(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS) 30 | 31 | # Shared Libs 32 | libhidapi.so: $(COBJS) 33 | $(CC) $(LDFLAGS) -shared -Wl,-soname,$@.0 $^ -o $@ $(LIBS) 34 | 35 | # Objects 36 | $(COBJS): %.o: %.c 37 | $(CC) $(CFLAGS) -c $(INCLUDES) $< -o $@ 38 | 39 | $(CPPOBJS): %.o: %.cpp 40 | $(CXX) $(CXXFLAGS) -c $(INCLUDES) $< -o $@ 41 | 42 | 43 | clean: 44 | rm -f $(OBJS) hidtest libhidapi.so ../hidtest/hidtest.o 45 | 46 | .PHONY: clean libs 47 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/objc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_OBJC_H 20 | #define AVUTIL_OBJC_H 21 | 22 | #include 23 | 24 | static inline void ff_objc_release(NSObject **obj) 25 | { 26 | if (*obj) { 27 | [*obj release]; 28 | *obj = nil; 29 | } 30 | } 31 | 32 | #endif /* AVUTIL_OBJC_H */ 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Single 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /SDL/Xcode/SDLTest/TestDropFile-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleDocumentTypes 8 | 9 | 10 | CFBundleTypeRole 11 | Viewer 12 | LSHandlerRank 13 | Alternate 14 | LSItemContentTypes 15 | 16 | public.data 17 | 18 | 19 | 20 | CFBundleExecutable 21 | ${EXECUTABLE_NAME} 22 | CFBundleIdentifier 23 | org.libsdl.test-dropfile 24 | CFBundleInfoDictionaryVersion 25 | 6.0 26 | CFBundlePackageType 27 | APPL 28 | CFBundleShortVersionString 29 | 1.0 30 | CFBundleVersion 31 | 1.0 32 | LSMinimumSystemVersion 33 | 10.7 34 | 35 | 36 | -------------------------------------------------------------------------------- /SDL/src/core/openbsd/SDL_wscons.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | void SDL_WSCONS_Init(); 23 | void SDL_WSCONS_Quit(); 24 | 25 | void SDL_WSCONS_PumpEvents(); 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/rv10enc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RV10/RV20 encoder 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_RV10ENC_H 22 | #define AVCODEC_RV10ENC_H 23 | 24 | #include "mpegvideo.h" 25 | 26 | int ff_rv10_encode_picture_header(MpegEncContext *s); 27 | void ff_rv20_encode_picture_header(MpegEncContext *s); 28 | 29 | #endif /* AVCODEC_RV10ENC_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/asfcrypt.h: -------------------------------------------------------------------------------- 1 | /* 2 | * ASF decryption 3 | * Copyright (c) 2007 Reimar Doeffinger 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_ASFCRYPT_H 23 | #define AVFORMAT_ASFCRYPT_H 24 | 25 | #include 26 | 27 | void ff_asfcrypt_dec(const uint8_t key[20], uint8_t *data, int len); 28 | 29 | #endif /* AVFORMAT_ASFCRYPT_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/rawenc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RAW muxers 3 | * Copyright (C) 2007 Aurelien Jacobs 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_RAWENC_H 23 | #define AVFORMAT_RAWENC_H 24 | 25 | #include "avformat.h" 26 | 27 | int ff_raw_write_packet(AVFormatContext *s, AVPacket *pkt); 28 | 29 | #endif /* AVFORMAT_RAWENC_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/cbrt_data_fixed.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Reimar Döffinger 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #include "config.h" 22 | #include "cbrt_data.h" 23 | 24 | #if CONFIG_HARDCODED_TABLES 25 | #include "libavcodec/cbrt_fixed_tables.h" 26 | #else 27 | #define USE_FIXED 1 28 | #include "cbrt_tablegen.h" 29 | #endif 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/wma_common.h: -------------------------------------------------------------------------------- 1 | /* 2 | * common code shared by all WMA variants 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_WMA_COMMON_H 22 | #define AVCODEC_WMA_COMMON_H 23 | 24 | int ff_wma_get_frame_len_bits(int sample_rate, int version, 25 | unsigned int decode_flags); 26 | 27 | #endif /* AVCODEC_WMA_COMMON_H */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/rtpproto.h: -------------------------------------------------------------------------------- 1 | /* 2 | * RTP network protocol 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVFORMAT_RTPPROTO_H 22 | #define AVFORMAT_RTPPROTO_H 23 | 24 | #include "url.h" 25 | 26 | int ff_rtp_set_remote_url(URLContext *h, const char *uri); 27 | 28 | int ff_rtp_get_local_rtp_port(URLContext *h); 29 | 30 | #endif /* AVFORMAT_RTPPROTO_H */ 31 | -------------------------------------------------------------------------------- /SDL/src/video/nacl/SDL_naclglue.c: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | #if SDL_VIDEO_DRIVER_NACL 24 | #endif /* SDL_VIDEO_DRIVER_NACL */ 25 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/cbrt_data.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2016 Reimar Döffinger 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #include "config.h" 22 | #include "cbrt_data.h" 23 | 24 | #include "libavutil/libm.h" 25 | 26 | #if CONFIG_HARDCODED_TABLES 27 | #include "libavcodec/cbrt_tables.h" 28 | #else 29 | #include "cbrt_tablegen.h" 30 | #endif 31 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/paf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Packed Animation File decoder/demuxer common code 3 | * Copyright (c) 2012 Paul B Mahol 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_PAF_H 23 | #define AVCODEC_PAF_H 24 | 25 | #define PAF_SOUND_SAMPLES 2205 26 | #define PAF_SOUND_FRAME_SIZE ((256 + PAF_SOUND_SAMPLES) * 2) 27 | 28 | #endif /* AVCODEC_PAF_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/ffmeta.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Common data for metadata muxer/demuxer 3 | * Copyright (c) 2010 Anton Khirnov 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_FFMETA_H 23 | #define AVFORMAT_FFMETA_H 24 | 25 | #define ID_STRING ";FFMETADATA" 26 | #define ID_CHAPTER "[CHAPTER]" 27 | #define ID_STREAM "[STREAM]" 28 | 29 | #endif /* AVFORMAT_FFMETA_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/protocol_list.c: -------------------------------------------------------------------------------- 1 | static const URLProtocol * const url_protocols[] = { 2 | &ff_async_protocol, 3 | &ff_cache_protocol, 4 | &ff_concat_protocol, 5 | &ff_concatf_protocol, 6 | &ff_crypto_protocol, 7 | &ff_data_protocol, 8 | &ff_fd_protocol, 9 | &ff_ffrtmphttp_protocol, 10 | &ff_file_protocol, 11 | &ff_ftp_protocol, 12 | &ff_gopher_protocol, 13 | &ff_gophers_protocol, 14 | &ff_hls_protocol, 15 | &ff_http_protocol, 16 | &ff_httpproxy_protocol, 17 | &ff_https_protocol, 18 | &ff_icecast_protocol, 19 | &ff_mmsh_protocol, 20 | &ff_mmst_protocol, 21 | &ff_md5_protocol, 22 | &ff_pipe_protocol, 23 | &ff_prompeg_protocol, 24 | &ff_rtmp_protocol, 25 | &ff_rtmps_protocol, 26 | &ff_rtmpt_protocol, 27 | &ff_rtmpts_protocol, 28 | &ff_rtp_protocol, 29 | &ff_srtp_protocol, 30 | &ff_subfile_protocol, 31 | &ff_tee_protocol, 32 | &ff_tcp_protocol, 33 | &ff_tls_protocol, 34 | &ff_udp_protocol, 35 | &ff_udplite_protocol, 36 | &ff_unix_protocol, 37 | &ff_ipfs_gateway_protocol, 38 | &ff_ipns_gateway_protocol, 39 | NULL }; 40 | -------------------------------------------------------------------------------- /SDL/src/video/directfb/SDL_DirectFB_render.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | 23 | /* SDL surface based renderer implementation */ 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /SDL/include/SDL_types.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | /** 23 | * \file SDL_types.h 24 | * 25 | * \deprecated 26 | */ 27 | 28 | /* DEPRECATED */ 29 | #include "SDL_stdinc.h" 30 | -------------------------------------------------------------------------------- /SDL/src/thread/ngage/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | typedef int SYS_ThreadHandle; 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /SDL/src/thread/os2/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | typedef int SYS_ThreadHandle; 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /SDL/src/thread/vita/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include 23 | 24 | typedef SceUID SYS_ThreadHandle; 25 | 26 | /* vi: set ts=4 sw=4 expandtab: */ 27 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dctref.h: -------------------------------------------------------------------------------- 1 | /* 2 | * reference discrete cosine transform (double precision) 3 | * Copyright (C) 2009 Dylan Yudaken 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_DCTREF_H 23 | #define AVCODEC_DCTREF_H 24 | 25 | void ff_ref_fdct(short *block); 26 | void ff_ref_idct(short *block); 27 | void ff_ref_dct_init(void); 28 | 29 | #endif /* AVCODEC_DCTREF_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/htmlsubtitles.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2010 Aurelien Jacobs 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_HTMLSUBTITLES_H 22 | #define AVCODEC_HTMLSUBTITLES_H 23 | 24 | #include "libavutil/bprint.h" 25 | 26 | int ff_htmlmarkup_to_ass(void *log_ctx, AVBPrint *dst, const char *in); 27 | 28 | #endif /* AVCODEC_HTMLSUBTITLES_H */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/libaom.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * AOM common functions 22 | */ 23 | 24 | #ifndef AVCODEC_LIBAOM_H 25 | #define AVCODEC_LIBAOM_H 26 | 27 | #include 28 | 29 | #include "libavutil/frame.h" 30 | 31 | void ff_aom_image_copy_16_to_8(AVFrame *pic, struct aom_image *img); 32 | 33 | #endif /* AVCODEC_LIBAOM_H */ 34 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/mpeg12codecs.h: -------------------------------------------------------------------------------- 1 | /* 2 | * MPEG-1/2 codecs common code 3 | * Copyright (c) 2007 Aurelien Jacobs 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_MPEG12CODECS_H 23 | #define AVCODEC_MPEG12CODECS_H 24 | 25 | #include "mpegvideo.h" 26 | 27 | void ff_mpeg1_clean_buffers(MpegEncContext *s); 28 | 29 | #endif /* AVCODEC_MPEG12CODECS_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/wma_freqs.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include 20 | 21 | #include "wma_freqs.h" 22 | 23 | const uint16_t ff_wma_critical_freqs[25] = { 24 | 100, 200, 300, 400, 510, 630, 770, 920, 25 | 1080, 1270, 1480, 1720, 2000, 2320, 2700, 3150, 26 | 3700, 4400, 5300, 6400, 7700, 9500, 12000, 15500, 27 | 24500, 28 | }; 29 | -------------------------------------------------------------------------------- /FFmpeg/libavdevice/internal.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVDEVICE_INTERNAL_H 20 | #define AVDEVICE_INTERNAL_H 21 | 22 | #include "libavformat/avformat.h" 23 | 24 | av_warn_unused_result 25 | int ff_alloc_input_device_context(struct AVFormatContext **avctx, const AVInputFormat *iformat, 26 | const char *format); 27 | 28 | #endif 29 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/ircam.h: -------------------------------------------------------------------------------- 1 | /* 2 | * IRCAM common code 3 | * Copyright (c) 2012 Paul B Mahol 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_IRCAM_H 23 | #define AVFORMAT_IRCAM_H 24 | 25 | #include "internal.h" 26 | 27 | extern const AVCodecTag ff_codec_ircam_be_tags[]; 28 | extern const AVCodecTag ff_codec_ircam_le_tags[]; 29 | 30 | #endif /* AVFORMAT_IRCAM_H */ 31 | -------------------------------------------------------------------------------- /FFmpeg/libswresample/version_major.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Version macros. 3 | * 4 | * This file is part of libswresample 5 | * 6 | * libswresample is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * libswresample is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with libswresample; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef SWRESAMPLE_VERSION_MAJOR_H 22 | #define SWRESAMPLE_VERSION_MAJOR_H 23 | 24 | /** 25 | * @file 26 | * Libswresample version macros 27 | */ 28 | 29 | #define LIBSWRESAMPLE_VERSION_MAJOR 5 30 | 31 | #endif /* SWRESAMPLE_VERSION_MAJOR_H */ 32 | -------------------------------------------------------------------------------- /SDL/src/core/gdk/SDL_gdk.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | /* This is called from WIN_PumpEvents on GDK */ 24 | extern void GDK_DispatchTaskQueue(void); 25 | -------------------------------------------------------------------------------- /SDL/src/render/direct3d12/SDL_render_d3d12_xbox.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #error "This is a placeholder Xbox file, as the real one is under NDA. See README-gdk.md for more info." 23 | -------------------------------------------------------------------------------- /FFmpeg/compat/aix/math.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Work around the class() function in AIX math.h clashing with 3 | * identifiers named "class". 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef COMPAT_AIX_MATH_H 23 | #define COMPAT_AIX_MATH_H 24 | 25 | #define class class_in_math_h_causes_problems 26 | 27 | #include_next 28 | 29 | #undef class 30 | 31 | #endif /* COMPAT_AIX_MATH_H */ 32 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/x86/vc1dsp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * VC-1 and WMV3 decoder - X86 DSP init functions 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_X86_VC1DSP_H 22 | #define AVCODEC_X86_VC1DSP_H 23 | 24 | #include "libavcodec/vc1dsp.h" 25 | 26 | void ff_vc1dsp_init_mmx(VC1DSPContext *dsp); 27 | void ff_vc1dsp_init_mmxext(VC1DSPContext *dsp); 28 | 29 | #endif /* AVCODEC_X86_VC1DSP_H */ 30 | -------------------------------------------------------------------------------- /SDL/Xcode/SDLTest/config.xcconfig: -------------------------------------------------------------------------------- 1 | // 2 | // config.xcconfig 3 | // SDL tests 4 | // 5 | 6 | // Configuration settings file format documentation can be found at: 7 | // https://help.apple.com/xcode/#/dev745c5c974 8 | 9 | // Include any optional config for this build 10 | #include? "build.xcconfig" 11 | 12 | CONFIG_FRAMEWORK_LDFLAGS[sdk=macos*] = $(inherited) -framework SDL2 -framework AudioToolbox -framework Carbon -framework Cocoa -framework CoreAudio -framework CoreHaptics -framework CoreVideo -framework ForceFeedback -framework GameController -framework IOKit -framework Metal 13 | CONFIG_FRAMEWORK_LDFLAGS[sdk=iphone*] = $(inherited) -framework SDL2 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework CoreMotion -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit 14 | CONFIG_FRAMEWORK_LDFLAGS[sdk=appletv*] = $(inherited) -framework SDL2 -framework AVFoundation -framework AudioToolbox -framework CoreGraphics -framework CoreHaptics -framework Foundation -framework GameController -framework Metal -framework OpenGLES -framework QuartzCore -framework UIKit 15 | -------------------------------------------------------------------------------- /SDL/src/video/pandora/SDL_pandora_events.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | extern void PND_PumpEvents(_THIS); 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aandcttab.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | /** 20 | * @file 21 | * AAN (Arai, Agui and Nakajima) (I)DCT tables 22 | */ 23 | 24 | #ifndef AVCODEC_AANDCTTAB_H 25 | #define AVCODEC_AANDCTTAB_H 26 | 27 | #include 28 | 29 | extern const uint16_t ff_aanscales[64]; 30 | extern const uint16_t ff_inv_aanscales[64]; 31 | 32 | #endif /* AVCODEC_AANDCTTAB_H */ 33 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/bmp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * internals for BMP codecs 3 | * Copyright (c) 2005 Mans Rullgard 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_BMP_H 23 | #define AVCODEC_BMP_H 24 | 25 | typedef enum { 26 | BMP_RGB =0, 27 | BMP_RLE8 =1, 28 | BMP_RLE4 =2, 29 | BMP_BITFIELDS =3, 30 | } BiCompression; 31 | 32 | #endif /* AVCODEC_BMP_H */ 33 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/flacdata.h: -------------------------------------------------------------------------------- 1 | /* 2 | * FLAC data header 3 | * Copyright (c) 2003 Alex Beregszaszi 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_FLACDATA_H 23 | #define AVCODEC_FLACDATA_H 24 | 25 | #include 26 | 27 | extern const int ff_flac_sample_rate_table[16]; 28 | 29 | extern const int32_t ff_flac_blocksize_table[16]; 30 | 31 | #endif /* AVCODEC_FLACDATA_H */ 32 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/intmath.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "intmath.h" 20 | 21 | /* undef these to get the function prototypes from common.h */ 22 | #undef av_log2 23 | #undef av_log2_16bit 24 | #include "common.h" 25 | 26 | int av_log2(unsigned v) 27 | { 28 | return ff_log2(v); 29 | } 30 | 31 | int av_log2_16bit(unsigned v) 32 | { 33 | return ff_log2_16bit(v); 34 | } 35 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/ast.h: -------------------------------------------------------------------------------- 1 | /* 2 | * AST common code 3 | * Copyright (c) 2012 James Almer 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_AST_H 23 | #define AVFORMAT_AST_H 24 | 25 | #include "avformat.h" 26 | #include "internal.h" 27 | 28 | extern const AVCodecTag ff_codec_ast_tags[]; 29 | extern const AVCodecTag *const ff_ast_codec_tags_list[]; 30 | 31 | #endif /* AVFORMAT_AST_H */ 32 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/ppc/cpu.h: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #ifndef AVUTIL_PPC_CPU_H 20 | #define AVUTIL_PPC_CPU_H 21 | 22 | #include "libavutil/cpu.h" 23 | #include "libavutil/cpu_internal.h" 24 | 25 | #define PPC_ALTIVEC(flags) CPUEXT(flags, ALTIVEC) 26 | #define PPC_VSX(flags) CPUEXT(flags, VSX) 27 | #define PPC_POWER8(flags) CPUEXT(flags, POWER8) 28 | 29 | #endif /* AVUTIL_PPC_CPU_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavutil/tests/file.c: -------------------------------------------------------------------------------- 1 | /* 2 | * This file is part of FFmpeg. 3 | * 4 | * FFmpeg is free software; you can redistribute it and/or 5 | * modify it under the terms of the GNU Lesser General Public 6 | * License as published by the Free Software Foundation; either 7 | * version 2.1 of the License, or (at your option) any later version. 8 | * 9 | * FFmpeg is distributed in the hope that it will be useful, 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 | * Lesser General Public License for more details. 13 | * 14 | * You should have received a copy of the GNU Lesser General Public 15 | * License along with FFmpeg; if not, write to the Free Software 16 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 17 | */ 18 | 19 | #include "libavutil/file.c" 20 | 21 | #undef printf 22 | 23 | int main(void) 24 | { 25 | uint8_t *buf; 26 | size_t size; 27 | if (av_file_map("file.c", &buf, &size, 0, NULL) < 0) 28 | return 1; 29 | 30 | buf[0] = 's'; 31 | printf("%s", buf); 32 | av_file_unmap(buf, size); 33 | return 0; 34 | } 35 | -------------------------------------------------------------------------------- /SDL/src/video/offscreen/SDL_offscreenevents_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | extern void OFFSCREEN_PumpEvents(_THIS); 24 | 25 | /* vi: set ts=4 sw=4 expandtab: */ 26 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/vp9dsp_init.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_ARM_VP9DSP_INIT_H 22 | #define AVCODEC_ARM_VP9DSP_INIT_H 23 | 24 | #include "libavcodec/vp9dsp.h" 25 | 26 | void ff_vp9dsp_init_10bpp_arm(VP9DSPContext *dsp); 27 | void ff_vp9dsp_init_12bpp_arm(VP9DSPContext *dsp); 28 | 29 | #endif /* AVCODEC_ARM_VP9DSP_INIT_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/sox.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SoX native format common data 3 | * Copyright (c) 2009 Daniel Verkamp 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVFORMAT_SOX_H 23 | #define AVFORMAT_SOX_H 24 | 25 | #define SOX_FIXED_HDR (4 + 8 + 8 + 4 + 4) /**< Size of fixed header without magic */ 26 | 27 | #define SOX_TAG MKTAG('.', 'S', 'o', 'X') 28 | 29 | #endif /* AVFORMAT_SOX_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/videodsp_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_ARM_VIDEODSP_ARM_H 22 | #define AVCODEC_ARM_VIDEODSP_ARM_H 23 | 24 | #include "libavcodec/avcodec.h" 25 | #include "libavcodec/videodsp.h" 26 | 27 | void ff_videodsp_init_armv5te(VideoDSPContext* ctx, int bpc); 28 | 29 | #endif /* AVCODEC_ARM_VIDEODSP_ARM_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/g729.h: -------------------------------------------------------------------------------- 1 | /* 2 | * G.729, G729 Annex D decoders 3 | * Copyright (c) 2008 Vladimir Voroshilov 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | #ifndef AVCODEC_G729_H 22 | #define AVCODEC_G729_H 23 | 24 | /** 25 | * subframe size 26 | */ 27 | #define SUBFRAME_SIZE 40 28 | 29 | /* bytes per block */ 30 | #define G729_8K_BLOCK_SIZE 10 31 | #define G729D_6K4_BLOCK_SIZE 8 32 | 33 | #endif // AVCODEC_G729_H 34 | -------------------------------------------------------------------------------- /SDL/src/thread/pthread/SDL_systhread_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | #include "../../SDL_internal.h" 22 | 23 | #include 24 | 25 | typedef pthread_t SYS_ThreadHandle; 26 | 27 | /* vi: set ts=4 sw=4 expandtab: */ 28 | -------------------------------------------------------------------------------- /SDL/src/video/psp/SDL_pspevents_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include "SDL_pspvideo.h" 23 | 24 | extern void PSP_InitOSKeymap(_THIS); 25 | extern void PSP_PumpEvents(_THIS); 26 | 27 | /* end of SDL_pspevents_c.h ... */ 28 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/aarch64/vp9dsp_init.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2017 Google Inc. 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_AARCH64_VP9DSP_INIT_H 22 | #define AVCODEC_AARCH64_VP9DSP_INIT_H 23 | 24 | #include "libavcodec/vp9dsp.h" 25 | 26 | void ff_vp9dsp_init_10bpp_aarch64(VP9DSPContext *dsp); 27 | void ff_vp9dsp_init_12bpp_aarch64(VP9DSPContext *dsp); 28 | 29 | #endif /* AVCODEC_AARCH64_VP9DSP_INIT_H */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/sgi.h: -------------------------------------------------------------------------------- 1 | /* 2 | * SGI image encoder 3 | * Xiaohui Sun 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | #ifndef AVCODEC_SGI_H 23 | #define AVCODEC_SGI_H 24 | 25 | /** 26 | * SGI image file signature 27 | */ 28 | #define SGI_MAGIC 474 29 | 30 | #define SGI_HEADER_SIZE 512 31 | 32 | #define SGI_GRAYSCALE 1 33 | #define SGI_RGB 3 34 | #define SGI_RGBA 4 35 | 36 | #endif /* AVCODEC_SGI_H */ 37 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/wmv2enc.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2002 The FFmpeg Project 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_WMV2ENC_H 22 | #define AVCODEC_WMV2ENC_H 23 | 24 | #include "mpegvideo.h" 25 | 26 | int ff_wmv2_encode_picture_header(MpegEncContext * s); 27 | void ff_wmv2_encode_mb(MpegEncContext * s, int16_t block[6][64], 28 | int motion_x, int motion_y); 29 | 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /SDL/src/misc/dummy/SDL_sysurl.c: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include "../SDL_sysurl.h" 23 | 24 | int SDL_SYS_OpenURL(const char *url) 25 | { 26 | return SDL_Unsupported(); 27 | } 28 | 29 | /* vi: set ts=4 sw=4 expandtab: */ 30 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/arm/hpeldsp_arm.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2009 Mans Rullgard 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_ARM_HPELDSP_ARM_H 22 | #define AVCODEC_ARM_HPELDSP_ARM_H 23 | 24 | #include "libavcodec/hpeldsp.h" 25 | 26 | void ff_hpeldsp_init_armv6(HpelDSPContext *c, int flags); 27 | void ff_hpeldsp_init_neon(HpelDSPContext *c, int flags); 28 | 29 | #endif /* AVCODEC_ARM_HPELDSP_ARM_H */ 30 | -------------------------------------------------------------------------------- /SDL/src/video/ngage/SDL_ngageevents_c.h: -------------------------------------------------------------------------------- 1 | /* 2 | Simple DirectMedia Layer 3 | Copyright (C) 1997-2023 Sam Lantinga 4 | 5 | This software is provided 'as-is', without any express or implied 6 | warranty. In no event will the authors be held liable for any damages 7 | arising from the use of this software. 8 | 9 | Permission is granted to anyone to use this software for any purpose, 10 | including commercial applications, and to alter it and redistribute it 11 | freely, subject to the following restrictions: 12 | 13 | 1. The origin of this software must not be misrepresented; you must not 14 | claim that you wrote the original software. If you use this software 15 | in a product, an acknowledgment in the product documentation would be 16 | appreciated but is not required. 17 | 2. Altered source versions must be plainly marked as such, and must not be 18 | misrepresented as being the original software. 19 | 3. This notice may not be removed or altered from any source distribution. 20 | */ 21 | 22 | #include "../../SDL_internal.h" 23 | 24 | #include "SDL_ngagevideo.h" 25 | 26 | extern void NGAGE_PumpEvents(_THIS); 27 | 28 | /* vi: set ts=4 sw=4 expandtab: */ 29 | -------------------------------------------------------------------------------- /FFmpeg/libavcodec/dcadct.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2016 foo86 3 | * 4 | * This file is part of FFmpeg. 5 | * 6 | * FFmpeg is free software; you can redistribute it and/or 7 | * modify it under the terms of the GNU Lesser General Public 8 | * License as published by the Free Software Foundation; either 9 | * version 2.1 of the License, or (at your option) any later version. 10 | * 11 | * FFmpeg is distributed in the hope that it will be useful, 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 | * Lesser General Public License for more details. 15 | * 16 | * You should have received a copy of the GNU Lesser General Public 17 | * License along with FFmpeg; if not, write to the Free Software 18 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 19 | */ 20 | 21 | #ifndef AVCODEC_DCADCT_H 22 | #define AVCODEC_DCADCT_H 23 | 24 | #include 25 | #include "libavutil/attributes.h" 26 | 27 | typedef struct DCADCTContext { 28 | void (*imdct_half[2])(int32_t *output, const int32_t *input); 29 | } DCADCTContext; 30 | 31 | av_cold void ff_dcadct_init(DCADCTContext *c); 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /FFmpeg/libavformat/caf.h: -------------------------------------------------------------------------------- 1 | /* 2 | * CAF common code 3 | * Copyright (c) 2007 Justin Ruggles 4 | * 5 | * This file is part of FFmpeg. 6 | * 7 | * FFmpeg is free software; you can redistribute it and/or 8 | * modify it under the terms of the GNU Lesser General Public 9 | * License as published by the Free Software Foundation; either 10 | * version 2.1 of the License, or (at your option) any later version. 11 | * 12 | * FFmpeg is distributed in the hope that it will be useful, 13 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 15 | * Lesser General Public License for more details. 16 | * 17 | * You should have received a copy of the GNU Lesser General Public 18 | * License along with FFmpeg; if not, write to the Free Software 19 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 20 | */ 21 | 22 | /** 23 | * @file 24 | * CAF common code 25 | */ 26 | 27 | #ifndef AVFORMAT_CAF_H 28 | #define AVFORMAT_CAF_H 29 | 30 | #include "internal.h" 31 | 32 | extern const AVCodecTag ff_codec_caf_tags[]; 33 | extern const AVCodecTag *const ff_caf_codec_tags_list[]; 34 | 35 | #endif /* AVFORMAT_CAF_H */ 36 | --------------------------------------------------------------------------------