LiVES 1.3.11-svn
Data Structures | Defines | Enumerations | Functions | Variables
src/main.h File Reference
#include <gtk/gtk.h>
#include <gdk/gdkx.h>
#include <gdk/gdkkeysyms.h>
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <string.h>
#include <signal.h>
#include <assert.h>
#include <limits.h>
#include "../libweed/weed.h"
#include "../libweed/weed-events.h"
#include "events.h"
#include "pangotext.h"
#include <inttypes.h>
#include "plugins.h"
#include "colourspace.h"
#include "paramspecial.h"
#include "multitrack.h"
#include "mainwindow.h"
#include "keyboard.h"
#include "preferences.h"
#include <sys/time.h>

Go to the source code of this file.

Data Structures

struct  event
struct  process
struct  lives_audio_track_state_t
struct  lives_colRGB24_t
struct  lives_colRGBA32_t
struct  file
 corresponds to one clip in the GUI More...
struct  capability

Defines

#define BOOTSTRAP_NAME   "/tmp/.smogrify"
#define MAX_FILES   65535
 max files is actually 1 more than this, since file 0 is the clipboard
#define PREFIX_DEFAULT   "/usr"
#define PREFIX   PREFIX_DEFAULT
 if --prefix= was not set, this is set to "NONE"
#define DOC_DIR   "/share/doc/lives-"
#define THEME_DIR   "/share/lives/themes/"
#define PLUGIN_SCRIPTS_DIR   "/share/lives/plugins/"
#define PLUGIN_EXEC_DIR   "/lives/plugins/"
#define ICON_DIR   "/share/lives/icons/"
#define DATA_DIR   "/share/lives/"
#define LIVES_CONFIG_DIR   ".lives-dir/"
#define LIVES_DEVICE_DIR   "/dev/"
#define LIVES_MANUAL_URL   "http://lives.sourceforge.net/manual/"
#define LIVES_MANUAL_FILENAME   "LiVES_manual.html"
#define LIVES_AUTHOR_EMAIL   "mailto:salsaman@xs4all.nl"
#define LIVES_DONATE_URL   "https://sourceforge.net/donate/index.php?group_id=64341"
#define LIVES_BUG_URL   "http://sourceforge.net/tracker/?group_id=64341&atid=507139"
#define LIVES_FEATURE_URL   "http://sourceforge.net/tracker/?group_id=64341&atid=507142"
#define LIVES_TRANSLATE_URL   "https://translations.launchpad.net/lives/trunk"
#define WARN_FILE_SIZE   500
#define FPS_MAX   200.
#define ENABLE_DVD_GRAB
#define FP_BITS   16
#define LIVES_INLINE   inline
#define PATH_MAX   4096
#define WARN_UNUSED
#define AFORM_SIGNED   0
#define AFORM_LITTLE_ENDIAN   0
#define AFORM_UNSIGNED   1
#define AFORM_BIG_ENDIAN   (1<<1)
#define AFORM_UNKNOWN   65536
#define LIVES_CLIP_HEADER_VERSION   100
#define FX_FRAME_PUMP_VAL   100
 how many frames at a time to pump to rfx
#define IMG_BUFF_SIZE   4096
 chunk size for reading images
#define cfile   mainw->files[mainw->current_file]
#define clipboard   mainw->files[0]
#define U82L(String)   ( g_locale_from_utf8 (String,-1,NULL,NULL,NULL) )
#define L2U8(String)   ( g_locale_to_utf8 (String,-1,NULL,NULL,NULL) )
#define PREFS_TIMEOUT   10000000
 10 seconds // TODO !
#define LIVES_TV_CHANNEL1   "http://www.serverwillprovide.com/sorteal/livestvclips/livestv.ogm"

Enumerations

enum  lives_undo_t {
  UNDO_NONE = 0, UNDO_EFFECT, UNDO_RESIZABLE, UNDO_MERGE,
  UNDO_RESAMPLE, UNDO_TRIM_AUDIO, UNDO_CHANGE_SPEED, UNDO_AUDIO_RESAMPLE,
  UNDO_APPEND_AUDIO, UNDO_INSERT, UNDO_CUT, UNDO_DELETE,
  UNDO_DELETE_AUDIO, UNDO_INSERT_SILENCE, UNDO_NEW_AUDIO, UNDO_ATOMIC_RESAMPLE_RESIZE,
  UNDO_RENDER, UNDO_FADE_AUDIO, UNDO_REC_AUDIO, UNDO_INSERT_WITH_AUDIO
}
 need this for event_list_t * More...
enum  lives_whentostop_t { NEVER_STOP = 0, STOP_ON_VID_END, STOP_ON_AUD_END }
 which stream end should cause playback to finish ? More...
enum  lives_cancel_t {
  CANCEL_NONE = 0, CANCEL_USER = 1, CANCEL_NO_PROPOGATE = 2, CANCEL_PREVIEW_FINISHED = 3,
  CANCEL_APP_QUIT = 4, CANCEL_NO_MORE_PREVIEW = 5, CANCEL_CAPTURE_ERROR = 6, CANCEL_EVENT_LIST_END = 7,
  CANCEL_VID_END = 8, CANCEL_GENERATOR_END = 9, CANCEL_KEEP = 10, CANCEL_AUD_END = 11,
  CANCEL_ERROR = 12, CANCEL_USER_PAUSED = 13, CANCEL_KEEP_LOOPING = 100
}
 cancel reason More...
