aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2020-08-07 11:44:08 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2020-08-07 11:44:08 +0200
commitcff91b1c9eae5423f31e406ac97e7f28524b4535 (patch)
tree129693da92081193e32e86f4006e1a68ee7e471d /utils
parent1bcfe070d6218bf1074b38feb1e4fd02de2dd4dc (diff)
v4l2-ctl: rename vivid_uvc_meta_buf to uvc_meta_bufHEADmaster
This struct is not vivid specific, so drop the vivid_ prefix. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils')
-rw-r--r--utils/v4l2-ctl/v4l2-ctl-meta.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/v4l2-ctl/v4l2-ctl-meta.cpp b/utils/v4l2-ctl/v4l2-ctl-meta.cpp
index 2f745e4f..b4c7bb89 100644
--- a/utils/v4l2-ctl/v4l2-ctl-meta.cpp
+++ b/utils/v4l2-ctl/v4l2-ctl-meta.cpp
@@ -129,7 +129,7 @@ void meta_list(cv4l_fd &fd)
}
}
-struct vivid_uvc_meta_buf {
+struct uvc_meta_buf {
__u64 ns;
__u16 sof;
__u8 length;
@@ -149,14 +149,14 @@ struct vivid_meta_out_buf {
void print_meta_buffer(FILE *f, cv4l_buffer &buf, cv4l_fmt &fmt, cv4l_queue &q)
{
- struct vivid_uvc_meta_buf *vbuf;
+ struct uvc_meta_buf *vbuf;
int buf_off = 0;
struct vivid_meta_out_buf *vbuf_out;
switch (fmt.g_pixelformat()) {
case V4L2_META_FMT_UVC:
fprintf(f, "UVC: ");
- vbuf = static_cast<vivid_uvc_meta_buf *>(q.g_dataptr(buf.g_index(), 0));
+ vbuf = static_cast<uvc_meta_buf *>(q.g_dataptr(buf.g_index(), 0));
fprintf(f, "%.6fs sof: %4d len: %u flags: 0x%02x",
static_cast<double>(vbuf->ns) / 1000000000.0,

Privacy Policy