libcamera: libcamera: Formatting improvements

The LSP autoformatter doesn't like some of the current formatting, let's
make it happier.  Note that not all of its suggestions were accepted
because readability is preferred and adjusting .clang-format may not be
easy or possible.

Signed-off-by: Milan Zamazal <mzamazal@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
Milan Zamazal
2024-09-02 17:42:08 +02:00
committed by Laurent Pinchart
parent 61a1d1694c
commit 6d0bf44c32
8 changed files with 20 additions and 19 deletions

View File

@@ -6,7 +6,6 @@
*/
#include "libcamera/internal/camera_sensor.h"
#include "libcamera/internal/media_device.h"
#include <algorithm>
#include <float.h>
@@ -14,15 +13,16 @@
#include <math.h>
#include <string.h>
#include <libcamera/base/utils.h>
#include <libcamera/camera.h>
#include <libcamera/orientation.h>
#include <libcamera/property_ids.h>
#include <libcamera/base/utils.h>
#include "libcamera/internal/bayer_format.h"
#include "libcamera/internal/camera_lens.h"
#include "libcamera/internal/camera_sensor_properties.h"
#include "libcamera/internal/media_device.h"
#include "libcamera/internal/sysfs.h"
/**