diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-04-29 16:41:25 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-04-29 16:41:25 +0200 |
| commit | 90515bc6a2c0534fab99e9a10b6ab31c9279fad0 (patch) | |
| tree | 0bf85468c693df65a3e9526b438ad3996d2286bb /src/video_core/CMakeLists.txt | |
| parent | 676b1aabfcd5f755ba82da963763410d7842ddc6 (diff) | |
[host1x] fix ffmpeg not having va-api on freebsd, inline nvenc (#3878)
- fix va-api not being used on freebsd
small thingies dont affect a lot:
- removes some pointer indirection (why save pointer to GMMU if its accesible via host1x)
- use std::variant<> for decoder
- miscelly vp9/v8/h264 opts
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3878
Reviewed-by: crueter <crueter@eden-emu.dev>
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Diffstat (limited to 'src/video_core/CMakeLists.txt')
| -rw-r--r-- | src/video_core/CMakeLists.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt index f999592a67..25eb7846b4 100644 --- a/src/video_core/CMakeLists.txt +++ b/src/video_core/CMakeLists.txt @@ -8,7 +8,7 @@ add_subdirectory(host_shaders) add_subdirectory(gpu_logging) if(LIBVA_FOUND) - set_source_files_properties(host1x/ffmpeg/ffmpeg.cpp + set_source_files_properties(host1x/ffmpeg.cpp PROPERTIES COMPILE_DEFINITIONS LIBVA_FOUND=1) list(APPEND FFmpeg_LIBRARIES ${LIBVA_LIBRARIES}) endif() @@ -71,9 +71,9 @@ add_library(video_core STATIC host1x/codecs/vp8.h host1x/codecs/vp9.cpp host1x/codecs/vp9.h - host1x/codecs/vp9_types.h - host1x/ffmpeg/ffmpeg.cpp - host1x/ffmpeg/ffmpeg.h + host1x/codec_types.h + host1x/ffmpeg.cpp + host1x/ffmpeg.h host1x/control.cpp host1x/control.h host1x/gpu_device_memory_manager.cpp |
