ZBar Bar Code Reader Library  version 0.10
zbarmodule.h File Reference
Include dependency graph for zbarmodule.h:

Classes

struct  zbarDecoder
 
struct  zbarEnum
 
struct  zbarEnumItem
 
struct  zbarException
 
struct  zbarImage
 
struct  zbarImageScanner
 
struct  zbarProcessor
 
struct  zbarScanner
 
struct  zbarSymbol
 
struct  zbarSymbolIter
 
struct  zbarSymbolSet
 

Macros

#define zbarProcessor_Check(obj)
 
#define zbarSymbolSet_Check(obj)
 

Functions

int object_to_bool (PyObject *obj, int *val)
 
int zbarEnum_Add (zbarEnum *self, int val, const char *name)
 
zbarEnumzbarEnum_New (void)
 
zbarEnumItemzbarEnumItem_New (PyObject *byname, PyObject *byvalue, int val, const char *name)
 
PyObject * zbarErr_Set (PyObject *self)
 
zbarImagezbarImage_FromImage (zbar_image_t *zimg)
 
int zbarImage_validate (zbarImage *image)
 
zbarSymbolzbarSymbol_FromSymbol (const zbar_symbol_t *zsym)
 
zbarEnumItemzbarSymbol_LookupEnum (zbar_symbol_type_t type)
 
zbarSymbolIterzbarSymbolIter_FromSymbolSet (zbarSymbolSet *syms)
 
zbarSymbolSetzbarSymbolSet_FromSymbolSet (const zbar_symbol_set_t *zsyms)
 

Variables

zbarEnumItemcolor_enum [2]
 
zbarEnumconfig_enum
 
PyObject * symbol_enum
 
zbarEnumItemsymbol_NONE
 
PyObject * zbar_exc [ZBAR_ERR_NUM]
 
PyTypeObject zbarDecoder_Type
 
PyTypeObject zbarEnum_Type
 
PyTypeObject zbarEnumItem_Type
 
PyTypeObject zbarException_Type
 
PyTypeObject zbarImage_Type
 
PyTypeObject zbarImageScanner_Type
 
PyTypeObject zbarProcessor_Type
 
PyTypeObject zbarScanner_Type
 
PyTypeObject zbarSymbol_Type
 
PyTypeObject zbarSymbolIter_Type
 
PyTypeObject zbarSymbolSet_Type
 

Macro Definition Documentation

#define zbarProcessor_Check (   obj)

Referenced by exc_get_message().

#define zbarSymbolSet_Check (   obj)

Referenced by image_set_symbols().

Function Documentation

int object_to_bool ( PyObject *  obj,
int *  val 
)

Referenced by imagescanner_enable_cache(), and processor_init_().

Here is the caller graph for this function:

int zbarEnum_Add ( zbarEnum self,
int  val,
const char *  name 
)

References zbarEnumItem_New().

Referenced by initzbar().

Here is the call graph for this function:

Here is the caller graph for this function:

zbarEnum* zbarEnum_New ( void  )

References zbarEnum_Type.

Referenced by initzbar().

Here is the caller graph for this function:

zbarEnumItem* zbarEnumItem_New ( PyObject *  byname,
PyObject *  byvalue,
int  val,
const char *  name 
)

References zbarEnumItem_Type.

Referenced by initzbar(), and zbarEnum_Add().

Here is the caller graph for this function:

PyObject* zbarErr_Set ( PyObject *  self)
zbarImage* zbarImage_FromImage ( zbar_image_t *  zimg)

References zbar_image_ref(), zbar_image_set_userdata(), and zbarImage_Type.

Referenced by process_handler().

Here is the call graph for this function:

Here is the caller graph for this function:

int zbarImage_validate ( zbarImage image)

References zbar_image_get_data(), zbar_image_get_data_length(), zbar_image_get_height(), zbar_image_get_width(), and zbarImage::zimg.

Referenced by imagescanner_scan(), and processor_process_image().

Here is the call graph for this function:

Here is the caller graph for this function:

zbarSymbol* zbarSymbol_FromSymbol ( const zbar_symbol_t *  zsym)

References zbar_symbol_ref(), and zbarSymbol_Type.

Referenced by symboliter_iternext().

Here is the call graph for this function:

Here is the caller graph for this function:

zbarEnumItem* zbarSymbol_LookupEnum ( zbar_symbol_type_t  type)

References symbol_enum.

Referenced by decoder_decode_width(), decoder_get_type(), scanner_scan_y(), and symbol_get_type().

Here is the caller graph for this function:

zbarSymbolIter* zbarSymbolIter_FromSymbolSet ( zbarSymbolSet syms)

References zbarSymbolIter_Type.

Referenced by image_iter(), symbol_iter(), and symbolset_iter().

Here is the caller graph for this function:

zbarSymbolSet* zbarSymbolSet_FromSymbolSet ( const zbar_symbol_set_t *  zsyms)

References zbar_symbol_set_ref(), and zbarSymbolSet_Type.

Referenced by image_get_symbols(), imagescanner_get_results(), processor_get_results(), and symbol_get_components().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

zbarEnumItem* color_enum[2]
zbarEnum* config_enum
PyObject* symbol_enum
zbarEnumItem* symbol_NONE
PyObject* zbar_exc[ZBAR_ERR_NUM]
PyTypeObject zbarDecoder_Type
PyTypeObject zbarEnum_Type
PyTypeObject zbarEnumItem_Type
PyTypeObject zbarException_Type
PyTypeObject zbarImage_Type
PyTypeObject zbarImageScanner_Type
PyTypeObject zbarProcessor_Type
PyTypeObject zbarScanner_Type
PyTypeObject zbarSymbol_Type
PyTypeObject zbarSymbolIter_Type
PyTypeObject zbarSymbolSet_Type