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

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

Message

Niklas Söderlund May 23, 2019, 12:55 a.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 | 244 +++++++++++++++++++++++++++
 src/cam/capture.h   |  42 +++++
 src/cam/main.cpp    | 391 ++++++++++++--------------------------------
 src/cam/main.h      |  19 +++
 src/cam/meson.build |   1 +
 5 files changed, 414 insertions(+), 283 deletions(-)
 create mode 100644 src/cam/capture.cpp
 create mode 100644 src/cam/capture.h
 create mode 100644 src/cam/main.h