[libcamera-devel,v2,0/2] libcamera: utils: Add map_keys() function
mbox series

Message ID 20200701210948.999363-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • libcamera: utils: Add map_keys() function
Related show

Message

Niklas Söderlund July 1, 2020, 9:09 p.m. UTC
Hi,

This is mostly Laurent's work that I fished out of the ML so I could 
send out the last IPU3 patches I have locally which makes of Laurent's 
work.

I have modified 1/2 so that the utils::map_keys() helper returns a 
std::vector instead of a std::set after some discussions on v1 and on 
IRC.

Laurent Pinchart (1):
  libcamera: utils: Add map_keys() function

Niklas Söderlund (1):
  libcamera: ipu3: cio2: Make use of utils::map_keys() helper

 include/libcamera/internal/utils.h   | 10 ++++++++++
 src/libcamera/pipeline/ipu3/cio2.cpp | 19 +++----------------
 src/libcamera/utils.cpp              |  7 +++++++
 test/utils.cpp                       | 22 ++++++++++++++++++++++
 4 files changed, 42 insertions(+), 16 deletions(-)