diff options
| author | lizzie <lizzie@eden-emu.dev> | 2026-06-04 05:49:07 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2026-06-04 05:49:07 +0200 |
| commit | 89199f4d279bff0c664fb9142b1945d0c6d93ee8 (patch) | |
| tree | f7223e46b4d1ecf0355adc5fc9363bae093dcf89 /src/video_core/host1x/ffmpeg.cpp | |
| parent | 978d9d935d50fd09af5c6173582b1d63792900bd (diff) | |
[*] basic in-house cpp linting (#4039)
- add `#pragma once` to remainder files
- "correcter" defines (ANDROID), see https://groups.google.com/g/android-ndk/c/cf9_f1SLXls
- extra miscelly fixups
Signed-off-by: lizzie <lizzie@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4039
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: crueter <crueter@eden-emu.dev>
Diffstat (limited to 'src/video_core/host1x/ffmpeg.cpp')
| -rw-r--r-- | src/video_core/host1x/ffmpeg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/host1x/ffmpeg.cpp b/src/video_core/host1x/ffmpeg.cpp index 80e48692f7..88df6695d8 100644 --- a/src/video_core/host1x/ffmpeg.cpp +++ b/src/video_core/host1x/ffmpeg.cpp @@ -28,7 +28,7 @@ namespace { constexpr AVPixelFormat PreferredGpuFormat = AV_PIX_FMT_NV12; constexpr AVPixelFormat PreferredCpuFormat = AV_PIX_FMT_YUV420P; constexpr std::array PreferredGpuDecoders = { -#if defined (_WIN32) +#if defined(_WIN32) AV_HWDEVICE_TYPE_CUDA, AV_HWDEVICE_TYPE_D3D11VA, AV_HWDEVICE_TYPE_DXVA2, @@ -39,7 +39,7 @@ constexpr std::array PreferredGpuDecoders = { AV_HWDEVICE_TYPE_DRM, #elif defined(__APPLE__) AV_HWDEVICE_TYPE_VIDEOTOOLBOX, -#elif defined(ANDROID) +#elif defined(__ANDROID__) AV_HWDEVICE_TYPE_MEDIACODEC, #elif defined(__unix__) AV_HWDEVICE_TYPE_CUDA, |