enum  lives_cancel_type_t { CANCEL_KILL = 0, CANCEL_SOFT }
enum  lives_clip_type_t {
  CLIP_TYPE_DISK, CLIP_TYPE_YUV4MPEG, CLIP_TYPE_GENERATOR, CLIP_TYPE_FILE,
  CLIP_TYPE_LIVES2LIVES, CLIP_TYPE_VIDEODEV
}
enum  lives_image_type_t { IMG_TYPE_UNKNOWN = (1<<0), IMG_TYPE_JPEG = (1<<1), IMG_TYPE_PNG = (1<<2) }
enum  lives_interlace_t {
  LIVES_INTERLACE_NONE = 0, LIVES_INTERLACE_BOTTOM_FIRST = 1, LIVES_INTERLACE_TOP_FIRST = 2, LIVES_INTERLACE_NONE = 0,
  LIVES_INTERLACE_BOTTOM_FIRST = 1, LIVES_INTERLACE_TOP_FIRST = 2
}
enum  lives_clip_details_t {
  CLIP_DETAILS_BPP, CLIP_DETAILS_FPS, CLIP_DETAILS_PB_FPS, CLIP_DETAILS_WIDTH,
  CLIP_DETAILS_HEIGHT, CLIP_DETAILS_UNIQUE_ID, CLIP_DETAILS_ARATE, CLIP_DETAILS_PB_ARATE,
  CLIP_DETAILS_ACHANS, CLIP_DETAILS_ASIGNED, CLIP_DETAILS_AENDIAN, CLIP_DETAILS_ASAMPS,
  CLIP_DETAILS_FRAMES, CLIP_DETAILS_TITLE, CLIP_DETAILS_AUTHOR, CLIP_DETAILS_COMMENT,
  CLIP_DETAILS_PB_FRAMENO, CLIP_DETAILS_FILENAME, CLIP_DETAILS_CLIPNAME, CLIP_DETAILS_HEADER_VERSION,
  CLIP_DETAILS_KEYWORDS, CLIP_DETAILS_INTERLACE
}
enum  lives_cursor_t {
  LIVES_CURSOR_NORMAL = 0, LIVES_CURSOR_BLOCK, LIVES_CURSOR_AUDIO_BLOCK, LIVES_CURSOR_BUSY,
  LIVES_CURSOR_FX_BLOCK
}

Functions

void create_LiVES (void)
void enable_record (void)
void toggle_record (void)
void disable_record (void)
processcreate_processing (const gchar *text)
void add_to_winmenu (void)
void remove_from_winmenu (void)
void make_play_window (void)
void resize_play_window (void)
void kill_play_window (void)
void make_preview_box (void)
void add_to_playframe (void)
GtkWidget * create_cdtrack_dialog (gint type, gpointer user_data)
GtkTextView * create_output_textview (void)
gchar * choose_file (gchar *dir, gchar *fname, gchar **filt, GtkFileChooserAction act, GtkWidget *extra)
gboolean do_progress_dialog (gboolean visible, gboolean cancellable, const gchar *text)
gboolean do_warning_dialog (const gchar *text)
gboolean do_warning_dialog_with_check (const gchar *text, gint warn_mask_number)
gboolean do_warning_dialog_with_check_transient (const gchar *text, gint warn_mask_number, GtkWindow *transient)
gboolean do_yesno_dialog (const gchar *text)
void do_error_dialog (const gchar *text)
void do_error_dialog_with_check (const gchar *text, gint warn_mask_number)
void do_blocking_error_dialog (const gchar *text)
void do_error_dialog_with_check_transient (const gchar *text, gboolean is_blocking, gint warn_mask_number, GtkWindow *transient)
void add_warn_check (GtkBox *box, gint warn_mask_number)
void do_memory_error_dialog (void)
void too_many_files (void)
void tempdir_warning (void)
void do_audio_import_error (void)
void do_mt_backup_space_error (lives_mt *, gint memreq_mb)
gboolean do_clipboard_fps_warning (void)
void perf_mem_warning (void)
void do_dvgrab_error (void)
gboolean do_comments_dialog (file *sfile, gchar *filename)
void do_auto_dialog (const gchar *text, gint type)
void do_encoder_acodec_error (void)
void do_encoder_sox_error (void)
gboolean rdet_suggest_values (gint width, gint height, gdouble fps, gint fps_num, gint fps_denom, gint arate, gint asigned, gboolean anr, gboolean ignore_fps)
gboolean do_encoder_restrict_dialog (gint width, gint height, gdouble fps, gint fps_num, gint fps_denom, gint arate, gint asigned, gboolean anr)
void do_keys_window (void)
void do_mt_keys_window (void)
void do_messages_window (void)
void do_firstever_dialog (void)
void do_upgrade_error_dialog (void)
void do_no_mplayer_sox_error (void)
void do_aud_during_play_error (void)
void do_rendered_fx_dialog (void)
void do_layout_scrap_file_error (void)
void do_set_load_lmap_error (void)
gboolean do_set_duplicate_warning (const gchar *new_set)
gboolean do_set_rename_old_layouts_warning (const gchar *new_set)
gboolean do_layout_alter_frames_warning (void)
gboolean do_layout_alter_audio_warning (void)
gboolean do_yuv4m_open_warning (void)
void do_mt_undo_mem_error (void)
void do_mt_undo_buf_error (void)
void do_mt_set_mem_error (gboolean has_mt, gboolean trans)
void do_mt_audchan_error (gint warn_mask)
void do_mt_no_audchan_error (void)
void do_mt_no_jack_error (gint warn_mask)
gboolean do_mt_rect_prompt (void)
void do_audrate_error_dialog (void)
gboolean do_event_list_warning (void)
void do_nojack_rec_error (void)
void do_vpp_palette_error (void)
void do_vpp_fps_error (void)
void do_decoder_palette_error (void)
void do_rmem_max_error (gint size)
gboolean do_original_lost_warning (const gchar *fname)
void do_no_decoder_error (const gchar *fname)
void do_jack_noopen_warn (void)
void do_jack_noopen_warn2 (void)
void do_jack_noopen_warn3 (void)
void do_jack_noopen_warn4 (void)
void do_file_perm_error (const gchar *file_name)
void do_dir_perm_error (const gchar *dir_name)
void do_encoder_img_ftm_error (render_details *rdet)
void do_after_crash_warning (void)
void do_bad_layout_error (void)
void do_card_in_use_error (void)
void do_dev_busy_error (const gchar *devstr)
gboolean do_existing_subs_warning (void)
void do_invalid_subs_error (void)
gboolean do_erase_subs_warning (void)
gboolean do_sub_type_warning (const gchar *ext, const gchar *type_ext)
gboolean do_move_tmpdir_dialog (void)
void do_set_locked_warning (const gchar *setname)
void do_no_in_vdevs_error (void)
void do_locked_in_vdevs_error (void)
void do_do_not_close_d (void)
gboolean process_one (gboolean visible)
void do_threaded_dialog (const gchar *text, gboolean has_cancel)
void end_threaded_dialog (void)
void response_ok (GtkButton *button, gpointer user_data)
void response_cancel (GtkButton *button, gpointer user_data)
void pump_io_chan (GIOChannel *iochan)
void do_splash_progress (void)
void d_print_cancelled (void)
void d_print_failed (void)
void d_print_done (void)
void d_print_file_error_failed (void)
void do_text_window (const gchar *title, const gchar *text)
gboolean add_file_info (const gchar *check_handle, gboolean aud_only)
void save_file_comments (int fileno)
void reget_afilesize (int fileno)
void deduce_file (const gchar *filename, gdouble start_time, gint end)
void open_file (const gchar *filename)
void open_file_sel (const gchar *file_name, gdouble start_time, gint frames)
void open_fw_device (void)
gboolean get_new_handle (gint index, const gchar *name)
gboolean get_temp_handle (gint index, gboolean create)
void get_handle_from_info_file (gint index)
void create_cfile (void)
void save_file (gboolean existing, gchar *n_file_name)
void play_file (void)
gboolean save_frame (gint clip, gint frame, const gchar *file_name, gint width, gint height)
void wait_for_stop (const gchar *stop_command)
void save_clip_values (gint which_file)
void add_to_recovery_file (const gchar *handle)
void rewrite_recovery_file (void)
gboolean check_for_recovery_files (gboolean auto_recover)
void recover_layout_map (gint numclips)
const gchar * get_deinterlace_string (void)
void backup_file (const gchar *filename)
gint save_event_frames (void)
void write_headers (file *file)
void restore_file (const gchar *filename)
gboolean read_headers (const gchar *file_name)
void open_set_file (const gchar *set_name, gint clipnum)
gboolean open_scrap_file (void)
gint save_to_scrap_file (weed_plant_t *layer)
gboolean load_from_scrap_file (weed_plant_t *layer, int frame)
void close_scrap_file (void)
void catch_sigint (int signum)
gboolean startup_message_fatal (const gchar *msg)
gboolean startup_message_nonfatal (const gchar *msg)
gboolean startup_message_nonfatal_dismissable (const gchar *msg, gint warning_mask)
capabilityget_capabilities (void)
void get_monitors (void)
void load_start_image (gint frame)
void load_end_image (gint frame)
void load_preview_image (gboolean update_always)
gboolean pull_frame (weed_plant_t *layer, const gchar *image_ext, weed_timecode_t tc)
gboolean pull_frame_at_size (weed_plant_t *layer, const gchar *image_ext, weed_timecode_t tc, int width, int height, int target_palette)
GdkPixbuf * pull_gdk_pixbuf_at_size (gint clip, gint frame, const gchar *image_ext, weed_timecode_t tc, gint width, gint height, GdkInterpType interp)
void load_frame_image (gint frame)
void sensitize (void)
void desensitize (void)
void procw_desensitize (void)
void close_current_file (gint file_to_switch_to)
 close current file, and try to switch to file_to_switch_to
