diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-24 01:24:39 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-24 01:26:38 +0300 |
commit | 3d6471013462f614bb14b3a775881b02c724df7a (patch) | |
tree | d9b18787d26e9e6377a4773eaa271b405d804835 /v4l2.h | |
parent | b0be8eb957c6a54040a3a680d6549419dd885d27 (diff) |
v4l2: Query buffer sizes when exporting buffers
In order to properly import buffers, the size of each buffer to be
imported must be known. The size is queried when the buffers are
mmap()ed, but mapping them isn't mandatory. Query the size when
exporting buffers to ensure that we always have a valid size for import.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'v4l2.h')
0 files changed, 0 insertions, 0 deletions