cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

vivid-vbi-cap.h (1205B)


      1/* SPDX-License-Identifier: GPL-2.0-only */
      2/*
      3 * vivid-vbi-cap.h - vbi capture support functions.
      4 *
      5 * Copyright 2014 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
      6 */
      7
      8#ifndef _VIVID_VBI_CAP_H_
      9#define _VIVID_VBI_CAP_H_
     10
     11void vivid_fill_time_of_day_packet(u8 *packet);
     12void vivid_raw_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf);
     13void vivid_sliced_vbi_cap_process(struct vivid_dev *dev, struct vivid_buffer *buf);
     14void vivid_sliced_vbi_out_process(struct vivid_dev *dev, struct vivid_buffer *buf);
     15int vidioc_g_fmt_vbi_cap(struct file *file, void *priv,
     16					struct v4l2_format *f);
     17int vidioc_s_fmt_vbi_cap(struct file *file, void *priv,
     18					struct v4l2_format *f);
     19int vidioc_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
     20int vidioc_try_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
     21int vidioc_s_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_format *fmt);
     22int vidioc_g_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_sliced_vbi_cap *cap);
     23
     24void vivid_fill_service_lines(struct v4l2_sliced_vbi_format *vbi, u32 service_set);
     25
     26extern const struct vb2_ops vivid_vbi_cap_qops;
     27
     28#endif