[libcamera-devel] [PATCH 0/5] Miscellaneous cleanups and refactoring

Laurent Pinchart laurent.pinchart at ideasonboard.com
Tue Apr 30 20:37:41 CEST 2019


Hello,

As part of a larger series that reworks the stream configuration API, I
cleaned up and refactored a few simple problem areas that ended up
touching the whole code base. I'm thus sending this out to get it merged
early in order to avoid conflicts.

Laurent Pinchart (5):
  libcamera: pipeline_handler: Remove duplicated log from uvc and vimc
  libcamera: Use the Size class through libcamera
  libcamera: pipeline: Unify naming of configurations in pipeline
    handlers
  test: Unify naming of configurations in tests
  (q)cam: Unify naming of configurations in applications

 include/libcamera/geometry.h             |  2 +
 include/libcamera/stream.h               |  5 +-
 src/cam/main.cpp                         |  4 +-
 src/libcamera/camera.cpp                 |  6 +--
 src/libcamera/camera_sensor.cpp          |  3 +-
 src/libcamera/geometry.cpp               |  9 ++++
 src/libcamera/include/v4l2_device.h      |  4 +-
 src/libcamera/include/v4l2_subdevice.h   |  3 +-
 src/libcamera/pipeline/ipu3/ipu3.cpp     | 61 +++++++++++-------------
 src/libcamera/pipeline/rkisp1/rkisp1.cpp | 28 +++++------
 src/libcamera/pipeline/uvcvideo.cpp      | 24 ++++------
 src/libcamera/pipeline/vimc.cpp          | 24 ++++------
 src/libcamera/pipeline_handler.cpp       |  2 +-
 src/libcamera/stream.cpp                 | 22 ++++-----
 src/libcamera/v4l2_device.cpp            | 36 ++++++--------
 src/libcamera/v4l2_subdevice.cpp         | 24 ++++------
 src/qcam/main_window.cpp                 |  5 +-
 test/camera/capture.cpp                  | 14 +++---
 test/camera/configuration_default.cpp    | 10 ++--
 test/camera/configuration_set.cpp        | 21 ++++----
 test/v4l2_device/formats.cpp             |  6 +--
 test/v4l2_subdevice/test_formats.cpp     | 11 ++---
 22 files changed, 145 insertions(+), 179 deletions(-)

-- 
Regards,

Laurent Pinchart



More information about the libcamera-devel mailing list