Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

VDeviceBUZInput Class Reference

#include <vdevicebuz.h>

List of all members.

Public Member Functions

 VDeviceBUZInput (VDeviceBUZ *device)
 ~VDeviceBUZInput ()
void start ()
void run ()
void get_buffer (char **ptr, int *size)
void put_buffer ()
void increment_counter (int *counter)
void decrement_counter (int *counter)

Public Attributes

VDeviceBUZdevice
char ** buffer
int * buffer_size
int total_buffers
int current_inbuffer
int current_outbuffer
Condition * output_lock
Mutex * buffer_lock
int done


Detailed Description

Definition at line 26 of file vdevicebuz.h.


Constructor & Destructor Documentation

VDeviceBUZInput::VDeviceBUZInput VDeviceBUZ device  ) 
 

Definition at line 38 of file vdevicebuz.C.

References buffer, buffer_lock, buffer_size, current_inbuffer, current_outbuffer, done, output_lock, and total_buffers.

VDeviceBUZInput::~VDeviceBUZInput  ) 
 

Definition at line 52 of file vdevicebuz.C.

References buffer, buffer_lock, buffer_size, done, output_lock, and total_buffers.


Member Function Documentation

void VDeviceBUZInput::decrement_counter int *  counter  ) 
 

Definition at line 175 of file vdevicebuz.C.

References total_buffers.

void VDeviceBUZInput::get_buffer char **  ptr,
int *  size
 

Definition at line 135 of file vdevicebuz.C.

References buffer, buffer_lock, buffer_size, current_outbuffer, output_lock, and READ_TIMEOUT.

Referenced by VDeviceBUZ::read_buffer().

void VDeviceBUZInput::increment_counter int *  counter  ) 
 

Definition at line 169 of file vdevicebuz.C.

References total_buffers.

Referenced by put_buffer(), and run().

void VDeviceBUZInput::put_buffer  ) 
 

Definition at line 161 of file vdevicebuz.C.

References buffer_lock, buffer_size, current_outbuffer, and increment_counter().

Referenced by VDeviceBUZ::read_buffer().

void VDeviceBUZInput::run  ) 
 

Definition at line 89 of file vdevicebuz.C.

References VDeviceBUZ::breq, buffer, buffer_lock, buffer_size, BUZIOC_QBUF_CAPT, BUZIOC_SYNC, current_inbuffer, device, done, buz_sync::frame, increment_counter(), VDeviceBUZ::input_buffer, VDeviceBUZ::jvideo_fd, buz_sync::length, output_lock, and buz_requestbuffers::size.

void VDeviceBUZInput::start  ) 
 

Definition at line 74 of file vdevicebuz.C.

References buffer, buffer_size, VideoInConfig::capture_length, VDeviceBase::device, device, VideoDevice::in_config, INPUT_BUFFER_SIZE, and total_buffers.

Referenced by VDeviceBUZ::open_input_core().


Member Data Documentation

char** VDeviceBUZInput::buffer
 

Definition at line 39 of file vdevicebuz.h.

Referenced by get_buffer(), run(), start(), VDeviceBUZInput(), and ~VDeviceBUZInput().

Mutex* VDeviceBUZInput::buffer_lock
 

Definition at line 45 of file vdevicebuz.h.

Referenced by get_buffer(), put_buffer(), run(), VDeviceBUZInput(), and ~VDeviceBUZInput().

int* VDeviceBUZInput::buffer_size
 

Definition at line 40 of file vdevicebuz.h.

Referenced by get_buffer(), put_buffer(), run(), start(), VDeviceBUZInput(), and ~VDeviceBUZInput().

int VDeviceBUZInput::current_inbuffer
 

Definition at line 42 of file vdevicebuz.h.

Referenced by run(), and VDeviceBUZInput().

int VDeviceBUZInput::current_outbuffer
 

Definition at line 43 of file vdevicebuz.h.

Referenced by get_buffer(), put_buffer(), and VDeviceBUZInput().

VDeviceBUZ* VDeviceBUZInput::device
 

Definition at line 37 of file vdevicebuz.h.

Referenced by run(), and start().

int VDeviceBUZInput::done
 

Definition at line 46 of file vdevicebuz.h.

Referenced by run(), VDeviceBUZInput(), and ~VDeviceBUZInput().

Condition* VDeviceBUZInput::output_lock
 

Definition at line 44 of file vdevicebuz.h.

Referenced by get_buffer(), run(), VDeviceBUZInput(), and ~VDeviceBUZInput().

int VDeviceBUZInput::total_buffers
 

Definition at line 41 of file vdevicebuz.h.

Referenced by decrement_counter(), increment_counter(), start(), VDeviceBUZInput(), and ~VDeviceBUZInput().


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:39:27 2006 for Cinelerra-svn by  doxygen 1.4.4