diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-10-14 09:54:05 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-10-25 09:52:23 +0100 |
commit | 1402152ad35017a817b1ead55e60ace9353efbdb (patch) | |
tree | 47cfeda92ffdfe73eb2a5f3ec77abf59b4fbd09e /src/lc-compliance | |
parent | 43d098ce5f2733dbde249d33d3b418cbeadfaaa5 (diff) |
libcamera: v4l2_videodevice: Explain multiplanar bytesused reasoning
The ternary operation used to get the total bytesused of a V4L2 single
planar format which is stored in a multiplanar buffer can easily be
mis-read to think it's a bug, and appears to be reading the value of the
first of N planes as the total.
Directly explain the reasoning for why it looks like the condition is
inverted, as it is correct that the total bytes used is stored in only
the first plane of the multiplanar buffer.
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/lc-compliance')
0 files changed, 0 insertions, 0 deletions