VDeviceBUZ Class Reference

#include <vdevicebuz.h>

Inherits VDeviceBase.

Collaboration diagram for VDeviceBUZ:

Collaboration graph
[legend]

Public Member Functions

 VDeviceBUZ (VideoDevice *device)
 ~VDeviceBUZ ()
int open_input ()
int open_output ()
int close_all ()
int read_buffer (VFrame *frame)
int write_buffer (VFrame *frames, EDL *edl)
int reset_parameters ()
ArrayList< int > * get_render_strategies ()
int set_channel (Channel *channel)
int get_norm (int norm)
int set_picture (PictureConfig *picture)
int get_best_colormodel (int colormodel)
void create_channeldb (ArrayList< Channel * > *channeldb)
void new_output_buffer (VFrame *output, int colormodel)

Static Public Member Functions

static void get_inputs (ArrayList< Channel * > *input_sources)

Private Member Functions

int open_input_core (Channel *channel)
int close_input_core ()
int open_output_core (Channel *channel)
int close_output_core ()

Private Attributes

int jvideo_fd
char * input_buffer
char * frame_buffer
char * output_buffer
long frame_size
long frame_allocated
int input_error
long last_frame_no
ArrayList< int > render_strategies
VFrametemp_frame
VFrameuser_frame
mjpeg_tmjpeg
Mutextuner_lock
VDeviceBUZInputinput_thread
struct buz_params bparm
struct buz_requestbuffers breq
int total_loops
int output_number
int brightness
int hue
int color
int contrast
int whiteness

Friends

class VDeviceBUZInput

Detailed Description

Definition at line 50 of file vdevicebuz.h.


Constructor & Destructor Documentation

VDeviceBUZ::VDeviceBUZ ( VideoDevice device  ) 

Definition at line 195 of file vdevicebuz.C.

References ArrayList< TYPE >::append(), render_strategies, reset_parameters(), and tuner_lock.

Here is the call graph for this function:

VDeviceBUZ::~VDeviceBUZ (  ) 

Definition at line 203 of file vdevicebuz.C.

References close_all(), and tuner_lock.

Here is the call graph for this function:


Member Function Documentation

int VDeviceBUZ::open_input (  )  [virtual]

