0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
obs-studio/plugins/win-mf/CMakeLists.txt
jp9000 afa2985f64 win-mf: Add media foundation h264 encoder
Implements hardware encoders through the Media Foundation interface
provided by Microsoft.

Supports:
- Quicksync (Intel)
- VCE (AMD)
- NVENC (NVIDIA, might only be supported through MF on Windows 10)

Notes:
- NVENC and VCE do not appear to have proper CBR implementations.  This
  isn't a fault of our code, but the Media Foundation libraries.
  Quicksync however appears to be fine.
2015-09-16 15:16:26 -07:00

33 lines
467 B
CMake

project(win-mf)
set(win-mf_SOURCES
mf-plugin.cpp
mf-aac.cpp
mf-aac-encoder.cpp
mf-common.cpp
mf-encoder-descriptor.cpp
mf-h264.cpp
mf-h264-encoder.cpp)
set(win-mf_HEADERS
mf-common.hpp
mf-encoder-descriptor.hpp
mf-aac-encoder.hpp
mf-h264-encoder.hpp)
add_library(win-mf MODULE
${win-mf_SOURCES}
${win-mf_HEADERS})
target_link_libraries(win-mf
d3d9
dxva2
uuid
mfplat
mfuuid
mf
wmcodecdspuuid
libobs)
install_obs_plugin_with_data(win-mf data)