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