void get_next_free_file (void)
void switch_to_file (gint old_file, gint new_file)
void do_quick_switch (gint new_file)
void resize (gdouble scale)
GdkPixbuf * lives_scale_simple (GdkPixbuf *, gint width, gint height)
gboolean read_file_details (const gchar *file_name, gboolean only_check_for_audio)
void do_start_messages (void)
void set_palette_colours (void)
void set_main_title (const gchar *filename, gint or_untitled_number)
void set_record (void)
weed_plant_t * weed_layer_new_from_video (gint fnum, gint frame)
void fade_background (void)
void unfade_background (void)
void block_expose (void)
void unblock_expose (void)
void frame_size_update (void)
void splash_init (void)
void splash_end (void)
void splash_msg (const gchar *msg, gdouble pct)
LIVES_INLINE float LEFloat_to_BEFloat (float f)
int lives_10pow (int pow)
int get_approx_ln (guint val)
void lives_free (gpointer ptr)
void lives_free_with_check (gpointer ptr)
LIVES_INLINE gint myround (gdouble n)
void get_dirname (gchar *filename)
void get_basename (gchar *filename)
void get_filename (gchar *filename, gboolean strip_dir)
gchar * get_extension (const gchar *filename)
void d_print (const gchar *text)
void init_clipboard (void)
void cache_file_contents (const gchar *filename)
gchar * get_val_from_cached_list (const gchar *key, size_t maxlen)
void get_pref (const gchar *key, gchar *val, gint maxlen)
void get_pref_utf8 (const gchar *key, gchar *val, gint maxlen)
void get_pref_default (const gchar *key, gchar *val, gint maxlen)
gboolean get_boolean_pref (const gchar *key)
gdouble get_double_pref (const gchar *key)
gint get_int_pref (const gchar *key)
void get_location (const gchar *exe, gchar *val, gint maxlen)
void set_pref (const gchar *key, const gchar *value)
void set_boolean_pref (const gchar *key, gboolean value)
void set_double_pref (const gchar *key, gdouble value)
void set_int_pref (const gchar *key, gboolean value)
gboolean apply_prefs (gboolean skip_warnings)
void save_future_prefs (void)
void set_menu_text (GtkWidget *menu, const gchar *text, gboolean use_mnemonic)
void get_menu_text (GtkWidget *menu, gchar *text)
void get_menu_text_long (GtkWidget *menuitem, gchar *text)
gint get_box_child_index (GtkBox *box, GtkWidget *tchild)
void reset_clip_menu (void)
void get_play_times (void)
void get_total_time (file *file)
guint get_signed_endian (gboolean is_signed, gboolean little_endian)
void fullscreen_internal (void)
void unhide_cursor (GdkWindow *window)
void hide_cursor (GdkWindow *window)
void set_alwaysontop (GtkWidget *window, gboolean ontop)
 TODO - use for playwin.
void colour_equal (GdkColor *c1, const GdkColor *c2)
void switch_to_int_player (void)
void switch_to_mplayer (void)
void switch_aud_to_sox (void)
gboolean switch_aud_to_jack (void)
gboolean switch_aud_to_pulse (void)
void switch_aud_to_mplayer (void)
void prepare_to_play_foreign (void)
gboolean after_foreign_play (void)
gboolean check_file (const gchar *file_name, gboolean check_exists)
 check if file exists
gboolean check_dir_access (const gchar *dir)
gulong get_file_size (int fd)
gulong sget_file_size (const gchar *name)
gulong get_fs_free (const gchar *dir)
gboolean ensure_isdir (gchar *fname)
gchar * ensure_extension (const gchar *fname, const gchar *ext) WARN_UNUSED
gboolean check_dev_busy (gchar *devstr)
void activate_url_inner (const gchar *link)
void activate_url (GtkAboutDialog *about, const gchar *link, gpointer data)
void show_manual_section (const gchar *lang, const gchar *section)
LIVES_INLINE gdouble calc_time_from_frame (gint clip, gint frame)
LIVES_INLINE gint calc_frame_from_time (gint filenum, gdouble time)
 nearest frame start
