[all] add initial support for RGB24-bpp support

This commit is contained in:
Geoffrey McRae
2023-11-08 16:04:58 +11:00
parent dcde981a17
commit 86e8e99107
15 changed files with 74 additions and 40 deletions

View File

@@ -267,8 +267,12 @@ static bool sendFrame(void)
flags |= FRAME_FLAG_HDR;
break;
case CAPTURE_FMT_BGR:
fi->type = FRAME_TYPE_BGR;
case CAPTURE_FMT_BGR_32:
fi->type = FRAME_TYPE_BGR_32;
break;
case CAPTURE_FMT_RGB_24:
fi->type = FRAME_TYPE_RGB_24;
break;
default: