Classes | |
struct | zimg_hdr_s |
Typedefs | |
typedef struct zimg_hdr_s | zimg_hdr_t |
Functions | |
void | _zbar_image_free (zbar_image_t *img) |
zbar_image_t * | zbar_image_copy (const zbar_image_t *src) |
zbar_image_t * | zbar_image_create () |
new image constructor. More... | |
void | zbar_image_destroy (zbar_image_t *img) |
const zbar_symbol_t * | zbar_image_first_symbol (const zbar_image_t *img) |
void | zbar_image_free_data (zbar_image_t *img) |
const void * | zbar_image_get_data (const zbar_image_t *img) |
unsigned long | zbar_image_get_data_length (const zbar_image_t *img) |
unsigned long | zbar_image_get_format (const zbar_image_t *img) |
unsigned | zbar_image_get_height (const zbar_image_t *img) |
unsigned | zbar_image_get_sequence (const zbar_image_t *img) |
const zbar_symbol_set_t * | zbar_image_get_symbols (const zbar_image_t *img) |
void * | zbar_image_get_userdata (const zbar_image_t *img) |
unsigned | zbar_image_get_width (const zbar_image_t *img) |
void | zbar_image_ref (zbar_image_t *img, int refs) |
void | zbar_image_set_data (zbar_image_t *img, const void *data, unsigned long len, zbar_image_cleanup_handler_t *cleanup) |
void | zbar_image_set_format (zbar_image_t *img, unsigned long fmt) |
void | zbar_image_set_sequence (zbar_image_t *img, unsigned seq) |
void | zbar_image_set_size (zbar_image_t *img, unsigned w, unsigned h) |
void | zbar_image_set_symbols (zbar_image_t *img, const zbar_symbol_set_t *syms) |
void | zbar_image_set_userdata (zbar_image_t *img, void *userdata) |
int | zbar_image_write (const zbar_image_t *img, const char *filebase) |
typedef struct zimg_hdr_s zimg_hdr_t |
void _zbar_image_free | ( | zbar_image_t * | img | ) |
References zbar_symbol_set_ref().
Referenced by _zbar_image_refcnt().
zbar_image_t* zbar_image_copy | ( | const zbar_image_t * | src | ) |
References zbar_image_create(), and zbar_image_free_data().
zbar_image_t* zbar_image_create | ( | void | ) |
new image constructor.
References _zbar_image_refcnt(), and _zbar_refcnt_init().
Referenced by _zbar_format_lookup(), image_new(), main(), scan_image(), zbar_gtk_processing_thread(), zbar_image_convert_resize(), zbar_image_copy(), zbar_image_free_data(), zbar_video_create(), zbar_video_init(), and zbar_video_next_image().
void zbar_image_destroy | ( | zbar_image_t * | img | ) |
References _zbar_image_refcnt().
Referenced by _zbar_format_lookup(), _zbar_process_image(), _zbar_processor_handle_input(), image_clear(), main(), proc_video_handler(), proc_wait_unthreaded(), scan_image(), zbar_gtk_process_image(), zbar_gtk_processing_thread(), zbar_image_convert_resize(), zbar_video_destroy(), zbar_video_init(), and zbar_window_redraw().
const zbar_symbol_t* zbar_image_first_symbol | ( | const zbar_image_t * | img | ) |
Referenced by _zbar_process_image(), data_handler(), main(), scan_image(), and zbar_gtk_process_image().
|
inline |
References zbar_image_create().
Referenced by _zbar_convert_jpeg_to_y(), image_set_data(), main(), scan_image(), zbar_image_convert_resize(), zbar_image_copy(), and zbar_image_set_data().
const void* zbar_image_get_data | ( | const zbar_image_t * | img | ) |
Referenced by _zbar_process_image(), image_get_data(), main(), test_cleanup_handler(), and zbarImage_validate().
unsigned long zbar_image_get_data_length | ( | const zbar_image_t * | img | ) |
Referenced by image_get_data(), main(), and zbarImage_validate().
unsigned long zbar_image_get_format | ( | const zbar_image_t * | img | ) |
Referenced by _zbar_process_image(), image_get_format(), main(), and test_image_bars().
unsigned zbar_image_get_height | ( | const zbar_image_t * | img | ) |
Referenced by _zbar_process_image(), image_get_int(), image_get_size(), image_set_int(), main(), test_image_bars(), zbar_process_image(), and zbarImage_validate().
unsigned zbar_image_get_sequence | ( | const zbar_image_t * | img | ) |
const zbar_symbol_set_t* zbar_image_get_symbols | ( | const zbar_image_t * | img | ) |
Referenced by image_get_symbols(), and zbar_gtk_process_image().
void* zbar_image_get_userdata | ( | const zbar_image_t * | img | ) |
Referenced by image_cleanup(), image_clear(), image_get_data(), process_handler(), and zbar_gtk_release_pixbuf().
unsigned zbar_image_get_width | ( | const zbar_image_t * | img | ) |
Referenced by _zbar_process_image(), image_get_int(), image_get_size(), image_set_int(), main(), test_image_bars(), zbar_process_image(), and zbarImage_validate().
void zbar_image_ref | ( | zbar_image_t * | img, |
int | refs | ||
) |
References _zbar_image_refcnt().
Referenced by zbarImage_FromImage().
void zbar_image_set_data | ( | zbar_image_t * | img, |
const void * | data, | ||
unsigned long | len, | ||
zbar_image_cleanup_handler_t * | cleanup | ||
) |
References test_zbar::data, len, and zbar_image_free_data().
Referenced by image_set_data(), main(), scan_image(), test_image_bars(), and zbar_gtk_image_from_pixbuf().
void zbar_image_set_format | ( | zbar_image_t * | img, |
unsigned long | fmt | ||
) |
Referenced by image_set_format(), main(), scan_image(), and zbar_gtk_image_from_pixbuf().
void zbar_image_set_sequence | ( | zbar_image_t * | img, |
unsigned | seq | ||
) |
void zbar_image_set_size | ( | zbar_image_t * | img, |
unsigned | w, | ||
unsigned | h | ||
) |
Referenced by image_init(), image_set_int(), image_set_size(), main(), scan_image(), and zbar_gtk_image_from_pixbuf().
void zbar_image_set_symbols | ( | zbar_image_t * | img, |
const zbar_symbol_set_t * | syms | ||
) |
References zbar_symbol_set_ref().
Referenced by image_set_symbols(), and zbar_gtk_process_image().
References userdata.
Referenced by image_cleanup(), image_clear(), image_convert(), image_new(), image_set_data(), zbar_gtk_image_from_pixbuf(), zbar_gtk_release_pixbuf(), and zbarImage_FromImage().
int zbar_image_write | ( | const zbar_image_t * | img, |
const char * | filebase | ||
) |
References fclose(), zimg_hdr_s::format, zimg_hdr_s::height, test_pygtk::info, len, zimg_hdr_s::magic, zimg_hdr_s::size, zimg_hdr_s::width, y, zbar_image_write_png, and zprintf.
Referenced by _zbar_process_image(), and main().