ZBar Bar Code Reader Library  version 0.10
image.h File Reference

Classes

struct  zbar_format_def_s
 
struct  zbar_image_s
 

Macros

#define fourcc(a, b, c, d)
 
#define RGB_OFFSET(c)
 
#define RGB_SIZE(c)
 
#define zbar_image_write_png(...)
 

Typedefs

typedef struct zbar_format_def_s zbar_format_def_t
 
typedef enum zbar_format_group_e zbar_format_group_t
 

Enumerations

enum  zbar_format_group_e {
  ZBAR_FMT_GRAY,
  ZBAR_FMT_YUV_PLANAR,
  ZBAR_FMT_YUV_PACKED,
  ZBAR_FMT_RGB_PACKED,
  ZBAR_FMT_YUV_NV,
  ZBAR_FMT_JPEG,
  ZBAR_FMT_NUM
}
 

Functions

int _zbar_best_format (uint32_t, uint32_t *, const uint32_t *)
 
const zbar_format_def_t_zbar_format_lookup (uint32_t)
 
void _zbar_image_free (zbar_image_t *)
 
static void _zbar_image_refcnt (zbar_image_t *img, int delta)
 
static void _zbar_image_swap_symbols (zbar_image_t *a, zbar_image_t *b)
 

Macro Definition Documentation

#define fourcc (   a,
  b,
  c,
 
)
#define zbar_image_write_png (   ...)

Typedef Documentation

Enumeration Type Documentation

Enumerator
ZBAR_FMT_GRAY 
ZBAR_FMT_YUV_PLANAR 
ZBAR_FMT_YUV_PACKED 
ZBAR_FMT_RGB_PACKED 
ZBAR_FMT_YUV_NV 
ZBAR_FMT_JPEG 
ZBAR_FMT_NUM 

Function Documentation

int _zbar_best_format ( uint32_t  ,
uint32_t *  ,
const uint32_t *   
)

References _zbar_format_lookup(), _zbar_verbosity, zbar_format_def_s::cmp, conversion_def_s::cost, fprintf(), zbar_format_def_s::group, has_format(), zbar_format_def_s::p, and zprintf.

Referenced by zbar_negotiate_format(), and zbar_window_redraw().

Here is the call graph for this function:

Here is the caller graph for this function:

void _zbar_image_free ( zbar_image_t *  )

References zbar_symbol_set_ref().

Referenced by _zbar_image_refcnt().

Here is the call graph for this function:

Here is the caller graph for this function:

static void _zbar_image_refcnt ( zbar_image_t *  img,
int  delta 
)
inlinestatic
static void _zbar_image_swap_symbols ( zbar_image_t *  a,
zbar_image_t *  b 
)
inlinestatic

Referenced by _zbar_process_image().

Here is the caller graph for this function: