8 #include "formattools.h"
14 class FileYUV
: public FileBase
17 FileYUV(Asset
*asset
, File
*file
);
20 static void get_parameters(BC_WindowBase
*parent_window
,
22 BC_WindowBase
* &format_window
,
26 int open_file(int rd
, int wr
);
27 static int check_sig(Asset
*asset
);
28 static int get_best_colormodel(Asset
*asset
, int driver
);
29 int colormodel_supported(int colormodel
);
30 int read_frame(VFrame
*frame
);
31 int write_frames(VFrame
***frame
, int len
);
32 int can_copy_from(Edit
*edit
, int64_t position
);
34 int set_video_position(int64_t x
);
36 // below here are local routines not required by interface
37 void ensure_temp(int width
, int height
);
42 Asset
*incoming_asset
;
48 class YUVConfigVideo
: public BC_Window
51 YUVConfigVideo(BC_WindowBase
*parent_window
, Asset
*asset
,
58 BC_WindowBase
*parent_window
;
62 BC_TextBox
*path_textbox
;
63 BC_RecentList
*path_recent
;
64 PipeCheckBox
*pipe_checkbox
;
65 BC_TextBox
*pipe_textbox
;
66 BC_RecentList
*pipe_recent
;
72 class PipeCheckBox
: public BC_CheckBox
75 PipeCheckBox(int x
, int y
, int value
);
82 class PipePreset
: public BC_PopupMenu
85 PipePreset(int x
, int y
, char *title
, BC_TextBox
*textbox
, BC_CheckBox
*checkbox
);
89 BC_TextBox
*pipe_textbox
;
90 BC_CheckBox
*pipe_checkbox
;