LIVES_INLINE gint calc_frame_from_time2 (gint filenum, gdouble time)
 nearest frame end
LIVES_INLINE gint calc_frame_from_time3 (gint filenum, gdouble time)
 nearest frame mid
gboolean check_for_ratio_fps (gdouble fps)
gdouble get_ratio_fps (const gchar *string)
void calc_maxspect (gint rwidth, gint rheight, gint *cwidth, gint *cheight)
gchar * remove_trailing_zeroes (gdouble val)
void toggle_button_toggle (GtkToggleButton *tbutton)
void remove_layout_files (GList *lmap)
gboolean add_lmap_error (lives_lmap_error_t lerror, const gchar *name, gpointer user_data, gint clipno, gint frameno, gdouble atime, gboolean affects_current)
void clear_lmap_errors (void)
gboolean prompt_remove_layout_files (void)
gboolean is_legal_set_name (const gchar *set_name, gboolean allow_dupes)
gchar * repl_tmpdir (const gchar *entry, gboolean fwd)
gboolean get_clip_value (int which, lives_clip_details_t, void *retval, size_t maxlen)
void save_clip_value (int which, lives_clip_details_t, void *val)
gboolean check_frame_count (gint idx)
void get_frame_count (gint idx)
gint count_resampled_frames (gint in_frames, gdouble orig_fps, gdouble resampled_fps)
gboolean int_array_contains_value (int *array, int num_elems, int value)
gboolean check_for_lock_file (const gchar *set_name, gint type)
void g_list_free_strings (GList *list)
void gtk_tooltips_copy (GtkWidget *dest, GtkWidget *source)
void adjustment_configure (GtkAdjustment *adjustment, gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size)
gboolean create_event_space (gint length_in_eventsb)
void add_to_recent (const gchar *filename, gdouble start, gint frames, const gchar *file_open_params)
gint verhash (gchar *version)
void set_undoable (const gchar *what, gboolean sensitive)
void set_redoable (const gchar *what, gboolean sensitive)
void zero_spinbuttons (void)
void draw_little_bars (gdouble ptrtime)
void set_sel_label (GtkWidget *label)
void clear_mainw_msg (void)
gint get_token_count (const gchar *string, int delim)
GdkPixmap * gdk_pixmap_copy (GdkPixmap *pixmap)
GdkPixbuf * gdk_pixbuf_new_blank (gint width, gint height, int palette)
void get_border_size (GtkWidget *win, gint *bx, gint *by)
gchar * g_strappend (gchar *string, gint len, const gchar *new)
GList * g_list_append_unique (GList *xlist, const gchar *add)
void find_when_to_stop (void)
gint calc_new_playback_position (gint fileno, gint64 otc, gint64 *ntc)
void minimise_aspect_delta (gdouble allowed_aspect, gint hblock, gint vblock, gint hsize, gint vsize, gint *width, gint *height)
LIVES_INLINE gint get_interp_value (gshort quality)
LIVES_INLINE GList * g_list_move_to_first (GList *list, GList *item) WARN_UNUSED
GList * get_set_list (const gchar *dir)
void combo_set_popdown_strings (GtkCombo *combo, GList *list)
gchar * subst (const gchar *string, const gchar *from, const gchar *to)
gint hextodec (const gchar *string)
gint get_hex_digit (const gchar *c)
guint32 fastrand (void)
void fastsrand (guint32 seed)
gint lives_list_index (GList *list, const gchar *data)
void set_fg_colour (gint red, gint green, gint blue)
gboolean label_act_toggle (GtkWidget *, GdkEventButton *, GtkToggleButton *)
gboolean widget_act_toggle (GtkWidget *, GtkToggleButton *)
void lives_set_cursor_style (lives_cursor_t cstyle, GdkWindow *window)
gchar * text_view_get_text (GtkTextView *textview)
void text_view_set_text (GtkTextView *textview, const gchar *text)
GList * get_external_window_hints (lives_rfx_t *rfx)
gboolean check_encoder_restrictions (gboolean get_extension, gboolean user_audio)
void lives_exit (void)
void on_check_clicked (void)
void on_fileread_clicked (GtkFileChooser *fch, gpointer widget)
gboolean dirchange_callback (GtkAccelGroup *, GObject *, guint, GdkModifierType, gpointer user_data)
gboolean mt_framedraw (lives_mt *, GdkPixbuf *)
void add_fill_to_box (GtkBox *)
void refresh_rte_window (void)
void * w_memcpy (void *dest, const void *src, size_t n)
gboolean subtitles_init (file *sfile, char *fname, lives_subtitle_type_t)
void subtitles_free (file *sfile)
gboolean get_srt_text (file *sfile, double xtime)
gboolean get_sub_text (file *sfile, double xtime)
gboolean save_sub_subtitles (file *sfile, double start_time, double end_time, double offset_time, const char *filename)
gboolean save_srt_subtitles (file *sfile, double start_time, double end_time, double offset_time, const char *filename)

Variables

capabilitycapable
 some shared structures
mainwindowmainw
struct timeval tv
size_t sizint
 type sizes
size_t sizdbl
size_t sizshrt
int dummyvar
char * dummychar

Define Documentation

#define AFORM_BIG_ENDIAN   (1<<1)
#define AFORM_LITTLE_ENDIAN   0
#define AFORM_SIGNED   0
#define AFORM_UNKNOWN   65536
#define AFORM_UNSIGNED   1
#define BOOTSTRAP_NAME   "/tmp/.smogrify"

don't change this unless the backend is changed as well i.e. $GUI_BOOTSTRAP_FILE in smogrify

#define cfile   mainw->files[mainw->current_file]
#define clipboard   mainw->files[0]
#define DATA_DIR   "/share/lives/"
#define DOC_DIR   "/share/doc/lives-"
#define ENABLE_DVD_GRAB
#define FP_BITS   16
#define FPS_MAX   200.

maximum fps we will allow (gdouble) TODO - make pref

#define FX_FRAME_PUMP_VAL   100

how many frames at a time to pump to rfx

#define ICON_DIR   "/share/lives/icons/"
#define IMG_BUFF_SIZE   4096

chunk size for reading images

