diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-09 12:52:45 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-09 19:44:22 +0300 |
commit | e28d36cc0ea66ede6859aa495aa114c8db002b53 (patch) | |
tree | 379e68cbcc4206a716a21cec2108e19c6727bd3d /v4l2.h | |
parent | 1b8f9204db684eff0d52b03c47fa666bf4e495f5 (diff) |
uvc: Make uvc_device structure opaque
The internals of the uvc_device structure should not be accessed outside
of uvc.c. The only existing need to access the structure internals is in
stream.c, where access to the UVC V4L2 device is needed. To avoid that,
create an accessor function uvc_v4l2_device(), and make the structure
private.
Ideally the UVC V4L2 device should not be exposed. This can be achieved
by creating an abstract video sink class to handle the UVC video sink.
This is however out of scope for now.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'v4l2.h')
0 files changed, 0 insertions, 0 deletions