Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
bayer.h File Reference
#include "lib/vision/image.h"
Include dependency graph for bayer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void BayerToYUV (struct image_t *in, struct image_t *out, int RedX, int RedY)
 Decode Bayer Pattern.

Function Documentation

◆ BayerToYUV()

void BayerToYUV ( struct image_t * in,
struct image_t * out,
int RedX,
int RedY )
inlinestatic

Decode Bayer Pattern.

Parameters
RedX,RedYthe coordinates of the upper-rightmost green pixel which has a red pixel next to it and a blue underneath

Definition at line 39 of file bayer.h.

References image_t::buf, h(), image_t::h, and image_t::w.

Referenced by video_thread_function().

Here is the call graph for this function:
Here is the caller graph for this function: