diff options
author | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-11-21 13:10:45 +0100 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2020-01-12 16:10:37 +0100 |
commit | 01ba6e39b67f36a4fa0ba3f7d3990b555463a507 (patch) | |
tree | a733bfce34602b644a63831e2728627e8f95f647 /test/v4l2_videodevice/formats.cpp | |
parent | 856a4a25278ce5e4b64497deaa3b20c4df16fdee (diff) |
libcamera: Add FileDescriptor to help pass numerical fds around
Add a helper to make it easier to pass file descriptors around. The
helper class duplicates the fd which decouples it from the original fd
which could be closed by its owner while the new FileDescriptor remains
valid.
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/formats.cpp')
0 files changed, 0 insertions, 0 deletions