#include <gtk/gtk.h>#include <gdk/gdkkeysyms.h>#include <gdk/gdkx.h>#include <stdlib.h>#include <stdio.h>#include <unistd.h>#include <string.h>#include <signal.h>#include <assert.h>#include <errno.h>#include <stdint.h>#include <limits.h>#include "widget-helper.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 | xprocess |
| 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 |
Macros | |
| #define | GUI_GTK |
| #define | PAINTER_CAIRO |
| #define | GDK_WINDOWING_X11 |
| #define | GDK_IS_X11_DISPLAY(display) (TRUE) |
| #define | GDK_IS_WIN32_DISPLAY(display) (FALSE) |
| #define | __STDC_CONSTANT_MACROS |
| #define | QUOTEME(x) #x |
| #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_COMPOUND_DIR "/share/lives/plugins/" |
| #define | PLUGIN_EXEC_DIR "/lives/plugins/" |
| #define | ICON_DIR "/share/lives/icons/" |
| #define | DESKTOP_ICON_DIR "/share/app-install/icons/" |
| #define | DATA_DIR "/share/lives/" |
| #define | LIVES_CONFIG_DIR ".lives-dir/" |
| #define | LIVES_TMP_NAME "livestmp" |
| #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@gmail.com" |
| #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 | DEF_FILE_PERMS S_IRUSR|S_IWUSR |
| #define | DEF_FILE_UMASK (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)^( DEF_FILE_PERMS ) |
| #define | WARN_FILE_SIZE 500 |
| #define | FPS_MAX 200. |
| maximum fps we will allow (gdouble) | |
| #define | MAX_FRAME_WIDTH 100000. |
| #define | MAX_FRAME_HEIGHT 100000. |
| #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 200 |
| how many frames to prime the pump for realtime effects and resampler | |
| #define | IMG_BUFF_SIZE 4096 |
| chunk size for reading images | |
| #define | LIVES_LITTLE_ENDIAN G_LITTLE_ENDIAN |
| #define | LIVES_BIG_ENDIAN G_BIG_ENDIAN |
| #define | __STDC_FORMAT_MACROS |
| #define | __WORDSIZE 32 |
| #define | __PRI64_PREFIX "ll" |
| #define | PRId64 __PRI64_PREFIX "d" |
| #define | PRIu64 __PRI64_PREFIX "u" |
| #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 | |
| #define | LIVES_TV_CHANNEL1 "http://www.serverwillprovide.com/sorteal/livestvclips/livestv.ogm" |
| #define | CEIL(a, b) ((int)(((double)a+(double)b-.000000001)/((double)b))*b) |
| #define | LIVES_NO_DEBUG |
| #define | LIVES_DEBUG(x) dummychar = x |
| #define | LIVES_INFO(x) fprintf(stderr, "LiVES info: %s\n", x) |
| #define | LIVES_WARN(x) fprintf(stderr, "LiVES warning: %s\n", x) |
| #define | LIVES_ERROR(x) fprintf(stderr, "LiVES error: %s\n", x) |
| #define | LIVES_FATAL(x) {fprintf(stderr, "LiVES fatal: %s\n", x); raise (LIVES_SIGSEGV);} |
Typedefs | |
| typedef pid_t | lives_pid_t |
| typedef int | lives_pgid_t |
| typedef void *(* | fn_ptr )(void *ptr) |
| typedef void(* | SignalHandlerPointer )(int) |
Functions | |
| xprocess * | create_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 | play_window_set_title (void) |
| void | add_to_playframe (void) |
| GtkWidget * | create_cdtrack_dialog (int type, gpointer user_data) |
| GtkTextView * | create_output_textview (void) |
| gchar * | choose_file (gchar *dir, gchar *fname, gchar **filt, lives_file_chooser_action_t act, const char *title, GtkWidget *extra) |
| void | choose_file_with_preview (gchar *dir, const gchar *title, int preview_type) |
| void | add_suffix_check (GtkBox *box, const gchar *ext) |
| boolean | do_progress_dialog (boolean visible, boolean cancellable, const gchar *text) |
| boolean | do_warning_dialog (const gchar *text) |
| boolean | do_warning_dialog_with_check (const gchar *text, int warn_mask_number) |
| boolean | do_warning_dialog_with_check_transient (const gchar *text, int warn_mask_number, GtkWindow *transient) |
| boolean | do_yesno_dialog (const gchar *text) WARN_UNUSED |
| int | do_abort_cancel_retry_dialog (const gchar *text, GtkWindow *transient) WARN_UNUSED |
| void | do_error_dialog (const gchar *text) |
| void | do_info_dialog (const gchar *text) |
| void | do_error_dialog_with_check (const gchar *text, int warn_mask_number) |
| void | do_blocking_error_dialog (const gchar *text) |
| void | do_blocking_info_dialog (const gchar *text) |
| void | do_error_dialog_with_check_transient (const gchar *text, boolean is_blocking, int warn_mask_number, GtkWindow *transient) |
| void | do_info_dialog_with_transient (const gchar *text, boolean is_blocking, GtkWindow *transient) |
| void | do_system_failed_error (const char *com, int retval, const char *addinfo) |
| int | do_write_failed_error_s_with_retry (const gchar *fname, const gchar *errtext, GtkWindow *transient) WARN_UNUSED |
| void | do_write_failed_error_s (const char *filename, const char *addinfo) |
| int | do_read_failed_error_s_with_retry (const gchar *fname, const gchar *errtext, GtkWindow *transient) WARN_UNUSED |
| void | do_read_failed_error_s (const char *filename, const char *addinfo) |
| boolean | do_header_write_error (int clip) |
| int | do_header_read_error_with_retry (int clip) WARN_UNUSED |
| int | do_header_missing_detail_error (int clip, lives_clip_details_t detail) WARN_UNUSED |
| void | do_chdir_failed_error (const char *dir) |
| void | handle_backend_errors (void) |
| boolean | check_backend_return (file *sfile) |
| gchar * | ds_critical_msg (const gchar *dir, guint64 dsval) |
| gchar * | ds_warning_msg (const gchar *dir, guint64 dsval, guint64 cwarn, guint64 nwarn) |
| boolean | check_storage_space (file *sfile, boolean is_processing) |
| gchar * | get_upd_msg (void) |
| gchar * | get_new_install_msg (void) |
| boolean | ask_permission_dialog (int what) |
| boolean | do_abort_check (void) |
| void | add_warn_check (GtkBox *box, int 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) |
| boolean | do_clipboard_fps_warning (void) |
| void | perf_mem_warning (void) |
| void | do_dvgrab_error (void) |
| boolean | do_comments_dialog (file *sfile, gchar *filename) |
| boolean | do_auto_dialog (const gchar *text, int type) |
| void | do_encoder_acodec_error (void) |
| void | do_encoder_sox_error (void) |
| boolean | rdet_suggest_values (int width, int height, double fps, int fps_num, int fps_denom, int arate, int asigned, boolean swap_endian, boolean anr, boolean ignore_fps) |
| boolean | do_encoder_restrict_dialog (int width, int height, double fps, int fps_num, int fps_denom, int arate, int asigned, boolean swap_endian, boolean anr, boolean save_all) |
| 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_layout_ascrap_file_error (void) |
| void | do_set_load_lmap_error (void) |
| boolean | do_set_duplicate_warning (const gchar *new_set) |
| boolean | do_set_rename_old_layouts_warning (const gchar *new_set) |
| boolean | do_layout_alter_frames_warning (void) |
| boolean | do_layout_alter_audio_warning (void) |
| boolean | 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 (boolean has_mt, boolean trans) |
| void | do_mt_audchan_error (int warn_mask) |
| void | do_mt_no_audchan_error (void) |
| void | do_mt_no_jack_error (int warn_mask) |
| boolean | do_mt_rect_prompt (void) |
| void | do_audrate_error_dialog (void) |
| boolean | 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) |
| boolean | 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_dir_perm_access_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) |
| boolean | do_existing_subs_warning (void) |
| void | do_invalid_subs_error (void) |
| boolean | do_erase_subs_warning (void) |
| boolean | do_sub_type_warning (const gchar *ext, const gchar *type_ext) |
| boolean | 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) |
| void | do_set_noclips_error (const char *setname) |
| void | do_no_autolives_error (void) |
| void | do_autolives_needs_clips_error (void) |
| void | do_pulse_lost_conn_error (void) |
| void | do_jack_lost_conn_error (void) |
| boolean | process_one (boolean visible) |
| void | do_threaded_dialog (gchar *translated_text, boolean has_cancel) |
| void | end_threaded_dialog (void) |
| void | threaded_dialog_spin (void) |
| void | response_ok (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) |
| boolean | read_file_details (const gchar *file_name, boolean only_check_for_audio) |
| boolean | add_file_info (const gchar *check_handle, boolean aud_only) |
| boolean | save_file_comments (int fileno) |
| void | reget_afilesize (int fileno) |
| void | deduce_file (const gchar *filename, double start_time, int end) |
| void | open_file (const gchar *filename) |
| void | open_file_sel (const gchar *file_name, double start_time, int frames) |
| void | open_fw_device (void) |
| boolean | get_new_handle (int index, const gchar *name) |
| boolean | get_temp_handle (int index, boolean create) |
| boolean | get_handle_from_info_file (int index) |
| void | create_cfile (void) |
| void | save_file (int clip, int start, int end, const char *filename) |
| void | play_file (void) |
| void | save_frame (GtkMenuItem *menuitem, gpointer user_data) |
| boolean | save_frame_inner (int clip, int frame, const gchar *file_name, int width, int height, boolean from_osc) |
| void | wait_for_stop (const gchar *stop_command) |
| boolean | save_clip_values (int which_file) |
| void | add_to_recovery_file (const gchar *handle) |
| void | rewrite_recovery_file (void) |
| boolean | check_for_recovery_files (boolean auto_recover) |
| void | recover_layout_map (int numclips) |
| const gchar * | get_deinterlace_string (void) |
| void | backup_file (int clip, int start, int end, const gchar *filename) |
| gint | save_event_frames (void) |
| boolean | write_headers (file *file) |
| void | restore_file (const gchar *filename) |
| boolean | read_headers (const gchar *file_name) |
| void | open_set_file (const gchar *set_name, gint clipnum) |
| boolean | open_scrap_file (void) |
| boolean | open_ascrap_file (void) |
| int | save_to_scrap_file (weed_plant_t *layer) |
| boolean | load_from_scrap_file (weed_plant_t *layer, int frame) |
| void | close_ascrap_file (void) |
| void | close_scrap_file (void) |
| void | set_signal_handlers (SignalHandlerPointer sigfunc) |
| void | catch_sigint (int signum) |
| void | defer_sigint (int signum) |
| boolean | startup_message_fatal (const gchar *msg) |
| boolean | startup_message_nonfatal (const gchar *msg) |
| boolean | startup_message_info (const gchar *msg) |
| boolean | startup_message_nonfatal_dismissable (const gchar *msg, gint warning_mask) |
| capability * | get_capabilities (void) |
| void | get_monitors (void) |
| void | set_ce_frame_from_pixbuf (GtkImage *image, GdkPixbuf *pixbuf, lives_painter_t *) |
| void | load_start_image (gint frame) |
| void | load_end_image (gint frame) |
| void | load_preview_image (boolean update_always) |
| boolean | pull_frame (weed_plant_t *layer, const gchar *image_ext, weed_timecode_t tc) |
| boolean | pull_frame_at_size (weed_plant_t *layer, const gchar *image_ext, weed_timecode_t tc, int width, int height, int target_palette) |
| LiVESPixbuf * | pull_lives_pixbuf_at_size (int clip, int frame, const char *image_ext, weed_timecode_t tc, int width, int height, LiVESInterpType interp) |
| LiVESPixbuf * | pull_lives_pixbuf (int clip, int frame, const char *image_ext, weed_timecode_t tc) |
| GError * | lives_pixbuf_save (GdkPixbuf *pixbuf, gchar *fname, lives_image_type_t imgtype, int quality, boolean do_chmod, GError **gerrorptr) |
| 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 | switch_audio_clip (gint new_file, boolean activate) |
| void | resize (gdouble scale) |
| 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) |
| void | create_LiVES (void) |
| void | enable_record (void) |
| void | toggle_record (void) |
| void | disable_record (void) |
| void | make_custom_submenus (void) |
| 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, double pct) |
| void | add_message_scroller (GtkWidget *conter) |
| void | resize_widgets_for_monitor (boolean get_play_times) |
| int | lives_system (const char *com, boolean allow_error) |
| lives_pid_t | lives_fork (const char *com) |
| ssize_t | lives_write (int fd, const void *buf, size_t count, boolean allow_fail) |
| ssize_t | lives_write_le (int fd, const void *buf, size_t count, boolean allow_fail) |
| ssize_t | lives_read (int fd, void *buf, size_t count, boolean allow_less) |
| ssize_t | lives_read_le (int fd, void *buf, size_t count, boolean allow_less) |
| int | lives_chdir (const char *path, boolean allow_fail) |
| int | lives_fputs (const char *s, FILE *stream) |
| char * | lives_fgets (char *s, int size, FILE *stream) |
| pid_t | lives_getpid (void) |
| int | lives_getgid (void) |
| int | lives_getuid (void) |
| void | lives_freep (void **ptr) |
| void | lives_free (gpointer ptr) |
| void | lives_free_with_check (gpointer ptr) |
| checks if ptr is mainw->do_not_free, otherwise calls lives_free_normal() | |
| int | lives_kill (lives_pid_t pid, int sig) |
| int | lives_killpg (lives_pgid_t pgrp, int sig) |
| void | lives_srandom (unsigned int seed) |
| uint64_t | lives_random (void) |
| ssize_t | lives_readlink (const char *path, char *buf, size_t bufsiz) |
| boolean | lives_setenv (const char *name, const char *value) |
| boolean | lives_fsync (int fd) |
| void | lives_sync (void) |
| char * | filename_from_fd (char *val, int fd) |
| float | LEFloat_to_BEFloat (float f) |
| uint64_t | lives_10pow (int pow) |
| int | get_approx_ln (guint val) |
| int64_t | lives_get_current_ticks (void) |
| boolean | lives_alarm_get (int alarm_handle) |
| int | lives_alarm_set (int64_t ticks) |
| void | lives_alarm_clear (int alarm_handle) |
| lives_storage_status_t | get_storage_status (const char *dir, guint64 warn_level, guint64 *dsval) |
| gchar * | lives_format_storage_space_string (guint64 space) |
| int | myround (double n) |
| void | get_dirname (gchar *filename) |
| gchar * | get_dir (const gchar *filename) |
| void | get_basename (gchar *filename) |
| void | get_filename (gchar *filename, boolean strip_dir) |
| gchar * | get_extension (const gchar *filename) |
| uint64_t | get_version_hash (const gchar *exe, const gchar *sep, int piece) |
| uint64_t | make_version_hash (const char *ver) |
| void | d_print (const gchar *text) |
| void | init_clipboard (void) |
| boolean | cache_file_contents (const gchar *filename) |
| gchar * | get_val_from_cached_list (const gchar *key, size_t maxlen) |
| void | get_location (const gchar *exe, gchar *val, int maxlen) |
| void | set_menu_text (GtkWidget *menu, const gchar *text, boolean use_mnemonic) |
| void | get_menu_text (GtkWidget *menu, gchar *text) |
| void | get_menu_text_long (GtkWidget *menuitem, gchar *text) |
| void | reset_clip_menu (void) |
| void | get_play_times (void) |
| void | get_total_time (file *file) |
| guint | get_signed_endian (boolean is_signed, boolean little_endian) |
| void | fullscreen_internal (void) |
| void | colour_equal (GdkColor *c1, const GdkColor *c2) |
| void | switch_to_int_player (void) |
| void | switch_to_mplayer (void) |
| void | switch_aud_to_sox (boolean set_pref) |
| boolean | switch_aud_to_jack (void) |
| boolean | switch_aud_to_pulse (void) |
| void | switch_aud_to_mplayer (boolean set_pref) |
| boolean | prepare_to_play_foreign (void) |
| boolean | after_foreign_play (void) |
| boolean | check_file (const gchar *file_name, boolean check_exists) |
| check if file exists | |
| boolean | check_dir_access (const gchar *dir) |
| uint64_t | get_file_size (int fd) |
| uint64_t | sget_file_size (const gchar *name) |
| uint64_t | get_fs_free (const char *dir) |
| boolean | is_writeable_dir (const char *dir) |
| boolean | ensure_isdir (gchar *fname) |
| gchar * | ensure_extension (const gchar *fname, const gchar *ext) WARN_UNUSED |
| boolean | 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) |
| double | calc_time_from_frame (int clip, int frame) |
| gint | calc_frame_from_time (int filenum, double time) |
| nearest frame start | |
| gint | calc_frame_from_time2 (int filenum, double time) |
| nearest frame end | |
| gint | calc_frame_from_time3 (int filenum, double time) |
| nearest frame mid | |
| boolean | check_for_ratio_fps (double fps) |
| double | get_ratio_fps (const gchar *string) |
| void | calc_maxspect (gint rwidth, gint rheight, gint *cwidth, gint *cheight) |
| gchar * | remove_trailing_zeroes (gdouble val) |
| 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) |
| gchar * | clip_detail_to_string (lives_clip_details_t what, size_t *maxlenp) |
| 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) |
| void | get_frames_sizes (int fileno, int frame_to_test) |
| gint | count_resampled_frames (gint in_frames, gdouble orig_fps, gdouble resampled_fps) |
| boolean | 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) |
| 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) |
| int | get_token_count (const gchar *string, int delim) |
| LiVESPixbuf * | lives_pixbuf_new_blank (int width, int height, int palette) |
| gchar * | g_strappend (gchar *string, gint len, const gchar *newbit) |
| GList * | g_list_append_unique (GList *xlist, const gchar *add) |
| void | find_when_to_stop (void) |
| int | calc_new_playback_position (int fileno, uint64_t otc, uint64_t *ntc) |
| void | calc_aframeno (gint fileno) |
| void | minimise_aspect_delta (gdouble allowed_aspect, gint hblock, gint vblock, gint hsize, gint vsize, gint *width, gint *height) |
| LiVESInterpType | get_interp_value (gshort quality) |
| GList * | g_list_move_to_first (GList *list, GList *item) WARN_UNUSED |
| GList * | g_list_delete_string (GList *, char *string) WARN_UNUSED |
| GList * | g_list_copy_strings (GList *list) |
| gboolean | string_lists_differ (GList *, GList *) |
| GList * | get_set_list (const gchar *dir) |
| gchar * | subst (const gchar *string, const gchar *from, const gchar *to) |
| gchar * | insert_newlines (const gchar *text, int maxwidth) |
| gint | hextodec (const gchar *string) |
| gint | get_hex_digit (const gchar *c) |
| const char * | get_image_ext_for_type (lives_image_type_t imgtype) |
| guint32 | fastrand (void) |
| void | fastsrand (guint32 seed) |
| gint | lives_list_index (GList *list, const gchar *data) |
| lives_cancel_t | check_for_bad_ffmpeg (void) |
| GList * | get_external_window_hints (lives_rfx_t *rfx) |
| gboolean | check_encoder_restrictions (boolean get_extension, boolean user_audio, boolean save_all) |
| void | lives_exit (void) |
| void | count_opening_frames (void) |
| void | on_fileread_clicked (GtkFileChooser *, gpointer widget) |
| gboolean | dirchange_callback (GtkAccelGroup *, GObject *, guint, GdkModifierType, gpointer user_data) |
| void | on_effects_paused (GtkButton *, gpointer user_data) |
| void | on_cancel_keep_button_clicked (GtkButton *, gpointer user_data) |
| void | on_cleardisk_activate (GtkWidget *, gpointer user_data) |
| void | on_cleardisk_advanced_clicked (GtkWidget *, gpointer user_data) |
| void | popup_lmap_errors (GtkMenuItem *, gpointer) |
| void | on_filesel_button_clicked (GtkButton *button, gpointer user_data) |
| void | get_pref (const gchar *key, gchar *val, int maxlen) |
| void | get_pref_utf8 (const gchar *key, gchar *val, int maxlen) |
| void | get_pref_default (const gchar *key, gchar *val, int maxlen) |
| boolean | get_boolean_pref (const gchar *key) |
| double | get_double_pref (const gchar *key) |
| int | get_int_pref (const gchar *key) |
| GList * | get_list_pref (const gchar *key) |
| void | set_pref (const gchar *key, const gchar *value) |
| void | delete_pref (const gchar *key) |
| void | set_boolean_pref (const gchar *key, boolean value) |
| void | set_double_pref (const gchar *key, double value) |
| void | set_int_pref (const gchar *key, int value) |
| void | set_int64_pref (const gchar *key, int64_t value) |
| void | set_list_pref (const char *key, GList *values) |
| boolean | apply_prefs (boolean skip_warnings) |
| void | save_future_prefs (void) |
| LiVESPixbuf * | mt_framedraw (lives_mt *, LiVESPixbuf *) |
| void | refresh_rte_window (void) |
| void * | lives_malloc (size_t size) |
| void * | lives_memcpy (void *dest, const void *src, size_t n) |
| void * | lives_memset (void *s, int c, size_t n) |
| void | lives_free (void *ptr) |
| calls mainw->free_fn | |
| void * | lives_calloc (size_t nmemb, size_t size) |
| void | lives_free_normal (void *ptr) |
| values of mainw->free_fn | |
| 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 | |
| capability * | capable |
| some shared structures | |
| mainwindow * | mainw |
| struct timeval | tv |
| size_t | sizint |
| type sizes | |
| size_t | sizdbl |
| size_t | sizshrt |
| gchar * | dummychar |
| #define __PRI64_PREFIX "ll" |
| #define __STDC_CONSTANT_MACROS |
| #define __STDC_FORMAT_MACROS |
| #define __WORDSIZE 32 |
| #define AFORM_BIG_ENDIAN (1<<1) |
| #define AFORM_LITTLE_ENDIAN 0 |
| #define AFORM_SIGNED 0 |
| #define AFORM_UNKNOWN 65536 |
| #define AFORM_UNSIGNED 1 |
| #define CEIL | ( | a, | |
| b | |||
| ) | ((int)(((double)a+(double)b-.000000001)/((double)b))*b) |
| #define clipboard mainw->files[0] |
| #define DATA_DIR "/share/lives/" |
| #define DEF_FILE_PERMS S_IRUSR|S_IWUSR |
| #define DEF_FILE_UMASK (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH)^( DEF_FILE_PERMS ) |
| #define DESKTOP_ICON_DIR "/share/app-install/icons/" |
| #define DOC_DIR "/share/doc/lives-" |
| #define ENABLE_DVD_GRAB |
| #define FP_BITS 16 |
| #define FPS_MAX 200. |
maximum fps we will allow (gdouble)
| #define FX_FRAME_PUMP_VAL 200 |
how many frames to prime the pump for realtime effects and resampler
| #define GDK_IS_WIN32_DISPLAY | ( | display | ) | (FALSE) |
| #define GDK_IS_X11_DISPLAY | ( | display | ) | (TRUE) |
| #define GDK_WINDOWING_X11 |
| #define GUI_GTK |
| #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@gmail.com" |
| #define LIVES_BIG_ENDIAN G_BIG_ENDIAN |
| #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_DEBUG | ( | x | ) | dummychar = x |
| #define LIVES_DEVICE_DIR "/dev/" |
| #define LIVES_DONATE_URL "https://sourceforge.net/donate/index.php?group_id=64341" |
| #define LIVES_ERROR | ( | x | ) | fprintf(stderr, "LiVES error: %s\n", x) |
| #define LIVES_FATAL | ( | x | ) | {fprintf(stderr, "LiVES fatal: %s\n", x); raise (LIVES_SIGSEGV);} |
| #define LIVES_FEATURE_URL "http://sourceforge.net/tracker/?group_id=64341&atid=507142" |
| #define LIVES_INFO | ( | x | ) | fprintf(stderr, "LiVES info: %s\n", x) |
| #define LIVES_INLINE inline |
| #define LIVES_LITTLE_ENDIAN G_LITTLE_ENDIAN |
| #define LIVES_MANUAL_FILENAME "LiVES_manual.html" |
| #define LIVES_MANUAL_URL "http://lives.sourceforge.net/manual/" |
| #define LIVES_NO_DEBUG |
| #define LIVES_TMP_NAME "livestmp" |
| #define LIVES_TRANSLATE_URL "https://translations.launchpad.net/lives/trunk" |
| #define LIVES_TV_CHANNEL1 "http://www.serverwillprovide.com/sorteal/livestvclips/livestv.ogm" |
| #define LIVES_WARN | ( | x | ) | fprintf(stderr, "LiVES warning: %s\n", x) |
| #define MAX_FILES 65535 |
max files is actually 1 more than this, since file 0 is the clipboard
| #define MAX_FRAME_HEIGHT 100000. |
| #define MAX_FRAME_WIDTH 100000. |
| #define PAINTER_CAIRO |
| #define PATH_MAX 4096 |
| #define PLUGIN_COMPOUND_DIR "/share/lives/plugins/" |
| #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
| #define PRId64 __PRI64_PREFIX "d" |
| #define PRIu64 __PRI64_PREFIX "u" |
| #define QUOTEME | ( | x | ) | #x |
| #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 |
| typedef void*(* fn_ptr)(void *ptr) |
| typedef int lives_pgid_t |
| typedef pid_t lives_pid_t |
| typedef void(* SignalHandlerPointer)(int) |
| enum lives_cancel_t |
cancel reason
| enum lives_cancel_type_t |
| enum lives_clip_details_t |
| enum lives_clip_type_t |
| enum lives_image_type_t |
| enum lives_interlace_t |
| enum lives_undo_t |
need this for event_list_t *
| enum lives_whentostop_t |
| void activate_url | ( | GtkAboutDialog * | about, |
| const gchar * | link, | ||
| gpointer | data | ||
| ) |
| void activate_url_inner | ( | const gchar * | link | ) |
| 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_message_scroller | ( | GtkWidget * | conter | ) |
| void add_suffix_check | ( | GtkBox * | box, |
| const gchar * | ext | ||
| ) |
| 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, |
| int | warn_mask_number | ||
| ) |
| boolean after_foreign_play | ( | void | ) |
| boolean ask_permission_dialog | ( | int | what | ) |
| void backup_file | ( | int | clip, |
| int | start, | ||
| int | end, | ||
| const gchar * | filename | ||
| ) |
| void block_expose | ( | void | ) |
| boolean cache_file_contents | ( | const gchar * | filename | ) |
| void calc_aframeno | ( | gint | fileno | ) |
| gint calc_frame_from_time | ( | int | filenum, |
| double | time | ||
| ) |
nearest frame start
| gint calc_frame_from_time2 | ( | int | filenum, |
| double | time | ||
| ) |
nearest frame end
| gint calc_frame_from_time3 | ( | int | filenum, |
| double | time | ||
| ) |
nearest frame mid
| void calc_maxspect | ( | gint | rwidth, |
| gint | rheight, | ||
| gint * | cwidth, | ||
| gint * | cheight | ||
| ) |
| int calc_new_playback_position | ( | int | fileno, |
| uint64_t | otc, | ||
| uint64_t * | ntc | ||
| ) |
| double calc_time_from_frame | ( | int | clip, |
| int | frame | ||
| ) |
| void catch_sigint | ( | int | signum | ) |
| boolean check_dev_busy | ( | gchar * | devstr | ) |
| boolean check_dir_access | ( | const gchar * | dir | ) |
end restrictions
| lives_cancel_t check_for_bad_ffmpeg | ( | void | ) |
| gboolean check_for_lock_file | ( | const gchar * | set_name, |
| gint | type | ||
| ) |
| boolean check_for_ratio_fps | ( | double | fps | ) |
| gboolean check_frame_count | ( | gint | idx | ) |
| gchar* choose_file | ( | gchar * | dir, |
| gchar * | fname, | ||
| gchar ** | filt, | ||
| lives_file_chooser_action_t | act, | ||
| const char * | title, | ||
| GtkWidget * | extra | ||
| ) |
| void choose_file_with_preview | ( | gchar * | dir, |
| const gchar * | title, | ||
| int | preview_type | ||
| ) |
| void clear_lmap_errors | ( | void | ) |
| void clear_mainw_msg | ( | void | ) |
| gchar* clip_detail_to_string | ( | lives_clip_details_t | what, |
| size_t * | maxlenp | ||
| ) |
| void close_ascrap_file | ( | 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 count_opening_frames | ( | void | ) |
| gint count_resampled_frames | ( | gint | in_frames, |
| gdouble | orig_fps, | ||
| gdouble | resampled_fps | ||
| ) |
| GtkWidget* create_cdtrack_dialog | ( | int | 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 | ) |
| xprocess* create_processing | ( | const gchar * | text | ) |
| void d_print | ( | const gchar * | text | ) |
| void d_print_cancelled | ( | void | ) |
| void d_print_done | ( | void | ) |
| void d_print_failed | ( | void | ) |
| void d_print_file_error_failed | ( | void | ) |
| void deduce_file | ( | const gchar * | filename, |
| double | start_time, | ||
| int | end | ||
| ) |
| void defer_sigint | ( | int | signum | ) |
| void delete_pref | ( | const gchar * | key | ) |
| void desensitize | ( | void | ) |
| gboolean dirchange_callback | ( | GtkAccelGroup * | , |
| GObject * | , | ||
| guint | , | ||
| GdkModifierType | , | ||
| gpointer | user_data | ||
| ) |
| void disable_record | ( | void | ) |
| int do_abort_cancel_retry_dialog | ( | const gchar * | text, |
| GtkWindow * | transient | ||
| ) |
| boolean do_abort_check | ( | 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 | ) |
| boolean do_auto_dialog | ( | const gchar * | text, |
| int | type | ||
| ) |
| void do_autolives_needs_clips_error | ( | void | ) |
| void do_bad_layout_error | ( | void | ) |
| void do_blocking_error_dialog | ( | const gchar * | text | ) |
| void do_blocking_info_dialog | ( | const gchar * | text | ) |
| void do_card_in_use_error | ( | void | ) |
| void do_chdir_failed_error | ( | const char * | dir | ) |
| boolean do_clipboard_fps_warning | ( | void | ) |
| void do_decoder_palette_error | ( | void | ) |
| void do_dev_busy_error | ( | const gchar * | devstr | ) |
| void do_dir_perm_access_error | ( | const gchar * | dir_name | ) |
| 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 | ) |
| boolean do_encoder_restrict_dialog | ( | int | width, |
| int | height, | ||
| double | fps, | ||
| int | fps_num, | ||
| int | fps_denom, | ||
| int | arate, | ||
| int | asigned, | ||
| boolean | swap_endian, | ||
| boolean | anr, | ||
| boolean | save_all | ||
| ) |
| void do_encoder_sox_error | ( | void | ) |
| boolean do_erase_subs_warning | ( | void | ) |
| void do_error_dialog | ( | const gchar * | text | ) |
| void do_error_dialog_with_check | ( | const gchar * | text, |
| int | warn_mask_number | ||
| ) |
| void do_error_dialog_with_check_transient | ( | const gchar * | text, |
| boolean | is_blocking, | ||
| int | warn_mask_number, | ||
| GtkWindow * | transient | ||
| ) |
| boolean do_event_list_warning | ( | void | ) |
| boolean do_existing_subs_warning | ( | void | ) |
| void do_file_perm_error | ( | const gchar * | file_name | ) |
| void do_firstever_dialog | ( | void | ) |
| int do_header_missing_detail_error | ( | int | clip, |
| lives_clip_details_t | detail | ||
| ) |
| int do_header_read_error_with_retry | ( | int | clip | ) |
| boolean do_header_write_error | ( | int | clip | ) |
| void do_info_dialog | ( | const gchar * | text | ) |
| void do_info_dialog_with_transient | ( | const gchar * | text, |
| boolean | is_blocking, | ||
| GtkWindow * | transient | ||
| ) |
| void do_invalid_subs_error | ( | void | ) |
| void do_jack_lost_conn_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 | ) |
| boolean do_layout_alter_audio_warning | ( | void | ) |
| boolean do_layout_alter_frames_warning | ( | void | ) |
| void do_layout_ascrap_file_error | ( | 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 | ) |
| boolean do_move_tmpdir_dialog | ( | void | ) |
| void do_mt_audchan_error | ( | int | 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 | ( | int | warn_mask | ) |
| boolean do_mt_rect_prompt | ( | void | ) |
| void do_mt_undo_buf_error | ( | void | ) |
| void do_mt_undo_mem_error | ( | void | ) |
| void do_no_autolives_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 | ) |
| boolean do_original_lost_warning | ( | const gchar * | fname | ) |
| void do_pulse_lost_conn_error | ( | void | ) |
| void do_quick_switch | ( | gint | new_file | ) |
| void do_read_failed_error_s | ( | const char * | filename, |
| const char * | addinfo | ||
| ) |
| int do_read_failed_error_s_with_retry | ( | const gchar * | fname, |
| const gchar * | errtext, | ||
| GtkWindow * | transient | ||
| ) |
| void do_rendered_fx_dialog | ( | void | ) |
| void do_rmem_max_error | ( | gint | size | ) |
| boolean do_set_duplicate_warning | ( | const gchar * | new_set | ) |
| void do_set_load_lmap_error | ( | void | ) |
| void do_set_locked_warning | ( | const gchar * | setname | ) |
| void do_set_noclips_error | ( | const char * | setname | ) |
| boolean do_set_rename_old_layouts_warning | ( | const gchar * | new_set | ) |
| void do_splash_progress | ( | void | ) |
| void do_start_messages | ( | void | ) |
| boolean do_sub_type_warning | ( | const gchar * | ext, |
| const gchar * | type_ext | ||
| ) |
| void do_system_failed_error | ( | const char * | com, |
| int | retval, | ||
| const char * | addinfo | ||
| ) |
| void do_text_window | ( | const gchar * | title, |
| const gchar * | text | ||
| ) |
| void do_threaded_dialog | ( | gchar * | translated_text, |
| boolean | has_cancel | ||
| ) |
| void do_upgrade_error_dialog | ( | void | ) |
| void do_vpp_fps_error | ( | void | ) |
| void do_vpp_palette_error | ( | void | ) |
| boolean do_warning_dialog | ( | const gchar * | text | ) |
| boolean do_warning_dialog_with_check | ( | const gchar * | text, |
| int | warn_mask_number | ||
| ) |
| boolean do_warning_dialog_with_check_transient | ( | const gchar * | text, |
| int | warn_mask_number, | ||
| GtkWindow * | transient | ||
| ) |
| void do_write_failed_error_s | ( | const char * | filename, |
| const char * | addinfo | ||
| ) |
| int do_write_failed_error_s_with_retry | ( | const gchar * | fname, |
| const gchar * | errtext, | ||
| GtkWindow * | transient | ||
| ) |
| boolean do_yesno_dialog | ( | const gchar * | text | ) |
| boolean do_yuv4m_open_warning | ( | void | ) |
| void draw_little_bars | ( | gdouble | ptrtime | ) |
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
| gchar* ds_critical_msg | ( | const gchar * | dir, |
| guint64 | dsval | ||
| ) |
warn about disk space
< crit level
< current level
| gchar* ds_warning_msg | ( | const gchar * | dir, |
| guint64 | dsval, | ||
| guint64 | cwarn, | ||
| guint64 | nwarn | ||
| ) |
< warn level
< current level
< next warn level
| void enable_record | ( | void | ) |
| void end_threaded_dialog | ( | void | ) |
| gchar* ensure_extension | ( | const gchar * | fname, |
| const gchar * | ext | ||
| ) |
| boolean ensure_isdir | ( | gchar * | fname | ) |
| void fade_background | ( | void | ) |
| guint32 fastrand | ( | void | ) |
| void fastsrand | ( | guint32 | seed | ) |
| char* filename_from_fd | ( | char * | val, |
| int | fd | ||
| ) |
| void find_when_to_stop | ( | void | ) |
| void frame_size_update | ( | void | ) |
| void fullscreen_internal | ( | void | ) |
| GList* g_list_append_unique | ( | GList * | xlist, |
| const gchar * | add | ||
| ) |
| GList* g_list_copy_strings | ( | GList * | list | ) |
| GList* g_list_delete_string | ( | GList * | , |
| char * | string | ||
| ) |
| void g_list_free_strings | ( | GList * | list | ) |
| GList* g_list_move_to_first | ( | GList * | list, |
| GList * | item | ||
| ) |
| gchar* g_strappend | ( | gchar * | string, |
| gint | len, | ||
| const gchar * | newbit | ||
| ) |
| int get_approx_ln | ( | guint | val | ) |
| void get_basename | ( | gchar * | filename | ) |
| boolean get_boolean_pref | ( | const gchar * | key | ) |
| 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 | ) |
| gchar* get_dir | ( | const gchar * | filename | ) |
| void get_dirname | ( | gchar * | filename | ) |
| double get_double_pref | ( | const gchar * | key | ) |
| gchar* get_extension | ( | const gchar * | filename | ) |
| GList* get_external_window_hints | ( | lives_rfx_t * | rfx | ) |
| uint64_t get_file_size | ( | int | fd | ) |
| void get_filename | ( | gchar * | filename, |
| boolean | strip_dir | ||
| ) |
| void get_frame_count | ( | gint | idx | ) |
| void get_frames_sizes | ( | int | fileno, |
| int | frame_to_test | ||
| ) |
| uint64_t get_fs_free | ( | const char * | dir | ) |
| boolean get_handle_from_info_file | ( | int | index | ) |
| gint get_hex_digit | ( | const gchar * | c | ) |
| const char* get_image_ext_for_type | ( | lives_image_type_t | imgtype | ) |
| int get_int_pref | ( | const gchar * | key | ) |
| LiVESInterpType get_interp_value | ( | gshort | quality | ) |
| GList* get_list_pref | ( | const gchar * | key | ) |
| void get_location | ( | const gchar * | exe, |
| gchar * | val, | ||
| int | maxlen | ||
| ) |
| void get_menu_text | ( | GtkWidget * | menu, |
| gchar * | text | ||
| ) |
| void get_menu_text_long | ( | GtkWidget * | menuitem, |
| gchar * | text | ||
| ) |
| void get_monitors | ( | void | ) |
| boolean get_new_handle | ( | int | index, |
| const gchar * | name | ||
| ) |
| gchar* get_new_install_msg | ( | void | ) |
| void get_next_free_file | ( | void | ) |
| void get_play_times | ( | void | ) |
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
< opaque black
< opaque white
| void get_pref | ( | const gchar * | key, |
| gchar * | val, | ||
| int | maxlen | ||
| ) |
| void get_pref_default | ( | const gchar * | key, |
| gchar * | val, | ||
| int | maxlen | ||
| ) |
| void get_pref_utf8 | ( | const gchar * | key, |
| gchar * | val, | ||
| int | maxlen | ||
| ) |
| double get_ratio_fps | ( | const gchar * | string | ) |
| GList* get_set_list | ( | const gchar * | dir | ) |
| gboolean get_srt_text | ( | file * | sfile, |
| double | xtime | ||
| ) |
| lives_storage_status_t get_storage_status | ( | const char * | dir, |
| guint64 | warn_level, | ||
| guint64 * | dsval | ||
| ) |
| gboolean get_sub_text | ( | file * | sfile, |
| double | xtime | ||
| ) |
| int get_token_count | ( | const gchar * | string, |
| int | delim | ||
| ) |
| void get_total_time | ( | file * | file | ) |
| gchar* get_upd_msg | ( | void | ) |
| gchar* get_val_from_cached_list | ( | const gchar * | key, |
| size_t | maxlen | ||
| ) |
| uint64_t get_version_hash | ( | const gchar * | exe, |
| const gchar * | sep, | ||
| int | piece | ||
| ) |
get version hash output for an executable from the backend
| void handle_backend_errors | ( | void | ) |
| gint hextodec | ( | const gchar * | string | ) |
| void init_clipboard | ( | void | ) |
| gchar* insert_newlines | ( | const gchar * | text, |
| int | maxwidth | ||
| ) |
< we will insert a nl here
| boolean int_array_contains_value | ( | int * | array, |
| int | num_elems, | ||
| int | value | ||
| ) |
| gboolean is_legal_set_name | ( | const gchar * | set_name, |
| gboolean | allow_dupes | ||
| ) |
| boolean is_writeable_dir | ( | const char * | dir | ) |
| void kill_play_window | ( | void | ) |
| float LEFloat_to_BEFloat | ( | float | f | ) |
| uint64_t lives_10pow | ( | int | pow | ) |
| void lives_alarm_clear | ( | int | alarm_handle | ) |
| boolean lives_alarm_get | ( | int | alarm_handle | ) |
| int lives_alarm_set | ( | int64_t | ticks | ) |
set alarm for now + delta ticks (10 nanosec) param ticks (10 nanoseconds) is the offset when we want our alarm to trigger returns int handle or -1 call lives_get_alarm(handle) to test if time arrived
| void* lives_calloc | ( | size_t | nmemb, |
| size_t | size | ||
| ) |
| int lives_chdir | ( | const char * | path, |
| boolean | allow_fail | ||
| ) |
| void lives_exit | ( | void | ) |
| char* lives_fgets | ( | char * | s, |
| int | size, | ||
| FILE * | stream | ||
| ) |
| lives_pid_t lives_fork | ( | const char * | com | ) |
| gchar* lives_format_storage_space_string | ( | guint64 | space | ) |
| int lives_fputs | ( | const char * | s, |
| FILE * | stream | ||
| ) |
| void lives_free | ( | gpointer | ptr | ) |
| void lives_free | ( | void * | ptr | ) |
calls mainw->free_fn
| void lives_free_normal | ( | void * | ptr | ) |
values of mainw->free_fn
| void lives_free_with_check | ( | gpointer | ptr | ) |
checks if ptr is mainw->do_not_free, otherwise calls lives_free_normal()
| void lives_freep | ( | void ** | ptr | ) |
| boolean lives_fsync | ( | int | fd | ) |
| int64_t lives_get_current_ticks | ( | void | ) |
return current (wallclock) time in ticks (units of 10 nanoseconds)
| int lives_getgid | ( | void | ) |
| pid_t lives_getpid | ( | void | ) |
| int lives_getuid | ( | void | ) |
| int lives_kill | ( | lives_pid_t | pid, |
| int | sig | ||
| ) |
| int lives_killpg | ( | lives_pgid_t | pgrp, |
| int | sig | ||
| ) |
| gint lives_list_index | ( | GList * | list, |
| const gchar * | data | ||
| ) |
| void* lives_malloc | ( | size_t | size | ) |
| void* lives_memcpy | ( | void * | dest, |
| const void * | src, | ||
| size_t | n | ||
| ) |
| void* lives_memset | ( | void * | s, |
| int | c, | ||
| size_t | n | ||
| ) |
| LiVESPixbuf* lives_pixbuf_new_blank | ( | int | width, |
| int | height, | ||
| int | palette | ||
| ) |
| GError* lives_pixbuf_save | ( | GdkPixbuf * | pixbuf, |
| gchar * | fname, | ||
| lives_image_type_t | imgtype, | ||
| int | quality, | ||
| boolean | do_chmod, | ||
| GError ** | gerrorptr | ||
| ) |
Save a pixbuf to a file using the specified imgtype and the specified quality/compression value
| uint64_t lives_random | ( | void | ) |
| ssize_t lives_read | ( | int | fd, |
| void * | buf, | ||
| size_t | count, | ||
| boolean | allow_less | ||
| ) |
| ssize_t lives_read_le | ( | int | fd, |
| void * | buf, | ||
| size_t | count, | ||
| boolean | allow_less | ||
| ) |
| ssize_t lives_readlink | ( | const char * | path, |
| char * | buf, | ||
| size_t | bufsiz | ||
| ) |
| boolean lives_setenv | ( | const char * | name, |
| const char * | value | ||
| ) |
| void lives_srandom | ( | unsigned int | seed | ) |
| void lives_sync | ( | void | ) |
| int lives_system | ( | const char * | com, |
| boolean | allow_error | ||
| ) |
| ssize_t lives_write | ( | int | fd, |
| const void * | buf, | ||
| size_t | count, | ||
| boolean | allow_fail | ||
| ) |
| ssize_t lives_write_le | ( | int | fd, |
| const void * | buf, | ||
| size_t | count, | ||
| boolean | allow_fail | ||
| ) |
| void load_end_image | ( | gint | frame | ) |
| void load_frame_image | ( | gint | frame | ) |
| boolean load_from_scrap_file | ( | weed_plant_t * | layer, |
| int | frame | ||
| ) |
| void load_preview_image | ( | boolean | update_always | ) |
| void load_start_image | ( | gint | frame | ) |
| void make_custom_submenus | ( | void | ) |
| void make_play_window | ( | void | ) |
| void make_preview_box | ( | void | ) |
| uint64_t make_version_hash | ( | const char * | ver | ) |
convert a version to uint64_t hash, for comparing
| void minimise_aspect_delta | ( | gdouble | allowed_aspect, |
| gint | hblock, | ||
| gint | vblock, | ||
| gint | hsize, | ||
| gint | vsize, | ||
| gint * | width, | ||
| gint * | height | ||
| ) |
| LiVESPixbuf* mt_framedraw | ( | lives_mt * | , |
| LiVESPixbuf * | |||
| ) |
| int myround | ( | double | n | ) |
| void on_cancel_keep_button_clicked | ( | GtkButton * | , |
| gpointer | user_data | ||
| ) |
| void on_cleardisk_activate | ( | GtkWidget * | , |
| gpointer | user_data | ||
| ) |
< avoid nested warnings
< indicates we tried ds recovery already
< auto reset by do_warning_dialog()
| void on_cleardisk_advanced_clicked | ( | GtkWidget * | , |
| gpointer | user_data | ||
| ) |
| void on_effects_paused | ( | GtkButton * | , |
| gpointer | user_data | ||
| ) |
| void on_fileread_clicked | ( | GtkFileChooser * | , |
| gpointer | widget | ||
| ) |
| void on_filesel_button_clicked | ( | GtkButton * | button, |
| gpointer | user_data | ||
| ) |
| boolean open_ascrap_file | ( | void | ) |
| void open_file | ( | const gchar * | filename | ) |
| void open_file_sel | ( | const gchar * | file_name, |
| double | start_time, | ||
| int | frames | ||
| ) |
| void open_fw_device | ( | void | ) |
| boolean open_scrap_file | ( | void | ) |
| void open_set_file | ( | const gchar * | set_name, |
| gint | clipnum | ||
| ) |
| void perf_mem_warning | ( | void | ) |
| void play_file | ( | void | ) |
| void play_window_set_title | ( | void | ) |
| void popup_lmap_errors | ( | GtkMenuItem * | , |
| gpointer | |||
| ) |
| boolean prepare_to_play_foreign | ( | void | ) |
| void procw_desensitize | ( | void | ) |
| gboolean prompt_remove_layout_files | ( | void | ) |
| boolean pull_frame | ( | weed_plant_t * | layer, |
| const gchar * | image_ext, | ||
| weed_timecode_t | tc | ||
| ) |
| boolean pull_frame_at_size | ( | weed_plant_t * | layer, |
| const gchar * | image_ext, | ||
| weed_timecode_t | tc, | ||
| int | width, | ||
| int | height, | ||
| int | target_palette | ||
| ) |
| LiVESPixbuf* pull_lives_pixbuf | ( | int | clip, |
| int | frame, | ||
| const char * | image_ext, | ||
| weed_timecode_t | tc | ||
| ) |
| LiVESPixbuf* pull_lives_pixbuf_at_size | ( | int | clip, |
| int | frame, | ||
| const char * | image_ext, | ||
| weed_timecode_t | tc, | ||
| int | width, | ||
| int | height, | ||
| LiVESInterpType | interp | ||
| ) |
| void pump_io_chan | ( | GIOChannel * | iochan | ) |
| boolean rdet_suggest_values | ( | int | width, |
| int | height, | ||
| double | fps, | ||
| int | fps_num, | ||
| int | fps_denom, | ||
| int | arate, | ||
| int | asigned, | ||
| boolean | swap_endian, | ||
| boolean | anr, | ||
| boolean | ignore_fps | ||
| ) |
| boolean read_headers | ( | const gchar * | file_name | ) |
| void recover_layout_map | ( | int | 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 resize_widgets_for_monitor | ( | boolean | get_play_times | ) |
| 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 | ||
| ) |
| boolean save_clip_values | ( | int | which_file | ) |
| gint save_event_frames | ( | void | ) |
| void save_file | ( | int | clip, |
| int | start, | ||
| int | end, | ||
| const char * | filename | ||
| ) |
| boolean save_file_comments | ( | int | fileno | ) |
| void save_frame | ( | GtkMenuItem * | menuitem, |
| gpointer | user_data | ||
| ) |
| boolean save_frame_inner | ( | int | clip, |
| int | frame, | ||
| const gchar * | file_name, | ||
| int | width, | ||
| int | height, | ||
| boolean | from_osc | ||
| ) |
| 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 | ||
| ) |
| int save_to_scrap_file | ( | weed_plant_t * | layer | ) |
| void sensitize | ( | void | ) |
| void set_boolean_pref | ( | const gchar * | key, |
| boolean | value | ||
| ) |
| void set_ce_frame_from_pixbuf | ( | GtkImage * | image, |
| GdkPixbuf * | pixbuf, | ||
| lives_painter_t * | |||
| ) |
| void set_double_pref | ( | const gchar * | key, |
| double | value | ||
| ) |
| void set_int64_pref | ( | const gchar * | key, |
| int64_t | value | ||
| ) |
| void set_int_pref | ( | const gchar * | key, |
| int | value | ||
| ) |
| void set_list_pref | ( | const char * | key, |
| GList * | values | ||
| ) |
| void set_main_title | ( | const gchar * | filename, |
| gint | or_untitled_number | ||
| ) |
| void set_menu_text | ( | GtkWidget * | menu, |
| const gchar * | text, | ||
| boolean | 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_signal_handlers | ( | SignalHandlerPointer | sigfunc | ) |
| void set_undoable | ( | const gchar * | what, |
| gboolean | sensitive | ||
| ) |
| uint64_t 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, |
| double | pct | ||
| ) |
| boolean startup_message_fatal | ( | const gchar * | msg | ) |
| boolean startup_message_info | ( | const gchar * | msg | ) |
| boolean startup_message_nonfatal | ( | const gchar * | msg | ) |
| boolean startup_message_nonfatal_dismissable | ( | const gchar * | msg, |
| gint | warning_mask | ||
| ) |
| gboolean string_lists_differ | ( | GList * | , |
| GList * | |||
| ) |
| 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 | |||
| ) |
| boolean switch_aud_to_jack | ( | void | ) |
| void switch_aud_to_mplayer | ( | boolean | set_pref | ) |
| boolean switch_aud_to_pulse | ( | void | ) |
| void switch_aud_to_sox | ( | boolean | set_pref | ) |
| void switch_audio_clip | ( | gint | new_file, |
| boolean | activate | ||
| ) |
| 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 | ) |
| void threaded_dialog_spin | ( | void | ) |
| void toggle_record | ( | void | ) |
| void too_many_files | ( | void | ) |
| void unblock_expose | ( | void | ) |
| void unfade_background | ( | void | ) |
| gint verhash | ( | gchar * | version | ) |
| void wait_for_stop | ( | const gchar * | stop_command | ) |
| void zero_spinbuttons | ( | void | ) |
| capability* capable |
some shared structures
| gchar* dummychar |
| mainwindow* mainw |
| size_t sizdbl |
| size_t sizint |
type sizes
| size_t sizshrt |
| struct timeval tv |
1.8.1.1