[libcamera-devel] [PATCH v3 0/2] cam: cleanup code structure

Niklas Söderlund niklas.soderlund at ragnatech.se
Fri May 24 10:23:31 CEST 2019


Hi,

Before adding new features to the cam utility there is a need to clean
up some of the organic growth that has happened.

This series breaks out the capture logic to a new class and reduces the
mess in main.cpp.

Niklas Söderlund (2):
  cam: capture: Break out capture to a new class
  cam: Add CamApp class

 src/cam/capture.cpp | 248 +++++++++++++++++++++++++++
 src/cam/capture.h   |  42 +++++
 src/cam/main.cpp    | 408 ++++++++++++++------------------------------
 src/cam/main.h      |  19 +++
 src/cam/meson.build |   1 +
 5 files changed, 437 insertions(+), 281 deletions(-)
 create mode 100644 src/cam/capture.cpp
 create mode 100644 src/cam/capture.h
 create mode 100644 src/cam/main.h

-- 
2.21.0



More information about the libcamera-devel mailing list