Fixed initialisation of tf in file_open(). Without setting the memory to 0,
[cinelerra_cv/mob.git] / cinelerra / filejpeglist.h
blobd7984480aec8dd7df9cd13a8d2369b6eb31b1e4d
1 #ifndef FILEJPEGLIST_H
2 #define FILEJPEGLIST_H
4 #include "file.inc"
5 #include "filebase.h"
6 #include "filelist.h"
7 #include "jpegwrapper.h"
8 #include "vframe.inc"
10 class FileJPEGList : public FileList
12 public:
13 FileJPEGList(Asset *asset, File *file);
14 ~FileJPEGList();
17 static void get_parameters(BC_WindowBase *parent_window,
18 Asset *asset,
19 BC_WindowBase* &format_window,
20 int audio_options,
21 int video_options);
23 int get_best_colormodel(int driver, int colormodel);
24 int read_frame(VFrame *frame, VFrame *data);
25 int write_frame(VFrame *frame, VFrame *data);
27 char* list_title();
28 char* extension();
30 // Direct copy routines
31 int can_copy_from(Asset *asset);
35 class JPEGConfigVideo : public BC_Window
37 public:
38 JPEGConfigVideo(BC_WindowBase *parent_window, Asset *asset);
39 ~JPEGConfigVideo();
41 int create_objects();
42 int close_event();
44 BC_WindowBase *parent_window;
45 Asset *asset;
48 #endif