ZBar Bar Code Reader Library  version 0.10
video.h File Reference

Classes

struct  zbar_video_s
 

Macros

#define ZBAR_VIDEO_IMAGES_MAX
 

Typedefs

typedef enum video_interface_e video_interface_t
 
typedef enum video_iomode_e video_iomode_t
 
typedef struct video_state_s video_state_t
 

Enumerations

enum  video_interface_e {
  VIDEO_INVALID,
  VIDEO_V4L1,
  VIDEO_V4L2,
  VIDEO_VFW
}
 
enum  video_iomode_e {
  VIDEO_READWRITE,
  VIDEO_MMAP,
  VIDEO_USERPTR
}
 

Functions

int _zbar_video_open (zbar_video_t *, const char *)
 
static zbar_image_t * video_dq_image (zbar_video_t *vdo)
 
static int video_lock (zbar_video_t *vdo)
 
static int video_nq_image (zbar_video_t *vdo, zbar_image_t *img)
 
static int video_unlock (zbar_video_t *vdo)
 

Macro Definition Documentation

#define ZBAR_VIDEO_IMAGES_MAX

Typedef Documentation

typedef struct video_state_s video_state_t

Enumeration Type Documentation

Enumerator
VIDEO_INVALID 
VIDEO_V4L1 
VIDEO_V4L2 
VIDEO_VFW 
Enumerator
VIDEO_READWRITE 
VIDEO_MMAP 
VIDEO_USERPTR 

Function Documentation

static zbar_image_t* video_dq_image ( zbar_video_t *  vdo)
inlinestatic

References _zbar_video_open(), zbar_image_s::next, and video_unlock().

Referenced by v4l1_dq(), v4l2_dq(), and vfw_stream_cb().

Here is the call graph for this function:

Here is the caller graph for this function:

static int video_lock ( zbar_video_t *  vdo)
inlinestatic

References __func__, _zbar_mutex_lock, err_capture(), SEV_FATAL, and zbar::ZBAR_ERR_LOCKING.

Referenced by _zbar_video_recycle_image(), _zbar_video_recycle_shadow(), zbar_video_enable(), zbar_video_next_image(), and zbar_video_open().

Here is the call graph for this function:

Here is the caller graph for this function:

static int video_nq_image ( zbar_video_t *  vdo,
zbar_image_t *  img 
)
inlinestatic

References video_unlock().

Referenced by v4l1_nq(), v4l2_nq(), and vfw_nq().

Here is the call graph for this function:

Here is the caller graph for this function:

static int video_unlock ( zbar_video_t *  vdo)
inlinestatic