Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
qr_code.c File Reference
#include "qr_code.h"
#include "cv.h"
#include "zbar.h"
#include <stdio.h>
#include "subsystems/datalink/telemetry.h"
+ Include dependency graph for qr_code.c:

Go to the source code of this file.

Macros

#define QRCODE_DRAW_RECTANGLE   FALSE
 

Functions

void qrcode_init (void)
 
struct image_tqrscan (struct image_t *img)
 

Variables

bool drawRectangleAroundQRCode = QRCODE_DRAW_RECTANGLE
 
zbar_image_scanner_t * scanner = 0
 

Macro Definition Documentation

#define QRCODE_DRAW_RECTANGLE   FALSE

Definition at line 33 of file qr_code.c.

Function Documentation

void qrcode_init ( void  )

Definition at line 37 of file qr_code.c.

References cv_add_to_device(), and qrscan().

+ Here is the call graph for this function:

struct image_t* qrscan ( struct image_t img)

Definition at line 49 of file qr_code.c.

References image_t::buf, image_t::buf_size, DefaultChannel, DefaultDevice, drawRectangleAroundQRCode, image_t::h, image_create(), image_draw_line(), IMAGE_GRAYSCALE, scanner, image_t::w, point_t::x, and point_t::y.

Referenced by qrcode_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

bool drawRectangleAroundQRCode = QRCODE_DRAW_RECTANGLE

Definition at line 35 of file qr_code.c.

Referenced by qrscan().

zbar_image_scanner_t* scanner = 0

Definition at line 47 of file qr_code.c.

Referenced by qrscan().