summaryrefslogtreecommitdiffstats
path: root/video/decode/dec_video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-10 19:08:56 +0100
committerwm4 <wm4@nowhere>2013-12-10 20:07:39 +0100
commit2f46b23d51684eef7cfa2bd5fa5e2892772ca816 (patch)
treebb4363f817e6631d037cc77e225bcef2bc5b092e /video/decode/dec_video.h
parent5f0585177e58349a8a309037803ff99046a3ab27 (diff)
downloadmpv-2f46b23d51684eef7cfa2bd5fa5e2892772ca816.tar.bz2
mpv-2f46b23d51684eef7cfa2bd5fa5e2892772ca816.tar.xz
video: move handling of brightness and deinterlacing control
Handling of brightness/gamma/saturation/etc. and deinterlacing is moved from vf_vo.c to dec_video.c.
Diffstat (limited to 'video/decode/dec_video.h')
-rw-r--r--video/decode/dec_video.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h
index 7d30e6fd91..c15f0d9aba 100644
--- a/video/decode/dec_video.h
+++ b/video/decode/dec_video.h
@@ -25,12 +25,13 @@
#include "video/hwdec.h"
#include "video/mp_image.h"
-struct osd_state;
struct mp_decoder_list;
+struct vo;
struct dec_video {
struct MPOpts *opts;
struct vf_chain *vfilter; // video filter chain
+ struct vo *vo; // (still) needed by video_set/get_colors
const struct vd_functions *vd_driver;
struct mp_hwdec_info hwdec_info; // video output hwdec handles
struct sh_stream *header;
@@ -95,4 +96,6 @@ int video_vd_control(struct dec_video *d_video, int cmd, void *arg);
int video_reconfig_filters(struct dec_video *d_video,
const struct mp_image_params *params);
+int video_vf_vo_control(struct dec_video *d_video, int vf_cmd, void *data);
+
#endif /* MPLAYER_DEC_VIDEO_H */