#define L2U8 (   String)    ( g_locale_to_utf8 (String,-1,NULL,NULL,NULL) )
#define LIVES_AUTHOR_EMAIL   "mailto:salsaman@xs4all.nl"
#define LIVES_BUG_URL   "http://sourceforge.net/tracker/?group_id=64341&atid=507139"
#define LIVES_CLIP_HEADER_VERSION   100
#define LIVES_CONFIG_DIR   ".lives-dir/"
#define LIVES_DEVICE_DIR   "/dev/"
#define LIVES_DONATE_URL   "https://sourceforge.net/donate/index.php?group_id=64341"
#define LIVES_FEATURE_URL   "http://sourceforge.net/tracker/?group_id=64341&atid=507142"
#define LIVES_INLINE   inline
#define LIVES_MANUAL_FILENAME   "LiVES_manual.html"
#define LIVES_MANUAL_URL   "http://lives.sourceforge.net/manual/"
#define LIVES_TRANSLATE_URL   "https://translations.launchpad.net/lives/trunk"
#define LIVES_TV_CHANNEL1   "http://www.serverwillprovide.com/sorteal/livestvclips/livestv.ogm"
#define MAX_FILES   65535

max files is actually 1 more than this, since file 0 is the clipboard

#define PATH_MAX   4096
#define PLUGIN_EXEC_DIR   "/lives/plugins/"
#define PLUGIN_SCRIPTS_DIR   "/share/lives/plugins/"
#define PREFIX   PREFIX_DEFAULT

if --prefix= was not set, this is set to "NONE"

#define PREFIX_DEFAULT   "/usr"

this must match AC_PREFIX_DEFAULT in configure.in TODO - when lives-plugins is a separate package, use pkg-config to get PREFIX and remove PREFIX_DEFAULT

#define PREFS_TIMEOUT   10000000

10 seconds // TODO !

#define THEME_DIR   "/share/lives/themes/"
#define U82L (   String)    ( g_locale_from_utf8 (String,-1,NULL,NULL,NULL) )
#define WARN_FILE_SIZE   500

LiVES will show a warning if this (MBytes) is exceeded on load (can be overridden in prefs)

#define WARN_UNUSED

Enumeration Type Documentation

cancel reason

Enumerator:
CANCEL_NONE 

no cancel

CANCEL_USER 

user pressed stop

CANCEL_NO_PROPOGATE 

cancel but keep opening

CANCEL_PREVIEW_FINISHED 

effect processing finished during preview

CANCEL_APP_QUIT 

application quit

CANCEL_NO_MORE_PREVIEW 

ran out of preview frames

CANCEL_CAPTURE_ERROR 

image could not be captured

CANCEL_EVENT_LIST_END 

event_list completed

CANCEL_VID_END 

video playback completed

CANCEL_GENERATOR_END 

generator was stopped

CANCEL_KEEP 

user pressed 'Keep'

CANCEL_AUD_END 

video playback completed

CANCEL_ERROR 

cancelled because of error

CANCEL_USER_PAUSED 

cancelled and paused

CANCEL_KEEP_LOOPING 

special cancel for TV toy

Enumerator:
CANCEL_KILL 

normal - kill background processes working on current clip

CANCEL_SOFT 

just cancel in GUI (for keep, etc)

Enumerator:
CLIP_DETAILS_BPP 
CLIP_DETAILS_FPS 
CLIP_DETAILS_PB_FPS 
CLIP_DETAILS_WIDTH 
CLIP_DETAILS_HEIGHT 
CLIP_DETAILS_UNIQUE_ID 
CLIP_DETAILS_ARATE 
CLIP_DETAILS_PB_ARATE 
CLIP_DETAILS_ACHANS 
CLIP_DETAILS_ASIGNED 
CLIP_DETAILS_AENDIAN 
CLIP_DETAILS_ASAMPS 
CLIP_DETAILS_FRAMES 
CLIP_DETAILS_TITLE 
CLIP_DETAILS_AUTHOR 
CLIP_DETAILS_COMMENT 
CLIP_DETAILS_PB_FRAMENO 
CLIP_DETAILS_FILENAME 
CLIP_DETAILS_CLIPNAME 
CLIP_DETAILS_HEADER_VERSION 
CLIP_DETAILS_KEYWORDS 
CLIP_DETAILS_INTERLACE 
Enumerator:
CLIP_TYPE_DISK 

imported video, broken into frames

CLIP_TYPE_YUV4MPEG 

yuv4mpeg stream

CLIP_TYPE_GENERATOR 

frames from generator plugin

CLIP_TYPE_FILE 

unimported video, not or partially broken in frames

CLIP_TYPE_LIVES2LIVES 

type for LiVES to LiVES streaming

CLIP_TYPE_VIDEODEV 

frames from video device

Enumerator:
LIVES_CURSOR_NORMAL 

must be zero

LIVES_CURSOR_BLOCK 
LIVES_CURSOR_AUDIO_BLOCK 
LIVES_CURSOR_BUSY 
LIVES_CURSOR_FX_BLOCK 
Enumerator:
IMG_TYPE_UNKNOWN 
IMG_TYPE_JPEG 
IMG_TYPE_PNG 
Enumerator:
LIVES_INTERLACE_NONE 
LIVES_INTERLACE_BOTTOM_FIRST 
LIVES_INTERLACE_TOP_FIRST 
LIVES_INTERLACE_NONE 
LIVES_INTERLACE_BOTTOM_FIRST 
LIVES_INTERLACE_TOP_FIRST 

need this for event_list_t *

Enumerator:
UNDO_NONE 
UNDO_EFFECT 
UNDO_RESIZABLE 
UNDO_MERGE 
UNDO_RESAMPLE 
UNDO_TRIM_AUDIO 
UNDO_CHANGE_SPEED 
UNDO_AUDIO_RESAMPLE 
UNDO_APPEND_AUDIO 
UNDO_INSERT 
UNDO_CUT 
UNDO_DELETE 
UNDO_DELETE_AUDIO 
UNDO_INSERT_SILENCE 
UNDO_NEW_AUDIO 
UNDO_ATOMIC_RESAMPLE_RESIZE 

resample/resize and resample audio for encoding

UNDO_RENDER 

resample/reorder/resize/apply effects

UNDO_FADE_AUDIO 
UNDO_REC_AUDIO 

record audio to selection

UNDO_INSERT_WITH_AUDIO 

which stream end should cause playback to finish ?

Enumerator:
NEVER_STOP 
STOP_ON_VID_END 
STOP_ON_AUD_END 

Function Documentation

