LiVES 1.3.11-svn
|
00001 // cvirtual.h 00002 // LiVES 00003 // (c) G. Finch 2008 - 2009 <salsaman@xs4all.nl> 00004 // released under the GNU GPL 3 or later 00005 // see file ../COPYING or www.gnu.org for licensing details 00006 00007 00008 // functions for handling "virtual" clips (CLIP_TYPE_FILE) 00009 00010 00011 void create_frame_index(gint fileno, gboolean init, gint start_offset, gint nframes); 00012 gboolean save_frame_index(gint fileno); 00013 gboolean load_frame_index(gint fileno); 00014 gboolean check_clip_integrity(file *sfile, const lives_clip_data_t *cdata); 00015 00016 void virtual_to_images(gint sfileno, gint sframe, gint eframe, gboolean update_progress); 00017 void delete_frames_from_virtual (gint sfileno, gint start, gint end); 00018 void insert_images_in_virtual (gint sfileno, gint where, gint frames); 00019 void del_frame_index(file *sfile); 00020 void clean_images_from_virtual (file *sfile, gint oldframes); 00021 int *frame_index_copy(int *findex, gint nframes); 00022 gboolean check_if_non_virtual(gint fileno); 00023 00024 void restore_frame_index_back (gint sfileno); 00025 00026 LIVES_INLINE gint count_virtual_frames(int *findex, int size);