|
LiVES 1.3.11-svn
|
#include <unistd.h>#include <stdlib.h>#include <string.h>#include <stdio.h>#include <fcntl.h>#include <dirent.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <sys/statvfs.h>#include <sys/file.h>#include "main.h"#include "support.h"#include "audio.h"#include "resample.h"Defines | |
| #define | ASPECT_ALLOWANCE 0.005 |
| #define | rand_a 1073741789L |
| #define | rand_c 32749L |
Functions | |
| void | lives_free (gpointer ptr) |
| void | lives_free_with_check (gpointer ptr) |
| LIVES_INLINE gint | myround (gdouble n) |
| LIVES_INLINE void | clear_mainw_msg (void) |
| LIVES_INLINE int | lives_10pow (int pow) |
| LIVES_INLINE int | get_approx_ln (guint x) |
| LIVES_INLINE gchar * | g_strappend (gchar *string, gint len, const gchar *new) |
| LIVES_INLINE GList * | g_list_append_unique (GList *xlist, const gchar *add) |
| LIVES_INLINE float | LEFloat_to_BEFloat (float f) |
| 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 | |
| gint | calc_new_playback_position (gint fileno, gint64 otc, gint64 *ntc) |
| void | calc_maxspect (gint rwidth, gint rheight, gint *cwidth, gint *cheight) |
| void | init_clipboard (void) |
| void | d_print (const gchar *text) |
| 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 | check_for_lock_file (const gchar *set_name, gint type) |
| gboolean | is_legal_set_name (const gchar *set_name, gboolean allow_dupes) |
| gboolean | check_frame_count (gint idx) |
| void | get_frame_count (gint idx) |
| void | get_next_free_file (void) |
| void | get_dirname (gchar *filename) |
| void | get_basename (gchar *filename) |
| void | get_filename (gchar *filename, gboolean strip_dir) |
| gchar * | get_extension (const gchar *filename) |
| gchar * | ensure_extension (const gchar *fname, const gchar *ext) |
| gboolean | ensure_isdir (gchar *fname) |
| void | get_location (const gchar *exe, gchar *val, gint maxlen) |
| gchar * | repl_tmpdir (const gchar *entry, gboolean fwd) |
| void | remove_layout_files (GList *map) |
| void | get_play_times (void) |
| void | draw_little_bars (gdouble ptrtime) |
| void | get_total_time (file *file) |
| void | find_when_to_stop (void) |
| void | minimise_aspect_delta (gdouble aspect, gint hblock, gint vblock, gint hsize, gint vsize, gint *width, gint *height) |
| void | zero_spinbuttons (void) |
| void | hide_cursor (GdkWindow *window) |
| void | unhide_cursor (GdkWindow *window) |
| LIVES_INLINE void | toggle_button_toggle (GtkToggleButton *tbutton) |
| gboolean | switch_aud_to_jack (void) |
| gboolean | switch_aud_to_pulse (void) |
| void | switch_aud_to_sox (void) |
| void | switch_aud_to_mplayer (void) |
| void | prepare_to_play_foreign (void) |
| gboolean | after_foreign_play (void) |
| void | set_menu_text (GtkWidget *menuitem, const gchar *text, gboolean use_mnemonic) |
| void | get_menu_text (GtkWidget *menuitem, gchar *text) |
| void | get_menu_text_long (GtkWidget *menuitem, gchar *text) |
| LIVES_INLINE gboolean | int_array_contains_value (int *array, int num_elems, int value) |
| void | reset_clip_menu (void) |
| gboolean | check_file (const gchar *file_name, gboolean check_existing) |
| check if file exists | |
| gboolean | check_dir_access (const gchar *dir) |
| 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) |
| gulong | get_file_size (int fd) |
| gulong | sget_file_size (const gchar *name) |
| void | reget_afilesize (int fileno) |
| void | colour_equal (GdkColor *c1, const GdkColor *c2) |
| gboolean | create_event_space (gint length) |
| gint | lives_list_index (GList *list, const gchar *data) |
| void | add_to_recent (const gchar *filename, gdouble start, gint frames, const gchar *extra_params) |
| void | lives_set_cursor_style (lives_cursor_t cstyle, GdkWindow *window) |
| gint | verhash (gchar *version) |
| void | set_undoable (const gchar *what, gboolean sensitive) |
| void | set_redoable (const gchar *what, gboolean sensitive) |
| void | set_sel_label (GtkWidget *sel_label) |
| LIVES_INLINE void | g_list_free_strings (GList *slist) |
| void | cache_file_contents (const gchar *filename) |
| gchar * | get_val_from_cached_list (const gchar *key, size_t maxlen) |
| gboolean | get_clip_value (int which, lives_clip_details_t what, void *retval, size_t maxlen) |
| void | save_clip_value (int which, lives_clip_details_t what, void *val) |
| GList * | get_set_list (const gchar *dir) |
| gboolean | check_for_ratio_fps (gdouble fps) |
| gdouble | get_ratio_fps (const gchar *string) |
| gchar * | remove_trailing_zeroes (gdouble val) |
| guint | get_signed_endian (gboolean is_signed, gboolean little_endian) |
| gint | get_token_count (const gchar *string, int delim) |
| gchar * | subst (const gchar *string, const gchar *from, const gchar *to) |
| void | combo_set_popdown_strings (GtkCombo *combo, GList *list) |
| void | get_border_size (GtkWidget *win, gint *bx, gint *by) |
| gint | hextodec (const gchar *string) |
| gint | get_hex_digit (const gchar *c) |
| LIVES_INLINE guint32 | fastrand (void) |
| void | fastsrand (guint32 seed) |
| GdkPixmap * | gdk_pixmap_copy (GdkPixmap *pixmap) |
| void | set_fg_colour (gint red, gint green, gint blue) |
| gboolean | label_act_toggle (GtkWidget *widget, GdkEventButton *event, GtkToggleButton *togglebutton) |
| gboolean | widget_act_toggle (GtkWidget *widget, GtkToggleButton *togglebutton) |
| void | gtk_tooltips_copy (GtkWidget *dest, GtkWidget *source) |
| gchar * | text_view_get_text (GtkTextView *textview) |
| void | text_view_set_text (GtkTextView *textview, const gchar *text) |
| gint | get_box_child_index (GtkBox *box, GtkWidget *tchild) |
| void | adjustment_configure (GtkAdjustment *adjustment, gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size) |
| gulong | get_fs_free (const gchar *dir) |
| LIVES_INLINE gint | get_interp_value (gshort quality) |
| LIVES_INLINE GList * | g_list_move_to_first (GList *list, GList *item) |
Variables | |
| static gboolean | osepwin |
| static gboolean | ofs |
| static gboolean | ofaded |
| static gboolean | odouble |
| #define ASPECT_ALLOWANCE 0.005 |
| #define rand_a 1073741789L |
| #define rand_c 32749L |
| 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_to_recent | ( | const gchar * | filename, |
| gdouble | start, | ||
| gint | frames, | ||
| const gchar * | extra_params | ||
| ) |
| 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 | ) |
| 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 | ||
| ) |
| gboolean check_dev_busy | ( | gchar * | devstr | ) |
| gboolean check_dir_access | ( | const gchar * | dir | ) |
| gboolean check_file | ( | const gchar * | file_name, |
| gboolean | check_existing | ||
| ) |
check if file exists
| gboolean check_for_lock_file | ( | const gchar * | set_name, |
| gint | type | ||
| ) |
| gboolean check_for_ratio_fps | ( | gdouble | fps | ) |
| gboolean check_frame_count | ( | gint | idx | ) |
| void clear_lmap_errors | ( | void | ) |
| LIVES_INLINE void clear_mainw_msg | ( | void | ) |
| void colour_equal | ( | GdkColor * | c1, |
| const GdkColor * | c2 | ||
| ) |
| void combo_set_popdown_strings | ( | GtkCombo * | combo, |
| GList * | list | ||
| ) |
| gboolean create_event_space | ( | gint | length | ) |
| void d_print | ( | const gchar * | text | ) |
| void draw_little_bars | ( | gdouble | ptrtime | ) |
| gchar* ensure_extension | ( | const gchar * | fname, |
| const gchar * | ext | ||
| ) |
| gboolean ensure_isdir | ( | gchar * | fname | ) |
| LIVES_INLINE guint32 fastrand | ( | void | ) |
| void fastsrand | ( | guint32 | seed | ) |
| void find_when_to_stop | ( | void | ) |
| LIVES_INLINE GList* g_list_append_unique | ( | GList * | xlist, |
| const gchar * | add | ||
| ) |
| LIVES_INLINE void g_list_free_strings | ( | GList * | slist | ) |
| LIVES_INLINE GList* g_list_move_to_first | ( | GList * | list, |
| GList * | item | ||
| ) |
| LIVES_INLINE gchar* g_strappend | ( | gchar * | string, |
| gint | len, | ||
| const gchar * | new | ||
| ) |
| GdkPixmap* gdk_pixmap_copy | ( | GdkPixmap * | pixmap | ) |
| LIVES_INLINE int get_approx_ln | ( | guint | x | ) |
| void get_basename | ( | gchar * | filename | ) |
| void get_border_size | ( | GtkWidget * | win, |
| gint * | bx, | ||
| gint * | by | ||
| ) |
| gint get_box_child_index | ( | GtkBox * | box, |
| GtkWidget * | tchild | ||
| ) |
| gboolean get_clip_value | ( | int | which, |
| lives_clip_details_t | what, | ||
| void * | retval, | ||
| size_t | maxlen | ||
| ) |
| void get_dirname | ( | gchar * | filename | ) |
| gchar* get_extension | ( | const gchar * | filename | ) |
| 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 | ) |
| gint get_hex_digit | ( | const gchar * | c | ) |
| LIVES_INLINE gint get_interp_value | ( | gshort | quality | ) |
| void get_location | ( | const gchar * | exe, |
| gchar * | val, | ||
| gint | maxlen | ||
| ) |
| void get_menu_text | ( | GtkWidget * | menuitem, |
| gchar * | text | ||
| ) |
| void get_menu_text_long | ( | GtkWidget * | menuitem, |
| gchar * | text | ||
| ) |
| void get_next_free_file | ( | void | ) |
| void get_play_times | ( | void | ) |
| gdouble get_ratio_fps | ( | const gchar * | string | ) |
| GList* get_set_list | ( | const gchar * | dir | ) |
| guint get_signed_endian | ( | gboolean | is_signed, |
| gboolean | little_endian | ||
| ) |
| 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 | ) |
| LIVES_INLINE gboolean int_array_contains_value | ( | int * | array, |
| int | num_elems, | ||
| int | value | ||
| ) |
| gboolean is_legal_set_name | ( | const gchar * | set_name, |
| gboolean | allow_dupes | ||
| ) |
| gboolean label_act_toggle | ( | GtkWidget * | widget, |
| GdkEventButton * | event, | ||
| GtkToggleButton * | togglebutton | ||
| ) |
| LIVES_INLINE float LEFloat_to_BEFloat | ( | float | f | ) |
| LIVES_INLINE int lives_10pow | ( | int | pow | ) |
| void lives_free | ( | gpointer | ptr | ) |
| void lives_free_with_check | ( | gpointer | ptr | ) |
| gint lives_list_index | ( | GList * | list, |
| const gchar * | data | ||
| ) |
| void lives_set_cursor_style | ( | lives_cursor_t | cstyle, |
| GdkWindow * | window | ||
| ) |
| void minimise_aspect_delta | ( | gdouble | aspect, |
| gint | hblock, | ||
| gint | vblock, | ||
| gint | hsize, | ||
| gint | vsize, | ||
| gint * | width, | ||
| gint * | height | ||
| ) |
| LIVES_INLINE gint myround | ( | gdouble | n | ) |
| void prepare_to_play_foreign | ( | void | ) |
| void reget_afilesize | ( | int | fileno | ) |
| void remove_layout_files | ( | GList * | map | ) |
| gchar* remove_trailing_zeroes | ( | gdouble | val | ) |
| gchar* repl_tmpdir | ( | const gchar * | entry, |
| gboolean | fwd | ||
| ) |
| void reset_clip_menu | ( | void | ) |
| void save_clip_value | ( | int | which, |
| lives_clip_details_t | what, | ||
| void * | val | ||
| ) |
| void set_fg_colour | ( | gint | red, |
| gint | green, | ||
| gint | blue | ||
| ) |
| void set_menu_text | ( | GtkWidget * | menuitem, |
| const gchar * | text, | ||
| gboolean | use_mnemonic | ||
| ) |
| void set_redoable | ( | const gchar * | what, |
| gboolean | sensitive | ||
| ) |
| void set_sel_label | ( | GtkWidget * | sel_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 | ||
| ) |
| gchar* subst | ( | const gchar * | string, |
| const gchar * | from, | ||
| const gchar * | to | ||
| ) |
| gboolean switch_aud_to_jack | ( | void | ) |
| void switch_aud_to_mplayer | ( | void | ) |
| gboolean switch_aud_to_pulse | ( | void | ) |
| void switch_aud_to_sox | ( | void | ) |
| gchar* text_view_get_text | ( | GtkTextView * | textview | ) |
| void text_view_set_text | ( | GtkTextView * | textview, |
| const gchar * | text | ||
| ) |
| LIVES_INLINE void toggle_button_toggle | ( | GtkToggleButton * | tbutton | ) |
| void unhide_cursor | ( | GdkWindow * | window | ) |
| gint verhash | ( | gchar * | version | ) |
| gboolean widget_act_toggle | ( | GtkWidget * | widget, |
| GtkToggleButton * | togglebutton | ||
| ) |
| void zero_spinbuttons | ( | void | ) |
| gboolean odouble |
| gboolean ofaded |
| gboolean ofs |
| gboolean osepwin |
1.7.4