camera_frame_rgb8888_t

A frame descriptor used for RGB8888 frame types

Synopsis:

#include <camera/camera_api.h>
typedef struct camera_frame_rgb8888_t {
    uint32_t height;
    uint32_t width;
    uint32_t stride;
} camera_frame_rgb8888_t;

Data:

uint32_t height
The height of the frame in pixels.
uint32_t width
The width of the frame in pixels.
uint32_t stride
The number of bytes between the first pixel of the first row in memory and the first pixel of the second row in memory.

Stride is often called pitch.

Library:

libcamapi

Description:

Use this frame descriptor when CAMERA_FRAMETYPE_RGB8888 is reported as the camera_frametype_t.