The open imaging DSP library
Loading...
Searching...
No Matches
include
mpix
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
23
int
mpix_sample_random_rgb
(
const
uint8_t *buf,
const
struct
mpix_format
*fmt, uint8_t *dst);
24
25
#endif
mpix_sample_random_rgb
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.
mpix_format
Image format description.
Definition
types.h:72