Updated: October 28, 2024 |
A frame descriptor for 8-bits per pixel grayscale frame types
#include <camera/camera_api.h>
typedef struct { uint32_t height; uint32_t width; uint32_t stride; } camera_frame_gray8_t;
Stride is often called pitch.
Use this frame descriptor when CAMERA_FRAMETYPE_GRAY8 is reported as the camera_frametype_t.