Classes | |
struct | format_def_s |
union | packed_u |
Typedefs | |
typedef struct format_def_s | format_def_t |
typedef enum format_type_e | format_type_t |
typedef union packed_u | packed_t |
Enumerations | |
enum | format_type_e { GRAY, YUVP, YVUP, YUYV, YVYU, UYVY, RGB888, BGR888, RGB565B, RGB565L, RGB555B, RGB555L } |
Functions | |
static uint8_t * | fill_bars_nv (uint8_t *p, unsigned w, unsigned h, format_type_t order) |
static uint8_t * | fill_bars_rgb (uint8_t *p, unsigned w, unsigned h, format_type_t order, int bpp) |
static uint8_t * | fill_bars_uv (uint8_t *p, unsigned w, unsigned h, const uint8_t *C) |
static uint8_t * | fill_bars_y (uint8_t *p, unsigned w, unsigned h) |
static uint8_t * | fill_bars_yuv (uint8_t *p, unsigned w, unsigned h, format_type_t order) |
static void | test_cleanup_handler (zbar_image_t *img) |
int | test_image_bars (zbar_image_t *img) |
int | test_image_check_cleanup () |
Variables | |
static int | allocated_images |
static const uint8_t | Cb [] |
static const uint8_t | Cr [] |
static const format_def_t | formats [] |
typedef struct format_def_s format_def_t |
typedef enum format_type_e format_type_t |
enum format_type_e |
|
inlinestatic |
|
inlinestatic |
References g, rgb, RGB888, packed_u::u16, packed_u::u32, packed_u::u8, x, and y.
Referenced by test_image_bars().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
References Cb, Cr, packed_u::u32, packed_u::u8, UYVY, x, y, YUYV, and YVYU.
Referenced by test_image_bars().
|
static |
References allocated_images, test_zbar::data, fprintf(), and zbar_image_get_data().
Referenced by test_image_bars().
int test_image_bars | ( | zbar_image_t * | img | ) |
References allocated_images, format_def_s::bpp, Cb, Cr, test_zbar::data, fill_bars_nv(), fill_bars_rgb(), fill_bars_uv(), fill_bars_y(), fill_bars_yuv(), format_def_s::format, fourcc, fprintf(), GRAY, test_cleanup_handler(), format_def_s::type, UYVY, format_def_s::xdiv, format_def_s::ydiv, YUVP, YUYV, YVUP, YVYU, zbar_image_get_format(), zbar_image_get_height(), zbar_image_get_width(), and zbar_image_set_data().
Referenced by main().
int test_image_check_cleanup | ( | void | ) |
References allocated_images, and fprintf().
Referenced by main().
|
static |
Referenced by test_cleanup_handler(), test_image_bars(), and test_image_check_cleanup().
|
static |
Referenced by fill_bars_nv(), fill_bars_yuv(), and test_image_bars().
|
static |
Referenced by fill_bars_nv(), fill_bars_yuv(), and test_image_bars().
|
static |
Referenced by _zbar_window_probe_ximage(), and xv_probe_port().