vivid-meta-out.h (652B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * vivid-meta-out.h - meta output support functions. 4 */ 5#ifndef _VIVID_META_OUT_H_ 6#define _VIVID_META_OUT_H_ 7 8struct vivid_meta_out_buf { 9 u16 brightness; 10 u16 contrast; 11 u16 saturation; 12 s16 hue; 13}; 14 15void vivid_meta_out_process(struct vivid_dev *dev, struct vivid_buffer *buf); 16int vidioc_enum_fmt_meta_out(struct file *file, void *priv, 17 struct v4l2_fmtdesc *f); 18int vidioc_g_fmt_meta_out(struct file *file, void *priv, 19 struct v4l2_format *f); 20int vidioc_s_fmt_meta_out(struct file *file, void *priv, 21 struct v4l2_format *f); 22 23extern const struct vb2_ops vivid_meta_out_qops; 24 25#endif