X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilebase.h;h=3fb8be42087ac8195bc442357355cbaeeb2e35c7;hp=db9e5b06ffac1b7db93b6d992a35210ee0a27931;hb=a19a685a46ddc630010788707d9e5b9d2342af46;hpb=5820b5f022aeec75ec03f7dd0121aa8a3d7f7590 diff --git a/cinelerra-5.1/cinelerra/filebase.h b/cinelerra-5.1/cinelerra/filebase.h index db9e5b06..3fb8be42 100644 --- a/cinelerra-5.1/cinelerra/filebase.h +++ b/cinelerra-5.1/cinelerra/filebase.h @@ -26,10 +26,13 @@ #include "assets.inc" #include "bccmodels.h" #include "edit.inc" +#include "edl.inc" #include "ffmpeg.inc" #include "guicast.h" #include "file.inc" #include "filelist.inc" +#include "indexfile.inc" +#include "mainprogress.inc" #include "overlayframe.inc" #include "strategies.inc" #include "vframe.inc" @@ -52,27 +55,15 @@ public: friend class FileList; friend class FrameWriter; - - - void get_mode(char *mode, int rd, int wr); void reset_parameters(); - - - virtual void get_parameters(BC_WindowBase *parent_window, - Asset *asset, - BC_WindowBase **format_window, - int audio_options, - int video_options, - int lock_compressor) {}; - - - - virtual int get_index(char *index_path) { return 1; } + virtual int get_index(IndexFile *index_file, MainProgressBar *progress_bar) { return -1; } virtual int check_header() { return 0; } // Test file to see if it is of this type. virtual int reset_parameters_derived() { return 0; } virtual int read_header() { return 1; } // WAV files for getting header + virtual int get_best_colormodel(int driver, int vstream); + virtual int open_file(int rd, int wr) { return 1; } virtual int close_file(); virtual int close_file_derived() { return 0; } @@ -125,6 +116,7 @@ public: virtual int colormodel_supported(int colormodel) { return BC_RGB888; } // This file can copy compressed frames directly from the asset virtual int can_copy_from(Asset *asset, int64_t position) { return 0; } + virtual int can_scale_input() { return 0; } virtual int get_render_strategy(ArrayList* render_strategies) { return VRENDER_VPIXEL; } // Manages an audio history buffer