summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index b287658bef..f62a292785 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -53,6 +53,8 @@ struct gl_video_opts {
int chroma_location;
int use_rectangle;
struct m_color background;
+ int smoothmotion;
+ float smoothmotion_threshold;
};
extern const struct m_sub_options gl_video_conf;
@@ -69,7 +71,7 @@ void gl_video_config(struct gl_video *p, struct mp_image_params *params);
void gl_video_set_output_depth(struct gl_video *p, int r, int g, int b);
void gl_video_set_lut3d(struct gl_video *p, struct lut3d *lut3d);
void gl_video_upload_image(struct gl_video *p, struct mp_image *img);
-void gl_video_render_frame(struct gl_video *p, int fbo);
+void gl_video_render_frame(struct gl_video *p, int fbo, struct frame_timing *t);
struct mp_image *gl_video_download_image(struct gl_video *p);
void gl_video_resize(struct gl_video *p, struct mp_rect *window,
struct mp_rect *src, struct mp_rect *dst,
@@ -84,6 +86,7 @@ void gl_video_resize_redraw(struct gl_video *p, int w, int h);
void gl_video_set_gl_state(struct gl_video *p);
void gl_video_unset_gl_state(struct gl_video *p);
+void gl_video_reset(struct gl_video *p);
struct gl_hwdec;
void gl_video_set_hwdec(struct gl_video *p, struct gl_hwdec *hwdec);