diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-02-29 01:42:38 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-06 18:10:49 +0200 |
commit | 7c6f59217ed00fae88b2069b81924879bd79e276 (patch) | |
tree | f2e849eda34bbb095266e30fb01d12d4b9e2c4db /src/qcam/viewfinder.cpp | |
parent | 5467d619251c05f04f737351eb45e191776a420c (diff) |
libcamera: control_serializer: Use zero-copy ByteStreamBuffer::read()
Use the zero-copy variant of ByteStreamBuffer::read() to read packet
headers and control entries. This enhances the performance of
ControlList and ControlInfoMap deserialization.
Deserialization of the actual ControlValue is untouched for now and will
be optimized later.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.binghm@ideasonboard.com>
Diffstat (limited to 'src/qcam/viewfinder.cpp')
0 files changed, 0 insertions, 0 deletions