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

Functions

int _zbar_window_probe_xv (zbar_window_t *w)
 
static int xv_add_format (zbar_window_t *w, uint32_t fmt, XvPortID port)
 
static int xv_cleanup (zbar_window_t *w)
 
static int xv_draw (zbar_window_t *w, zbar_image_t *img)
 
static int xv_init (zbar_window_t *w, zbar_image_t *img, int format_change)
 
static int xv_probe_port (zbar_window_t *w, XvPortID port)
 

Function Documentation

int _zbar_window_probe_xv ( zbar_window_t *  w)

References __func__, err_capture(), window_state_s::num_xv_adaptors, SEV_ERROR, x, window_state_s::xv_adaptors, xv_cleanup(), xv_draw(), xv_init(), window_state_s::xv_ports, xv_probe_port(), zbar::ZBAR_ERR_XPROTO, and zprintf.

Referenced by _zbar_window_attach().

Here is the call graph for this function:

Here is the caller graph for this function:

static int xv_add_format ( zbar_window_t *  w,
uint32_t  fmt,
XvPortID  port 
)
inlinestatic

References _zbar_window_add_format(), x, and window_state_s::xv_ports.

Referenced by xv_probe_port().

Here is the call graph for this function:

Here is the caller graph for this function:

static int xv_cleanup ( zbar_window_t *  w)
static

References window_state_s::img, window_state_s::num_xv_adaptors, x, window_state_s::xv_adaptors, and window_state_s::xv_ports.

Referenced by _zbar_window_probe_xv().

Here is the caller graph for this function:

static int xv_draw ( zbar_window_t *  w,
zbar_image_t *  img 
)
static

References window_state_s::gc, window_state_s::img, window_state_s::img_port, x, and zprintf.

Referenced by _zbar_window_probe_xv().

Here is the caller graph for this function:

static int xv_init ( zbar_window_t *  w,
zbar_image_t *  img,
int  format_change 
)
inlinestatic

References __func__, err_capture(), window_state_s::img, window_state_s::img_port, SEV_ERROR, x, window_state_s::xv_ports, zbar::ZBAR_ERR_UNSUPPORTED, and zprintf.

Referenced by _zbar_window_probe_xv().

Here is the call graph for this function:

Here is the caller graph for this function:

static int xv_probe_port ( zbar_window_t *  w,
XvPortID  port 
)
static

References __func__, err_capture(), formats, scan_image::height, SEV_ERROR, scan_image::width, xv_add_format(), zbar::ZBAR_ERR_INVALID, zbar::ZBAR_ERR_XPROTO, and zprintf.

Referenced by _zbar_window_probe_xv().

Here is the call graph for this function:

Here is the caller graph for this function: