proxy cpus usage, unlock win before render_proxy, snap tweaks
[goodguy/history.git] / cinelerra-5.1 / cinelerra / file.h
index a2ed78d55cec022902bc17d168ec2f3e911d1558..4d80870ac3db729d1f7f9f5e19d243e2f1e4a319 100644 (file)
@@ -246,17 +246,16 @@ public:
 // The minimum setting for cache_size should be bigger than 1MB.
        int64_t get_memory_usage();
 
-       static int supports_video(ArrayList<PluginServer*> *plugindb, char *format);   // returns 1 if the format supports video or audio
-       static int supports_audio(ArrayList<PluginServer*> *plugindb, char *format);
+       static int renders_video(int format);
+       static int renders_video(Asset *asset);
+       static int renders_audio(int format);
+       static int renders_audio(Asset *asset);
 // Get the extension for the filename
        static const char* get_tag(int format);
        static const char* get_prefix(int format);
-       static int supports_video(int format);   // returns 1 if the format supports video or audio
-       static int supports_audio(int format);
        static int strtoformat(const char *format);
        static const char* formattostr(int format);
-       static int strtoformat(ArrayList<PluginServer*> *plugindb, const char *format);
-       static const char* formattostr(ArrayList<PluginServer*> *plugindb, int format);
+       static int is_image_render(int format);
        static int strtobits(const char *bits);
        static const char* bitstostr(int bits);
        static int str_to_byteorder(const char *string);
@@ -317,10 +316,12 @@ public:
        static void init_cin_path();
        static void get_exe_path(char *result, char *bnp=0);
        static void getenv_path(char *result, const char *path);
+       static void setenv_path(char *result, const char *var, const char *path);
        static char cinexe_path[BCTEXTLEN], cinpkg_path[BCTEXTLEN];
        static char cindat_path[BCTEXTLEN], cinlib_path[BCTEXTLEN];
        static char cincfg_path[BCTEXTLEN], cinplg_path[BCTEXTLEN];
        static char cinlad_path[BCTEXTLEN], cinlcl_path[BCTEXTLEN];
+       static char cinbwr_path[BCTEXTLEN];
        static const char *get_cin() { return getenv("CIN_PKG"); }
        static const char *get_cin_path() { return getenv("CIN_PATH"); }
        static const char *get_cindat_path() { return getenv("CIN_DAT"); }
@@ -329,6 +330,7 @@ public:
        static const char *get_plugin_path() { return getenv("CIN_PLUGIN"); }
        static const char *get_ladspa_path() { return getenv("CIN_LADSPA"); }
        static const char *get_locale_path() { return getenv("CIN_LOCALE"); }
+       static const char *get_browser_path() { return getenv("CIN_BROWSER"); }
 
        static const char *default_probes[];
        static const int nb_probes;