Module zbar::zbar [] [src]

Structs

zbar_cleanup_handler_t
zbar_image_data_handler_t
zbar_image_scanner_t
zbar_image_t
zbar_symbol_set_t
zbar_symbol_t

Enums

zbar_color_e
zbar_config_e

decoder configuration options.

zbar_error_e

error codes.

zbar_symbol_type_e

decoded symbol type.

Functions

get_symbol_name
image_free_data
image_set_data
symbol_get_data
zbar_get_symbol_name
zbar_image_create

constructor * @returns a new image object with uninitialized data and format. This image should be * destroyed using zbar_image_destroy as soon as the application is finished with it.

zbar_image_destroy

destructor * all images create by or returned to the application should be destroyed using this function. * when an image is destroyed, the associated data cleanup handler will be involed if * available.

zbar_image_first_symbol
zbar_image_free_data
zbar_image_get_data
zbar_image_get_format
zbar_image_get_height
zbar_image_get_width
zbar_image_ref

image reference count manipulation * increment the reference count when you store a new reference to the image. decrement when * the reference is no longer used. do not refer to the image any longer once the count is * decremented.

zbar_image_scanner_create

constructor *

zbar_image_scanner_destroy

destructor *

zbar_image_scanner_get_results

retrieve decode results for the last scanned image. * @returns the symbol set result container or NULL if no results are available * @note the symbol set does not have its reference count adjusted; ensure that the count is * incremented if the results may be kept after the next image is scanned.

zbar_image_scanner_parse_config

parse configuration string using zbar_parse_config() and apply to image scanner using * zbar image_scanner_set_config() * @returns 0 for suhttps://www.google.com/search?tbm=isch&source=hp&biw=1468&bih=666&ei=EqlJWtD-MKm4jwSM65WADA&q=qr+code&oq=qr+code&gs_l=img.3..0l10.760.1792.0.1926.8.5.0.3.3.0.118.376.3j1.4.0....0...1ac.1.64.img..1.7.411.0...0.6p2UJmijeU0#imgrc=xc-lmcIMuckakM:ccess, non-0 for failure

zbar_image_scanner_set_config

set config for indicated symbology (0 for all) to specified value * @returns 0 for success, non-0 for failure (config does not apply to specified * symbology, or value out of range

zbar_image_scanner_set_data_handler

setup result handler callback * the specified function will be called by the scanner whenever new results are available from * a decoded image. pass a NULL value to disable callbacks. * @returns the previously-registered handler

zbar_image_set_data
zbar_image_set_format
zbar_image_set_size
zbar_parse_config

parse a configuration string of the form "[symbology.]config[=value]". * the config must match one of the recognized names. * the symbology, if present, must match one of the recognized names. * if symbology is unspecified, it will be set to 0. * if value is unspecified, it will be set to 1. * @returns 0 if the config is parsed successfully, 1 otherwise

zbar_scan_image
zbar_set_verbosity
zbar_symbol_get_data
zbar_symbol_get_type
zbar_symbol_next

Symbol Interface