void activate_url ( GtkAboutDialog *  about,
const gchar *  link,
gpointer  data 
)
void activate_url_inner ( const gchar *  link)
gboolean add_file_info ( const gchar *  check_handle,
gboolean  aud_only 
)
void add_fill_to_box ( GtkBox *  )
gboolean add_lmap_error ( lives_lmap_error_t  lerror,
const gchar *  name,
gpointer  user_data,
gint  clipno,
gint  frameno,
gdouble  atime,
gboolean  affects_current 
)
void add_to_playframe ( void  )
void add_to_recent ( const gchar *  filename,
gdouble  start,
gint  frames,
const gchar *  file_open_params 
)
void add_to_recovery_file ( const gchar *  handle)
void add_to_winmenu ( void  )
void add_warn_check ( GtkBox *  box,
gint  warn_mask_number 
)
void adjustment_configure ( GtkAdjustment *  adjustment,
gdouble  value,
gdouble  lower,
gdouble  upper,
gdouble  step_increment,
gdouble  page_increment,
gdouble  page_size 
)
gboolean after_foreign_play ( void  )
gboolean apply_prefs ( gboolean  skip_warnings)
void backup_file ( const gchar *  filename)
void block_expose ( void  )
void cache_file_contents ( const gchar *  filename)
LIVES_INLINE gint calc_frame_from_time ( gint  filenum,
gdouble  time 
)

nearest frame start

LIVES_INLINE gint calc_frame_from_time2 ( gint  filenum,
gdouble  time 
)

nearest frame end

LIVES_INLINE gint calc_frame_from_time3 ( gint  filenum,
gdouble  time 
)

nearest frame mid

void calc_maxspect ( gint  rwidth,
gint  rheight,
gint *  cwidth,
gint *  cheight 
)
gint calc_new_playback_position ( gint  fileno,
gint64  otc,
gint64 *  ntc 
)
LIVES_INLINE gdouble calc_time_from_frame ( gint  clip,
gint  frame 
)
void catch_sigint ( int  signum)
gboolean check_dev_busy ( gchar *  devstr)
gboolean check_dir_access ( const gchar *  dir)
gboolean check_encoder_restrictions ( gboolean  get_extension,
gboolean  user_audio 
)

end restrictions

gboolean check_file ( const gchar *  file_name,
gboolean  check_exists 
)

check if file exists

gboolean check_for_lock_file ( const gchar *  set_name,
gint  type 
)
gboolean check_for_ratio_fps ( gdouble  fps)
gboolean check_for_recovery_files ( gboolean  auto_recover)
gboolean check_frame_count ( gint  idx)
gchar* choose_file ( gchar *  dir,
gchar *  fname,
gchar **  filt,
GtkFileChooserAction  act,
GtkWidget *  extra 
)
void clear_lmap_errors ( void  )
void clear_mainw_msg ( void  )
void close_current_file ( gint  file_to_switch_to)

close current file, and try to switch to file_to_switch_to

