Commit Graph

141 Commits

Author SHA1 Message Date
twinaphex 6d5104f6d7 (Windows/ffmpeg) Standalone Makefile - Don't set it explicitly to gcc/g++ 2019-11-19 08:55:04 +01:00
twinaphex fbdc53f926 Update ffmpeg Makefile.common - see if it changes anything 2019-11-19 08:54:19 +01:00
orbea 84f4dcba2b Remove WANT_ZLIB. 2019-07-25 11:18:33 -07:00
orbea 28ff4b391a Clean up white space. 2019-02-03 16:00:50 -08:00
orbea e062b98088 Remove trailing blank lines.
find . -type f -exec sed -i '${/^[[:space:]]*$/d;}' {} \+
2019-01-17 19:39:38 -08:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
orbea fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
Alcaro 99f696abd2 Fix #6009 v3.0 2017-12-31 15:28:10 +01:00
esoptron 2be322acbb
Disable Temporal Interpolation by default in internal FFmpeg core 2017-12-22 17:24:13 -05:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex 08bed1b0a2 (ffmpeg core) Take out gl prefix 2017-05-27 03:28:49 +02:00
twinaphex 94e2570c2f Cleanups 2017-05-27 03:20:47 +02:00
twinaphex defab8842a (FFMPEG FFT) Add 1440p/2160p resolution options 2017-05-22 15:34:33 +02:00
twinaphex aea00f1e00 Use memcmp instead of string_is_equal for more instances 2017-04-23 12:17:51 +02:00
twinaphex 8defa3b924 Update libretro-ffmpeg 2017-04-22 20:56:59 +02:00
twinaphex 6078864e26 Turn ffmpeg FFT into C code and remove GLM dependency 2017-04-22 12:59:28 +02:00
twinaphex 21f7f6059a (ffmpeg FFT) No longer needs GLM 2017-04-22 12:25:54 +02:00
twinaphex d674d2102e (ffmpeg FFT) Move variable initialization to top 2017-04-22 12:11:42 +02:00
twinaphex 25f31883d5 (libretro ffmpeg FFT) Start using libretro-common gfx/matrix
functions instead of GLM; GLM only used now still for
packHalf2x16
2017-04-22 12:08:10 +02:00
twinaphex a65675d24f (FFT) Swap around matrices arguments for matrix_4x4_multiply 2017-04-22 11:15:41 +02:00
twinaphex 45dc1b7977 Some build fixes 2017-04-22 10:09:52 +02:00
twinaphex dd517f4660 Try to avoid directly calling strcmp 2017-04-21 13:56:15 +02:00
twinaphex 9b3519f850 Turn matrix_4x4_lookat into macro, remove matrix_4x4.c 2017-04-16 07:57:31 +02:00
twinaphex 257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex fa6dc9ec52 (ffmpeg) Better error handling 2017-01-24 16:28:07 +01:00
twinaphex 2a60b54e02 Revert FFT core option changes - FFT was no longer working 2016-12-27 02:56:56 +01:00
twinaphex 7863b3a21f (ffmpeg_core.c) Fix build 2016-12-26 02:53:21 +01:00
Aaahh Ahh c51f6ad041 (ffmpeg core) Add GLFFT toggle
Adds a toggle for GLFFT
2016-12-25 01:47:09 -05:00
twinaphex 18da1fc088 More logging 2016-11-09 00:20:44 +01:00
twinaphex 5e9a6772cf (fft.cpp) Add debug logging 2016-11-08 23:52:17 +01:00
twinaphex 5865a8c299 (fft.cpp) Add logging 2016-11-08 20:28:59 +01:00
twinaphex 9a9f76d71c (FFT) Add potential non-GLM code 2016-11-04 21:25:12 +01:00
twinaphex c3e832f672 (ffmpeg core) don't use value_ptr 2016-11-01 12:08:45 +01:00
twinaphex 8e8ed55a87 Only include glm's packing.h header 2016-11-01 12:00:27 +01:00
Brad Parker d1d5584d18 update copyright 2016-10-27 11:47:10 -04:00
twinaphex bef6308b12 Don't define/undefine GL_DEBUG at all 2016-09-22 18:44:55 +02:00
orbea 7768a706a1 Silence warning with GL_DEBUG=1 2016-09-22 08:40:44 -07:00
twinaphex 955c399386 (ffmpeg_core.c) nits 2016-09-16 19:23:42 +02:00
twinaphex c4c96aa843 Don't show ffmpeg_fft_ core options when HAVE_OPENGL is not defined 2016-09-16 19:20:45 +02:00
twinaphex 5f6f630818 (ffmpeg core) Cleanup 2016-09-16 19:15:46 +02:00
twinaphex 1cc55dcae3 (FFT) fft_render - cleanup 2016-09-09 04:05:11 +02:00
twinaphex 8649852e18 (fft) Start making this more readable 2016-09-09 03:17:00 +02:00
twinaphex f148194dab (ffmpeg) Add more extensions 2016-09-08 06:32:57 +02:00
twinaphex 2945605b61 Update ffmpeg 2016-09-07 13:19:28 +02:00
Brad Parker a501fd02c1 make sure context is valid for this stream 2016-09-06 12:44:09 -04:00
twinaphex 8b1ee6a2b1 Update 2016-09-05 20:51:23 +02:00
twinaphex 1b94fd2fce Update libretro-ffmpeg 2016-09-05 20:48:27 +02:00
twinaphex a9d021cbfd (ffmpeg core) Update 2016-09-05 02:45:10 +02:00
twinaphex a0f84de987 Add Makefile.ffmpeg 2016-09-05 00:49:08 +02:00
twinaphex bc7db98faf (ffmpeg core) Update 2016-09-05 00:36:04 +02:00
twinaphex 11dfab4e79 (ffmpeg core) Update Makefile 2016-09-05 00:34:38 +02:00
twinaphex 877064855b Update ffmpeg 2016-09-05 00:18:41 +02:00
twinaphex 459acfe47d Update 2016-09-03 23:02:10 +02:00
twinaphex e5eab961f2 (ffmpeg core) Add HAVE_LIBGSM ifdefs 2016-09-03 22:25:05 +02:00
twinaphex 63d1a30cf2 (ffmpeg core) Update 2016-09-03 22:19:20 +02:00
twinaphex 4dc0ed54d8 (ffmpeg core) Updates 2016-09-03 22:15:13 +02:00
twinaphex 249733b06d Update Makefiles / ffmpeg core 2016-09-03 21:59:52 +02:00
twinaphex 3d47e1d813 Cleanup shadres in ffmpeg core 2016-09-03 17:36:47 +02:00
twinaphex e2cfb594f8 Try to make ffmpeg core's GL features work for GLES as well 2016-09-03 17:07:24 +02:00
twinaphex f4bfbe0a23 (ffmpeg core) Cleanups/style nits 2016-08-30 17:48:43 +02:00
twinaphex f8f4b4f809 (ffmpeg core) Cleanups/style nits 2016-08-30 17:42:29 +02:00
twinaphex e819e84149 (ffmpeg core) Cleanups; use HAVE_SWRESAMPLE ifdef 2016-08-30 17:40:06 +02:00
twinaphex 8abb90ccf1 (ffmpeg_core) Try to avoid data race condition errors in Coverity 2016-07-23 06:01:37 +02:00
twinaphex 9bf63a7809 Prevent 'dereference after NULL check' 2016-07-12 23:14:51 +02:00
Alcaro 2bd3e94e5e Apparently Coverity doesn't like this either. 2016-06-29 18:01:34 +02:00
Alcaro 792008d558 apparently 0 isn't O. I've been lied to for years. 2016-06-27 21:44:14 +02:00
Alcaro 18978c5f01 More Coverity cleanups 2016-06-27 21:34:21 +02:00
twinaphex a741dadf20 Prevent dereference before null check 2016-06-19 23:09:19 +02:00
twinaphex f56ab959b7 Move fragment_program_blur program to separate file 2016-06-16 17:04:30 +02:00
twinaphex 8e454f7127 Simplify fft_build_params 2016-06-16 16:55:36 +02:00
twinaphex 58dae07212 (GL FFT) Cleanup struct 2016-06-15 21:26:45 +02:00
twinaphex 86e2925cf5 (FFT) Move more shaders to separate files 2016-06-15 21:08:27 +02:00
twinaphex 7e31e71d5b Split up more into files 2016-06-15 20:54:37 +02:00
twinaphex 38ab9c8003 (FFT/GLSL) Start moving shaders to separate files 2016-06-15 20:23:26 +02:00
twinaphex c05f873dff (FFT) Indenting nits 2016-06-15 20:15:21 +02:00
twinaphex 417439ba60 (FFT) Use filters.h from libretro-common 2016-06-15 20:00:01 +02:00
twinaphex 69c983a741 Fix libretro-ffmpeg Makefile 2016-06-15 19:21:06 +02:00
twinaphex 2f08e760ff Start adding FFT visualizer for libretro-ffmpeg - unforunately
depends on glm for now and is C++-based, no way around that for now
2016-06-15 19:16:27 +02:00
aliaspider 5e5e1e6d50 (ffmpeg_core.c) passing a format string without the arguments to log_cb
can result in a crash.
2016-06-04 04:41:38 +01:00
twinaphex 4a7ab8366b Move libretro.h headers to libretro-common/include 2016-05-10 19:03:53 +02:00
twinaphex 6e9e5b6907 Put up with deprecations 2016-03-20 19:14:58 +01:00
twinaphex 7508eab655 (CXX_BUILD) Avoid some C++ warnings + buildfix 2016-03-20 17:01:15 +01:00
twinaphex 0955fac195 (ffmpeg core) Avoid some deprecation warnings 2016-03-20 16:59:09 +01:00
twinaphex ef4a1a3c0f (libretro-common) Rename fifo_buffer to fifo_queue 2016-03-20 14:06:21 +01:00
twinaphex 0140f989c3 Fix CXX_BUILD 2016-03-04 19:46:25 +01:00
twinaphex 242b511387 Ifdef with RARCH_INTERNAL 2016-03-03 18:18:41 +01:00
twinaphex d15eb9a570 Add HAVE_SSA switch to qb 2016-03-03 18:17:48 +01:00
twinaphex d7ebb49fd0 (ffmpeg) Style nits 2016-02-15 07:44:45 +01:00
twinaphex 8e7477ed07 (ffmpeg) Attempt to make ffmpeg recording driver forwards compatible 2015-10-26 00:47:45 +01:00
twinaphex 1ff3b58d68 Buildfix 2015-10-19 18:01:56 +02:00
twinaphex 1e681cad4e Move ffmpeg core files 2015-10-19 16:55:08 +02:00