vivid-vid-out.h (2674B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * vivid-vid-out.h - video output support functions. 4 * 5 * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved. 6 */ 7 8#ifndef _VIVID_VID_OUT_H_ 9#define _VIVID_VID_OUT_H_ 10 11extern const struct vb2_ops vivid_vid_out_qops; 12 13void vivid_update_format_out(struct vivid_dev *dev); 14 15int vivid_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 16int vivid_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 17int vivid_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 18int vidioc_g_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 19int vidioc_try_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 20int vidioc_s_fmt_vid_out_mplane(struct file *file, void *priv, struct v4l2_format *f); 21int vidioc_g_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 22int vidioc_try_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 23int vidioc_s_fmt_vid_out(struct file *file, void *priv, struct v4l2_format *f); 24int vivid_vid_out_g_selection(struct file *file, void *priv, struct v4l2_selection *sel); 25int vivid_vid_out_s_selection(struct file *file, void *fh, struct v4l2_selection *s); 26int vivid_vid_out_g_pixelaspect(struct file *file, void *priv, int type, struct v4l2_fract *f); 27int vidioc_enum_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_fmtdesc *f); 28int vidioc_g_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); 29int vidioc_try_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); 30int vidioc_s_fmt_vid_out_overlay(struct file *file, void *priv, struct v4l2_format *f); 31int vivid_vid_out_overlay(struct file *file, void *fh, unsigned i); 32int vivid_vid_out_g_fbuf(struct file *file, void *fh, struct v4l2_framebuffer *a); 33int vivid_vid_out_s_fbuf(struct file *file, void *fh, const struct v4l2_framebuffer *a); 34int vidioc_enum_output(struct file *file, void *priv, struct v4l2_output *out); 35int vidioc_g_output(struct file *file, void *priv, unsigned *i); 36int vidioc_s_output(struct file *file, void *priv, unsigned i); 37int vidioc_enumaudout(struct file *file, void *fh, struct v4l2_audioout *vout); 38int vidioc_g_audout(struct file *file, void *fh, struct v4l2_audioout *vout); 39int vidioc_s_audout(struct file *file, void *fh, const struct v4l2_audioout *vout); 40int vivid_vid_out_s_std(struct file *file, void *priv, v4l2_std_id id); 41int vivid_vid_out_s_dv_timings(struct file *file, void *_fh, struct v4l2_dv_timings *timings); 42int vivid_vid_out_g_parm(struct file *file, void *priv, struct v4l2_streamparm *parm); 43 44#endif