void close_scrap_file ( void  )
void colour_equal ( GdkColor *  c1,
const GdkColor *  c2 
)
void combo_set_popdown_strings ( GtkCombo *  combo,
GList *  list 
)
gint count_resampled_frames ( gint  in_frames,
gdouble  orig_fps,
gdouble  resampled_fps 
)
GtkWidget* create_cdtrack_dialog ( gint  type,
gpointer  user_data 
)
void create_cfile ( void  )
gboolean create_event_space ( gint  length_in_eventsb)
void create_LiVES ( void  )
GtkTextView* create_output_textview ( void  )
process* create_processing ( const gchar *  text)
void d_print ( const gchar *  text)
void d_print_cancelled ( void  ) [inline]
void d_print_done ( void  ) [inline]
void d_print_failed ( void  ) [inline]
void d_print_file_error_failed ( void  ) [inline]
void deduce_file ( const gchar *  filename,
gdouble  start_time,
gint  end 
)
void desensitize ( void  )
gboolean dirchange_callback ( GtkAccelGroup *  ,
GObject *  ,
guint  ,
GdkModifierType  ,
gpointer  user_data 
)
void disable_record ( void  )
void do_after_crash_warning ( void  )
void do_aud_during_play_error ( void  )
void do_audio_import_error ( void  )
void do_audrate_error_dialog ( void  )
void do_auto_dialog ( const gchar *  text,
gint  type 
)
void do_bad_layout_error ( void  )
void do_blocking_error_dialog ( const gchar *  text)
void do_card_in_use_error ( void  )
gboolean do_clipboard_fps_warning ( void  )
gboolean do_comments_dialog ( file sfile,
gchar *  filename 
)
void do_decoder_palette_error ( void  )
void do_dev_busy_error ( const gchar *  devstr)
void do_dir_perm_error ( const gchar *  dir_name)
void do_do_not_close_d ( void  )
void do_dvgrab_error ( void  )
void do_encoder_acodec_error ( void  )
void do_encoder_img_ftm_error ( render_details rdet)
gboolean do_encoder_restrict_dialog ( gint  width,
gint  height,
gdouble  fps,
gint  fps_num,
gint  fps_denom,
gint  arate,
gint  asigned,
gboolean  anr 
)
void do_encoder_sox_error ( void  )
gboolean do_erase_subs_warning ( void  )
void do_error_dialog ( const gchar *  text)
void do_error_dialog_with_check ( const gchar *  text,
gint  warn_mask_number 
)
void do_error_dialog_with_check_transient ( const gchar *  text,
gboolean  is_blocking,
gint  warn_mask_number,
GtkWindow *  transient 
)
gboolean do_event_list_warning ( void  )
gboolean do_existing_subs_warning ( void  )
void do_file_perm_error ( const gchar *  file_name)
void do_firstever_dialog ( void  )
void do_invalid_subs_error ( void  )
void do_jack_noopen_warn ( void  )
void do_jack_noopen_warn2 ( void  )
void do_jack_noopen_warn3 ( void  )
void do_jack_noopen_warn4 ( void  )
void do_keys_window ( void  )
gboolean do_layout_alter_audio_warning ( void  )
gboolean do_layout_alter_frames_warning ( void  )
void do_layout_scrap_file_error ( void  )
void do_locked_in_vdevs_error ( void  )
void do_memory_error_dialog ( void  )
void do_messages_window ( void  )
gboolean do_move_tmpdir_dialog ( void  )
void do_mt_audchan_error ( gint  warn_mask)
void do_mt_backup_space_error ( lives_mt *  ,
gint  memreq_mb 
)
void do_mt_keys_window ( void  )
void do_mt_no_audchan_error ( void  )
void do_mt_no_jack_error ( gint  warn_mask)
gboolean do_mt_rect_prompt ( void  )
void do_mt_set_mem_error ( gboolean  has_mt,
gboolean  trans 
)
void do_mt_undo_buf_error ( void  )
void do_mt_undo_mem_error ( void  )
void do_no_decoder_error ( const gchar *  fname)
void do_no_in_vdevs_error ( void  )
void do_no_mplayer_sox_error ( void  )
void do_nojack_rec_error ( void  )
gboolean do_original_lost_warning ( const gchar *  fname)
gboolean do_progress_dialog ( gboolean  visible,
gboolean  cancellable,
const gchar *  text 
)
void do_quick_switch ( gint  new_file)
void do_rendered_fx_dialog ( void  )
void do_rmem_max_error ( gint  size)
gboolean do_set_duplicate_warning ( const gchar *  new_set)
void do_set_load_lmap_error ( void  )
void do_set_locked_warning ( const gchar *  setname)
gboolean do_set_rename_old_layouts_warning ( const gchar *  new_set)
void do_splash_progress ( void  )
void do_start_messages ( void  )
gboolean do_sub_type_warning ( const gchar *  ext,
const gchar *  type_ext 
)
void do_text_window ( const gchar *  title,
const gchar *  text 
)
void do_threaded_dialog ( const gchar *  text,
gboolean  has_cancel 
)
void do_upgrade_error_dialog ( void  )
void do_vpp_fps_error ( void  )
void do_vpp_palette_error ( void  )
gboolean do_warning_dialog ( const gchar *  text)
gboolean do_warning_dialog_with_check ( const gchar *  text,
gint  warn_mask_number 
)
gboolean do_warning_dialog_with_check_transient ( const gchar *  text,
gint  warn_mask_number,
GtkWindow *  transient 
)
gboolean do_yesno_dialog ( const gchar *  text)
gboolean do_yuv4m_open_warning ( void  )
void draw_little_bars ( gdouble  ptrtime)
void enable_record ( void  )
void end_threaded_dialog ( void  )
gchar* ensure_extension ( const gchar *  fname,
const gchar *  ext 
)
gboolean ensure_isdir ( gchar *  fname)
void fade_background ( void  )
guint32 fastrand ( void  )
void fastsrand ( guint32  seed)
void find_when_to_stop ( void  )
void frame_size_update ( void  ) [inline]
void fullscreen_internal ( void  )
GList* g_list_append_unique ( GList *  xlist,
const gchar *  add 
)
void g_list_free_strings ( GList *  list)
LIVES_INLINE GList* g_list_move_to_first ( GList *  list,
GList *  item 
)
gchar* g_strappend ( gchar *  string,
gint  len,
const gchar *  new 
)
GdkPixbuf* gdk_pixbuf_new_blank ( gint  width,
gint  height,
int  palette 
)
GdkPixmap* gdk_pixmap_copy ( GdkPixmap *  pixmap)
int get_approx_ln ( guint  val)
void get_basename ( gchar *  filename)
gboolean get_boolean_pref ( const gchar *  key)
void get_border_size ( GtkWidget *  win,
gint *  bx,
gint *  by 
)
gint get_box_child_index ( GtkBox *  box,
GtkWidget *  tchild 
)
capability* get_capabilities ( void  )
gboolean get_clip_value ( int  which,
lives_clip_details_t  ,
void *  retval,
size_t  maxlen 
)
const gchar* get_deinterlace_string ( void  )
void get_dirname ( gchar *  filename)
gdouble get_double_pref ( const gchar *  key)
gchar* get_extension ( const gchar *  filename)
GList* get_external_window_hints ( lives_rfx_t rfx)
gulong get_file_size ( int  fd)
void get_filename ( gchar *  filename,
gboolean  strip_dir 
)
void get_frame_count ( gint  idx)
gulong get_fs_free ( const gchar *  dir)
void get_handle_from_info_file ( gint  index)
gint get_hex_digit ( const gchar *  c)
gint get_int_pref ( const gchar *  key)
LIVES_INLINE gint get_interp_value ( gshort  quality)
void get_location ( const gchar *  exe,
gchar *  val,
gint  maxlen 
)
void get_menu_text ( GtkWidget *  menu,
gchar *  text 
)
void get_menu_text_long ( GtkWidget *  menuitem,
gchar *  text 
)
void get_monitors ( void  )
gboolean get_new_handle ( gint  index,
const gchar *  name 
)
void get_next_free_file ( void  )
void get_play_times ( void  )
void get_pref ( const gchar *  key,
gchar *  val,
gint  maxlen 
)
void get_pref_default ( const gchar *  key,
gchar *  val,
gint  maxlen 
)
void get_pref_utf8 ( const gchar *  key,
gchar *  val,
gint  maxlen 
)
gdouble get_ratio_fps ( const gchar *  string)
GList* get_set_list ( const gchar *  dir)
guint get_signed_endian ( gboolean  is_signed,
gboolean  little_endian 
)
gboolean get_srt_text ( file sfile,
double  xtime 
)
gboolean get_sub_text ( file sfile,
double  xtime 
)
gboolean get_temp_handle ( gint  index,
gboolean  create 
)
gint get_token_count ( const gchar *  string,
int  delim 
)
void get_total_time ( file file)
gchar* get_val_from_cached_list ( const gchar *  key,
size_t  maxlen 
)
void gtk_tooltips_copy ( GtkWidget *  dest,
GtkWidget *  source 
)
gint hextodec ( const gchar *  string)
void hide_cursor ( GdkWindow *  window)
void init_clipboard ( void  )
gboolean int_array_contains_value ( int *  array,
int  num_elems,
int  value 
)
gboolean is_legal_set_name ( const gchar *  set_name,
gboolean  allow_dupes 
)
void kill_play_window ( void  )
gboolean label_act_toggle ( GtkWidget *  ,
GdkEventButton *  ,
GtkToggleButton *   
)
LIVES_INLINE float LEFloat_to_BEFloat ( float  f)
int lives_10pow ( int  pow)
void lives_exit ( void  )
void lives_free ( gpointer  ptr)
void lives_free_with_check ( gpointer  ptr)
gint lives_list_index ( GList *  list,
const gchar *  data 
)
GdkPixbuf* lives_scale_simple ( GdkPixbuf *  ,
gint  width,
gint  height 
)
void lives_set_cursor_style ( lives_cursor_t  cstyle,
GdkWindow *  window 
)
void load_end_image ( gint  frame)
void load_frame_image ( gint  frame)
gboolean load_from_scrap_file ( weed_plant_t *  layer,
int  frame 
)
void load_preview_image ( gboolean  update_always)
void load_start_image ( gint  frame)
void make_play_window ( void  )
void make_preview_box ( void  )
void minimise_aspect_delta ( gdouble  allowed_aspect,
gint  hblock,
gint  vblock,
gint  hsize,
gint  vsize,
gint *  width,
gint *  height 
)
gboolean mt_framedraw ( lives_mt *  ,
GdkPixbuf *   
)
LIVES_INLINE gint myround ( gdouble  n)
void on_check_clicked ( void  )
void on_fileread_clicked ( GtkFileChooser *  fch,
gpointer  widget 
)
void open_file ( const gchar *  filename)
void open_file_sel ( const gchar *  file_name,
gdouble  start_time,
gint  frames 
)
void open_fw_device ( void  )
gboolean open_scrap_file ( void  )
void open_set_file ( const gchar *  set_name,
gint  clipnum 
)
void perf_mem_warning ( void  )
void play_file ( void  )
void prepare_to_play_foreign ( void  )
gboolean process_one ( gboolean  visible)
void procw_desensitize ( void  )
gboolean prompt_remove_layout_files ( void  )
gboolean pull_frame ( weed_plant_t *  layer,
const gchar *  image_ext,
weed_timecode_t  tc 
)
gboolean pull_frame_at_size ( weed_plant_t *  layer,
const gchar *  image_ext,
weed_timecode_t  tc,
int  width,
int  height,
int  target_palette 
)
GdkPixbuf* pull_gdk_pixbuf_at_size ( gint  clip,
gint  frame,
const gchar *  image_ext,
weed_timecode_t  tc,
gint  width,
gint  height,
GdkInterpType  interp 
)
void pump_io_chan ( GIOChannel *  iochan)
gboolean rdet_suggest_values ( gint  width,
gint  height,
gdouble  fps,
gint  fps_num,
gint  fps_denom,
gint  arate,
gint  asigned,
gboolean  anr,
gboolean  ignore_fps 
)
gboolean read_file_details ( const gchar *  file_name,
gboolean  only_check_for_audio 
)
gboolean read_headers ( const gchar *  file_name)
void recover_layout_map ( gint  numclips)
void refresh_rte_window ( void  )
void reget_afilesize ( int  fileno)
void remove_from_winmenu ( void  )
void remove_layout_files ( GList *  lmap)
gchar* remove_trailing_zeroes ( gdouble  val)
gchar* repl_tmpdir ( const gchar *  entry,
gboolean  fwd 
)
void reset_clip_menu ( void  )
void resize ( gdouble  scale)
void resize_play_window ( void  )
void response_cancel ( GtkButton *  button,
gpointer  user_data 
)
void response_ok ( GtkButton *  button,
gpointer  user_data 
)
void restore_file ( const gchar *  filename)
void rewrite_recovery_file ( void  )
void save_clip_value ( int  which,
lives_clip_details_t  ,
void *  val 
)
void save_clip_values ( gint  which_file)
gint save_event_frames ( void  )
void save_file ( gboolean  existing,
gchar *  n_file_name 
)
void save_file_comments ( int  fileno)
gboolean save_frame ( gint  clip,
gint  frame,
const gchar *  file_name,
gint  width,
gint  height 
)
void save_future_prefs ( void  )
gboolean save_srt_subtitles ( file sfile,
double  start_time,
double  end_time,
double  offset_time,
const char *  filename 
)
gboolean save_sub_subtitles ( file sfile,
double  start_time,
double  end_time,
double  offset_time,
const char *  filename 
)
gint save_to_scrap_file ( weed_plant_t *  layer)
void sensitize ( void  )
void set_alwaysontop ( GtkWidget *  window,
gboolean  ontop 
)

