9 class FileEXR
: public FileList
12 FileEXR(Asset
*asset
, File
*file
);
15 static int check_sig(Asset
*asset
, char *test
);
16 static void get_parameters(BC_WindowBase
*parent_window
,
18 BC_WindowBase
* &format_window
,
21 static int get_best_colormodel(Asset
*asset
, int driver
);
22 int colormodel_supported(int colormodel
);
23 int read_frame_header(char *path
);
24 int read_frame(VFrame
*frame
, VFrame
*data
);
25 int64_t get_memory_usage();
26 int write_frame(VFrame
*frame
, VFrame
*data
, FrameWriterUnit
*unit
);
27 FrameWriterUnit
* new_writer_unit(FrameWriter
*writer
);
29 // exr_compression values
40 static char* compression_to_str(int compression
);
41 static int str_to_compression(char *string
);
42 static int compression_to_exr(int compression
);
51 class EXRUnit
: public FrameWriterUnit
54 EXRUnit(FileEXR
*file
, FrameWriter
*writer
);
63 class EXRConfigVideo
: public BC_Window
66 EXRConfigVideo(BC_WindowBase
*parent_window
, Asset
*asset
);
72 BC_WindowBase
*parent_window
;
77 class EXRUseAlpha
: public BC_CheckBox
80 EXRUseAlpha(EXRConfigVideo
*gui
, int x
, int y
);
85 class EXRCompression
: public BC_PopupMenu
88 EXRCompression(EXRConfigVideo
*gui
, int x
, int y
, int w
);
89 void create_objects();
94 class EXRCompressionItem
: public BC_MenuItem
97 EXRCompressionItem(EXRConfigVideo
*gui
, int value
);