sensor_format_video_packed_t

Updated: May 06, 2022

Format for all packed video formats

Synopsis:

#include <sensor/sensor_api.h>
typedef struct sensor_format_video_packed_t {
    uint32_t height;
    uint32_t width;
    uint32_t stride;
} sensor_format_video_packed_t;

Data:

uint32_t height
The height of the image, in pixels.
uint32_t width
The width of the image, 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:

libsensor