Share CUDA context between all nvenc encoder instances

This commit is contained in:
Kierek
2025-07-27 23:32:41 +02:00
committed by xytovl
parent 25ca41cfcf
commit e5ba1f7394
5 changed files with 217 additions and 104 deletions
+5 -1
View File
@@ -127,7 +127,11 @@ if (WIVRN_BUILD_SERVER)
endif()
if(WIVRN_USE_NVENC)
target_sources(wivrn-server PRIVATE encoder/video_encoder_nvenc.cpp)
target_sources(
wivrn-server
PRIVATE encoder/video_encoder_nvenc.cpp
encoder/video_encoder_nvenc_shared_state.cpp
)
endif()
if(WIVRN_USE_VAAPI)