From bd0618f01f1331c1ba0a3b2bb65975b5a21fe2e2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 29 Mar 2014 00:25:08 +0100 Subject: video/out: remove legacy colorspace stuff Reduce most dependencies on struct mp_csp_details, which was a bad first attempt at dealing with colorspace stuff. Instead, consistently use mp_image_params. Code which retrieves colorspace matrices from csputils.c still uses this type, though. --- video/out/vo.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'video/out/vo.h') diff --git a/video/out/vo.h b/video/out/vo.h index 47c6a1ed96..c53e788a69 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -74,8 +74,10 @@ enum mp_voctrl { VOCTRL_GET_WINDOW_SIZE, // int[2] (w/h) VOCTRL_SET_WINDOW_SIZE, // int[2] (w/h) - VOCTRL_SET_YUV_COLORSPACE, // struct mp_csp_details* - VOCTRL_GET_YUV_COLORSPACE, // struct mp_csp_details* + // The VO is supposed to set "known" fields, and leave the others + // untouched or set to 0. + // imgfmt/w/h/d_w/d_h can be omitted for convenience. + VOCTRL_GET_COLORSPACE, // struct mp_image_params* VOCTRL_SCREENSHOT, // struct voctrl_screenshot_args* -- cgit v1.2.3