LiVES  2.4.1-svn
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
cvirtual.h
Go to the documentation of this file.
1 // cvirtual.h
2 // LiVES
3 // (c) G. Finch 2008 - 2013 <salsaman@gmail.com>
4 // released under the GNU GPL 3 or later
5 // see file ../COPYING or www.gnu.org for licensing details
6 
7 
8 // functions for handling "virtual" clips (CLIP_TYPE_FILE)
9 
10 #ifndef HAS_LIVES_CVIRTUAL_H
11 #define HAS_LIVES_CVIRTUAL_H
12 
13 
14 void create_frame_index(int fileno, boolean init, int start_offset, int nframes);
15 boolean save_frame_index(int fileno);
16 boolean load_frame_index(int fileno) WARN_UNUSED;
17 boolean check_clip_integrity(int fileno, const lives_clip_data_t *cdata);
18 
19 boolean virtual_to_images(int sfileno, int sframe, int eframe, boolean update_progress, LiVESPixbuf **pbr) WARN_UNUSED;
20 void delete_frames_from_virtual(int sfileno, int start, int end);
21 void insert_images_in_virtual(int sfileno, int where, int frames, int *frame_index, int start);
22 void del_frame_index(lives_clip_t *sfile);
23 void reverse_frame_index(int sfileno);
24 void clean_images_from_virtual(lives_clip_t *sfile, int oldframes);
25 int *frame_index_copy(int *findex, int nframes, int offset);
26 boolean check_if_non_virtual(int fileno, int start, int end);
27 
28 void restore_frame_index_back(int sfileno);
29 
30 boolean is_virtual_frame(int sfileno, int frame);
31 
32 int count_virtual_frames(int *findex, int start, int end);
33 
34 
35 #endif
boolean virtual_to_images(int sfileno, int sframe, int eframe, boolean update_progress, LiVESPixbuf **pbr) WARN_UNUSED
Definition: cvirtual.c:300
boolean is_virtual_frame(int sfileno, int frame)
Definition: cvirtual.c:565
boolean load_frame_index(int fileno) WARN_UNUSED
Definition: cvirtual.c:93
void reverse_frame_index(int sfileno)
Definition: cvirtual.c:467
boolean check_if_non_virtual(int fileno, int start, int end)
Definition: cvirtual.c:262
void delete_frames_from_virtual(int sfileno, int start, int end)
Definition: cvirtual.c:432
corresponds to one clip in the GUI
Definition: main.h:474
boolean check_clip_integrity(int fileno, const lives_clip_data_t *cdata)
Definition: cvirtual.c:194
void del_frame_index(lives_clip_t *sfile)
Definition: cvirtual.c:152
void create_frame_index(int fileno, boolean init, int start_offset, int nframes)
Definition: cvirtual.c:30
Definition: plugins.h:205
int count_virtual_frames(int *findex, int start, int end)
Definition: cvirtual.c:22
void restore_frame_index_back(int sfileno)
Definition: cvirtual.c:484
void clean_images_from_virtual(lives_clip_t *sfile, int oldframes)
Definition: cvirtual.c:511
void insert_images_in_virtual(int sfileno, int where, int frames, int *frame_index, int start)
Definition: cvirtual.c:390
int * frame_index_copy(int *findex, int nframes, int offset)
Definition: cvirtual.c:549
boolean save_frame_index(int fileno)
Definition: cvirtual.c:46
#define WARN_UNUSED
Definition: main.h:261