wrap a QImage and convert into a format suitable for scanning. More...


Public Member Functions | |
| QZBarImage (const QImage &qimg) | |
| construct a zbar library image based on an existing QImage. More... | |
| Image | convert (unsigned long format) const |
| image format conversion. More... | |
| Image | convert (unsigned long format, unsigned width, unsigned height) const |
| image format conversion with crop/pad. More... | |
| const void * | get_data () const |
| return the image sample data. More... | |
| unsigned long | get_data_length () const |
| return the size of the image sample data. More... | |
| unsigned long | get_format () const |
| retrieve the image format. More... | |
| unsigned | get_height () const |
| retrieve the height of the image. More... | |
| unsigned | get_sequence () const |
| retrieve a "sequence" (page/frame) number associated with this image. More... | |
| const SymbolSet | get_symbols () const |
| unsigned | get_width () const |
| retrieve the width of the image. More... | |
| operator const zbar_image_t * () const | |
| cast to C image object More... | |
| operator zbar_image_t * () | |
| cast to C image object More... | |
| void | set_data (const void *data, unsigned long length) |
| specify image sample data. More... | |
| void | set_format (unsigned long format) |
| specify the fourcc image format code for image sample data. More... | |
| void | set_format (const std::string &format) |
| specify the fourcc image format code for image sample data. More... | |
| void | set_sequence (unsigned sequence_num) |
| associate a "sequence" (page/frame) number with this image. More... | |
| void | set_size (unsigned width, unsigned height) |
| specify the pixel size of the image. More... | |
| void | set_symbols (const SymbolSet &syms) |
| SymbolIterator | symbol_begin () const |
| create a new SymbolIterator over decoded results. More... | |
| SymbolIterator | symbol_end () const |
| return a SymbolIterator suitable for ending iteration. More... | |
Static Protected Member Functions | |
| static void | _cleanup (zbar_image_t *img) |
| default data cleanup (noop) More... | |
Private Attributes | |
| QImage | qimg |
wrap a QImage and convert into a format suitable for scanning.
|
inline |
construct a zbar library image based on an existing QImage.
References scan_image::height, zbar::Image::set_data(), zbar::Image::set_format(), zbar::Image::set_size(), and scan_image::width.

|
inlinestaticprotectedinherited |
default data cleanup (noop)
References zbar::zbar_image_get_userdata().
Referenced by zbar::Image::set_data().


|
inlineinherited |
image format conversion.
References zbar::Image::_img, zbar::Image::Image(), and zbar::zbar_image_convert().
Referenced by zbar::QZBarThread::processImage().


|
inlineinherited |
image format conversion with crop/pad.
see zbar_image_convert_resize()
References zbar::Image::_img, zbar::Image::Image(), and zbar::zbar_image_convert_resize().

|
inlineinherited |
return the image sample data.
References zbar::Image::_img, and zbar::zbar_image_get_data().

|
inlineinherited |
return the size of the image sample data.
see zbar_image_get_data_length()
References zbar::Image::_img, and zbar::zbar_image_get_data_length().

|
inlineinherited |
retrieve the image format.
References zbar::Image::_img, and zbar::zbar_image_get_format().

|
inlineinherited |
retrieve the height of the image.
References zbar::Image::_img, and zbar::zbar_image_get_height().

|
inlineinherited |
retrieve a "sequence" (page/frame) number associated with this image.
References zbar::Image::_img, and zbar::zbar_image_get_sequence().

|
inlineinherited |
References zbar::Image::_img, and zbar::zbar_image_get_symbols().
Referenced by zbar::QZBarThread::processImage(), and zbar::Image::symbol_begin().


|
inlineinherited |
retrieve the width of the image.
References zbar::Image::_img, and zbar::zbar_image_get_width().

|
inlineinherited |
cast to C image object
References zbar::Image::_img.
|
inlineinherited |
cast to C image object
References zbar::Image::_img.
specify image sample data.
References zbar::Image::_cleanup(), zbar::Image::_img, and zbar::zbar_image_set_data().
Referenced by zbar::Image::Image(), main(), and QZBarImage().


|
inlineinherited |
specify the fourcc image format code for image sample data.
References zbar::Image::_img, and zbar::zbar_image_set_format().
Referenced by zbar::Image::Image(), and QZBarImage().


|
inlineinherited |
specify the fourcc image format code for image sample data.
References zbar::Image::_img, fourcc, and zbar::zbar_image_set_format().

|
inlineinherited |
associate a "sequence" (page/frame) number with this image.
References zbar::Image::_img, and zbar::zbar_image_set_sequence().

|
inlineinherited |
specify the pixel size of the image.
References zbar::Image::_img, and zbar::zbar_image_set_size().
Referenced by zbar::Image::Image(), and QZBarImage().


References zbar::Image::_img, and zbar::zbar_image_set_symbols().
Referenced by zbar::QZBarThread::processImage().


|
inlineinherited |
create a new SymbolIterator over decoded results.
References zbar::Image::get_symbols().
Referenced by zbar::QZBarThread::image_callback(), and main().


|
inlineinherited |
return a SymbolIterator suitable for ending iteration.
Referenced by zbar::QZBarThread::image_callback(), and main().

|
private |