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

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

Message

Niklas Söderlund May 24, 2019, 8:23 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 | 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

Comments

Niklas Söderlund May 25, 2019, 12:53 p.m. UTC | #1
Hi,

I have pushed this series to master.

On 2019-05-24 10:23:31 +0200, Niklas Söderlund wrote:
> 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
>