12 // This header file is representative of any single frame file format.
14 class FileTIFF
: public FileList
17 FileTIFF(Asset
*asset
, File
*file
);
20 static void get_parameters(BC_WindowBase
*parent_window
,
22 BC_WindowBase
* &format_window
,
25 static int check_sig(Asset
*asset
);
26 int can_copy_from(Edit
*edit
, int64_t position
);
27 int colormodel_supported(int colormodel
);
28 int get_best_colormodel(Asset
*asset
, int driver
);
29 int read_frame_header(char *path
);
30 int read_frame(VFrame
*output
, VFrame
*input
);
31 int write_frame(VFrame
*frame
, VFrame
*data
, FrameWriterUnit
*unit
);
32 FrameWriterUnit
* new_writer_unit(FrameWriter
*writer
);
38 // For each write frame call, since multiple write_frames are running concurrently.
39 class FileTIFFUnit
: public FrameWriterUnit
42 FileTIFFUnit(FileTIFF
*file
, FrameWriter
*writer
);
54 class TIFFConfigVideo
: public BC_Window
57 TIFFConfigVideo(BC_WindowBase
*parent_window
, Asset
*asset
);
63 static char* alpha_to_codec(int use_alpha
);
64 static int codec_to_alpha(char *codec
);
65 static void fix_codec(char *codec
);
66 BC_WindowBase
*parent_window
;
71 class TIFFConfigAlpha
: public BC_CheckBox
74 TIFFConfigAlpha(TIFFConfigVideo
*gui
, int x
, int y
);