add binfolder path relative filters, fix gbrp color model, vwdw timebar tweaks, title...
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vdevicex11.h
index 7f001a70c61d409c2726fe3c388a866b44baf69a..afc21edb27db2aac2f53b9f5431a0e88ef3ead0d 100644 (file)
@@ -47,7 +47,7 @@ public:
        int read_buffer(VFrame *frame);
        int reset_parameters();
 // User always gets the colormodel requested
-       void new_output_buffer(VFrame **output, int colormodel);
+       void new_output_buffer(VFrame **output, int colormodel, EDL *edl);
 
        int open_output();
        int start_playback();
@@ -130,7 +130,13 @@ private:
 // is passed to this to create the VFrame to which the output is rendered.
 // For OpenGL, it creates the array of row pointers used to upload the video
 // frame to the texture, the texture, and the PBuffer.
-       int get_best_colormodel(int colormodel);
+       int get_display_colormodel(int file_colormodel);
+
+// windows which overlay the screencap area
+#define SCREENCAP_BORDERS 4
+#define SCREENCAP_PIXELS 5
+#define SCREENCAP_COLOR GREEN
+       BC_Popup *screencap_border[SCREENCAP_BORDERS];
 
 // Bitmap to be written to device
        BC_Bitmap *bitmap;
@@ -150,12 +156,14 @@ private:
        int texture_h;
        int color_model;
        int color_model_selected;
-// Transfer coordinates from the output frame to the canvas
-// for last frame rendered.
+// Transfer coordinates from the output frame to the canvas.
+// Calculated in new_output_buffer & retained for write_buffer
 // These stick the last frame to the display.
 // Must be floats to support OpenGL
        float output_x1, output_y1, output_x2, output_y2;
        float canvas_x1, canvas_y1, canvas_x2, canvas_y2;
+// rounded integer dimensions
+       int canvas_w, canvas_h;
 // Screen capture
        BC_Capture *capture_bitmap;
 // Set when OpenGL rendering has cleared the frame buffer before write_buffer