Patch ffmpeg wrap to compile with simd extensions

This is very hacky and only intended to get these extensions working on
the Windows CI builds.
This commit is contained in:
arch1t3cht 2022-08-22 02:22:00 +02:00
parent 1772dd17ae
commit 77cc1a6b22
4 changed files with 2363 additions and 1 deletions

View file

@ -83,7 +83,7 @@ jobs:
- name: Install dependencies (Windows)
if: matrix.config.os == 'windows-latest'
run: |
choco install ninja innosetup
choco install ninja innosetup yasm
$url = "https://github.com/leafo/moonscript/releases/download/win32-v0.5.0/moonscript-187bac54ee5a7450013e9c38e005a0e671b76f45.zip"
mkdir moonscript
Invoke-WebRequest -Uri $url -OutFile ".\moonscript\moonscript.zip"

View file

@ -2,6 +2,7 @@
directory = ffmpeg
url = https://gitlab.freedesktop.org/gstreamer/meson-ports/ffmpeg.git
revision = meson-4.4
patch_directory = ffmpeg
[provide]
libavformat = libavformat_dep

View file

@ -0,0 +1,31 @@
libavutil_x86_sources = files(
'cpu.c',
'fixed_dsp_init.c',
'float_dsp_init.c',
'imgutils_init.c',
'lls_init.c',
)
libavutil_x86_optional_sources = {
'pixelutils' : files('pixelutils_init.c'),
}
libavutil_x86_x86asm_sources = files(
'cpuid.asm',
'emms.asm',
'fixed_dsp.asm',
'float_dsp.asm',
'imgutils.asm',
'lls.asm',
)
libavutil_x86_x86asm_optional_sources = {
'pixelutils' : files('pixelutils.asm'),
}
libavutil_x86_mmx_optional_sources = {
}
libavutil_x86_optional_tests = {
}

File diff suppressed because it is too large Load diff