[libcamera-devel,v2,0/2] cam: cleanup code structure
mbox series

Message ID 20190523151306.22007-1-niklas.soderlund@ragnatech.se
Headers show
Series
  • cam: cleanup code structure
Related show

Message

Niklas Söderlund May 23, 2019, 3:13 p.m. UTC
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 | 249 +++++++++++++++++++++++++++
 src/cam/capture.h   |  43 +++++
 src/cam/main.cpp    | 408 +++++++++++++-------------------------------
 src/cam/main.h      |  19 +++
 src/cam/meson.build |   1 +
 5 files changed, 435 insertions(+), 285 deletions(-)
 create mode 100644 src/cam/capture.cpp
 create mode 100644 src/cam/capture.h
 create mode 100644 src/cam/main.h