aboutsummaryrefslogtreecommitdiff
path: root/include/color_conversion.h
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-03-04 20:30:43 +0100
committerdec05eba <dec05eba@protonmail.com>2024-03-08 11:35:26 +0100
commit0d89378021b9e8913b521164d1bc436d9bc2630f (patch)
treec72f8ae7453aa7c6b4f149b1d6292d2292b6411b /include/color_conversion.h
parentd0c221a233e0bc07e22cffb06ec3ae77a5f96010 (diff)
Use opengl capture for nvfbc (prepare for vulkan capture without cuda)
Diffstat (limited to 'include/color_conversion.h')
-rw-r--r--include/color_conversion.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/color_conversion.h b/include/color_conversion.h
index 222be4b..1848715 100644
--- a/include/color_conversion.h
+++ b/include/color_conversion.h
@@ -11,11 +11,12 @@ typedef enum {
} gsr_color_range;
typedef enum {
- GSR_SOURCE_COLOR_RGB
+ GSR_SOURCE_COLOR_RGB,
+ GSR_SOURCE_COLOR_BGR
} gsr_source_color;
typedef enum {
- GSR_DESTINATION_COLOR_BGR,
+ GSR_DESTINATION_COLOR_BGR, // TODO: remove
GSR_DESTINATION_COLOR_NV12, /* YUV420, BT709, 8-bit */
GSR_DESTINATION_COLOR_P010 /* YUV420, BT2020, 10-bit */
} gsr_destination_color;