The open imaging DSP library
Loading...
Searching...
No Matches
sample.h
1
7#ifndef MPIX_SAMPLE_H
8#define MPIX_SAMPLE_H
9
10#include <stdint.h>
11#include <stddef.h>
12
23int mpix_sample_random_rgb(const uint8_t *buf, uint16_t width, uint16_t height, uint32_t fourcc,
24 uint8_t *dst);
25
26#endif
int mpix_sample_random_rgb(const uint8_t *buf, uint16_t width, uint16_t height, uint32_t fourcc, uint8_t *dst)
Collect a pixel at a random location from the input buffer in RGB24 format.