8 class FileJPEG
: public FileList
11 FileJPEG(Asset_GC asset
, File
*file
);
14 // basic commands for every file interpreter
15 static int check_sig(Asset_GC asset
);
16 static void get_parameters(BC_WindowBase
*parent_window
,
18 BC_WindowBase
* &format_window
,
22 static int get_best_colormodel(Asset_GC asset
, int driver
);
23 int colormodel_supported(int colormodel
);
24 int read_frame(VFrame
*frame
, VFrame
*data
);
25 int write_frame(VFrame
*frame
, VFrame
*data
, FrameWriterUnit
*unit
);
26 int can_copy_from(Edit
*edit
, int64_t position
);
27 int read_frame_header(char *path
);
28 FrameWriterUnit
* new_writer_unit(FrameWriter
*writer
);
34 class JPEGUnit
: public FrameWriterUnit
37 JPEGUnit(FileJPEG
*file
, FrameWriter
*writer
);
44 class JPEGConfigVideo
: public BC_Window
47 JPEGConfigVideo(BC_WindowBase
*parent_window
, Asset_GC asset
);
53 BC_WindowBase
*parent_window
;
61 // c-file-style: "linux"