mirror of
https://git.libcamera.org/libcamera/libcamera.git
synced 2025-07-25 17:45:06 +03:00
ipa: raspberrypi: Remove extern "C" declarations
Since the controller header files are now C++ specific, remove the extern "C" declarations. 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
acd5d9979f
commit
de9e95bfcc
14 changed files with 0 additions and 112 deletions
|
@ -13,10 +13,6 @@
|
|||
* "agc.status" metadata.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Note: total_exposure_value will be reported as zero until the algorithm has
|
||||
* seen statistics and calculated meaningful values. The contents should be
|
||||
|
@ -39,7 +35,3 @@ struct AgcStatus {
|
|||
double digitalGain;
|
||||
int locked;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
* "alsc.status" metadata.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define ALSC_CELLS_X 16
|
||||
#define ALSC_CELLS_Y 12
|
||||
|
||||
|
@ -23,7 +19,3 @@ struct AlscStatus {
|
|||
double g[ALSC_CELLS_Y][ALSC_CELLS_X];
|
||||
double b[ALSC_CELLS_Y][ALSC_CELLS_X];
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
* under the tag "awb.status".
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct AwbStatus {
|
||||
char mode[32];
|
||||
double temperatureK;
|
||||
|
@ -22,7 +18,3 @@ struct AwbStatus {
|
|||
double gainG;
|
||||
double gainB;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,16 +8,8 @@
|
|||
|
||||
/* The "black level" algorithm stores the black levels to use. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct BlackLevelStatus {
|
||||
uint16_t blackLevelR; /* out of 16 bits */
|
||||
uint16_t blackLevelG;
|
||||
uint16_t blackLevelB;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -16,10 +16,6 @@
|
|||
* including binning, scaling, cropping etc.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define CAMERA_MODE_NAME_LEN 32
|
||||
|
||||
struct CameraMode {
|
||||
|
@ -46,7 +42,3 @@ struct CameraMode {
|
|||
/* sensitivity of this mode */
|
||||
double sensitivity;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,15 +8,7 @@
|
|||
|
||||
/* The "ccm" algorithm generates an appropriate colour matrix. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct CcmStatus {
|
||||
double matrix[9];
|
||||
double saturation;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -11,10 +11,6 @@
|
|||
* of contrast stretching based on the AGC histogram.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define CONTRAST_NUM_POINTS 33
|
||||
|
||||
struct ContrastPoint {
|
||||
|
@ -27,7 +23,3 @@ struct ContrastStatus {
|
|||
double brightness;
|
||||
double contrast;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,17 +8,9 @@
|
|||
|
||||
/* This stores the parameters required for Denoise. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct DenoiseStatus {
|
||||
double noiseConstant;
|
||||
double noiseSlope;
|
||||
double strength;
|
||||
unsigned int mode;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,14 +8,6 @@
|
|||
|
||||
/* The "DPC" algorithm sets defective pixel correction strength. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct DpcStatus {
|
||||
int strength; /* 0 = "off", 1 = "normal", 2 = "strong" */
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -14,15 +14,7 @@
|
|||
* measurements, it's not driving any kind of auto-focus algorithm!
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct FocusStatus {
|
||||
unsigned int num;
|
||||
uint32_t focusMeasures[FOCUS_REGIONS];
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,15 +8,7 @@
|
|||
|
||||
/* The "GEQ" algorithm calculates the green equalisation thresholds */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct GeqStatus {
|
||||
uint16_t offset;
|
||||
double slope;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -17,15 +17,7 @@
|
|||
* (presumably meaningless) value in the image metadata.
|
||||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct LuxStatus {
|
||||
double lux;
|
||||
double aperture;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,15 +8,7 @@
|
|||
|
||||
/* The "noise" algorithm stores an estimate of the noise profile for this image. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct NoiseStatus {
|
||||
double noiseConstant;
|
||||
double noiseSlope;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -8,10 +8,6 @@
|
|||
|
||||
/* The "sharpen" algorithm stores the strength to use. */
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct SharpenStatus {
|
||||
/* controls the smallest level of detail (or noise!) that sharpening will pick up */
|
||||
double threshold;
|
||||
|
@ -22,7 +18,3 @@ struct SharpenStatus {
|
|||
/* The sharpening strength requested by the user or application. */
|
||||
double userStrength;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue