ZBar Bar Code Reader Library  version 0.10
python/decoder.c File Reference
Include dependency graph for python/decoder.c:

Functions

void decode_handler (zbar_decoder_t *zdcode)
 
static int decoder_clear (zbarDecoder *self)
 
static void decoder_dealloc (zbarDecoder *self)
 
static zbarEnumItemdecoder_decode_width (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static zbarEnumItemdecoder_get_color (zbarDecoder *self, void *closure)
 
static PyObject * decoder_get_data (zbarDecoder *self, void *closure)
 
static zbarEnumItemdecoder_get_type (zbarDecoder *self, void *closure)
 
static zbarDecoderdecoder_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static PyObject * decoder_new_scan (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static PyObject * decoder_parse_config (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static PyObject * decoder_reset (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static PyObject * decoder_set_config (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static PyObject * decoder_set_handler (zbarDecoder *self, PyObject *args, PyObject *kwds)
 
static int decoder_traverse (zbarDecoder *self, visitproc visit, void *arg)
 

Variables

static char decoder_doc []
 
static PyGetSetDef decoder_getset []
 
static PyMethodDef decoder_methods []
 
PyTypeObject zbarDecoder_Type
 

Function Documentation

void decode_handler ( zbar_decoder_t *  zdcode)

References zbar_decoder_get_userdata().

Referenced by decoder_set_handler().

Here is the call graph for this function:

Here is the caller graph for this function:

static int decoder_clear ( zbarDecoder self)
static

References zbar_decoder_set_handler(), and zbar_decoder_set_userdata().

Referenced by decoder_dealloc().

Here is the call graph for this function:

Here is the caller graph for this function:

static void decoder_dealloc ( zbarDecoder self)
static

References decoder_clear(), and zbar_decoder_destroy().

Here is the call graph for this function:

static zbarEnumItem* decoder_decode_width ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References symbol_NONE, scan_image::width, zbar_decode_width(), zbar::ZBAR_NONE, and zbarSymbol_LookupEnum().

Here is the call graph for this function:

static zbarEnumItem* decoder_get_color ( zbarDecoder self,
void closure 
)
static

References color_enum, zbar::ZBAR_BAR, zbar_decoder_get_color(), and zbar::ZBAR_SPACE.

Here is the call graph for this function:

static PyObject* decoder_get_data ( zbarDecoder self,
void closure 
)
static

References zbar_decoder_get_data(), and zbar_decoder_get_data_length().

Here is the call graph for this function:

static zbarEnumItem* decoder_get_type ( zbarDecoder self,
void closure 
)
static

References symbol_NONE, zbar_decoder_get_type(), zbar::ZBAR_NONE, and zbarSymbol_LookupEnum().

Here is the call graph for this function:

static zbarDecoder* decoder_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar_decoder_create(), zbar_decoder_set_userdata(), and zbarDecoder::zdcode.

Here is the call graph for this function:

static PyObject* decoder_new_scan ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar_decoder_new_scan().

Here is the call graph for this function:

static PyObject* decoder_parse_config ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar::zbar_decoder_parse_config().

Here is the call graph for this function:

static PyObject* decoder_reset ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar_decoder_reset().

Here is the call graph for this function:

static PyObject* decoder_set_config ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar::ZBAR_CFG_ENABLE, zbar_decoder_set_config(), and zbar::ZBAR_NONE.

Here is the call graph for this function:

static PyObject* decoder_set_handler ( zbarDecoder self,
PyObject *  args,
PyObject *  kwds 
)
static

References decode_handler(), and zbar_decoder_set_handler().

Here is the call graph for this function:

static int decoder_traverse ( zbarDecoder self,
visitproc  visit,
void arg 
)
static

Variable Documentation

char decoder_doc[]
static
PyGetSetDef decoder_getset[]
static
PyMethodDef decoder_methods[]
static
PyTypeObject zbarDecoder_Type

Referenced by initzbar(), and scanner_new().