mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 04:12:52 +00:00
CMake: Enable VP8 ffmpeg decoders
This commit is contained in:
parent
d35391b9f4
commit
1994edfeb6
|
@ -600,6 +600,7 @@ if (YUZU_USE_BUNDLED_FFMPEG)
|
||||||
${LIBVA_LIBRARIES})
|
${LIBVA_LIBRARIES})
|
||||||
set(FFmpeg_HWACCEL_FLAGS
|
set(FFmpeg_HWACCEL_FLAGS
|
||||||
--enable-hwaccel=h264_vaapi
|
--enable-hwaccel=h264_vaapi
|
||||||
|
--enable-hwaccel=vp8_vaapi
|
||||||
--enable-hwaccel=vp9_vaapi
|
--enable-hwaccel=vp9_vaapi
|
||||||
--enable-libdrm)
|
--enable-libdrm)
|
||||||
list(APPEND FFmpeg_HWACCEL_INCLUDE_DIRS
|
list(APPEND FFmpeg_HWACCEL_INCLUDE_DIRS
|
||||||
|
@ -620,6 +621,7 @@ if (YUZU_USE_BUNDLED_FFMPEG)
|
||||||
--enable-ffnvcodec
|
--enable-ffnvcodec
|
||||||
--enable-nvdec
|
--enable-nvdec
|
||||||
--enable-hwaccel=h264_nvdec
|
--enable-hwaccel=h264_nvdec
|
||||||
|
--enable-hwaccel=vp8_nvdec
|
||||||
--enable-hwaccel=vp9_nvdec
|
--enable-hwaccel=vp9_nvdec
|
||||||
--extra-cflags=-I${CUDA_INCLUDE_DIRS}
|
--extra-cflags=-I${CUDA_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
@ -670,6 +672,7 @@ if (YUZU_USE_BUNDLED_FFMPEG)
|
||||||
--disable-postproc
|
--disable-postproc
|
||||||
--disable-swresample
|
--disable-swresample
|
||||||
--enable-decoder=h264
|
--enable-decoder=h264
|
||||||
|
--enable-decoder=vp8
|
||||||
--enable-decoder=vp9
|
--enable-decoder=vp9
|
||||||
--cc="${CMAKE_C_COMPILER}"
|
--cc="${CMAKE_C_COMPILER}"
|
||||||
--cxx="${CMAKE_CXX_COMPILER}"
|
--cxx="${CMAKE_CXX_COMPILER}"
|
||||||
|
|
Loading…
Reference in a new issue