int VDeviceBUZ::open_output (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 339 of file vdevicebuz.C.

int VDeviceBUZ::close_all (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 292 of file vdevicebuz.C.

References close_input_core(), close_output_core(), frame_buffer, and reset_parameters().

Referenced by ~VDeviceBUZ().

Here is the call graph for this function:

int VDeviceBUZ::read_buffer ( VFrame frame  )  [virtual]

int VDeviceBUZ::write_buffer ( VFrame frames,
EDL edl 
) [virtual]

int VDeviceBUZ::reset_parameters (  ) 

ArrayList< int > * VDeviceBUZ::get_render_strategies (  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 771 of file vdevicebuz.C.

References render_strategies.

int VDeviceBUZ::set_channel ( Channel channel  )  [virtual]

Reimplemented from VDeviceBase.

Definition at line 345 of file vdevicebuz.C.

References close_input_core(), close_output_core(), VDeviceBase::device, Mutex::lock(), open_input_core(), open_output_core(), VideoDevice::r, tuner_lock, and Mutex::unlock().

Here is the call graph for this function:

int VDeviceBUZ::get_norm ( int  norm  ) 

Definition at line 426 of file vdevicebuz.C.

References NTSC, PAL, and SECAM.

Referenced by open_input_core(), and open_output_core().

void VDeviceBUZ::get_inputs ( ArrayList< Channel * > *  input_sources  )  [static]

Definition at line 311 of file vdevicebuz.C.

References ArrayList< TYPE >::append(), COMPOSITE_TEXT, Channel::device_name, and SVIDEO_TEXT.

Referenced by open_input_core(), and PrefsChannelPicker::PrefsChannelPicker().

Here is the call graph for this function:

int VDeviceBUZ::set_picture ( PictureConfig picture  )  [virtual]

int VDeviceBUZ::get_best_colormodel ( int  colormodel  ) 

void VDeviceBUZ::create_channeldb ( ArrayList< Channel * > *  channeldb  ) 

Definition at line 368 of file vdevicebuz.C.

void VDeviceBUZ::new_output_buffer ( VFrame output,
int  colormodel 
)

Definition at line 736 of file vdevicebuz.C.

References BC_COMPRESSED, VDeviceBase::device, VFrame::get_color_model(), VideoDevice::out_h, VideoDevice::out_w, VFrame::set_shm_offset(), and user_frame.

Here is the call graph for this function:

int VDeviceBUZ::open_input_core ( Channel channel  )  [private]

int VDeviceBUZ::close_input_core (  )  [private]

int VDeviceBUZ::open_output_core ( Channel channel  )  [private]

int VDeviceBUZ::close_output_core (  )  [private]

Definition at line 255 of file vdevicebuz.C.

References breq, buz_requestbuffers::count, VDeviceBase::device, jvideo_fd, mjpeg, mjpeg_delete(), output_buffer, buz_requestbuffers::size, temp_frame, user_frame, and VideoDevice::w.

Referenced by close_all(), set_channel(), and set_picture().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class VDeviceBUZInput [friend]

Definition at line 56 of file vdevicebuz.h.

Referenced by open_input_core().


Field Documentation

int VDeviceBUZ::jvideo_fd [private]

char* VDeviceBUZ::input_buffer [private]

char * VDeviceBUZ::frame_buffer [private]

Definition at line 81 of file vdevicebuz.h.

Referenced by close_all(), and reset_parameters().

char * VDeviceBUZ::output_buffer [private]

Definition at line 81 of file vdevicebuz.h.

Referenced by close_output_core(), open_output_core(), reset_parameters(), and write_buffer().

long VDeviceBUZ::frame_size [private]

Definition at line 82 of file vdevicebuz.h.

Referenced by reset_parameters().

Definition at line 82 of file vdevicebuz.h.

Referenced by reset_parameters().

int VDeviceBUZ::input_error [private]

Definition at line 83 of file vdevicebuz.h.

Referenced by reset_parameters().

long VDeviceBUZ::last_frame_no [private]

Definition at line 85 of file vdevicebuz.h.

Referenced by reset_parameters().

Definition at line 86 of file vdevicebuz.h.

Referenced by get_render_strategies(), and VDeviceBUZ().

Definition at line 88 of file vdevicebuz.h.

Referenced by close_output_core(), reset_parameters(), and write_buffer().

Definition at line 90 of file vdevicebuz.h.

Referenced by close_output_core(), new_output_buffer(), and reset_parameters().

Definition at line 91 of file vdevicebuz.h.

Referenced by close_output_core(), reset_parameters(), and write_buffer().

Definition at line 93 of file vdevicebuz.h.

Referenced by close_input_core(), open_input_core(), read_buffer(), and reset_parameters().

struct buz_params VDeviceBUZ::bparm [read, private]

Definition at line 95 of file vdevicebuz.h.

Referenced by open_input_core(), and open_output_core().

struct buz_requestbuffers VDeviceBUZ::breq [read, private]

int VDeviceBUZ::total_loops [private]

Definition at line 98 of file vdevicebuz.h.

Referenced by open_output_core(), reset_parameters(), and write_buffer().

Definition at line 100 of file vdevicebuz.h.

Referenced by open_output_core(), reset_parameters(), and write_buffer().

int VDeviceBUZ::brightness [private]

Definition at line 102 of file vdevicebuz.h.

Referenced by open_input_core(), reset_parameters(), and set_picture().

int VDeviceBUZ::hue [private]

Definition at line 103 of file vdevicebuz.h.

Referenced by open_input_core(), reset_parameters(), and set_picture().

int VDeviceBUZ::color [private]

Definition at line 104 of file vdevicebuz.h.

Referenced by open_input_core(), reset_parameters(), and set_picture().

int VDeviceBUZ::contrast [private]

Definition at line 105 of file vdevicebuz.h.

Referenced by open_input_core(), reset_parameters(), and set_picture().

int VDeviceBUZ::whiteness [private]

Definition at line 106 of file vdevicebuz.h.

Referenced by open_input_core(), reset_parameters(), and set_picture().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:48:22 2008 for Cinelerra by  doxygen 1.5.5