xref: /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/vivid-meta-out.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * vivid-meta-out.h - meta output support functions.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef _VIVID_META_OUT_H_
662306a36Sopenharmony_ci#define _VIVID_META_OUT_H_
762306a36Sopenharmony_ci
862306a36Sopenharmony_cistruct vivid_meta_out_buf {
962306a36Sopenharmony_ci	u16	brightness;
1062306a36Sopenharmony_ci	u16	contrast;
1162306a36Sopenharmony_ci	u16	saturation;
1262306a36Sopenharmony_ci	s16	hue;
1362306a36Sopenharmony_ci};
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_civoid vivid_meta_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
1662306a36Sopenharmony_ciint vidioc_enum_fmt_meta_out(struct file *file, void  *priv,
1762306a36Sopenharmony_ci			     struct v4l2_fmtdesc *f);
1862306a36Sopenharmony_ciint vidioc_g_fmt_meta_out(struct file *file, void *priv,
1962306a36Sopenharmony_ci			  struct v4l2_format *f);
2062306a36Sopenharmony_ciint vidioc_s_fmt_meta_out(struct file *file, void *priv,
2162306a36Sopenharmony_ci			  struct v4l2_format *f);
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ciextern const struct vb2_ops vivid_meta_out_qops;
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#endif
26

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