Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / fileexr.h
index 3e474891d0f406c770d386837f7a9c657b67c242..40fb01c99d72d844b5913bbdbe632c0b24e279cc 100644 (file)
@@ -44,29 +44,21 @@ public:
        int read_frame_header(char *path);
        int read_frame(VFrame *frame, VFrame *data);
        int64_t get_memory_usage();
+       int can_copy_from(Asset *asset, int64_t position);
        int write_frame(VFrame *frame, VFrame *data, FrameWriterUnit *unit);
        FrameWriterUnit* new_writer_unit(FrameWriter *writer);
 
 // exr_compression values
-       enum
-       {
-               NONE,
-               PIZ,
-               ZIP,
-               ZIPS,
-               RLE,
-               PXR24
-       };
+       enum { NONE,
+               PIZ, ZIP, ZIPS, RLE, PXR24,
+               B44, B44A, DWAA, DWAB, };
 
        static const char* compression_to_str(int compression);
        static int str_to_compression(char *string);
        static int compression_to_exr(int compression);
 
-       int native_cmodel;
-       int is_yuv;
-       float *temp_y;
-       float *temp_u;
-       float *temp_v;
+       int native_cmodel, is_yuv;
+       float *temp_y, *temp_u, *temp_v;
 };
 
 class EXRUnit : public FrameWriterUnit