diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-17 19:55:09 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-17 19:55:09 +0200 |
commit | 3ec93bcc41d9636f0acd195c60ca86e58f356637 (patch) | |
tree | 8cc0449d143a1964ebce764a6d41e91f8c79f613 /include/encoder | |
parent | 1e39dc6286f3659733da9a81453991fd5a95a4f5 (diff) |
Add hevc_10bit and av1_10bit options for 10bit color range, increase video quality (qp)
Diffstat (limited to 'include/encoder')
-rw-r--r-- | include/encoder/video/cuda.h | 2 | ||||
-rw-r--r-- | include/encoder/video/software.h | 2 | ||||
-rw-r--r-- | include/encoder/video/vaapi.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/encoder/video/cuda.h b/include/encoder/video/cuda.h index 802e72e..6d32e09 100644 --- a/include/encoder/video/cuda.h +++ b/include/encoder/video/cuda.h @@ -8,7 +8,7 @@ typedef struct gsr_egl gsr_egl; typedef struct { gsr_egl *egl; bool overclock; - bool hdr; + gsr_color_depth color_depth; } gsr_video_encoder_cuda_params; gsr_video_encoder* gsr_video_encoder_cuda_create(const gsr_video_encoder_cuda_params *params); diff --git a/include/encoder/video/software.h b/include/encoder/video/software.h index e39d5f8..fd2dc6b 100644 --- a/include/encoder/video/software.h +++ b/include/encoder/video/software.h @@ -7,7 +7,7 @@ typedef struct gsr_egl gsr_egl; typedef struct { gsr_egl *egl; - bool hdr; + gsr_color_depth color_depth; } gsr_video_encoder_software_params; gsr_video_encoder* gsr_video_encoder_software_create(const gsr_video_encoder_software_params *params); diff --git a/include/encoder/video/vaapi.h b/include/encoder/video/vaapi.h index 2981a01..b509f17 100644 --- a/include/encoder/video/vaapi.h +++ b/include/encoder/video/vaapi.h @@ -7,7 +7,7 @@ typedef struct gsr_egl gsr_egl; typedef struct { gsr_egl *egl; - bool hdr; + gsr_color_depth color_depth; } gsr_video_encoder_vaapi_params; gsr_video_encoder* gsr_video_encoder_vaapi_create(const gsr_video_encoder_vaapi_params *params); |