1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * vivid-meta-cap.h - meta capture support functions.
5 #ifndef _VIVID_META_CAP_H_
6 #define _VIVID_META_CAP_H_
8 #define VIVID_META_CLOCK_UNIT 10 /* 100 MHz */
10 struct vivid_uvc_meta_buf
{
15 __u8 buf
[10]; /* PTS(4)+STC(4)+SOF(2) */
18 void vivid_meta_cap_fillbuff(struct vivid_dev
*dev
,
19 struct vivid_buffer
*buf
, u64 soe
);
21 int vidioc_enum_fmt_meta_cap(struct file
*file
, void *priv
,
22 struct v4l2_fmtdesc
*f
);
24 int vidioc_g_fmt_meta_cap(struct file
*file
, void *priv
,
25 struct v4l2_format
*f
);
27 extern const struct vb2_ops vivid_meta_cap_qops
;