Skip to content

Commit

Permalink
clang-format - fix C++ formatting linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Dec 31, 2024
1 parent 0becf2b commit 9e4138c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 24 deletions.
32 changes: 16 additions & 16 deletions lib/cppbind/mmlens/include/mmlens/distortion_process.h
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,18 @@ void apply_f64_to_f32(const DistortionDirection direction,

MMLENS_API_EXPORT
void apply_identity_to_f64(
const DistortionDirection direction,
const ImageDimensions image_dimensions, double* out_data_ptr,
const size_t out_data_size, const size_t out_data_stride,
const CameraParameters camera_parameters, const double film_back_radius_cm,
const DistortionDirection direction, const ImageDimensions image_dimensions,
double* out_data_ptr, const size_t out_data_size,
const size_t out_data_stride, const CameraParameters camera_parameters,
const double film_back_radius_cm,
Parameters3deAnamorphicStdDeg4Rescaled lens_parameters);

MMLENS_API_EXPORT
void apply_identity_to_f32(
const DistortionDirection direction,
const ImageDimensions image_dimensions, float* out_data_ptr,
const size_t out_data_size, const size_t out_data_stride,
const CameraParameters camera_parameters, const double film_back_radius_cm,
const DistortionDirection direction, const ImageDimensions image_dimensions,
float* out_data_ptr, const size_t out_data_size,
const size_t out_data_stride, const CameraParameters camera_parameters,
const double film_back_radius_cm,
Parameters3deAnamorphicStdDeg4Rescaled lens_parameters);

MMLENS_API_EXPORT
Expand Down Expand Up @@ -262,18 +262,18 @@ void apply_f64_to_f32(const DistortionDirection direction,

MMLENS_API_EXPORT
void apply_identity_to_f64(
const DistortionDirection direction,
const ImageDimensions image_dimensions, double* out_data_ptr,
const size_t out_data_size, const size_t out_data_stride,
const CameraParameters camera_parameters, const double film_back_radius_cm,
const DistortionDirection direction, const ImageDimensions image_dimensions,
double* out_data_ptr, const size_t out_data_size,
const size_t out_data_stride, const CameraParameters camera_parameters,
const double film_back_radius_cm,
Parameters3deAnamorphicStdDeg6Rescaled lens_parameters);

MMLENS_API_EXPORT
void apply_identity_to_f32(
const DistortionDirection direction,
const ImageDimensions image_dimensions, float* out_data_ptr,
const size_t out_data_size, const size_t out_data_stride,
const CameraParameters camera_parameters, const double film_back_radius_cm,
const DistortionDirection direction, const ImageDimensions image_dimensions,
float* out_data_ptr, const size_t out_data_size,
const size_t out_data_stride, const CameraParameters camera_parameters,
const double film_back_radius_cm,
Parameters3deAnamorphicStdDeg6Rescaled lens_parameters);

MMLENS_API_EXPORT
Expand Down
12 changes: 4 additions & 8 deletions lib/cppbind/mmlens/src/distortion_process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -466,8 +466,7 @@ create_distortion<Distortion3deAnamorphicStdDeg4Rescaled,
}

void apply_identity_to_f64(
const DistortionDirection direction,
const ImageDimensions image_dimensions,
const DistortionDirection direction, const ImageDimensions image_dimensions,

// Output buffer
double* out_data_ptr, const size_t out_data_size,
Expand All @@ -484,8 +483,7 @@ void apply_identity_to_f64(
}

void apply_identity_to_f32(
const DistortionDirection direction,
const ImageDimensions image_dimensions,
const DistortionDirection direction, const ImageDimensions image_dimensions,

// Output buffer
float* out_data_ptr, const size_t out_data_size,
Expand Down Expand Up @@ -704,8 +702,7 @@ create_distortion<Distortion3deAnamorphicStdDeg6Rescaled,
}

void apply_identity_to_f64(
const DistortionDirection direction,
const ImageDimensions image_dimensions,
const DistortionDirection direction, const ImageDimensions image_dimensions,

// Output buffer
double* out_data_ptr, const size_t out_data_size,
Expand All @@ -722,8 +719,7 @@ void apply_identity_to_f64(
}

void apply_identity_to_f32(
const DistortionDirection direction,
const ImageDimensions image_dimensions,
const DistortionDirection direction, const ImageDimensions image_dimensions,

// Output buffer
float* out_data_ptr, const size_t out_data_size,
Expand Down

0 comments on commit 9e4138c

Please sign in to comment.