Paparazzi UAS  v5.15_devel-88-gb3ad7fe
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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

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

Function Documentation

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

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, image_t::h, and image_t::w.

Referenced by video_thread_function().

+ Here is the caller graph for this function: