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
13#include <mpix/types.h>
14
23int mpix_sample_random_rgb(const uint8_t *buf, const struct mpix_format *fmt, uint8_t *dst);
24
25#endif
int mpix_sample_random_rgb(const uint8_t *buf, const struct mpix_format *fmt, uint8_t *dst)
Collect a pixel at a random location from the input buffer in RGB24 format.
Image format description.
Definition types.h:72