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

PlaybackPrefs Class Reference

#include <playbackprefs.h>

Inheritance diagram for PlaybackPrefs:

PreferencesDialog List of all members.

Public Member Functions

 PlaybackPrefs (MWindow *mwindow, PreferencesWindow *pwindow)
 ~PlaybackPrefs ()
int create_objects ()
int get_buffer_bytes ()
void delete_strategy ()
void update (int interpolation)
int draw_framerate ()

Static Public Member Functions

static char * strategy_to_string (int strategy)

Public Attributes

ADevicePrefsaudio_device
VDevicePrefsvideo_device
ArrayList< BC_ListBoxItem * > strategies
PlaybackConfigplayback_config
BC_Title * framerate_title
PlaybackNearestnearest_neighbor
PlaybackBicubicBicubiccubic_cubic
PlaybackBicubicBilinearcubic_linear
PlaybackBilinearBilinearlinear_linear
PlaybackDeblockmpeg4_deblock
BC_Title * vdevice_title

Detailed Description

Definition at line 33 of file playbackprefs.h.


Constructor & Destructor Documentation

PlaybackPrefs::PlaybackPrefs MWindow mwindow,
PreferencesWindow pwindow
 

Definition at line 19 of file playbackprefs.C.

References video_device.

PlaybackPrefs::~PlaybackPrefs  ) 
 

Definition at line 25 of file playbackprefs.C.

References audio_device, and video_device.


Member Function Documentation

int PlaybackPrefs::create_objects  )  [virtual]
 

Reimplemented from PreferencesDialog.

Definition at line 31 of file playbackprefs.C.

References _, PlaybackConfig::aconfig, audio_device, cubic_linear, draw_framerate(), PreferencesThread::edl, AudioOutConfig::fragment_size, framerate_title, ADevicePrefs::get_h(), VDevicePrefs::initialize(), ADevicePrefs::initialize(), linear_linear, MODEPLAY, PreferencesDialog::mwindow, nearest_neighbor, EDLSession::playback_config, playback_config, Theme::preferencesoptions_x, Theme::preferencesoptions_y, Theme::preferencestitle_x, Theme::preferencestitle_y, PreferencesDialog::pwindow, EDL::session, MWindow::theme, PreferencesWindow::thread, PlaybackConfig::vconfig, vdevice_title, video_device, and EDLSession::view_follows_playback.

void PlaybackPrefs::delete_strategy  ) 
 

int PlaybackPrefs::draw_framerate  )  [virtual]
 

Reimplemented from PreferencesDialog.

Definition at line 193 of file playbackprefs.C.

References EDLSession::actual_frame_rate, PreferencesThread::edl, framerate_title, PreferencesDialog::pwindow, EDL::session, and PreferencesWindow::thread.

Referenced by create_objects().

int PlaybackPrefs::get_buffer_bytes  ) 
 

Definition at line 188 of file playbackprefs.C.

static char* PlaybackPrefs::strategy_to_string int  strategy  )  [static]
 

void PlaybackPrefs::update int  interpolation  ) 
 

Definition at line 178 of file playbackprefs.C.

References cubic_linear, PreferencesThread::edl, EDLSession::interpolation_type, linear_linear, nearest_neighbor, PreferencesDialog::pwindow, EDL::session, and PreferencesWindow::thread.

Referenced by PlaybackBilinearBilinear::handle_event(), PlaybackBicubicBilinear::handle_event(), PlaybackBicubicBicubic::handle_event(), and PlaybackNearest::handle_event().


Member Data Documentation

ADevicePrefs* PlaybackPrefs::audio_device
 

Definition at line 53 of file playbackprefs.h.

Referenced by create_objects(), and ~PlaybackPrefs().

PlaybackBicubicBicubic* PlaybackPrefs::cubic_cubic
 

Definition at line 60 of file playbackprefs.h.

PlaybackBicubicBilinear* PlaybackPrefs::cubic_linear
 

Definition at line 61 of file playbackprefs.h.

Referenced by create_objects(), and update().

BC_Title* PlaybackPrefs::framerate_title
 

Definition at line 58 of file playbackprefs.h.

Referenced by create_objects(), and draw_framerate().

PlaybackBilinearBilinear* PlaybackPrefs::linear_linear
 

Definition at line 62 of file playbackprefs.h.

Referenced by create_objects(), and update().

PlaybackDeblock* PlaybackPrefs::mpeg4_deblock
 

Definition at line 63 of file playbackprefs.h.

PlaybackNearest* PlaybackPrefs::nearest_neighbor
 

Definition at line 59 of file playbackprefs.h.

Referenced by create_objects(), and update().

PlaybackConfig* PlaybackPrefs::playback_config
 

Definition at line 57 of file playbackprefs.h.

Referenced by create_objects(), PlaybackModuleFragment::handle_event(), and PlaybackAudioOffset::handle_event().

ArrayList<BC_ListBoxItem*> PlaybackPrefs::strategies
 

Definition at line 55 of file playbackprefs.h.

BC_Title* PlaybackPrefs::vdevice_title
 

Definition at line 69 of file playbackprefs.h.

Referenced by create_objects().

VDevicePrefs* PlaybackPrefs::video_device
 

Definition at line 54 of file playbackprefs.h.

Referenced by create_objects(), PlaybackPrefs(), and ~PlaybackPrefs().


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