X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Ffilebase.h;h=3fb8be42087ac8195bc442357355cbaeeb2e35c7;hb=60f8df69db9ddd8148bfc41a17bb0955b52a45e6;hp=a4b14dc938ae0b7ae1e8d8c1860ad0acec9a300d;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/filebase.h b/cinelerra-5.1/cinelerra/filebase.h index a4b14dc9..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 @@ -221,8 +213,6 @@ private: int delete_ulaw_tables(); float *ulawtofloat_table, *ulawtofloat_ptr; unsigned char *floattoulaw_table, *floattoulaw_ptr; - - OverlayFrame *overlayer; }; #endif