Added colorspace to SDL_CameraSpec

This commit is contained in:
Sam Lantinga committed 2024-06-16 17:47:16 -07:00
1 parent 98499d6818
commit aeea819494
10 files changed
+407 -167

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ typedef struct SDL_Camera SDL_Camera;
typedef struct SDL_CameraSpec
{
SDL_PixelFormatEnum format; /**< Frame format */
SDL_Colorspace colorspace; /**< Frame colorspace */
int width; /**< Frame width */
int height; /**< Frame height */
int interval_numerator; /**< Frame rate numerator ((dom / num) == fps, (num / dom) == duration) */