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

Functions

void image_cleanup (zbar_image_t *zimg)
 
static int image_clear (zbarImage *self)
 
static zbarImageimage_convert (zbarImage *self, PyObject *args, PyObject *kwds)
 
static void image_dealloc (zbarImage *self)
 
static PyObject * image_get_data (zbarImage *self, void *closure)
 
static PyObject * image_get_format (zbarImage *self, void *closure)
 
static PyObject * image_get_int (zbarImage *self, void *closure)
 
static PyObject * image_get_size (zbarImage *self, void *closure)
 
static zbarSymbolSetimage_get_symbols (zbarImage *self, void *closure)
 
static int image_init (zbarImage *self, PyObject *args, PyObject *kwds)
 
static zbarSymbolIterimage_iter (zbarImage *self)
 
static zbarImageimage_new (PyTypeObject *type, PyObject *args, PyObject *kwds)
 
static int image_set_data (zbarImage *self, PyObject *value, void *closure)
 
static int image_set_format (zbarImage *self, PyObject *value, void *closure)
 
static int image_set_int (zbarImage *self, PyObject *value, void *closure)
 
static int image_set_size (zbarImage *self, PyObject *value, void *closure)
 
static int image_set_symbols (zbarImage *self, PyObject *value, void *closure)
 
static int image_traverse (zbarImage *self, visitproc visit, void *arg)
 
zbarImagezbarImage_FromImage (zbar_image_t *zimg)
 
int zbarImage_validate (zbarImage *img)
 

Variables

static char image_doc []
 
static PyGetSetDef image_getset []
 
static PyMethodDef image_methods []
 
PyTypeObject zbarImage_Type
 

Function Documentation

void image_cleanup ( zbar_image_t *  zimg)

References test_zbar::data, zbar_image_get_userdata(), zbar_image_set_userdata(), and zbarImage_Type.

Referenced by image_set_data().

Here is the call graph for this function:

Here is the caller graph for this function:

static int image_clear ( zbarImage self)
static

References zbar_image_destroy(), zbar_image_get_userdata(), and zbar_image_set_userdata().

Referenced by image_dealloc().

Here is the call graph for this function:

Here is the caller graph for this function:

static zbarImage* image_convert ( zbarImage self,
PyObject *  args,
PyObject *  kwds 
)
static
static void image_dealloc ( zbarImage self)
static

References image_clear().

Here is the call graph for this function:

static PyObject* image_get_data ( zbarImage self,
void closure 
)
static

References test_zbar::data, zbar_image_get_data(), zbar_image_get_data_length(), and zbar_image_get_userdata().

Here is the call graph for this function:

static PyObject* image_get_format ( zbarImage self,
void closure 
)
static

References format, and zbar_image_get_format().

Here is the call graph for this function:

static PyObject* image_get_int ( zbarImage self,
void closure 
)
static

References zbar_image_get_height(), zbar_image_get_sequence(), and zbar_image_get_width().

Here is the call graph for this function:

static PyObject* image_get_size ( zbarImage self,
void closure 
)
static

References scan_image::height, scan_image::width, zbar_image_get_height(), and zbar_image_get_width().

Here is the call graph for this function:

static zbarSymbolSet* image_get_symbols ( zbarImage self,
void closure 
)
static

References zbar_image_get_symbols(), and zbarSymbolSet_FromSymbolSet().

Referenced by image_iter().

Here is the call graph for this function:

Here is the caller graph for this function:

static int image_init ( zbarImage self,
PyObject *  args,
PyObject *  kwds 
)
static
static zbarSymbolIter* image_iter ( zbarImage self)
static

References image_get_symbols(), and zbarSymbolIter_FromSymbolSet().

Here is the call graph for this function:

static zbarImage* image_new ( PyTypeObject *  type,
PyObject *  args,
PyObject *  kwds 
)
static

References zbar_image_create(), zbar_image_set_userdata(), and zbarImage::zimg.

Here is the call graph for this function:

static int image_set_data ( zbarImage self,
PyObject *  value,
void closure 
)
static

References test_zbar::data, image_cleanup(), zbar_image_free_data(), zbar_image_set_data(), and zbar_image_set_userdata().

Referenced by image_init().

Here is the call graph for this function:

Here is the caller graph for this function:

static int image_set_format ( zbarImage self,
PyObject *  value,
void closure 
)
static

References format, len, and zbar_image_set_format().

Referenced by image_init().

Here is the call graph for this function:

Here is the caller graph for this function:

static int image_set_int ( zbarImage self,
PyObject *  value,
void closure 
)
static

References zbar_image_get_height(), zbar_image_get_width(), zbar_image_set_sequence(), and zbar_image_set_size().

Here is the call graph for this function:

static int image_set_size ( zbarImage self,
PyObject *  value,
void closure 
)
static

References scan_image::height, scan_image::width, and zbar_image_set_size().

Here is the call graph for this function:

static int image_set_symbols ( zbarImage self,
PyObject *  value,
void closure 
)
static

References zbar_image_set_symbols(), and zbarSymbolSet_Check.

Here is the call graph for this function:

static int image_traverse ( zbarImage self,
visitproc  visit,
void arg 
)
static
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 img)

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:

Variable Documentation

char image_doc[]
static
PyGetSetDef image_getset[]
static
PyMethodDef image_methods[]
static