LiVES 2.4.6

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

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
restore_frame_index_back
void restore_frame_index_back(int sfileno)
Definition: cvirtual.c:484
reverse_frame_index
void reverse_frame_index(int sfileno)
Definition: cvirtual.c:467
delete_frames_from_virtual
void delete_frames_from_virtual(int sfileno, int start, int end)
Definition: cvirtual.c:432
insert_images_in_virtual
void insert_images_in_virtual(int sfileno, int where, int frames, int *frame_index, int start)
Definition: cvirtual.c:390
clean_images_from_virtual
void clean_images_from_virtual(lives_clip_t *sfile, int oldframes)
Definition: cvirtual.c:511
frame_index_copy
int * frame_index_copy(int *findex, int nframes, int offset)
Definition: cvirtual.c:549
del_frame_index
void del_frame_index(lives_clip_t *sfile)
Definition: cvirtual.c:152
virtual_to_images
boolean virtual_to_images(int sfileno, int sframe, int eframe, boolean update_progress, LiVESPixbuf **pbr)
Definition: cvirtual.c:300
load_frame_index
boolean load_frame_index(int fileno)
Definition: cvirtual.c:93
lives_clip_t
corresponds to one clip in the GUI
Definition: main.h:484
save_frame_index
boolean save_frame_index(int fileno)
Definition: cvirtual.c:46
lives_clip_data_t
Definition: plugins.h:205
check_clip_integrity
boolean check_clip_integrity(int fileno, const lives_clip_data_t *cdata)
Definition: cvirtual.c:194
check_if_non_virtual
boolean check_if_non_virtual(int fileno, int start, int end)
Definition: cvirtual.c:262
WARN_UNUSED
#define WARN_UNUSED
Definition: main.h:271
create_frame_index
void create_frame_index(int fileno, boolean init, int start_offset, int nframes)
Definition: cvirtual.c:30
is_virtual_frame
boolean is_virtual_frame(int sfileno, int frame)
Definition: cvirtual.c:565
count_virtual_frames
int count_virtual_frames(int *findex, int start, int end)
Definition: cvirtual.c:22