aboutsummaryrefslogtreecommitdiffstats
path: root/utils/v4l2-compliance/v4l2-compliance.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-08 19:23:11 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2021-10-08 19:23:11 +0200
commit493af03f3c576fad69c050d33215d1f4fc0d532d (patch)
tree47e9bfce69b0f346d75f852c6aa1e9b63de2b6ba /utils/v4l2-compliance/v4l2-compliance.h
parentfb4f059c875c9f9859cc5bce36c8170fc24f375d (diff)
v4l2-compliance: check entity function for codecs
Codec devices must have entity function MEDIA_ENT_F_PROC_VIDEO_ENCODER or _DECODER. Check this. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'utils/v4l2-compliance/v4l2-compliance.h')
-rw-r--r--utils/v4l2-compliance/v4l2-compliance.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/v4l2-compliance/v4l2-compliance.h b/utils/v4l2-compliance/v4l2-compliance.h
index 7ae7b988..419d1498 100644
--- a/utils/v4l2-compliance/v4l2-compliance.h
+++ b/utils/v4l2-compliance/v4l2-compliance.h
@@ -133,6 +133,7 @@ struct base_node {
__u32 media_version;
std::string media_bus_info;
media_entity_desc entity;
+ __u32 function;
media_pad_desc *pads;
media_link_desc *links;
media_v2_topology *topology;

Privacy Policy