feat(win/video): support native YUV 4:4:4 encoding (#2533)

This commit is contained in:
ns6089
2024-08-16 20:41:27 +03:00
committed by Yukino Song
parent 7b74db33c8
commit 25919a9a89
35 changed files with 1454 additions and 330 deletions
+4 -1
View File
@@ -1,6 +1,6 @@
/**
* @file src/nvenc/nvenc_config.h
* @brief Declarations for base NVENC configuration.
* @brief Declarations for NVENC encoder configuration.
*/
#pragma once
@@ -12,6 +12,9 @@ namespace nvenc {
full_resolution, ///< Better overall statistics, slower and uses more extra vram
};
/**
* @brief NVENC encoder configuration.
*/
struct nvenc_config {
// Quality preset from 1 to 7, higher is slower
int quality_preset = 1;