return 0;
}
+int FileEXR::can_copy_from(Asset *asset, int64_t position)
+{
+ if(asset->format == FILE_EXR ||
+ asset->format == FILE_EXR_LIST)
+ return 1;
+
+ return 0;
+}
+
FrameWriterUnit* FileEXR::new_writer_unit(FrameWriter *writer)
{
return new EXRUnit(this, writer);
int read_frame_header(char *path);
int read_frame(VFrame *frame, VFrame *data);
int64_t get_memory_usage();
+ int can_copy_from(Asset *asset, int64_t position);
int write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit);
FrameWriterUnit* new_writer_unit(FrameWriter *writer);
return 0;
}
+int FilePPM::can_copy_from(Asset *asset, int64_t position)
+{
+ if(asset->format == FILE_PPM ||
+ asset->format == FILE_PPM_LIST)
+ return 1;
+
+ return 0;
+}
+
int FilePPM::colormodel_supported(int colormodel)
{
return BC_RGB888;
int check_frame_header(FILE *fp);
int read_frame_header(char *path);
int write_frame(VFrame *frame, VFrame *output, FrameWriterUnit *unit);
+ int can_copy_from(Asset *asset, int64_t position);
FrameWriterUnit* new_writer_unit(FrameWriter *writer);
static void get_parameters(BC_WindowBase *parent_window,
Asset *asset, BC_WindowBase* &format_window,