Nvenc: enforce width/height to be divisible by 32

This commit is contained in:
Patrick Nicolas
2024-06-12 12:46:31 +02:00
parent 0d62a24f25
commit d90863c9b4
2 changed files with 14 additions and 10 deletions
+2 -1
View File
@@ -57,7 +57,8 @@ private:
vk::Image luma;
vk::Image chroma;
CUdeviceptr frame;
uint32_t pitch;
uint32_t width;
uint32_t height;
NV_ENC_REGISTERED_PTR nvenc_resource;
float fps;
int bitrate;