TODO - use for playwin.

void set_boolean_pref ( const gchar *  key,
gboolean  value 
)
void set_double_pref ( const gchar *  key,
gdouble  value 
)
void set_fg_colour ( gint  red,
gint  green,
gint  blue 
)
void set_int_pref ( const gchar *  key,
gboolean  value 
)
void set_main_title ( const gchar *  filename,
gint  or_untitled_number 
)
void set_menu_text ( GtkWidget *  menu,
const gchar *  text,
gboolean  use_mnemonic 
)
void set_palette_colours ( void  )
void set_pref ( const gchar *  key,
const gchar *  value 
)
void set_record ( void  )
void set_redoable ( const gchar *  what,
gboolean  sensitive 
)
void set_sel_label ( GtkWidget *  label)
void set_undoable ( const gchar *  what,
gboolean  sensitive 
)
gulong sget_file_size ( const gchar *  name)
void show_manual_section ( const gchar *  lang,
const gchar *  section 
)
void splash_end ( void  )
void splash_init ( void  )
void splash_msg ( const gchar *  msg,
gdouble  pct 
)
gboolean startup_message_fatal ( const gchar *  msg)
gboolean startup_message_nonfatal ( const gchar *  msg)
gboolean startup_message_nonfatal_dismissable ( const gchar *  msg,
gint  warning_mask 
)
gchar* subst ( const gchar *  string,
const gchar *  from,
const gchar *  to 
)
void subtitles_free ( file sfile)
gboolean subtitles_init ( file sfile,
char *  fname,
lives_subtitle_type_t   
)
gboolean switch_aud_to_jack ( void  )
void switch_aud_to_mplayer ( void  )
gboolean switch_aud_to_pulse ( void  )
void switch_aud_to_sox ( void  )
void switch_to_file ( gint  old_file,
gint  new_file 
)
void switch_to_int_player ( void  )
void switch_to_mplayer ( void  )
void tempdir_warning ( void  )
gchar* text_view_get_text ( GtkTextView *  textview)
void text_view_set_text ( GtkTextView *  textview,
const gchar *  text 
)
void toggle_button_toggle ( GtkToggleButton *  tbutton)
void toggle_record ( void  )
void too_many_files ( void  )
void unblock_expose ( void  )
void unfade_background ( void  )
void unhide_cursor ( GdkWindow *  window)
gint verhash ( gchar *  version)
void* w_memcpy ( void *  dest,
const void *  src,
size_t  n 
) [inline]
void wait_for_stop ( const gchar *  stop_command)
weed_plant_t* weed_layer_new_from_video ( gint  fnum,
gint  frame 
)
gboolean widget_act_toggle ( GtkWidget *  ,
GtkToggleButton *   
)
void write_headers ( file file)
void zero_spinbuttons ( void  )

Variable Documentation

some shared structures

char* dummychar
int dummyvar
size_t sizdbl
size_t sizint

type sizes

size_t sizshrt
struct timeval tv
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines