- Mar 30, 2024
-
-
Andreas Rheinhardt authored
There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
- Aug 14, 2023
-
-
Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause bzlib.h to parse as nonsense, due to an instance of #define char small in rpcndr.h. See: https://stackoverflow.com/a/27794577 Signed-off-by:
L. E. Segovia <amy@amyspark.me> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Aug 04, 2023
-
-
Martin Storsjö authored
In WinRT mode, we use CreateThread instead of _beginthreadex. CreateThread takes a LPTHREAD_START_ROUTINE function pointer, which has got the signature DWORD WINAPI ThreadProc(LPVOID). _beginthreadex takes a function with the signature unsigned __stdcall func(void *). DWORD is defined as an unsigned long, which is different type from unsigned int, even if they have the same size on Windows. This fixes build failures with Clang 16 and newer, where function pointer type mismatches are a fatal error by default. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Feb 13, 2023
-
-
When building FFMPEG in the MSYS environment under Windows, one must not use forward slashes ('/') for command-line options. It appears that the MSYS shell interprets these as absolute paths and then automatically rewrites them into equivalent Windows paths. For example, the '/nologo' switch below gets rewritten to something like 'C:/Program Files/Git/nologo', and this obviously breaks the build. Thankfully, most M$ tools accept dashes ('-') as well. Signed-off-by:
Ziemowit Łąski <15880281+zlaski@users.noreply.github.com> Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Sep 03, 2022
-
-
Timo Rothenpieler authored
The powf builtin causes crashes on older clang, so manually implement the (faster) intrinsic. The code it spawns is identical to that of nvcc.
-
Mohamed Khaled Mohamed authored
GSoC 2022 Signed-off-by:
Mohamed Khaled <mohamed.elbassiony00@eng-st.cu.edu.eg> Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Aug 13, 2022
-
-
Timo Rothenpieler authored
This is by no means a complete wrapper. It's only designed to fit the usecase ffmpegs build system has.
-
- Jul 10, 2022
-
-
Mohamed Khaled Mohamed authored
GSoC'22 libavfilter/vf_chromakey_cuda.cu:the CUDA kernel for the filter libavfilter/vf_chromakey_cuda.c: the C side that calls the kernel and gets user input libavfilter/allfilters.c: added the filter to it libavfilter/Makefile: added the filter to it cuda/cuda_runtime.h: added two math CUDA functions that are used in the filter Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Jun 21, 2022
-
-
Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Sep 19, 2021
-
-
Andreas Rheinhardt authored
They do the same. Reviewed-by:
Paul B Mahol <onemda@gmail.com> Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
- Aug 14, 2021
-
-
Timo Rothenpieler authored
-
- Jun 22, 2021
-
-
Timo Rothenpieler authored
-
- May 12, 2021
-
-
Peter Ross authored
Signed-off-by:
Peter Ross <pross@xvid.org>
-
- Apr 04, 2021
-
-
Martin Storsjö authored
This fixes building with MSVC after a2a38b16. Remove the stray semicolon, and add casts for the input argument (which is an intptr_t*) to the right type (PVOID volatile *). Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Feb 22, 2021
-
-
Matt Oliver authored
Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Jan 20, 2021
-
-
Ridley Combs authored
-
- Nov 04, 2020
-
-
Timo Rothenpieler authored
-
- Nov 03, 2020
-
-
Timo Rothenpieler authored
-
- Jun 02, 2020
-
-
Ridley Combs authored
This fixes building on macOS, and improves build times dramatically there
-
- Apr 04, 2020
-
-
- Mar 08, 2020
-
-
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- Feb 15, 2020
-
-
This is needed to pull in the define for ERROR_TIMEOUT Signed-off-by:
Dave Yeo <daveryeo@telus.net> Signed-off-by:
Marton Balint <cus@passwd.hu>
-
- Jan 21, 2020
-
-
v2: fix calculating milisecond times and use SleepConditionVariableSRW. Signed-off-by:
Matt Oliver <protogonoi@gmail.com>
-
- Jan 01, 2020
-
-
Reviewed-by:
Stephen Hutchinson <qyot27@gmail.com> Signed-off-by:
Michael Niedermayer <michael@niedermayer.cc>
-
- Aug 05, 2019
-
-
Andreas Rheinhardt authored
cuda_runtime.h as well as dynlink_loader.h used nonstandard inclusion guards with an AV_ prefix, although these files are not in an libav*/ path. So change the inclusion guards and adapt the ref file of the source fate test accordingly. Signed-off-by:
Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Aug 04, 2019
-
-
Ridley Combs authored
This avoids using the CUDA SDK at all; instead, we provide a minimal reimplementation of the basic functionality that lavfi actually uses. It generates very similar code to what NVCC produces. The header contains no implementation code derived from the SDK. The function and type declarations are derived from the SDK only to the extent required to build a compatible implementation. This is generally accepted to qualify as fair use. Because this option does not require the proprietary SDK, it does not require the "--enable-nonfree" flag in configure. Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- May 24, 2019
-
-
Timo Rothenpieler authored
-
- May 04, 2019
-
-
As part of the update, it is now possible to test 32-bit GCC builds of AviSynth+ with FFmpeg by using the AVS_WIN32_GCC32 define. Due to different calling conventions between MSVC and GCC regarding 32-bit Windows, this is unfortunately necessary.
-
- Apr 23, 2019
-
-
Cyber Sinh authored
A similar patch was posted by Gilles Khouzam in his blog.
-
- Apr 19, 2019
-
-
Carl Eugen Hoyos authored
Allows in-tree msvc compilation with wsl.
-
- Nov 28, 2018
-
-
Peter Ross authored
-
- Apr 09, 2018
-
-
This removes the XP compatibility code, and switches entirely to SRW locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. Signed-off-by:
Diego Biurrun <diego@biurrun.de>
-
- Feb 27, 2018
-
-
Timo Rothenpieler authored
External headers are no longer welcome in the ffmpeg codebase because they increase the maintenance burden. However, in the NVidia case the vanilla headers need some modifications to be usable in ffmpeg therefore we still provide them, but in a separate repository. The external headers can be found at https://git.videolan.org/?p=ffmpeg/nv-codec-headers.git Fate-source is updated because of the deleted files, and dynlink_loader.h license headers were updated with the standard FFmpeg headers. Signed-off-by:
Marton Balint <cus@passwd.hu> Signed-off-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Jan 07, 2018
-
-
Reviewed-by:
wm4 <nfxjfg@googlemail.com> Signed-off-by:
James Almer <jamrial@gmail.com>
-
- Dec 26, 2017
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-
wm4 authored
This removes the XP compatibility code, and switches entirely to SWR locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. It was decided in a project vote that this is OK.
-
- Nov 20, 2017
-
-
Mark Thompson authored
Reviewed-by:
Timo Rothenpieler <timo@rothenpieler.org>
-
- Nov 17, 2017
-
-
Timo Rothenpieler authored
-
- Nov 16, 2017
-
-
Martin Storsjö authored
This avoids having to use either "dumpbin -headers" to find out the current architecture, or pass $ARCH from configure to deduce it. When configuring with --disable-asm, ARCH is equal to "c", which doesn't give any indication of what symbol prefix is to be used. Signed-off-by:
Martin Storsjö <martin@martin.st>
-
- Nov 07, 2017
-
-
James Almer authored
Fixes warnings about undefined HAVE_WINRT Signed-off-by:
James Almer <jamrial@gmail.com>
-