yuv colorspace/range + prefs, ffmpeg colorrange probe, x11 direct force colormodel...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / filebase.h
index a4b14dc938ae0b7ae1e8d8c1860ad0acec9a300d..5e8d291e747b3105a1f289847409e18a658c2112 100644 (file)
@@ -30,6 +30,8 @@
 #include "guicast.h"
 #include "file.inc"
 #include "filelist.inc"
+#include "indexfile.inc"
+#include "mainprogress.inc"
 #include "overlayframe.inc"
 #include "strategies.inc"
 #include "vframe.inc"
@@ -69,10 +71,12 @@ public:
 
 
 
-       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 +129,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<int>* render_strategies) { return VRENDER_VPIXEL; }
 
 // Manages an audio history buffer
@@ -221,8 +226,6 @@ private:
        int delete_ulaw_tables();
        float *ulawtofloat_table, *ulawtofloat_ptr;
        unsigned char *floattoulaw_table, *floattoulaw_ptr;
-
-       OverlayFrame *overlayer;
 };
 
 #endif