xref: /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/vivid-meta-out.h (revision 8c2ecf20)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * vivid-meta-out.h - meta output support functions.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci#ifndef _VIVID_META_OUT_H_
68c2ecf20Sopenharmony_ci#define _VIVID_META_OUT_H_
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_cistruct vivid_meta_out_buf {
98c2ecf20Sopenharmony_ci	u16	brightness;
108c2ecf20Sopenharmony_ci	u16	contrast;
118c2ecf20Sopenharmony_ci	u16	saturation;
128c2ecf20Sopenharmony_ci	s16	hue;
138c2ecf20Sopenharmony_ci};
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_civoid vivid_meta_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
168c2ecf20Sopenharmony_ciint vidioc_enum_fmt_meta_out(struct file *file, void  *priv,
178c2ecf20Sopenharmony_ci			     struct v4l2_fmtdesc *f);
188c2ecf20Sopenharmony_ciint vidioc_g_fmt_meta_out(struct file *file, void *priv,
198c2ecf20Sopenharmony_ci			  struct v4l2_format *f);
208c2ecf20Sopenharmony_ciint vidioc_s_fmt_meta_out(struct file *file, void *priv,
218c2ecf20Sopenharmony_ci			  struct v4l2_format *f);
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ciextern const struct vb2_ops vivid_meta_out_qops;
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci#endif
26

Indexes created Thu Nov 07 10:32:03 CST 2024