#include "preferences.inc"
#include "samples.inc"
#include "vframe.inc"
-#include "packagingengine.h"
// ======================================= include file types here
{
public:
File();
- ~File();
+ virtual ~File();
int probe();
// Get attributes for various file formats.
// Used by read_frame.
int colormodel_supported(int colormodel);
+ int get_cache_frame(VFrame *vframe, int64_t position);
+ void put_cache_frame(VFrame *frame, int64_t position, int use_copy);
+ int get_use_cache();
+
// stubs for now
static const char *compressiontostr(const char *codec) { return codec; }
static const char *strtocompression(const char *string) { return string; }
int bytes_per_sample(int bits); // Convert the bit descriptor into a byte count.
// get record stream file descriptor
int record_fd();
+// brender update video map
+ virtual int write_frame_done(int64_t position) { return 0; }
Asset *asset; // Copy of asset since File outlives EDL
FileBase *file; // virtual class for file type
// int64_t normalized_sample_rate;
Preferences *preferences;
int wr, rd;
- static PackagingEngine *new_packaging_engine(Asset *asset);
- static void init_cin_path();
+ static void init_cin_env_vars();
static void get_exe_path(char *result, char *bnp=0);
static void getenv_path(char *result, const char *path);
static void setenv_path(const char *var, const char *path, int overwrite);