diff options
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r-- | video/out/gl_video.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h index 8c273faa9e..9c70e9ba82 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -31,12 +31,13 @@ struct lut3d { struct gl_video_opts { char *scalers[2]; char *dscaler; + float gamma; + int gamma_auto; + int target_prim; + int target_trc; float scaler_params[2][2]; float scaler_radius[2]; float scaler_antiring[2]; - float gamma; - int gamma_auto; - int srgb; int linear_scaling; int fancy_downscaling; int sigmoid_upscaling; @@ -73,9 +74,9 @@ 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, struct frame_timing *t); -void gl_video_resize(struct gl_video *p, struct mp_rect *window, +void gl_video_resize(struct gl_video *p, int vp_w, int vp_h, struct mp_rect *src, struct mp_rect *dst, - struct mp_osd_res *osd, bool vflip); + struct mp_osd_res *osd); void gl_video_get_colorspace(struct gl_video *p, struct mp_image_params *params); struct mp_csp_equalizer; struct mp_csp_equalizer *gl_video_eq_ptr(struct gl_video *p); |