mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-15 08:25:07 +03:00
ipa: raspberrypi: Code refactoring to match style guidelines
Refactor all the source files in src/ipa/raspberrypi/ to match the recommended formatting guidelines for the libcamera project. The vast majority of changes in this commit comprise of switching from snake_case to CamelCase, and starting class member functions with a lower case character. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
parent
b4a3eb6b98
commit
177df04d2b
63 changed files with 2093 additions and 2161 deletions
|
@ -26,21 +26,21 @@ struct CameraMode {
|
|||
// size in pixels of frames in this mode
|
||||
uint16_t width, height;
|
||||
// size of full resolution uncropped frame ("sensor frame")
|
||||
uint16_t sensor_width, sensor_height;
|
||||
uint16_t sensorWidth, sensorHeight;
|
||||
// binning factor (1 = no binning, 2 = 2-pixel binning etc.)
|
||||
uint8_t bin_x, bin_y;
|
||||
uint8_t binX, binY;
|
||||
// location of top left pixel in the sensor frame
|
||||
uint16_t crop_x, crop_y;
|
||||
// scaling factor (so if uncropped, width*scale_x is sensor_width)
|
||||
double scale_x, scale_y;
|
||||
uint16_t cropX, cropY;
|
||||
// scaling factor (so if uncropped, width*scaleX is sensorWidth)
|
||||
double scaleX, scaleY;
|
||||
// scaling of the noise compared to the native sensor mode
|
||||
double noise_factor;
|
||||
double noiseFactor;
|
||||
// line time
|
||||
libcamera::utils::Duration line_length;
|
||||
libcamera::utils::Duration lineLength;
|
||||
// any camera transform *not* reflected already in the camera tuning
|
||||
libcamera::Transform transform;
|
||||
// minimum and maximum fame lengths in units of lines
|
||||
uint32_t min_frame_length, max_frame_length;
|
||||
uint32_t minFrameLength, maxFrameLength;
|
||||
// sensitivity of this mode
|
||||
double sensitivity;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue