[libcamera-devel,0/2] libcamera: request: Make Stream pointer const
mbox series

Message ID 20200810234528.1678143-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: request: Make Stream pointer const
Related show

Message

Niklas Söderlund Aug. 10, 2020, 11:45 p.m. UTC
Hi,

This series aims to make the Request object more strict by making the 
Stream pointers it interacts with as const. This is good as it makes it 
more apparent to pipeline handlers that the pointer should only be 
regarded as a key when it comes from the user.

Niklas Söderlund (2):
  libcamera: request: Declare a using directive for map of buffers
  libcamera: request: Make Stream pointer const

 include/libcamera/request.h          | 10 ++++++----
 src/android/camera_device.cpp        |  2 +-
 src/cam/capture.cpp                  |  6 +++---
 src/cam/capture.h                    |  2 +-
 src/libcamera/camera.cpp             |  4 ++--
 src/libcamera/pipeline/ipu3/ipu3.cpp |  2 +-
 src/libcamera/request.cpp            | 11 ++++++++---
 src/qcam/main_window.h               |  6 +++---
 test/camera/buffer_import.cpp        |  4 ++--
 test/camera/capture.cpp              |  4 ++--
 10 files changed, 29 insertions(+), 22 deletions(-)