LiVES
3.2.0
|
#include "main.h"
#include "events.h"
#include "callbacks.h"
#include "effects.h"
#include "resample.h"
#include "paramwindow.h"
#include "interface.h"
#include "audio.h"
#include "startup.h"
#include "framedraw.h"
#include "cvirtual.h"
#include "pangotext.h"
#include "rte_window.h"
Go to the source code of this file.
Macros | |
#define | WEED_AUDIO_LITTLE_ENDIAN 0 |
#define | WEED_AUDIO_BIG_ENDIAN 1 |
#define | LIVES_AVOL_SCALE ((double)1000000.) |
#define | POLY_WIDTH_MARGIN 4 |
Functions | |
LIVES_INLINE int | mt_file_from_clip (lives_mt *mt, int clip) |
LIVES_INLINE int | mt_clip_from_file (lives_mt *mt, int file) |
int | get_track_for_block (track_rect *block) |
return track number for a given block More... | |
LIVES_INLINE boolean | is_empty_track (LiVESWidgetObject *track) |
double | get_mixer_track_vol (lives_mt *mt, int trackno) |
void | set_mixer_track_vol (lives_mt *mt, int trackno, double vol) |
boolean | save_event_list_inner (lives_mt *mt, int fd, weed_plant_t *event_list, unsigned char **mem) |
LiVESPixbuf * | make_thumb (lives_mt *mt, int file, int width, int height, frames_t frame, LiVESInterpType interp, boolean noblanks) |
LiVESPixbuf * | make_thumb_fast_between (lives_mt *mt, int fileno, int width, int height, int tframe, int range) |
LIVES_LOCAL_INLINE void | reset_mt_play_sizes (lives_mt *mt) |
boolean | write_backup_layout_numbering (lives_mt *mt) |
boolean | mt_auto_backup (livespointer user_data) |
uint32_t | mt_idle_add (lives_mt *mt) |
void | recover_layout_cancelled (boolean is_startup) |
boolean | mt_load_recovery_layout (lives_mt *mt) |
boolean | recover_layout (void) |
void ** | mt_get_pchain (void) |
char * | get_track_name (lives_mt *mt, int track_num, boolean is_audio) |
LIVES_INLINE double | get_time_from_x (lives_mt *mt, int x) |
LIVES_INLINE void | set_params_unchanged (lives_mt *mt, lives_rfx_t *rfx) |
void | free_thumb_cache (int fnum, frames_t fromframe) |
LIVES_GLOBAL_INLINE double | mt_get_effect_time (lives_mt *mt) |
boolean | add_mt_param_box (lives_mt *mt) |
void | track_select (lives_mt *mt) |
must call after setting mt->current_track More... | |
void | scroll_tracks (lives_mt *mt, int top_track, boolean set_value) |
boolean | track_arrow_pressed (LiVESWidget *ebox, LiVESXEventButton *event, livespointer user_data) |
void | multitrack_view_clips (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_view_in_out (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_clip_select (lives_mt *mt, boolean scroll) |
boolean | mt_prevclip (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_nextclip (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
void | set_timeline_end_secs (lives_mt *mt, double secs) |
void | mt_show_current_frame (lives_mt *mt, boolean return_layer) |
preview the current frame More... | |
void | mt_tl_move (lives_mt *mt, double pos) |
LIVES_INLINE void | mt_tl_move_relative (lives_mt *mt, double pos_rel) |
boolean | mt_tlfor (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_tlfor_frame (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_tlback (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_tlback_frame (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
void | scroll_track_by_scrollbar (LiVESScrollbar *sbar, livespointer user_data) |
boolean | mt_trdown (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_trup (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
LIVES_INLINE int | poly_page_to_tab (uint32_t page) |
LIVES_INLINE int | poly_tab_to_page (uint32_t tab) |
LIVES_INLINE lives_mt_poly_state_t | get_poly_state_from_page (lives_mt *mt) |
void | set_poly_tab (lives_mt *mt, uint32_t tab) |
LIVES_LOCAL_INLINE int | pkg_in_list (char *pkgstring) |
LIVES_LOCAL_INLINE int | add_to_pkg_list (char *pkgstring) |
LIVES_LOCAL_INLINE char * | get_pkg_name (int pkgnum) |
LIVES_LOCAL_INLINE void | free_pkg_list (void) |
void | mt_center_on_cursor (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_zoom_in (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_zoom_out (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_spin_start_value_changed (LiVESSpinButton *spinbutton, livespointer user_data) |
void | mt_spin_end_value_changed (LiVESSpinButton *spinbutton, livespointer user_data) |
void | mt_init_start_end_spins (lives_mt *mt) |
void | mouse_mode_context (lives_mt *mt) |
void | update_insert_mode (lives_mt *mt) |
void | update_grav_mode (lives_mt *mt) |
boolean | make_backup_space (lives_mt *mt, size_t space_needed) |
void | mt_backup (lives_mt *mt, int undo_type, weed_timecode_t tc) |
void | mt_aparam_view_toggled (LiVESMenuItem *menuitem, livespointer user_data) |
void | add_aparam_menuitems (lives_mt *mt) |
void | set_mt_play_sizes_cfg (lives_mt *mt) |
char * | set_values_from_defs (lives_mt *mt, boolean from_prefs) |
void | event_list_free_undos (lives_mt *mt) |
void | stored_event_list_free_undos (void) |
void | remove_current_from_affected_layouts (lives_mt *mt) |
void | stored_event_list_free_all (boolean wiped) |
LIVES_INLINE void | print_layout_wiped (void) |
boolean | check_for_layout_del (lives_mt *mt, boolean exiting) |
void | delete_audio_tracks (lives_mt *mt, LiVESList *list, boolean full) |
void | mt_quit_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_set_autotrans (int idx) |
void | set_mt_colours (lives_mt *mt) |
lives_mt * | multitrack (weed_plant_t *event_list, int orig_file, double fps) |
create and return lives_mt struct More... | |
void | delete_audio_track (lives_mt *mt, LiVESWidget *eventbox, boolean full) |
boolean | used_in_current_layout (lives_mt *mt, int file) |
boolean | multitrack_delete (lives_mt *mt, boolean save_layout) |
void | reset_renumbering (void) |
void | mt_init_tracks (lives_mt *mt, boolean set_min_max) |
add basic tracks, or set tracks from mt->event_list More... | |
void | delete_video_track (lives_mt *mt, int layer, boolean full) |
LiVESWidget * | add_audio_track (lives_mt *mt, int track, boolean behind) |
void | set_track_label_string (lives_mt *mt, int track, const char *label) |
int | add_video_track_behind (LiVESMenuItem *menuitem, livespointer user_data) |
int | add_video_track_front (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_mt_fx_edit_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | do_effect_context (lives_mt *mt, LiVESXEventButton *event) |
void | mt_clear_timeline (lives_mt *mt) |
void | mt_delete_clips (lives_mt *mt, int file) |
void | mt_init_clips (lives_mt *mt, int orig_file, boolean add) |
boolean | mt_idle_show_current_frame (livespointer data) |
boolean | on_multitrack_activate (LiVESMenuItem *menuitem, weed_plant_t *event_list) |
menuitem callback More... | |
boolean | block_overlap (LiVESWidget *eventbox, double time_start, double time_end) |
track_rect * | move_block (lives_mt *mt, track_rect *block, double timesecs, int old_track, int new_track) |
void | unselect_all (lives_mt *mt) |
unselect all blocks More... | |
void | clear_context (lives_mt *mt) |
void | add_context_label (lives_mt *mt, const char *text) |
boolean | resize_timeline (lives_mt *mt) |
boolean | show_in_out_images (livespointer user_data) |
void | in_out_start_changed (LiVESWidget *widget, livespointer user_data) |
void | in_out_end_changed (LiVESWidget *widget, livespointer user_data) |
void | avel_reverse_toggled (LiVESToggleButton *togglebutton, livespointer user_data) |
void | avel_spin_changed (LiVESSpinButton *spinbutton, livespointer user_data) |
void | in_anchor_toggled (LiVESToggleButton *togglebutton, livespointer user_data) |
void | out_anchor_toggled (LiVESToggleButton *togglebutton, livespointer user_data) |
void | polymorph (lives_mt *mt, lives_mt_poly_state_t poly) |
void | do_block_context (lives_mt *mt, LiVESXEventButton *event, track_rect *block) |
void | do_track_context (lives_mt *mt, LiVESXEventButton *event, double timesecs, int track) |
boolean | on_track_release (LiVESWidget *eventbox, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_header_click (LiVESWidget *widget, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_header_release (LiVESWidget *widget, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_between_click (LiVESWidget *widget, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_between_release (LiVESWidget *widget, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_click (LiVESWidget *eventbox, LiVESXEventButton *event, livespointer user_data) |
boolean | on_track_move (LiVESWidget *widget, LiVESXEventMotion *event, livespointer user_data) |
boolean | on_track_header_move (LiVESWidget *widget, LiVESXEventMotion *event, livespointer user_data) |
void | unpaint_line (lives_mt *mt, LiVESWidget *eventbox) |
void | unpaint_lines (lives_mt *mt) |
void | animate_multitrack (lives_mt *mt) |
void | multitrack_end_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | insert_here_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | insert_at_ctx_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | edit_start_end_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | close_clip_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | show_clipinfo_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | insert_audio_here_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | insert_audio_at_ctx_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | delete_block_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | selblock_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | list_fx_here_cb (LiVESMenuItem *menuitem, livespointer user_data) |
void | remove_first_gaps (LiVESMenuItem *menuitem, livespointer user_data) |
void | remove_gaps (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_insgap_sel_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_insgap_cur_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_undo (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_redo (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_view_details (LiVESMenuItem *menuitem, livespointer user_data) |
weed_plant_t * | add_blank_frames_up_to (weed_plant_t *event_list, weed_plant_t *start_event, weed_timecode_t end_tc, double fps) |
void | mt_add_region_effect (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_add_block_effect (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_mt_list_fx_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_mt_delfx_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_jumpback_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_jumpnext_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_jumpback_mark_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_jumpnext_mark_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_rename_track_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_cback_audio_activate (LiVESMenuItem *menuitem, livespointer user_data) |
boolean | on_render_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_prerender_aud_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | update_filter_events (lives_mt *mt, weed_plant_t *first_event, weed_timecode_t start_tc, weed_timecode_t end_tc, int track, weed_timecode_t new_start_tc, int new_track) |
void | on_split_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_split_curr_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_split_sel_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_selection_lock (LiVESMenuItem *menuitem, livespointer user_data) |
lock the time selection More... | |
void | on_seltrack_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_seltrack_toggled (LiVESWidget *checkbutton, livespointer user_data) |
void | mt_desensitise (lives_mt *mt) |
void | mt_sensitise (lives_mt *mt) |
void | mt_swap_play_pause (lives_mt *mt, boolean put_pause) |
void | multitrack_preview_clicked (LiVESWidget *button, livespointer user_data) |
void | mt_prepare_for_playback (lives_mt *mt) |
void | mt_post_playback (lives_mt *mt) |
void | multitrack_playall (lives_mt *mt) |
void | multitrack_play_sel (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_adj_start_end (LiVESMenuItem *menuitem, livespointer user_data) |
boolean | multitrack_insert (LiVESMenuItem *menuitem, livespointer user_data) |
boolean | multitrack_audio_insert (LiVESMenuItem *menuitem, livespointer user_data) |
void | insert_frames (int filenum, weed_timecode_t offset_start, weed_timecode_t offset_end, weed_timecode_t tc, lives_direction_t direction, LiVESWidget *eventbox, lives_mt *mt, track_rect *in_block) |
void | insert_audio (int filenum, weed_timecode_t offset_start, weed_timecode_t offset_end, weed_timecode_t tc, double avel, lives_direction_t direction, LiVESWidget *eventbox, lives_mt *mt, track_rect *in_block) |
void | multitrack_view_events (LiVESMenuItem *menuitem, livespointer user_data) |
void | multitrack_view_sel_events (LiVESMenuItem *menuitem, livespointer user_data) |
void | draw_region (lives_mt *mt) |
EXPOSE_FN_END boolean | on_timeline_update (LiVESWidget *widget, LiVESXEventMotion *event, livespointer user_data) |
boolean | all_present (weed_plant_t *event, LiVESList *sel) |
void | get_region_overlap (lives_mt *mt) |
void | do_sel_context (lives_mt *mt) |
void | do_fx_list_context (lives_mt *mt, int fxcount) |
void | do_fx_move_context (lives_mt *mt) |
boolean | on_timeline_release (LiVESWidget *eventbox, LiVESXEventButton *event, livespointer user_data) |
boolean | on_timeline_press (LiVESWidget *widget, LiVESXEventButton *event, livespointer user_data) |
weed_plant_t * | get_prev_fm (lives_mt *mt, int current_track, weed_plant_t *event) |
weed_plant_t * | get_next_fm (lives_mt *mt, int current_track, weed_plant_t *event) |
boolean | mt_mark_callback (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
boolean | mt_tcoverlay_callback (LiVESAccelGroup *group, LiVESWidgetObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data) |
void | on_fx_insa_clicked (LiVESWidget *button, livespointer user_data) |
void | on_fx_insb_clicked (LiVESWidget *button, livespointer user_data) |
void | on_prev_fm_clicked (LiVESWidget *button, livespointer user_data) |
void | on_next_fm_clicked (LiVESWidget *button, livespointer user_data) |
void | on_node_spin_value_changed (LiVESSpinButton *spinbutton, livespointer user_data) |
void | on_resetp_clicked (LiVESWidget *button, livespointer user_data) |
void | on_next_node_clicked (LiVESWidget *button, livespointer user_data) |
void | on_prev_node_clicked (LiVESWidget *button, livespointer user_data) |
void | on_del_node_clicked (LiVESWidget *button, livespointer user_data) |
void | mt_fixup_events (lives_mt *mt, weed_plant_t *old_event, weed_plant_t *new_event) |
void | activate_mt_preview (lives_mt *mt) |
sensitize Show Preview and Apply buttons More... | |
void | on_set_pvals_clicked (LiVESWidget *button, livespointer user_data) |
LiVESList * | load_layout_map (void) |
void | save_layout_map (int *lmap, double *lmap_audio, const char *file, const char *dir) |
void | add_markers (lives_mt *mt, weed_plant_t *event_list, boolean add_block_ids) |
boolean | set_new_set_name (lives_mt *mt) |
boolean | on_save_event_list_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void * | find_init_event_in_ttable (ttable *trans_table, uint64_t in, boolean normal) |
void | move_init_in_filter_map (lives_mt *mt, weed_plant_t *event_list, weed_plant_t *event, weed_plant_t *ifrom, weed_plant_t *ito, int track, boolean after) |
boolean | compare_filter_maps (weed_plant_t *fm1, weed_plant_t *fm2, int ctrack) |
ctrack can be -1 to compare all events, else we cf for ctrack More... | |
boolean | event_list_rectify (lives_mt *mt, weed_plant_t *event_list) |
char * | get_eload_filename (lives_mt *mt, boolean allow_auto_reload) |
weed_plant_t * | load_event_list (lives_mt *mt, char *eload_file) |
void | remove_markers (weed_plant_t *event_list) |
void | wipe_layout (lives_mt *mt) |
void | on_clear_event_list_activate (LiVESMenuItem *menuitem, livespointer user_data) |
boolean | on_load_event_list_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | migrate_layouts (const char *old_set_name, const char *new_set_name) |
LiVESList * | layout_frame_is_affected (int clipno, int start, int end, LiVESList *xlays) |
LiVESList * | layout_audio_is_affected (int clipno, double stime, double etime, LiVESList *xlays) |
void | mt_change_disp_tracks_ok (LiVESButton *button, livespointer user_data) |
void | show_frame_events_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_change_max_disp_tracks (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_load_vals_toggled (LiVESMenuItem *menuitem, livespointer user_data) |
void | mt_change_vals_activate (LiVESMenuItem *menuitem, livespointer user_data) |
void | on_amixer_close_clicked (LiVESButton *button, lives_mt *mt) |
void | on_amixer_slider_changed (LiVESAdjustment *adj, lives_mt *mt) |
LiVESWidget * | amixer_add_channel_slider (lives_mt *mt, int i) |
void | amixer_show (LiVESButton *button, livespointer user_data) |
void | on_mt_showkeys_activate (LiVESMenuItem *menuitem, livespointer user_data) |
LiVESWidget * | get_eventbox_for_track (lives_mt *mt, int ntrack) |
track_rect * | find_block_by_uid (lives_mt *mt, ulong uid) |
boolean | mt_track_is_video (lives_mt *mt, int ntrack) |
return TRUE if ntrack is a valid video track More... | |
boolean | mt_track_is_audio (lives_mt *mt, int ntrack) |
return TRUE if ntrack is a valid backing audio track More... | |
ulong | mt_get_last_block_uid (lives_mt *mt) |
get index of last inserted (wallclock time) block for track More... | |
int | mt_get_block_count (lives_mt *mt, int ntrack) |
count blocks in track More... | |
double | mt_get_block_sttime (lives_mt *mt, int ntrack, int iblock) |
return time in seconds of first frame event in block More... | |
double | mt_get_block_entime (lives_mt *mt, int ntrack, int iblock) |
return time in seconds of last frame event in block, + event duration More... | |
track_rect * | get_block_from_track_and_time (lives_mt *mt, int track, double time) |
get timeline end time of block More... | |
int | get_clip_for_block (track_rect *block) |
void | mt_do_autotransition (lives_mt *mt, track_rect *block) |
call this on a block to apply autotransition on it More... | |
#define LIVES_AVOL_SCALE ((double)1000000.) |
#define POLY_WIDTH_MARGIN 4 |
Definition at line 12775 of file multitrack.c.
#define WEED_AUDIO_BIG_ENDIAN 1 |
Definition at line 94 of file multitrack.c.
#define WEED_AUDIO_LITTLE_ENDIAN 0 |
Definition at line 93 of file multitrack.c.
void activate_mt_preview | ( | lives_mt * | mt | ) |
sensitize Show Preview and Apply buttons
Definition at line 19400 of file multitrack.c.
void add_aparam_menuitems | ( | lives_mt * | mt | ) |
Definition at line 5308 of file multitrack.c.
Referenced by set_interactive().
LiVESWidget* add_audio_track | ( | lives_mt * | mt, |
int | track, | ||
boolean | behind | ||
) |
Definition at line 10166 of file multitrack.c.
Referenced by mt_init_tracks().
weed_plant_t* add_blank_frames_up_to | ( | weed_plant_t * | event_list, |
weed_plant_t * | start_event, | ||
weed_timecode_t | end_tc, | ||
double | fps | ||
) |
Definition at line 15650 of file multitrack.c.
Referenced by insert_frames(), and mt_add_region_effect().
void add_context_label | ( | lives_mt * | mt, |
const char * | text | ||
) |
Definition at line 11698 of file multitrack.c.
Referenced by do_fx_list_context(), do_fx_move_context(), do_sel_context(), mouse_mode_context(), multitrack_playall(), on_fx_insa_clicked(), and on_fx_insb_clicked().
void add_markers | ( | lives_mt * | mt, |
weed_plant_t * | event_list, | ||
boolean | add_block_ids | ||
) |
Definition at line 19877 of file multitrack.c.
Referenced by multitrack_delete(), and multitrack_undo().
boolean add_mt_param_box | ( | lives_mt * | mt | ) |
Definition at line 1740 of file multitrack.c.
LIVES_LOCAL_INLINE int add_to_pkg_list | ( | char * | pkgstring | ) |
Definition at line 4033 of file multitrack.c.
int add_video_track_behind | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 10523 of file multitrack.c.
Referenced by mt_init_tracks().
int add_video_track_front | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 10533 of file multitrack.c.
boolean all_present | ( | weed_plant_t * | event, |
LiVESList * | sel | ||
) |
Definition at line 18498 of file multitrack.c.
Referenced by get_region_overlap().
LiVESWidget* amixer_add_channel_slider | ( | lives_mt * | mt, |
int | i | ||
) |
Definition at line 22694 of file multitrack.c.
Referenced by add_audio_track(), and amixer_show().
void amixer_show | ( | LiVESButton * | button, |
livespointer | user_data | ||
) |
Definition at line 22757 of file multitrack.c.
Referenced by mt_init_start_end_spins().
void animate_multitrack | ( | lives_mt * | mt | ) |
Definition at line 14223 of file multitrack.c.
void avel_reverse_toggled | ( | LiVESToggleButton * | togglebutton, |
livespointer | user_data | ||
) |
Definition at line 12500 of file multitrack.c.
void avel_spin_changed | ( | LiVESSpinButton * | spinbutton, |
livespointer | user_data | ||
) |
Definition at line 12548 of file multitrack.c.
boolean block_overlap | ( | LiVESWidget * | eventbox, |
double | time_start, | ||
double | time_end | ||
) |
Definition at line 11369 of file multitrack.c.
Definition at line 5924 of file multitrack.c.
Referenced by mt_quit_activate(), multitrack_delete(), on_export_proj_activate(), on_load_event_list_activate(), on_quit_activate(), and on_save_set_activate().
void clear_context | ( | lives_mt * | mt | ) |
Definition at line 11693 of file multitrack.c.
Referenced by do_fx_list_context(), do_fx_move_context(), do_sel_context(), mouse_mode_context(), multitrack_playall(), on_fx_insa_clicked(), and on_fx_insb_clicked().
void close_clip_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14266 of file multitrack.c.
boolean compare_filter_maps | ( | weed_plant_t * | fm1, |
weed_plant_t * | fm2, | ||
int | ctrack | ||
) |
ctrack can be -1 to compare all events, else we cf for ctrack
Definition at line 20384 of file multitrack.c.
Referenced by get_next_fm(), and get_prev_fm().
void delete_audio_track | ( | lives_mt * | mt, |
LiVESWidget * | eventbox, | ||
boolean | full | ||
) |
Definition at line 8993 of file multitrack.c.
Referenced by delete_audio_tracks().
void delete_audio_tracks | ( | lives_mt * | mt, |
LiVESList * | list, | ||
boolean | full | ||
) |
Definition at line 5986 of file multitrack.c.
Referenced by mt_clear_timeline(), and mt_memory_free().
void delete_block_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14299 of file multitrack.c.
void delete_video_track | ( | lives_mt * | mt, |
int | layer, | ||
boolean | full | ||
) |
Definition at line 10121 of file multitrack.c.
Referenced by mt_clear_timeline(), and mt_memory_free().
void do_block_context | ( | lives_mt * | mt, |
LiVESXEventButton * | event, | ||
track_rect * | block | ||
) |
Definition at line 13619 of file multitrack.c.
void do_effect_context | ( | lives_mt * | mt, |
LiVESXEventButton * | event | ||
) |
Definition at line 10573 of file multitrack.c.
void do_fx_list_context | ( | lives_mt * | mt, |
int | fxcount | ||
) |
Definition at line 18603 of file multitrack.c.
void do_fx_move_context | ( | lives_mt * | mt | ) |
Definition at line 18615 of file multitrack.c.
void do_sel_context | ( | lives_mt * | mt | ) |
Definition at line 18583 of file multitrack.c.
Referenced by mt_spin_end_value_changed(), mt_spin_start_value_changed(), and on_seltrack_activate().
void do_track_context | ( | lives_mt * | mt, |
LiVESXEventButton * | event, | ||
double | timesecs, | ||
int | track | ||
) |
Definition at line 13695 of file multitrack.c.
void draw_region | ( | lives_mt * | mt | ) |
Definition at line 18159 of file multitrack.c.
Referenced by all_config(), mt_spin_end_value_changed(), mt_spin_start_value_changed(), and on_timeline_release().
void edit_start_end_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14259 of file multitrack.c.
void event_list_free_undos | ( | lives_mt * | mt | ) |
Definition at line 5827 of file multitrack.c.
Referenced by check_for_layout_del(), del_current_set(), load_event_list(), mt_memory_free(), on_close_activate(), and wipe_layout().
boolean event_list_rectify | ( | lives_mt * | mt, |
weed_plant_t * | event_list | ||
) |
Definition at line 20713 of file multitrack.c.
Referenced by mt_delete_clips().
track_rect* find_block_by_uid | ( | lives_mt * | mt, |
ulong | uid | ||
) |
Definition at line 23012 of file multitrack.c.
Referenced by idle_move_block(), and idle_remove_block().
reverse lookup for past filter_map check
Definition at line 20253 of file multitrack.c.
LIVES_LOCAL_INLINE void free_pkg_list | ( | void | ) |
Definition at line 4043 of file multitrack.c.
void free_thumb_cache | ( | int | fnum, |
frames_t | fromframe | ||
) |
Definition at line 1148 of file multitrack.c.
Referenced by close_current_file().
track_rect* get_block_from_track_and_time | ( | lives_mt * | mt, |
int | track, | ||
double | time | ||
) |
get timeline end time of block
Definition at line 23099 of file multitrack.c.
int get_clip_for_block | ( | track_rect * | block | ) |
Definition at line 23107 of file multitrack.c.
char* get_eload_filename | ( | lives_mt * | mt, |
boolean | allow_auto_reload | ||
) |
Definition at line 21623 of file multitrack.c.
Referenced by load_event_list().
LiVESWidget* get_eventbox_for_track | ( | lives_mt * | mt, |
int | ntrack | ||
) |
Definition at line 22981 of file multitrack.c.
Referenced by get_block_from_track_and_time(), mt_get_block_count(), mt_get_last_block_uid(), save_event_list_inner(), and set_track_label_string().
double get_mixer_track_vol | ( | lives_mt * | mt, |
int | trackno | ||
) |
Definition at line 240 of file multitrack.c.
Referenced by on_render_activate(), and save_event_list_inner().
weed_plant_t* get_next_fm | ( | lives_mt * | mt, |
int | current_track, | ||
weed_plant_t * | event | ||
) |
Definition at line 18838 of file multitrack.c.
Referenced by on_next_fm_clicked().
LIVES_LOCAL_INLINE char* get_pkg_name | ( | int | pkgnum | ) |
Definition at line 4038 of file multitrack.c.
LIVES_INLINE lives_mt_poly_state_t get_poly_state_from_page | ( | lives_mt * | mt | ) |
Definition at line 3780 of file multitrack.c.
Referenced by mt_spin_end_value_changed(), and mt_spin_start_value_changed().
weed_plant_t* get_prev_fm | ( | lives_mt * | mt, |
int | current_track, | ||
weed_plant_t * | event | ||
) |
Definition at line 18784 of file multitrack.c.
Referenced by on_prev_fm_clicked().
void get_region_overlap | ( | lives_mt * | mt | ) |
Definition at line 18527 of file multitrack.c.
LIVES_INLINE double get_time_from_x | ( | lives_mt * | mt, |
int | x | ||
) |
Definition at line 1048 of file multitrack.c.
Referenced by on_timeline_press(), on_timeline_update(), and on_track_release().
int get_track_for_block | ( | track_rect * | block | ) |
return track number for a given block
Definition at line 231 of file multitrack.c.
Referenced by get_clip_for_block(), and mt_do_autotransition().
char* get_track_name | ( | lives_mt * | mt, |
int | track_num, | ||
boolean | is_audio | ||
) |
Definition at line 1038 of file multitrack.c.
Referenced by add_audio_track(), amixer_add_channel_slider(), and on_mt_delfx_activate().
void in_anchor_toggled | ( | LiVESToggleButton * | togglebutton, |
livespointer | user_data | ||
) |
Definition at line 12683 of file multitrack.c.
void in_out_end_changed | ( | LiVESWidget * | widget, |
livespointer | user_data | ||
) |
Definition at line 12174 of file multitrack.c.
void in_out_start_changed | ( | LiVESWidget * | widget, |
livespointer | user_data | ||
) |
Definition at line 11897 of file multitrack.c.
void insert_at_ctx_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14251 of file multitrack.c.
void insert_audio | ( | int | filenum, |
weed_timecode_t | offset_start, | ||
weed_timecode_t | offset_end, | ||
weed_timecode_t | tc, | ||
double | avel, | ||
lives_direction_t | direction, | ||
LiVESWidget * | eventbox, | ||
lives_mt * | mt, | ||
track_rect * | in_block | ||
) |
Definition at line 18059 of file multitrack.c.
Referenced by multitrack_audio_insert().
void insert_audio_at_ctx_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14291 of file multitrack.c.
void insert_audio_here_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14284 of file multitrack.c.
void insert_frames | ( | int | filenum, |
weed_timecode_t | offset_start, | ||
weed_timecode_t | offset_end, | ||
weed_timecode_t | tc, | ||
lives_direction_t | direction, | ||
LiVESWidget * | eventbox, | ||
lives_mt * | mt, | ||
track_rect * | in_block | ||
) |
Definition at line 17810 of file multitrack.c.
Referenced by multitrack_insert().
void insert_here_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14244 of file multitrack.c.
LIVES_INLINE boolean is_empty_track | ( | LiVESWidgetObject * | track | ) |
Definition at line 236 of file multitrack.c.
Referenced by on_render_activate().
LiVESList* layout_audio_is_affected | ( | int | clipno, |
double | stime, | ||
double | etime, | ||
LiVESList * | xlays | ||
) |
Definition at line 22281 of file multitrack.c.
Referenced by on_close_activate(), and recover_layout_map().
LiVESList* layout_frame_is_affected | ( | int | clipno, |
int | start, | ||
int | end, | ||
LiVESList * | xlays | ||
) |
Definition at line 22247 of file multitrack.c.
Referenced by on_close_activate(), and recover_layout_map().
void list_fx_here_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14313 of file multitrack.c.
weed_plant_t* load_event_list | ( | lives_mt * | mt, |
char * | eload_file | ||
) |
Definition at line 21693 of file multitrack.c.
Referenced by mt_load_recovery_layout(), and on_load_event_list_activate().
LiVESList* load_layout_map | ( | void | ) |
Definition at line 19584 of file multitrack.c.
Referenced by recover_layout_map().
boolean make_backup_space | ( | lives_mt * | mt, |
size_t | space_needed | ||
) |
Definition at line 5157 of file multitrack.c.
LiVESPixbuf* make_thumb | ( | lives_mt * | mt, |
int | file, | ||
int | width, | ||
int | height, | ||
frames_t | frame, | ||
LiVESInterpType | interp, | ||
boolean | noblanks | ||
) |
Definition at line 405 of file multitrack.c.
LiVESPixbuf* make_thumb_fast_between | ( | lives_mt * | mt, |
int | fileno, | ||
int | width, | ||
int | height, | ||
int | tframe, | ||
int | range | ||
) |
Definition at line 489 of file multitrack.c.
void migrate_layouts | ( | const char * | old_set_name, |
const char * | new_set_name | ||
) |
Definition at line 22115 of file multitrack.c.
void mouse_mode_context | ( | lives_mt * | mt | ) |
Definition at line 4916 of file multitrack.c.
Referenced by mt_set_autotrans().
track_rect* move_block | ( | lives_mt * | mt, |
track_rect * | block, | ||
double | timesecs, | ||
int | old_track, | ||
int | new_track | ||
) |
Definition at line 11417 of file multitrack.c.
void move_init_in_filter_map | ( | lives_mt * | mt, |
weed_plant_t * | event_list, | ||
weed_plant_t * | event, | ||
weed_plant_t * | ifrom, | ||
weed_plant_t * | ito, | ||
int | track, | ||
boolean | after | ||
) |
Definition at line 20293 of file multitrack.c.
void mt_add_block_effect | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15787 of file multitrack.c.
void mt_add_region_effect | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15670 of file multitrack.c.
void mt_aparam_view_toggled | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 5289 of file multitrack.c.
boolean mt_auto_backup | ( | livespointer | user_data | ) |
Definition at line 863 of file multitrack.c.
Referenced by mt_idle_add(), pref_factory_int(), and set_new_set_name().
void mt_backup | ( | lives_mt * | mt, |
int | undo_type, | ||
weed_timecode_t | tc | ||
) |
Definition at line 5200 of file multitrack.c.
Referenced by multitrack_audio_insert(), multitrack_insert(), on_insgap_cur_activate(), on_insgap_sel_activate(), on_mt_delfx_activate(), on_split_activate(), and on_split_sel_activate().
void mt_center_on_cursor | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 4412 of file multitrack.c.
void mt_change_disp_tracks_ok | ( | LiVESButton * | button, |
livespointer | user_data | ||
) |
Definition at line 22314 of file multitrack.c.
void mt_change_max_disp_tracks | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22330 of file multitrack.c.
void mt_change_vals_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22352 of file multitrack.c.
void mt_clear_timeline | ( | lives_mt * | mt | ) |
Definition at line 10742 of file multitrack.c.
Referenced by check_for_layout_del(), load_event_list(), remove_current_from_affected_layouts(), and wipe_layout().
LIVES_INLINE int mt_clip_from_file | ( | lives_mt * | mt, |
int | file | ||
) |
Definition at line 221 of file multitrack.c.
Referenced by mt_init_tracks().
void mt_clip_select | ( | lives_mt * | mt, |
boolean | scroll | ||
) |
Definition at line 3024 of file multitrack.c.
Referenced by after_foreign_play(), close_current_file(), do_effect(), mt_init_tracks(), mt_nextclip(), mt_prevclip(), pref_change_colours(), and set_mt_colours().
void mt_delete_clips | ( | lives_mt * | mt, |
int | file | ||
) |
Definition at line 10800 of file multitrack.c.
Referenced by close_current_file().
void mt_desensitise | ( | lives_mt * | mt | ) |
Definition at line 16979 of file multitrack.c.
Referenced by add_video_track_behind(), add_video_track_front(), desensitize(), insert_frames(), load_event_list(), mt_prepare_for_playback(), multitrack_redo(), multitrack_undo(), multitrack_view_events(), multitrack_view_sel_events(), on_capture_activate(), on_close_activate(), on_fx_pre_activate(), on_lerrors_clear_clicked(), on_lerrors_delete_clicked(), on_load_audio_activate(), on_load_set_activate(), on_open_activate(), on_open_fw_activate(), on_open_loc_activate(), on_open_sel_activate(), on_open_utube_activate(), on_open_vcd_activate(), on_quit_activate(), on_render_activate(), on_save_event_list_activate(), set_interactive(), and wipe_layout().
void mt_do_autotransition | ( | lives_mt * | mt, |
track_rect * | block | ||
) |
call this on a block to apply autotransition on it
<invalid block
<filter has no (visible) in parameters
< filter has no transition parameter
< cannot transition with self !
< force some visual changes
< cannot transition with self !
Definition at line 23119 of file multitrack.c.
LIVES_INLINE int mt_file_from_clip | ( | lives_mt * | mt, |
int | clip | ||
) |
Definition at line 216 of file multitrack.c.
Referenced by mt_clip_select().
void mt_fixup_events | ( | lives_mt * | mt, |
weed_plant_t * | old_event, | ||
weed_plant_t * | new_event | ||
) |
Definition at line 19321 of file multitrack.c.
Referenced by delete_event(), and replace_event().
int mt_get_block_count | ( | lives_mt * | mt, |
int | ntrack | ||
) |
double mt_get_block_entime | ( | lives_mt * | mt, |
int | ntrack, | ||
int | iblock | ||
) |
return time in seconds of last frame event in block, + event duration
get timeline start time of block
< invalid track or block number
Definition at line 23092 of file multitrack.c.
double mt_get_block_sttime | ( | lives_mt * | mt, |
int | ntrack, | ||
int | iblock | ||
) |
return time in seconds of first frame event in block
< invalid track or block number
Definition at line 23084 of file multitrack.c.
LIVES_GLOBAL_INLINE double mt_get_effect_time | ( | lives_mt * | mt | ) |
Definition at line 1735 of file multitrack.c.
Referenced by on_node_spin_value_changed().
ulong mt_get_last_block_uid | ( | lives_mt * | mt | ) |
get index of last inserted (wallclock time) block for track
< no blocks in track
Definition at line 23054 of file multitrack.c.
void** mt_get_pchain | ( | void | ) |
Definition at line 1033 of file multitrack.c.
uint32_t mt_idle_add | ( | lives_mt * | mt | ) |
Definition at line 901 of file multitrack.c.
Referenced by get_eload_filename(), load_event_list(), mt_show_current_frame(), multitrack_audio_insert(), multitrack_delete(), multitrack_insert(), on_camquit_clicked(), on_clear_event_list_activate(), on_fx_pre_activate(), on_load_event_list_activate(), on_render_activate(), pref_factory_int(), set_new_set_name(), and wipe_layout().
boolean mt_idle_show_current_frame | ( | livespointer | data | ) |
Definition at line 11015 of file multitrack.c.
Referenced by all_config().
void mt_init_clips | ( | lives_mt * | mt, |
int | orig_file, | ||
boolean | add | ||
) |
Definition at line 10859 of file multitrack.c.
Referenced by after_foreign_play(), and do_effect().
void mt_init_start_end_spins | ( | lives_mt * | mt | ) |
Definition at line 4844 of file multitrack.c.
void mt_init_tracks | ( | lives_mt * | mt, |
boolean | set_min_max | ||
) |
add basic tracks, or set tracks from mt->event_list
Definition at line 9679 of file multitrack.c.
Referenced by mt_clear_timeline(), mt_delete_clips(), and mt_load_recovery_layout().
boolean mt_load_recovery_layout | ( | lives_mt * | mt | ) |
Definition at line 941 of file multitrack.c.
Referenced by recover_layout(), and render_choice_idle().
void mt_load_vals_toggled | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22340 of file multitrack.c.
boolean mt_mark_callback | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 18883 of file multitrack.c.
boolean mt_nextclip | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3107 of file multitrack.c.
Referenced by on_mouse_scroll().
void mt_post_playback | ( | lives_mt * | mt | ) |
Definition at line 17284 of file multitrack.c.
void mt_prepare_for_playback | ( | lives_mt * | mt | ) |
Definition at line 17259 of file multitrack.c.
boolean mt_prevclip | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3096 of file multitrack.c.
Referenced by mt_delete_clips(), and on_mouse_scroll().
void mt_quit_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 5996 of file multitrack.c.
void mt_selection_lock | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
lock the time selection
Definition at line 16863 of file multitrack.c.
void mt_sensitise | ( | lives_mt * | mt | ) |
Definition at line 17052 of file multitrack.c.
Referenced by close_current_file(), multitrack_insert(), multitrack_view_events(), multitrack_view_sel_events(), on_camquit_clicked(), on_cancel_opensel_clicked(), on_capture_activate(), on_filechooser_cancel_clicked(), on_fx_pre_activate(), on_lerrors_clear_clicked(), on_lerrors_delete_clicked(), on_load_event_list_activate(), on_open_new_audio_clicked(), on_open_sel_activate(), on_open_utube_activate(), on_prefs_close_clicked(), on_prerender_aud_activate(), on_quit_activate(), on_utube_select(), recover_layout(), reload_set(), sensitize(), set_new_set_name(), and wipe_layout().
void mt_set_autotrans | ( | int | idx | ) |
Definition at line 6080 of file multitrack.c.
void mt_show_current_frame | ( | lives_mt * | mt, |
boolean | return_layer | ||
) |
preview the current frame
NOTE: this will show the current frame WITHOUT any currently unapplied effects
we want to preview the (first) output layer
release the ref from rte_keymode_get_instance()
restore original mainw->frame_layer
Definition at line 3214 of file multitrack.c.
Referenced by activate_mt_preview(), on_del_node_clicked(), on_sepwin_activate(), pref_change_images(), and pref_factory_bool().
void mt_spin_end_value_changed | ( | LiVESSpinButton * | spinbutton, |
livespointer | user_data | ||
) |
Definition at line 4506 of file multitrack.c.
Referenced by mt_init_start_end_spins().
void mt_spin_start_value_changed | ( | LiVESSpinButton * | spinbutton, |
livespointer | user_data | ||
) |
Definition at line 4452 of file multitrack.c.
Referenced by mt_init_start_end_spins().
void mt_swap_play_pause | ( | lives_mt * | mt, |
boolean | put_pause | ||
) |
Definition at line 17206 of file multitrack.c.
boolean mt_tcoverlay_callback | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 18897 of file multitrack.c.
void mt_tl_move | ( | lives_mt * | mt, |
double | pos | ||
) |
Definition at line 3595 of file multitrack.c.
Referenced by list_fx_here_cb(), mt_idle_show_current_frame(), mt_post_playback(), mt_tl_move_relative(), on_next_fm_clicked(), on_node_spin_value_changed(), on_prev_fm_clicked(), on_rewind_activate(), on_stop_activate(), on_timeline_press(), and on_timeline_update().
LIVES_INLINE void mt_tl_move_relative | ( | lives_mt * | mt, |
double | pos_rel | ||
) |
Definition at line 3600 of file multitrack.c.
Referenced by mt_tlback(), mt_tlback_frame(), mt_tlfor(), and mt_tlfor_frame().
boolean mt_tlback | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3625 of file multitrack.c.
boolean mt_tlback_frame | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3634 of file multitrack.c.
boolean mt_tlfor | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3605 of file multitrack.c.
boolean mt_tlfor_frame | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3615 of file multitrack.c.
boolean mt_track_is_audio | ( | lives_mt * | mt, |
int | ntrack | ||
) |
return TRUE if ntrack is a valid backing audio track
Definition at line 23048 of file multitrack.c.
Referenced by get_eventbox_for_track().
boolean mt_track_is_video | ( | lives_mt * | mt, |
int | ntrack | ||
) |
return TRUE if ntrack is a valid video track
Definition at line 23042 of file multitrack.c.
Referenced by get_eventbox_for_track().
boolean mt_trdown | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3710 of file multitrack.c.
boolean mt_trup | ( | LiVESAccelGroup * | group, |
LiVESWidgetObject * | obj, | ||
uint32_t | keyval, | ||
LiVESXModifierType | mod, | ||
livespointer | user_data | ||
) |
Definition at line 3748 of file multitrack.c.
void mt_zoom_in | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 4419 of file multitrack.c.
Referenced by on_mouse_scroll().
void mt_zoom_out | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 4429 of file multitrack.c.
Referenced by on_mouse_scroll().
lives_mt* multitrack | ( | weed_plant_t * | event_list, |
int | orig_file, | ||
double | fps | ||
) |
create and return lives_mt struct
the autotransitions menu
apply block effect menu
None autotransition
Definition at line 6448 of file multitrack.c.
Referenced by idle_move_block().
void multitrack_adj_start_end | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 17473 of file multitrack.c.
Referenced by edit_start_end_cb().
boolean multitrack_audio_insert | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 17632 of file multitrack.c.
Referenced by insert_audio_at_ctx_cb(), insert_audio_here_cb(), and multitrack_insert().
Definition at line 9204 of file multitrack.c.
Referenced by recover_layout(), render_choice_idle(), and resize_widgets_for_monitor().
void multitrack_end_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14237 of file multitrack.c.
boolean multitrack_insert | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 17480 of file multitrack.c.
Referenced by insert_at_ctx_cb(), and insert_here_cb().
void multitrack_play_sel | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 17449 of file multitrack.c.
Referenced by _start_playback(), and play_all().
void multitrack_playall | ( | lives_mt * | mt | ) |
Definition at line 17345 of file multitrack.c.
Referenced by multitrack_play_sel(), multitrack_preview_clicked(), and play_all().
void multitrack_preview_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 17250 of file multitrack.c.
void multitrack_redo | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15298 of file multitrack.c.
void multitrack_undo | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15073 of file multitrack.c.
void multitrack_view_clips | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 2844 of file multitrack.c.
void multitrack_view_details | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15489 of file multitrack.c.
void multitrack_view_events | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 18122 of file multitrack.c.
void multitrack_view_in_out | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 2850 of file multitrack.c.
void multitrack_view_sel_events | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 18137 of file multitrack.c.
void on_amixer_close_clicked | ( | LiVESButton * | button, |
lives_mt * | mt | ||
) |
Definition at line 22536 of file multitrack.c.
Referenced by amixer_show(), and mt_clear_timeline().
void on_amixer_slider_changed | ( | LiVESAdjustment * | adj, |
lives_mt * | mt | ||
) |
Definition at line 22610 of file multitrack.c.
Referenced by amixer_add_channel_slider().
void on_cback_audio_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16071 of file multitrack.c.
void on_clear_event_list_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 21971 of file multitrack.c.
void on_del_node_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 19235 of file multitrack.c.
void on_fx_insa_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 18907 of file multitrack.c.
void on_fx_insb_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 18920 of file multitrack.c.
void on_insgap_cur_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15029 of file multitrack.c.
void on_insgap_sel_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14982 of file multitrack.c.
void on_jumpback_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15995 of file multitrack.c.
void on_jumpback_mark_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16025 of file multitrack.c.
void on_jumpnext_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16001 of file multitrack.c.
void on_jumpnext_mark_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16031 of file multitrack.c.
boolean on_load_event_list_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22045 of file multitrack.c.
void on_mt_delfx_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15849 of file multitrack.c.
Referenced by do_effect_context().
void on_mt_fx_edit_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 10543 of file multitrack.c.
Referenced by do_effect_context().
void on_mt_list_fx_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 15842 of file multitrack.c.
Referenced by list_fx_here_cb().
void on_mt_showkeys_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22976 of file multitrack.c.
boolean on_multitrack_activate | ( | LiVESMenuItem * | menuitem, |
weed_plant_t * | event_list | ||
) |
menuitem callback
Definition at line 11024 of file multitrack.c.
Referenced by recover_layout(), resize_widgets_for_monitor(), and splash_end().
void on_next_fm_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 18950 of file multitrack.c.
void on_next_node_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 19207 of file multitrack.c.
void on_node_spin_value_changed | ( | LiVESSpinButton * | spinbutton, |
livespointer | user_data | ||
) |
Definition at line 19024 of file multitrack.c.
Referenced by add_mt_param_box(), on_del_node_clicked(), and on_node_spin_value_changed().
void on_prerender_aud_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16358 of file multitrack.c.
void on_prev_fm_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 18933 of file multitrack.c.
void on_prev_node_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 19221 of file multitrack.c.
void on_rename_track_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16037 of file multitrack.c.
boolean on_render_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
disable playback optimisations
Definition at line 16078 of file multitrack.c.
Referenced by on_prerender_aud_activate().
void on_resetp_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
create new in_params with default vals.
set params to the default value, and if any change we'll sensitize the "Apply Button"
if param is "value_per_channel", leave the other channels unaltered
Definition at line 19140 of file multitrack.c.
boolean on_save_event_list_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 19990 of file multitrack.c.
Referenced by check_for_layout_del(), and on_clear_event_list_activate().
void on_seltrack_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16871 of file multitrack.c.
Referenced by track_select().
void on_seltrack_toggled | ( | LiVESWidget * | checkbutton, |
livespointer | user_data | ||
) |
Definition at line 16962 of file multitrack.c.
Referenced by on_seltrack_activate().
void on_set_pvals_clicked | ( | LiVESWidget * | button, |
livespointer | user_data | ||
) |
Definition at line 19430 of file multitrack.c.
void on_split_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16552 of file multitrack.c.
void on_split_curr_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16591 of file multitrack.c.
void on_split_sel_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 16632 of file multitrack.c.
boolean on_timeline_press | ( | LiVESWidget * | widget, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 18739 of file multitrack.c.
boolean on_timeline_release | ( | LiVESWidget * | eventbox, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 18622 of file multitrack.c.
EXPOSE_FN_END boolean on_timeline_update | ( | LiVESWidget * | widget, |
LiVESXEventMotion * | event, | ||
livespointer | user_data | ||
) |
Definition at line 18460 of file multitrack.c.
boolean on_track_between_click | ( | LiVESWidget * | widget, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13947 of file multitrack.c.
boolean on_track_between_release | ( | LiVESWidget * | widget, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13958 of file multitrack.c.
boolean on_track_click | ( | LiVESWidget * | eventbox, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13969 of file multitrack.c.
boolean on_track_header_click | ( | LiVESWidget * | widget, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13925 of file multitrack.c.
boolean on_track_header_move | ( | LiVESWidget * | widget, |
LiVESXEventMotion * | event, | ||
livespointer | user_data | ||
) |
Definition at line 14121 of file multitrack.c.
boolean on_track_header_release | ( | LiVESWidget * | widget, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13936 of file multitrack.c.
boolean on_track_move | ( | LiVESWidget * | widget, |
LiVESXEventMotion * | event, | ||
livespointer | user_data | ||
) |
Definition at line 14112 of file multitrack.c.
boolean on_track_release | ( | LiVESWidget * | eventbox, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 13773 of file multitrack.c.
void out_anchor_toggled | ( | LiVESToggleButton * | togglebutton, |
livespointer | user_data | ||
) |
Definition at line 12729 of file multitrack.c.
LIVES_LOCAL_INLINE int pkg_in_list | ( | char * | pkgstring | ) |
Definition at line 4028 of file multitrack.c.
LIVES_INLINE int poly_page_to_tab | ( | uint32_t | page | ) |
Definition at line 3770 of file multitrack.c.
Referenced by get_poly_state_from_page().
LIVES_INLINE int poly_tab_to_page | ( | uint32_t | tab | ) |
Definition at line 3775 of file multitrack.c.
Referenced by set_poly_tab().
void polymorph | ( | lives_mt * | mt, |
lives_mt_poly_state_t | poly | ||
) |
< can happen during mt exit
Definition at line 12777 of file multitrack.c.
Referenced by mt_clip_select(), mt_nextclip(), mt_prevclip(), mt_spin_end_value_changed(), multitrack_adj_start_end(), multitrack_view_clips(), multitrack_view_in_out(), on_capture_activate(), on_close_activate(), on_mt_list_fx_activate(), on_render_activate(), on_utube_select(), and unselect_all().
LIVES_INLINE void print_layout_wiped | ( | void | ) |
Definition at line 5921 of file multitrack.c.
Referenced by check_for_layout_del(), and wipe_layout().
boolean recover_layout | ( | void | ) |
Definition at line 1010 of file multitrack.c.
Referenced by do_layout_recover_dialog().
void recover_layout_cancelled | ( | boolean | is_startup | ) |
Definition at line 923 of file multitrack.c.
Referenced by check_for_layout_del(), do_layout_recover_dialog(), mt_memory_free(), on_export_proj_activate(), on_load_event_list_activate(), remove_current_from_affected_layouts(), and wipe_layout().
void remove_current_from_affected_layouts | ( | lives_mt * | mt | ) |
Definition at line 5851 of file multitrack.c.
Referenced by clear_lmap_errors(), mt_delete_clips(), remove_layout_files(), and stored_event_list_free_all().
void remove_first_gaps | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14640 of file multitrack.c.
Referenced by multitrack_audio_insert(), and multitrack_insert().
void remove_gaps | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14648 of file multitrack.c.
void remove_markers | ( | weed_plant_t * | event_list | ) |
Definition at line 21918 of file multitrack.c.
Referenced by mt_load_recovery_layout().
LIVES_LOCAL_INLINE void reset_mt_play_sizes | ( | lives_mt * | mt | ) |
Definition at line 518 of file multitrack.c.
Referenced by recover_layout().
void reset_renumbering | ( | void | ) |
Definition at line 9646 of file multitrack.c.
boolean resize_timeline | ( | lives_mt * | mt | ) |
Definition at line 11721 of file multitrack.c.
Referenced by pref_change_xcolours().
boolean save_event_list_inner | ( | lives_mt * | mt, |
int | fd, | ||
weed_plant_t * | event_list, | ||
unsigned char ** | mem | ||
) |
Definition at line 252 of file multitrack.c.
Referenced by backup_recording(), and multitrack_delete().
void save_layout_map | ( | int * | lmap, |
double * | lmap_audio, | ||
const char * | file, | ||
const char * | dir | ||
) |
Definition at line 19714 of file multitrack.c.
Referenced by on_lerrors_clear_clicked(), and remove_layout_files().
void scroll_track_by_scrollbar | ( | LiVESScrollbar * | sbar, |
livespointer | user_data | ||
) |
Definition at line 3650 of file multitrack.c.
void scroll_tracks | ( | lives_mt * | mt, |
int | top_track, | ||
boolean | set_value | ||
) |
Definition at line 2347 of file multitrack.c.
Referenced by mt_change_disp_tracks_ok(), pref_change_colours(), and scroll_track_by_scrollbar().
void selblock_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14306 of file multitrack.c.
Referenced by do_block_context().
void set_mixer_track_vol | ( | lives_mt * | mt, |
int | trackno, | ||
double | vol | ||
) |
Definition at line 246 of file multitrack.c.
Referenced by on_amixer_close_clicked(), on_amixer_slider_changed(), and on_render_activate().
void set_mt_colours | ( | lives_mt * | mt | ) |
TODO: clearly an array would be better
Definition at line 6148 of file multitrack.c.
Referenced by pref_change_colours(), and pref_change_xcolours().
void set_mt_play_sizes_cfg | ( | lives_mt * | mt | ) |
Definition at line 5516 of file multitrack.c.
Referenced by mt_show_current_frame().
boolean set_new_set_name | ( | lives_mt * | mt | ) |
Definition at line 19944 of file multitrack.c.
LIVES_INLINE void set_params_unchanged | ( | lives_mt * | mt, |
lives_rfx_t * | rfx | ||
) |
Definition at line 1057 of file multitrack.c.
Referenced by on_node_spin_value_changed().
void set_poly_tab | ( | lives_mt * | mt, |
uint32_t | tab | ||
) |
Definition at line 3962 of file multitrack.c.
void set_timeline_end_secs | ( | lives_mt * | mt, |
double | secs | ||
) |
Definition at line 3134 of file multitrack.c.
Referenced by resize_timeline().
void set_track_label_string | ( | lives_mt * | mt, |
int | track, | ||
const char * | label | ||
) |
Definition at line 10366 of file multitrack.c.
char* set_values_from_defs | ( | lives_mt * | mt, |
boolean | from_prefs | ||
) |
Definition at line 5768 of file multitrack.c.
Referenced by mt_change_vals_activate(), and mt_clear_timeline().
void show_clipinfo_cb | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 14273 of file multitrack.c.
void show_frame_events_activate | ( | LiVESMenuItem * | menuitem, |
livespointer | user_data | ||
) |
Definition at line 22325 of file multitrack.c.
boolean show_in_out_images | ( | livespointer | user_data | ) |
Definition at line 11878 of file multitrack.c.
Referenced by all_config().
void stored_event_list_free_all | ( | boolean | wiped | ) |
Definition at line 5897 of file multitrack.c.
Referenced by check_for_layout_del(), lives_exit(), and remove_layout_files().
void stored_event_list_free_undos | ( | void | ) |
Definition at line 5842 of file multitrack.c.
Referenced by on_change_speed_ok_clicked(), on_close_activate(), on_export_proj_activate(), on_quit_activate(), on_resaudio_ok_clicked(), and stored_event_list_free_all().
boolean track_arrow_pressed | ( | LiVESWidget * | ebox, |
LiVESXEventButton * | event, | ||
livespointer | user_data | ||
) |
Definition at line 2807 of file multitrack.c.
void track_select | ( | lives_mt * | mt | ) |
must call after setting mt->current_track
Definition at line 1941 of file multitrack.c.
Referenced by on_cback_audio_activate(), on_seltrack_toggled(), pref_change_colours(), and scroll_track_by_scrollbar().
void unpaint_line | ( | lives_mt * | mt, |
LiVESWidget * | eventbox | ||
) |
Definition at line 14130 of file multitrack.c.
Referenced by unpaint_lines().
void unpaint_lines | ( | lives_mt * | mt | ) |
Definition at line 14150 of file multitrack.c.
Referenced by on_sepwin_activate().
void unselect_all | ( | lives_mt * | mt | ) |
unselect all blocks
Definition at line 11620 of file multitrack.c.
Referenced by mt_clear_timeline(), and multitrack_adj_start_end().
void update_filter_events | ( | lives_mt * | mt, |
weed_plant_t * | first_event, | ||
weed_timecode_t | start_tc, | ||
weed_timecode_t | end_tc, | ||
int | track, | ||
weed_timecode_t | new_start_tc, | ||
int | new_track | ||
) |
Definition at line 16367 of file multitrack.c.
void update_grav_mode | ( | lives_mt * | mt | ) |
Definition at line 5012 of file multitrack.c.
void update_insert_mode | ( | lives_mt * | mt | ) |
Definition at line 4946 of file multitrack.c.
boolean used_in_current_layout | ( | lives_mt * | mt, |
int | file | ||
) |
Definition at line 9180 of file multitrack.c.
Referenced by mt_delete_clips(), and on_close_activate().
void wipe_layout | ( | lives_mt * | mt | ) |
Definition at line 21936 of file multitrack.c.
Referenced by on_clear_event_list_activate(), and resize_widgets_for_monitor().
boolean write_backup_layout_numbering | ( | lives_mt * | mt | ) |
Definition at line 668 of file multitrack.c.
Referenced by add_to_recovery_file(), and rewrite_recovery_file().