summaryrefslogtreecommitdiff
path: root/src/ColorTransformation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ColorTransformation.c')
-rw-r--r--src/ColorTransformation.c4566
1 files changed, 2283 insertions, 2283 deletions
diff --git a/src/ColorTransformation.c b/src/ColorTransformation.c
index 05b6c8b..2297f3f 100644
--- a/src/ColorTransformation.c
+++ b/src/ColorTransformation.c
@@ -1,4 +1,4 @@
-/* ColorTransformation.c generated by valac 0.34.7, the Vala compiler
+/* ColorTransformation.c generated by valac 0.36.6, the Vala compiler
* generated from ColorTransformation.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -699,7 +699,7 @@ PixelTransformer* pixel_transformer_new (void);
PixelTransformer* pixel_transformer_construct (GType object_type);
void pixel_transformer_attach_transformation (PixelTransformer* self, PixelTransformation* trans);
PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformationBundle* self);
-static void pixel_transformation_bundle_finalize (PixelTransformationBundle* obj);
+static void pixel_transformation_bundle_finalize (PixelTransformationBundle * obj);
#define PIXEL_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PIXEL_TRANSFORMATION, PixelTransformationPrivate))
enum {
PIXEL_TRANSFORMATION_DUMMY_PROPERTY
@@ -719,7 +719,7 @@ static void pixel_transformation_real_transform_pixel_rgb (PixelTransformation*
static gchar* pixel_transformation_real_to_string (PixelTransformation* self);
PixelTransformation* pixel_transformation_copy (PixelTransformation* self);
static PixelTransformation* pixel_transformation_real_copy (PixelTransformation* self);
-static void pixel_transformation_finalize (PixelTransformation* obj);
+static void pixel_transformation_finalize (PixelTransformation * obj);
enum {
RGB_TRANSFORMATION_DUMMY_PROPERTY
};
@@ -733,7 +733,7 @@ static void rgb_transformation_real_transform_pixel_hsv (PixelTransformation* ba
static void rgb_transformation_real_transform_pixel_rgb (PixelTransformation* base, RGBAnalyticPixel* p, RGBAnalyticPixel* result);
static gboolean rgb_transformation_real_is_identity (PixelTransformation* base);
static PixelTransformation* rgb_transformation_real_copy (PixelTransformation* base);
-static void rgb_transformation_finalize (PixelTransformation* obj);
+static void rgb_transformation_finalize (PixelTransformation * obj);
enum {
HSV_TRANSFORMATION_DUMMY_PROPERTY
};
@@ -747,7 +747,7 @@ enum {
#define TINT_TRANSFORMATION_INTENSITY_FACTOR 0.25f
#define TINT_TRANSFORMATION_MIN_PARAMETER (-16.0f)
#define TINT_TRANSFORMATION_MAX_PARAMETER 16.0f
-static void tint_transformation_finalize (PixelTransformation* obj);
+static void tint_transformation_finalize (PixelTransformation * obj);
#define TEMPERATURE_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformationPrivate))
enum {
TEMPERATURE_TRANSFORMATION_DUMMY_PROPERTY
@@ -755,21 +755,21 @@ enum {
#define TEMPERATURE_TRANSFORMATION_INTENSITY_FACTOR 0.33f
#define TEMPERATURE_TRANSFORMATION_MIN_PARAMETER (-16.0f)
#define TEMPERATURE_TRANSFORMATION_MAX_PARAMETER 16.0f
-static void temperature_transformation_finalize (PixelTransformation* obj);
+static void temperature_transformation_finalize (PixelTransformation * obj);
#define SATURATION_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SATURATION_TRANSFORMATION, SaturationTransformationPrivate))
enum {
SATURATION_TRANSFORMATION_DUMMY_PROPERTY
};
#define SATURATION_TRANSFORMATION_MIN_PARAMETER (-16.0f)
#define SATURATION_TRANSFORMATION_MAX_PARAMETER 16.0f
-static void saturation_transformation_finalize (PixelTransformation* obj);
+static void saturation_transformation_finalize (PixelTransformation * obj);
#define EXPOSURE_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformationPrivate))
enum {
EXPOSURE_TRANSFORMATION_DUMMY_PROPERTY
};
#define EXPOSURE_TRANSFORMATION_MIN_PARAMETER (-16.0f)
#define EXPOSURE_TRANSFORMATION_MAX_PARAMETER 16.0f
-static void exposure_transformation_finalize (PixelTransformation* obj);
+static void exposure_transformation_finalize (PixelTransformation * obj);
#define CONTRAST_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_CONTRAST_TRANSFORMATION, ContrastTransformationPrivate))
enum {
CONTRAST_TRANSFORMATION_DUMMY_PROPERTY
@@ -777,7 +777,7 @@ enum {
#define CONTRAST_TRANSFORMATION_MIN_PARAMETER (-16.0f)
#define CONTRAST_TRANSFORMATION_MAX_PARAMETER 16.0f
#define CONTRAST_TRANSFORMATION_MAX_CONTRAST_ADJUSTMENT 0.5f
-static void contrast_transformation_finalize (PixelTransformation* obj);
+static void contrast_transformation_finalize (PixelTransformation * obj);
#define PIXEL_TRANSFORMER_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_PIXEL_TRANSFORMER, PixelTransformerPrivate))
enum {
PIXEL_TRANSFORMER_DUMMY_PROPERTY
@@ -790,7 +790,7 @@ void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTran
void pixel_transformer_transform_pixbuf (PixelTransformer* self, GdkPixbuf* pixbuf, GCancellable* cancellable);
void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPixbuf* source, GdkPixbuf* dest, GCancellable* cancellable);
void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pixel_cache, int* fp_pixel_cache_length1, GdkPixbuf* dest);
-static void pixel_transformer_finalize (PixelTransformer* obj);
+static void pixel_transformer_finalize (PixelTransformer * obj);
gpointer rgb_histogram_ref (gpointer instance);
void rgb_histogram_unref (gpointer instance);
GParamSpec* param_spec_rgb_histogram (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -814,7 +814,7 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
static void rgb_histogram_smooth_extrema (RGBHistogram* self, gint** count_data, int* count_data_length1);
static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self);
GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self);
-static void rgb_histogram_finalize (RGBHistogram* obj);
+static void rgb_histogram_finalize (RGBHistogram * obj);
gpointer intensity_histogram_ref (gpointer instance);
void intensity_histogram_unref (gpointer instance);
GParamSpec* param_spec_intensity_histogram (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
@@ -829,7 +829,7 @@ enum {
IntensityHistogram* intensity_histogram_new (GdkPixbuf* pixbuf);
IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* pixbuf);
gfloat intensity_histogram_get_cumulative_probability (IntensityHistogram* self, gint level);
-static void intensity_histogram_finalize (IntensityHistogram* obj);
+static void intensity_histogram_finalize (IntensityHistogram * obj);
#define EXPANSION_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformationPrivate))
enum {
EXPANSION_TRANSFORMATION_DUMMY_PROPERTY
@@ -845,7 +845,7 @@ gint expansion_transformation_get_white_point (ExpansionTransformation* self);
gint expansion_transformation_get_black_point (ExpansionTransformation* self);
static gboolean expansion_transformation_real_is_identity (PixelTransformation* base);
static PixelTransformation* expansion_transformation_real_copy (PixelTransformation* base);
-static void expansion_transformation_finalize (PixelTransformation* obj);
+static void expansion_transformation_finalize (PixelTransformation * obj);
#define SHADOW_DETAIL_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformationPrivate))
enum {
SHADOW_DETAIL_TRANSFORMATION_DUMMY_PROPERTY
@@ -869,12 +869,12 @@ gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationF
static void shadow_detail_transformation_real_transform_pixel_hsv (PixelTransformation* base, HSVAnalyticPixel* pixel, HSVAnalyticPixel* result);
static PixelTransformation* shadow_detail_transformation_real_copy (PixelTransformation* base);
static gboolean shadow_detail_transformation_real_is_identity (PixelTransformation* base);
-static void shadow_detail_transformation_finalize (PixelTransformation* obj);
+static void shadow_detail_transformation_finalize (PixelTransformation * obj);
#define HERMITE_GAMMA_APPROXIMATION_FUNCTION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION, HermiteGammaApproximationFunctionPrivate))
enum {
HERMITE_GAMMA_APPROXIMATION_FUNCTION_DUMMY_PROPERTY
};
-static void hermite_gamma_approximation_function_finalize (HermiteGammaApproximationFunction* obj);
+static void hermite_gamma_approximation_function_finalize (HermiteGammaApproximationFunction * obj);
#define HIGHLIGHT_DETAIL_TRANSFORMATION_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformationPrivate))
enum {
HIGHLIGHT_DETAIL_TRANSFORMATION_DUMMY_PROPERTY
@@ -888,7 +888,7 @@ enum {
static void highlight_detail_transformation_real_transform_pixel_hsv (PixelTransformation* base, HSVAnalyticPixel* pixel, HSVAnalyticPixel* result);
static PixelTransformation* highlight_detail_transformation_real_copy (PixelTransformation* base);
static gboolean highlight_detail_transformation_real_is_identity (PixelTransformation* base);
-static void highlight_detail_transformation_finalize (PixelTransformation* obj);
+static void highlight_detail_transformation_finalize (PixelTransformation * obj);
#define AUTO_ENHANCE_SHADOW_DETECT_MIN_INTENSITY 8
#define AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY 100
#define AUTO_ENHANCE_SHADOW_DETECT_INTENSITY_RANGE (AUTO_ENHANCE_SHADOW_DETECT_MAX_INTENSITY - AUTO_ENHANCE_SHADOW_DETECT_MIN_INTENSITY)
@@ -914,12 +914,12 @@ void rgb_analytic_pixel_init (RGBAnalyticPixel *self) {
void rgb_analytic_pixel_init_from_components (RGBAnalyticPixel *self, gfloat red, gfloat green, gfloat blue) {
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
#line 20 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
memset (self, 0, sizeof (RGBAnalyticPixel));
#line 22 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -945,9 +945,9 @@ void rgb_analytic_pixel_init_from_components (RGBAnalyticPixel *self, gfloat red
void rgb_analytic_pixel_init_from_quantized_components (RGBAnalyticPixel *self, guchar red_quantized, guchar green_quantized, guchar blue_quantized) {
- guchar _tmp0_ = '\0';
- guchar _tmp1_ = '\0';
- guchar _tmp2_ = '\0';
+ guchar _tmp0_;
+ guchar _tmp1_;
+ guchar _tmp2_;
#line 27 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
memset (self, 0, sizeof (RGBAnalyticPixel));
#line 29 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -969,12 +969,12 @@ void rgb_analytic_pixel_init_from_quantized_components (RGBAnalyticPixel *self,
void rgb_analytic_pixel_init_from_hsv (RGBAnalyticPixel *self, HSVAnalyticPixel* hsv_pixel) {
RGBAnalyticPixel from_hsv = {0};
RGBAnalyticPixel _tmp0_ = {0};
- RGBAnalyticPixel _tmp1_ = {0};
- gfloat _tmp2_ = 0.0F;
- RGBAnalyticPixel _tmp3_ = {0};
- gfloat _tmp4_ = 0.0F;
- RGBAnalyticPixel _tmp5_ = {0};
- gfloat _tmp6_ = 0.0F;
+ RGBAnalyticPixel _tmp1_;
+ gfloat _tmp2_;
+ RGBAnalyticPixel _tmp3_;
+ gfloat _tmp4_;
+ RGBAnalyticPixel _tmp5_;
+ gfloat _tmp6_;
#line 34 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (hsv_pixel != NULL);
#line 34 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1007,7 +1007,7 @@ void rgb_analytic_pixel_init_from_hsv (RGBAnalyticPixel *self, HSVAnalyticPixel*
guchar rgb_analytic_pixel_quantized_red (RGBAnalyticPixel *self) {
guchar result = '\0';
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 42 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = (*self).red;
#line 42 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1020,7 +1020,7 @@ guchar rgb_analytic_pixel_quantized_red (RGBAnalyticPixel *self) {
guchar rgb_analytic_pixel_quantized_green (RGBAnalyticPixel *self) {
guchar result = '\0';
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 46 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = (*self).green;
#line 46 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1033,7 +1033,7 @@ guchar rgb_analytic_pixel_quantized_green (RGBAnalyticPixel *self) {
guchar rgb_analytic_pixel_quantized_blue (RGBAnalyticPixel *self) {
guchar result = '\0';
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 50 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = (*self).blue;
#line 50 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1048,9 +1048,9 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
- gfloat _tmp2_ = 0.0F;
- RGBAnalyticPixel* _tmp3_ = NULL;
- gfloat _tmp4_ = 0.0F;
+ gfloat _tmp2_;
+ RGBAnalyticPixel* _tmp3_;
+ gfloat _tmp4_;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp2_ = (*self).red;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1060,9 +1060,9 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp2_ == _tmp4_) {
#line 1063 "ColorTransformation.c"
- gfloat _tmp5_ = 0.0F;
- RGBAnalyticPixel* _tmp6_ = NULL;
- gfloat _tmp7_ = 0.0F;
+ gfloat _tmp5_;
+ RGBAnalyticPixel* _tmp6_;
+ gfloat _tmp7_;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = (*self).green;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1080,9 +1080,9 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp1_) {
#line 1083 "ColorTransformation.c"
- gfloat _tmp8_ = 0.0F;
- RGBAnalyticPixel* _tmp9_ = NULL;
- gfloat _tmp10_ = 0.0F;
+ gfloat _tmp8_;
+ RGBAnalyticPixel* _tmp9_;
+ gfloat _tmp10_;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = (*self).blue;
#line 54 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1107,9 +1107,9 @@ gboolean rgb_analytic_pixel_equals (RGBAnalyticPixel *self, RGBAnalyticPixel* rh
guint rgb_analytic_pixel_hash_code (RGBAnalyticPixel *self) {
guint result = 0U;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 58 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = (*self).red;
#line 58 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1180,12 +1180,12 @@ void hsv_analytic_pixel_init (HSVAnalyticPixel *self) {
void hsv_analytic_pixel_init_from_components (HSVAnalyticPixel *self, gfloat hue, gfloat saturation, gfloat light_value) {
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
#line 80 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
memset (self, 0, sizeof (HSVAnalyticPixel));
#line 82 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1211,9 +1211,9 @@ void hsv_analytic_pixel_init_from_components (HSVAnalyticPixel *self, gfloat hue
void hsv_analytic_pixel_init_from_quantized_components (HSVAnalyticPixel *self, guchar hue_quantized, guchar saturation_quantized, guchar light_value_quantized) {
- guchar _tmp0_ = '\0';
- guchar _tmp1_ = '\0';
- guchar _tmp2_ = '\0';
+ guchar _tmp0_;
+ guchar _tmp1_;
+ guchar _tmp2_;
#line 87 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
memset (self, 0, sizeof (HSVAnalyticPixel));
#line 89 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1234,33 +1234,33 @@ void hsv_analytic_pixel_init_from_quantized_components (HSVAnalyticPixel *self,
void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* p) {
gfloat max_component = 0.0F;
- RGBAnalyticPixel _tmp0_ = {0};
- gfloat _tmp1_ = 0.0F;
- RGBAnalyticPixel _tmp2_ = {0};
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- RGBAnalyticPixel _tmp5_ = {0};
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
+ RGBAnalyticPixel _tmp0_;
+ gfloat _tmp1_;
+ RGBAnalyticPixel _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ RGBAnalyticPixel _tmp5_;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
gfloat min_component = 0.0F;
- RGBAnalyticPixel _tmp8_ = {0};
- gfloat _tmp9_ = 0.0F;
- RGBAnalyticPixel _tmp10_ = {0};
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
- RGBAnalyticPixel _tmp13_ = {0};
- gfloat _tmp14_ = 0.0F;
- gfloat _tmp15_ = 0.0F;
- gfloat _tmp16_ = 0.0F;
+ RGBAnalyticPixel _tmp8_;
+ gfloat _tmp9_;
+ RGBAnalyticPixel _tmp10_;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
+ RGBAnalyticPixel _tmp13_;
+ gfloat _tmp14_;
+ gfloat _tmp15_;
+ gfloat _tmp16_;
gfloat _tmp17_ = 0.0F;
- gfloat _tmp18_ = 0.0F;
- gfloat _tmp22_ = 0.0F;
- gfloat _tmp53_ = 0.0F;
- gfloat _tmp54_ = 0.0F;
- gfloat _tmp55_ = 0.0F;
- gfloat _tmp56_ = 0.0F;
- gfloat _tmp57_ = 0.0F;
- gfloat _tmp58_ = 0.0F;
+ gfloat _tmp18_;
+ gfloat _tmp22_;
+ gfloat _tmp53_;
+ gfloat _tmp54_;
+ gfloat _tmp55_;
+ gfloat _tmp56_;
+ gfloat _tmp57_;
+ gfloat _tmp58_;
#line 94 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (p != NULL);
#line 94 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1310,9 +1310,9 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp18_ != 0.0f) {
#line 1313 "ColorTransformation.c"
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
- gfloat _tmp21_ = 0.0F;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
+ gfloat _tmp21_;
#line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp19_ = max_component;
#line 99 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1338,14 +1338,14 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 1339 "ColorTransformation.c"
} else {
gfloat delta = 0.0F;
- gfloat _tmp23_ = 0.0F;
- gfloat _tmp24_ = 0.0F;
- RGBAnalyticPixel _tmp25_ = {0};
- gfloat _tmp26_ = 0.0F;
- gfloat _tmp27_ = 0.0F;
- gfloat _tmp49_ = 0.0F;
- gfloat _tmp50_ = 0.0F;
- gfloat _tmp52_ = 0.0F;
+ gfloat _tmp23_;
+ gfloat _tmp24_;
+ RGBAnalyticPixel _tmp25_;
+ gfloat _tmp26_;
+ gfloat _tmp27_;
+ gfloat _tmp49_;
+ gfloat _tmp50_;
+ gfloat _tmp52_;
#line 105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp23_ = max_component;
#line 105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1361,11 +1361,11 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 106 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp26_ == _tmp27_) {
#line 1364 "ColorTransformation.c"
- RGBAnalyticPixel _tmp28_ = {0};
- gfloat _tmp29_ = 0.0F;
- RGBAnalyticPixel _tmp30_ = {0};
- gfloat _tmp31_ = 0.0F;
- gfloat _tmp32_ = 0.0F;
+ RGBAnalyticPixel _tmp28_;
+ gfloat _tmp29_;
+ RGBAnalyticPixel _tmp30_;
+ gfloat _tmp31_;
+ gfloat _tmp32_;
#line 107 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp28_ = *p;
#line 107 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1380,9 +1380,9 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
(*self).hue = (_tmp29_ - _tmp31_) / _tmp32_;
#line 1382 "ColorTransformation.c"
} else {
- RGBAnalyticPixel _tmp33_ = {0};
- gfloat _tmp34_ = 0.0F;
- gfloat _tmp35_ = 0.0F;
+ RGBAnalyticPixel _tmp33_;
+ gfloat _tmp34_;
+ gfloat _tmp35_;
#line 108 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp33_ = *p;
#line 108 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1392,11 +1392,11 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 108 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp34_ == _tmp35_) {
#line 1395 "ColorTransformation.c"
- RGBAnalyticPixel _tmp36_ = {0};
- gfloat _tmp37_ = 0.0F;
- RGBAnalyticPixel _tmp38_ = {0};
- gfloat _tmp39_ = 0.0F;
- gfloat _tmp40_ = 0.0F;
+ RGBAnalyticPixel _tmp36_;
+ gfloat _tmp37_;
+ RGBAnalyticPixel _tmp38_;
+ gfloat _tmp39_;
+ gfloat _tmp40_;
#line 109 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp36_ = *p;
#line 109 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1411,9 +1411,9 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
(*self).hue = 2.0f + ((_tmp37_ - _tmp39_) / _tmp40_);
#line 1413 "ColorTransformation.c"
} else {
- RGBAnalyticPixel _tmp41_ = {0};
- gfloat _tmp42_ = 0.0F;
- gfloat _tmp43_ = 0.0F;
+ RGBAnalyticPixel _tmp41_;
+ gfloat _tmp42_;
+ gfloat _tmp43_;
#line 110 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp41_ = *p;
#line 110 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1423,11 +1423,11 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 110 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp42_ == _tmp43_) {
#line 1426 "ColorTransformation.c"
- RGBAnalyticPixel _tmp44_ = {0};
- gfloat _tmp45_ = 0.0F;
- RGBAnalyticPixel _tmp46_ = {0};
- gfloat _tmp47_ = 0.0F;
- gfloat _tmp48_ = 0.0F;
+ RGBAnalyticPixel _tmp44_;
+ gfloat _tmp45_;
+ RGBAnalyticPixel _tmp46_;
+ gfloat _tmp47_;
+ gfloat _tmp48_;
#line 111 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp44_ = *p;
#line 111 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1453,7 +1453,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
#line 115 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp50_ < 0.0f) {
#line 1456 "ColorTransformation.c"
- gfloat _tmp51_ = 0.0F;
+ gfloat _tmp51_;
#line 116 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp51_ = (*self).hue;
#line 116 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1490,7 +1490,7 @@ void hsv_analytic_pixel_init_from_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel*
void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result) {
RGBAnalyticPixel _result_ = {0};
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 127 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
rgb_analytic_pixel_init (&_result_);
#line 129 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1498,9 +1498,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
#line 129 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp0_ == 0.0f) {
#line 1501 "ColorTransformation.c"
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
- gfloat _tmp3_ = 0.0F;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
+ gfloat _tmp3_;
#line 130 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = (*self).light_value;
#line 130 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1516,27 +1516,27 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
#line 1517 "ColorTransformation.c"
} else {
gfloat hue_denorm = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
gfloat hue_hexant = 0.0F;
- gfloat _tmp6_ = 0.0F;
+ gfloat _tmp6_;
gint hexant_i_part = 0;
- gfloat _tmp7_ = 0.0F;
+ gfloat _tmp7_;
gfloat hexant_f_part = 0.0F;
- gfloat _tmp8_ = 0.0F;
- gint _tmp9_ = 0;
+ gfloat _tmp8_;
+ gint _tmp9_;
gfloat p = 0.0F;
- gfloat _tmp10_ = 0.0F;
- gfloat _tmp11_ = 0.0F;
+ gfloat _tmp10_;
+ gfloat _tmp11_;
gfloat q = 0.0F;
- gfloat _tmp12_ = 0.0F;
- gfloat _tmp13_ = 0.0F;
- gfloat _tmp14_ = 0.0F;
+ gfloat _tmp12_;
+ gfloat _tmp13_;
+ gfloat _tmp14_;
gfloat t = 0.0F;
- gfloat _tmp15_ = 0.0F;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
- gint _tmp18_ = 0;
+ gfloat _tmp15_;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
+ gint _tmp18_;
#line 134 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp4_ = (*self).hue;
#line 134 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1593,9 +1593,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 0:
#line 1595 "ColorTransformation.c"
{
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
- gfloat _tmp21_ = 0.0F;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
+ gfloat _tmp21_;
#line 159 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp19_ = (*self).light_value;
#line 159 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1616,9 +1616,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 1:
#line 1618 "ColorTransformation.c"
{
- gfloat _tmp22_ = 0.0F;
- gfloat _tmp23_ = 0.0F;
- gfloat _tmp24_ = 0.0F;
+ gfloat _tmp22_;
+ gfloat _tmp23_;
+ gfloat _tmp24_;
#line 165 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp22_ = q;
#line 165 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1639,9 +1639,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 2:
#line 1641 "ColorTransformation.c"
{
- gfloat _tmp25_ = 0.0F;
- gfloat _tmp26_ = 0.0F;
- gfloat _tmp27_ = 0.0F;
+ gfloat _tmp25_;
+ gfloat _tmp26_;
+ gfloat _tmp27_;
#line 171 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp25_ = p;
#line 171 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1662,9 +1662,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 3:
#line 1664 "ColorTransformation.c"
{
- gfloat _tmp28_ = 0.0F;
- gfloat _tmp29_ = 0.0F;
- gfloat _tmp30_ = 0.0F;
+ gfloat _tmp28_;
+ gfloat _tmp29_;
+ gfloat _tmp30_;
#line 177 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp28_ = p;
#line 177 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1685,9 +1685,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 4:
#line 1687 "ColorTransformation.c"
{
- gfloat _tmp31_ = 0.0F;
- gfloat _tmp32_ = 0.0F;
- gfloat _tmp33_ = 0.0F;
+ gfloat _tmp31_;
+ gfloat _tmp32_;
+ gfloat _tmp33_;
#line 183 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp31_ = t;
#line 183 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1708,9 +1708,9 @@ void hsv_analytic_pixel_to_rgb (HSVAnalyticPixel *self, RGBAnalyticPixel* result
case 5:
#line 1710 "ColorTransformation.c"
{
- gfloat _tmp34_ = 0.0F;
- gfloat _tmp35_ = 0.0F;
- gfloat _tmp36_ = 0.0F;
+ gfloat _tmp34_;
+ gfloat _tmp35_;
+ gfloat _tmp36_;
#line 189 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp34_ = (*self).light_value;
#line 189 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1748,9 +1748,9 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
- gfloat _tmp2_ = 0.0F;
- HSVAnalyticPixel _tmp3_ = {0};
- gfloat _tmp4_ = 0.0F;
+ gfloat _tmp2_;
+ HSVAnalyticPixel _tmp3_;
+ gfloat _tmp4_;
#line 202 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (rhs != NULL, FALSE);
#line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1762,9 +1762,9 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh
#line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp2_ == _tmp4_) {
#line 1764 "ColorTransformation.c"
- gfloat _tmp5_ = 0.0F;
- HSVAnalyticPixel _tmp6_ = {0};
- gfloat _tmp7_ = 0.0F;
+ gfloat _tmp5_;
+ HSVAnalyticPixel _tmp6_;
+ gfloat _tmp7_;
#line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = (*self).saturation;
#line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1782,9 +1782,9 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh
#line 203 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp1_) {
#line 1784 "ColorTransformation.c"
- gfloat _tmp8_ = 0.0F;
- HSVAnalyticPixel _tmp9_ = {0};
- gfloat _tmp10_ = 0.0F;
+ gfloat _tmp8_;
+ HSVAnalyticPixel _tmp9_;
+ gfloat _tmp10_;
#line 204 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = (*self).light_value;
#line 204 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1809,9 +1809,9 @@ gboolean hsv_analytic_pixel_equals (HSVAnalyticPixel *self, HSVAnalyticPixel* rh
guint hsv_analytic_pixel_hash_code (HSVAnalyticPixel *self) {
guint result = 0U;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 208 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = (*self).hue;
#line 208 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1918,8 +1918,8 @@ static gpointer _pixel_transformation_bundle_ref0 (gpointer self) {
PixelTransformationBundle* pixel_transformation_bundle_get_copied_color_adjustments (void) {
PixelTransformationBundle* result = NULL;
- PixelTransformationBundle* _tmp0_ = NULL;
- PixelTransformationBundle* _tmp1_ = NULL;
+ PixelTransformationBundle* _tmp0_;
+ PixelTransformationBundle* _tmp1_;
#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = pixel_transformation_bundle_copied_color_adjustments;
#line 244 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1933,8 +1933,8 @@ PixelTransformationBundle* pixel_transformation_bundle_get_copied_color_adjustme
void pixel_transformation_bundle_set_copied_color_adjustments (PixelTransformationBundle* adjustments) {
- PixelTransformationBundle* _tmp0_ = NULL;
- PixelTransformationBundle* _tmp1_ = NULL;
+ PixelTransformationBundle* _tmp0_;
+ PixelTransformationBundle* _tmp1_;
#line 247 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (adjustments));
#line 248 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1951,7 +1951,7 @@ void pixel_transformation_bundle_set_copied_color_adjustments (PixelTransformati
gboolean pixel_transformation_bundle_has_copied_color_adjustments (void) {
gboolean result = FALSE;
- PixelTransformationBundle* _tmp0_ = NULL;
+ PixelTransformationBundle* _tmp0_;
#line 252 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = pixel_transformation_bundle_copied_color_adjustments;
#line 252 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1963,10 +1963,10 @@ gboolean pixel_transformation_bundle_has_copied_color_adjustments (void) {
void pixel_transformation_bundle_set (PixelTransformationBundle* self, PixelTransformation* transformation) {
- GeeHashMap* _tmp0_ = NULL;
- PixelTransformation* _tmp1_ = NULL;
- PixelTransformationType _tmp2_ = 0;
- PixelTransformation* _tmp3_ = NULL;
+ GeeHashMap* _tmp0_;
+ PixelTransformation* _tmp1_;
+ PixelTransformationType _tmp2_;
+ PixelTransformation* _tmp3_;
#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self));
#line 255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -1986,22 +1986,22 @@ void pixel_transformation_bundle_set (PixelTransformationBundle* self, PixelTran
void pixel_transformation_bundle_set_to_identity (PixelTransformationBundle* self) {
- ExpansionTransformation* _tmp0_ = NULL;
- ExpansionTransformation* _tmp1_ = NULL;
- ShadowDetailTransformation* _tmp2_ = NULL;
- ShadowDetailTransformation* _tmp3_ = NULL;
- HighlightDetailTransformation* _tmp4_ = NULL;
- HighlightDetailTransformation* _tmp5_ = NULL;
- TemperatureTransformation* _tmp6_ = NULL;
- TemperatureTransformation* _tmp7_ = NULL;
- TintTransformation* _tmp8_ = NULL;
- TintTransformation* _tmp9_ = NULL;
- SaturationTransformation* _tmp10_ = NULL;
- SaturationTransformation* _tmp11_ = NULL;
- ExposureTransformation* _tmp12_ = NULL;
- ExposureTransformation* _tmp13_ = NULL;
- ContrastTransformation* _tmp14_ = NULL;
- ContrastTransformation* _tmp15_ = NULL;
+ ExpansionTransformation* _tmp0_;
+ ExpansionTransformation* _tmp1_;
+ ShadowDetailTransformation* _tmp2_;
+ ShadowDetailTransformation* _tmp3_;
+ HighlightDetailTransformation* _tmp4_;
+ HighlightDetailTransformation* _tmp5_;
+ TemperatureTransformation* _tmp6_;
+ TemperatureTransformation* _tmp7_;
+ TintTransformation* _tmp8_;
+ TintTransformation* _tmp9_;
+ SaturationTransformation* _tmp10_;
+ SaturationTransformation* _tmp11_;
+ ExposureTransformation* _tmp12_;
+ ExposureTransformation* _tmp13_;
+ ContrastTransformation* _tmp14_;
+ ContrastTransformation* _tmp15_;
#line 259 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self));
#line 260 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2074,37 +2074,37 @@ void pixel_transformation_bundle_set_to_identity (PixelTransformationBundle* sel
void pixel_transformation_bundle_load (PixelTransformationBundle* self, KeyValueMap* store) {
gchar* expansion_params_encoded = NULL;
- KeyValueMap* _tmp0_ = NULL;
- gchar* _tmp1_ = NULL;
- const gchar* _tmp2_ = NULL;
- KeyValueMap* _tmp8_ = NULL;
- gfloat _tmp9_ = 0.0F;
- ShadowDetailTransformation* _tmp10_ = NULL;
- ShadowDetailTransformation* _tmp11_ = NULL;
- KeyValueMap* _tmp12_ = NULL;
- gfloat _tmp13_ = 0.0F;
- HighlightDetailTransformation* _tmp14_ = NULL;
- HighlightDetailTransformation* _tmp15_ = NULL;
- KeyValueMap* _tmp16_ = NULL;
- gfloat _tmp17_ = 0.0F;
- TemperatureTransformation* _tmp18_ = NULL;
- TemperatureTransformation* _tmp19_ = NULL;
- KeyValueMap* _tmp20_ = NULL;
- gfloat _tmp21_ = 0.0F;
- TintTransformation* _tmp22_ = NULL;
- TintTransformation* _tmp23_ = NULL;
- KeyValueMap* _tmp24_ = NULL;
- gfloat _tmp25_ = 0.0F;
- SaturationTransformation* _tmp26_ = NULL;
- SaturationTransformation* _tmp27_ = NULL;
- KeyValueMap* _tmp28_ = NULL;
- gfloat _tmp29_ = 0.0F;
- ExposureTransformation* _tmp30_ = NULL;
- ExposureTransformation* _tmp31_ = NULL;
- KeyValueMap* _tmp32_ = NULL;
- gfloat _tmp33_ = 0.0F;
- ContrastTransformation* _tmp34_ = NULL;
- ContrastTransformation* _tmp35_ = NULL;
+ KeyValueMap* _tmp0_;
+ gchar* _tmp1_;
+ const gchar* _tmp2_;
+ KeyValueMap* _tmp8_;
+ gfloat _tmp9_;
+ ShadowDetailTransformation* _tmp10_;
+ ShadowDetailTransformation* _tmp11_;
+ KeyValueMap* _tmp12_;
+ gfloat _tmp13_;
+ HighlightDetailTransformation* _tmp14_;
+ HighlightDetailTransformation* _tmp15_;
+ KeyValueMap* _tmp16_;
+ gfloat _tmp17_;
+ TemperatureTransformation* _tmp18_;
+ TemperatureTransformation* _tmp19_;
+ KeyValueMap* _tmp20_;
+ gfloat _tmp21_;
+ TintTransformation* _tmp22_;
+ TintTransformation* _tmp23_;
+ KeyValueMap* _tmp24_;
+ gfloat _tmp25_;
+ SaturationTransformation* _tmp26_;
+ SaturationTransformation* _tmp27_;
+ KeyValueMap* _tmp28_;
+ gfloat _tmp29_;
+ ExposureTransformation* _tmp30_;
+ ExposureTransformation* _tmp31_;
+ KeyValueMap* _tmp32_;
+ gfloat _tmp33_;
+ ContrastTransformation* _tmp34_;
+ ContrastTransformation* _tmp35_;
#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self));
#line 270 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2120,8 +2120,8 @@ void pixel_transformation_bundle_load (PixelTransformationBundle* self, KeyValue
#line 272 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_strcmp0 (_tmp2_, "-") == 0) {
#line 2122 "ColorTransformation.c"
- ExpansionTransformation* _tmp3_ = NULL;
- ExpansionTransformation* _tmp4_ = NULL;
+ ExpansionTransformation* _tmp3_;
+ ExpansionTransformation* _tmp4_;
#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = expansion_transformation_new_from_extrema (0, 255);
#line 273 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2132,9 +2132,9 @@ void pixel_transformation_bundle_load (PixelTransformationBundle* self, KeyValue
_pixel_transformation_unref0 (_tmp4_);
#line 2133 "ColorTransformation.c"
} else {
- const gchar* _tmp5_ = NULL;
- ExpansionTransformation* _tmp6_ = NULL;
- ExpansionTransformation* _tmp7_ = NULL;
+ const gchar* _tmp5_;
+ ExpansionTransformation* _tmp6_;
+ ExpansionTransformation* _tmp7_;
#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = expansion_params_encoded;
#line 275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2240,33 +2240,33 @@ void pixel_transformation_bundle_load (PixelTransformationBundle* self, KeyValue
KeyValueMap* pixel_transformation_bundle_save (PixelTransformationBundle* self, const gchar* group) {
KeyValueMap* result = NULL;
KeyValueMap* store = NULL;
- const gchar* _tmp0_ = NULL;
- KeyValueMap* _tmp1_ = NULL;
+ const gchar* _tmp0_;
+ KeyValueMap* _tmp1_;
ExpansionTransformation* new_expansion_trans = NULL;
- PixelTransformation* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- gchar* _tmp4_ = NULL;
+ PixelTransformation* _tmp2_;
+ gchar* _tmp3_;
+ gchar* _tmp4_;
ShadowDetailTransformation* new_shadows_trans = NULL;
- PixelTransformation* _tmp5_ = NULL;
- gfloat _tmp6_ = 0.0F;
+ PixelTransformation* _tmp5_;
+ gfloat _tmp6_;
HighlightDetailTransformation* new_highlight_trans = NULL;
- PixelTransformation* _tmp7_ = NULL;
- gfloat _tmp8_ = 0.0F;
+ PixelTransformation* _tmp7_;
+ gfloat _tmp8_;
TemperatureTransformation* new_temp_trans = NULL;
- PixelTransformation* _tmp9_ = NULL;
- gfloat _tmp10_ = 0.0F;
+ PixelTransformation* _tmp9_;
+ gfloat _tmp10_;
TintTransformation* new_tint_trans = NULL;
- PixelTransformation* _tmp11_ = NULL;
- gfloat _tmp12_ = 0.0F;
+ PixelTransformation* _tmp11_;
+ gfloat _tmp12_;
SaturationTransformation* new_sat_trans = NULL;
- PixelTransformation* _tmp13_ = NULL;
- gfloat _tmp14_ = 0.0F;
+ PixelTransformation* _tmp13_;
+ gfloat _tmp14_;
ExposureTransformation* new_exposure_trans = NULL;
- PixelTransformation* _tmp15_ = NULL;
- gfloat _tmp16_ = 0.0F;
+ PixelTransformation* _tmp15_;
+ gfloat _tmp16_;
ContrastTransformation* new_contrast_trans = NULL;
- PixelTransformation* _tmp17_ = NULL;
- gfloat _tmp18_ = 0.0F;
+ PixelTransformation* _tmp17_;
+ gfloat _tmp18_;
#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL);
#line 286 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2387,9 +2387,9 @@ KeyValueMap* pixel_transformation_bundle_save (PixelTransformationBundle* self,
gint pixel_transformation_bundle_get_count (PixelTransformationBundle* self) {
gint result = 0;
- GeeHashMap* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
+ GeeHashMap* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
#line 332 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), 0);
#line 333 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2408,9 +2408,9 @@ gint pixel_transformation_bundle_get_count (PixelTransformationBundle* self) {
PixelTransformation* pixel_transformation_bundle_get_transformation (PixelTransformationBundle* self, PixelTransformationType type) {
PixelTransformation* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- PixelTransformationType _tmp1_ = 0;
- gpointer _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ PixelTransformationType _tmp1_;
+ gpointer _tmp2_;
#line 336 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL);
#line 337 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2429,9 +2429,9 @@ PixelTransformation* pixel_transformation_bundle_get_transformation (PixelTransf
GeeIterable* pixel_transformation_bundle_get_transformations (PixelTransformationBundle* self) {
GeeIterable* result = NULL;
- GeeHashMap* _tmp0_ = NULL;
- GeeCollection* _tmp1_ = NULL;
- GeeCollection* _tmp2_ = NULL;
+ GeeHashMap* _tmp0_;
+ GeeCollection* _tmp1_;
+ GeeCollection* _tmp2_;
#line 340 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL);
#line 341 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2455,10 +2455,10 @@ gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* sel
#line 2455 "ColorTransformation.c"
{
GeeIterator* _adjustment_it = NULL;
- GeeIterable* _tmp0_ = NULL;
- GeeIterable* _tmp1_ = NULL;
- GeeIterator* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
+ GeeIterable* _tmp0_;
+ GeeIterable* _tmp1_;
+ GeeIterator* _tmp2_;
+ GeeIterator* _tmp3_;
#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = pixel_transformation_bundle_get_transformations (self);
#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2474,13 +2474,13 @@ gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* sel
#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 2476 "ColorTransformation.c"
- GeeIterator* _tmp4_ = NULL;
- gboolean _tmp5_ = FALSE;
+ GeeIterator* _tmp4_;
+ gboolean _tmp5_;
PixelTransformation* adjustment = NULL;
- GeeIterator* _tmp6_ = NULL;
- gpointer _tmp7_ = NULL;
- PixelTransformation* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
+ GeeIterator* _tmp6_;
+ gpointer _tmp7_;
+ PixelTransformation* _tmp8_;
+ gboolean _tmp9_;
#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp4_ = _adjustment_it;
#line 345 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2532,7 +2532,7 @@ gboolean pixel_transformation_bundle_is_identity (PixelTransformationBundle* sel
PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransformationBundle* self) {
PixelTransformer* result = NULL;
PixelTransformer* transformer = NULL;
- PixelTransformer* _tmp0_ = NULL;
+ PixelTransformer* _tmp0_;
#line 353 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL);
#line 354 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2542,10 +2542,10 @@ PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransfo
#line 2542 "ColorTransformation.c"
{
GeeIterator* _transformation_it = NULL;
- GeeIterable* _tmp1_ = NULL;
- GeeIterable* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
+ GeeIterable* _tmp1_;
+ GeeIterable* _tmp2_;
+ GeeIterator* _tmp3_;
+ GeeIterator* _tmp4_;
#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = pixel_transformation_bundle_get_transformations (self);
#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2561,13 +2561,13 @@ PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransfo
#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 2563 "ColorTransformation.c"
- GeeIterator* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GeeIterator* _tmp5_;
+ gboolean _tmp6_;
PixelTransformation* transformation = NULL;
- GeeIterator* _tmp7_ = NULL;
- gpointer _tmp8_ = NULL;
- PixelTransformer* _tmp9_ = NULL;
- PixelTransformation* _tmp10_ = NULL;
+ GeeIterator* _tmp7_;
+ gpointer _tmp8_;
+ PixelTransformer* _tmp9_;
+ PixelTransformation* _tmp10_;
#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = _transformation_it;
#line 355 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2609,7 +2609,7 @@ PixelTransformer* pixel_transformation_bundle_generate_transformer (PixelTransfo
PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformationBundle* self) {
PixelTransformationBundle* result = NULL;
PixelTransformationBundle* bundle = NULL;
- PixelTransformationBundle* _tmp0_ = NULL;
+ PixelTransformationBundle* _tmp0_;
#line 361 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (self), NULL);
#line 362 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2619,10 +2619,10 @@ PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformation
#line 2619 "ColorTransformation.c"
{
GeeIterator* _transformation_it = NULL;
- GeeIterable* _tmp1_ = NULL;
- GeeIterable* _tmp2_ = NULL;
- GeeIterator* _tmp3_ = NULL;
- GeeIterator* _tmp4_ = NULL;
+ GeeIterable* _tmp1_;
+ GeeIterable* _tmp2_;
+ GeeIterator* _tmp3_;
+ GeeIterator* _tmp4_;
#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = pixel_transformation_bundle_get_transformations (self);
#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2638,13 +2638,13 @@ PixelTransformationBundle* pixel_transformation_bundle_copy (PixelTransformation
#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 2640 "ColorTransformation.c"
- GeeIterator* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
+ GeeIterator* _tmp5_;
+ gboolean _tmp6_;
PixelTransformation* transformation = NULL;
- GeeIterator* _tmp7_ = NULL;
- gpointer _tmp8_ = NULL;
- PixelTransformationBundle* _tmp9_ = NULL;
- PixelTransformation* _tmp10_ = NULL;
+ GeeIterator* _tmp7_;
+ gpointer _tmp8_;
+ PixelTransformationBundle* _tmp9_;
+ PixelTransformation* _tmp10_;
#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = _transformation_it;
#line 363 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2725,7 +2725,7 @@ static gchar* value_pixel_transformation_bundle_collect_value (GValue* value, gu
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 2727 "ColorTransformation.c"
- PixelTransformationBundle* object;
+ PixelTransformationBundle * object;
object = collect_values[0].v_pointer;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -2752,7 +2752,7 @@ static gchar* value_pixel_transformation_bundle_collect_value (GValue* value, gu
static gchar* value_pixel_transformation_bundle_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PixelTransformationBundle** object_p;
+ PixelTransformationBundle ** object_p;
object_p = collect_values[0].v_pointer;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -2804,7 +2804,7 @@ gpointer value_get_pixel_transformation_bundle (const GValue* value) {
void value_set_pixel_transformation_bundle (GValue* value, gpointer v_object) {
- PixelTransformationBundle* old;
+ PixelTransformationBundle * old;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION_BUNDLE));
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2835,7 +2835,7 @@ void value_set_pixel_transformation_bundle (GValue* value, gpointer v_object) {
void value_take_pixel_transformation_bundle (GValue* value, gpointer v_object) {
- PixelTransformationBundle* old;
+ PixelTransformationBundle * old;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION_BUNDLE));
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2875,13 +2875,13 @@ static void pixel_transformation_bundle_class_init (PixelTransformationBundleCla
static void pixel_transformation_bundle_instance_init (PixelTransformationBundle * self) {
- void* _tmp0_ = NULL;
- GDestroyNotify _tmp1_ = NULL;
- GeeHashDataFunc _tmp2_ = NULL;
- void* _tmp3_ = NULL;
- GDestroyNotify _tmp4_ = NULL;
- GeeEqualDataFunc _tmp5_ = NULL;
- GeeHashMap* _tmp6_ = NULL;
+ void* _tmp0_;
+ GDestroyNotify _tmp1_;
+ GeeHashDataFunc _tmp2_;
+ void* _tmp3_;
+ GDestroyNotify _tmp4_;
+ GeeEqualDataFunc _tmp5_;
+ GeeHashMap* _tmp6_;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self->priv = PIXEL_TRANSFORMATION_BUNDLE_GET_PRIVATE (self);
#line 237 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2898,7 +2898,7 @@ static void pixel_transformation_bundle_instance_init (PixelTransformationBundle
}
-static void pixel_transformation_bundle_finalize (PixelTransformationBundle* obj) {
+static void pixel_transformation_bundle_finalize (PixelTransformationBundle * obj) {
PixelTransformationBundle * self;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMATION_BUNDLE, PixelTransformationBundle);
@@ -2925,7 +2925,7 @@ GType pixel_transformation_bundle_get_type (void) {
gpointer pixel_transformation_bundle_ref (gpointer instance) {
- PixelTransformationBundle* self;
+ PixelTransformationBundle * self;
self = instance;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -2936,7 +2936,7 @@ gpointer pixel_transformation_bundle_ref (gpointer instance) {
void pixel_transformation_bundle_unref (gpointer instance) {
- PixelTransformationBundle* self;
+ PixelTransformationBundle * self;
self = instance;
#line 234 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -2951,7 +2951,7 @@ void pixel_transformation_bundle_unref (gpointer instance) {
PixelTransformation* pixel_transformation_construct (GType object_type, PixelTransformationType type) {
PixelTransformation* self = NULL;
- PixelTransformationType _tmp0_ = 0;
+ PixelTransformationType _tmp0_;
#line 373 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (PixelTransformation*) g_type_create_instance (object_type);
#line 374 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -2966,7 +2966,7 @@ PixelTransformation* pixel_transformation_construct (GType object_type, PixelTra
PixelTransformationType pixel_transformation_get_transformation_type (PixelTransformation* self) {
PixelTransformationType result = 0;
- PixelTransformationType _tmp0_ = 0;
+ PixelTransformationType _tmp0_;
#line 377 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (self), 0);
#line 378 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3054,7 +3054,7 @@ gboolean pixel_transformation_is_identity (PixelTransformation* self) {
static void pixel_transformation_real_transform_pixel_hsv (PixelTransformation* self, HSVAnalyticPixel* p, HSVAnalyticPixel* result) {
- HSVAnalyticPixel _tmp0_ = {0};
+ HSVAnalyticPixel _tmp0_;
#line 396 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (p != NULL);
#line 397 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3077,7 +3077,7 @@ void pixel_transformation_transform_pixel_hsv (PixelTransformation* self, HSVAna
static void pixel_transformation_real_transform_pixel_rgb (PixelTransformation* self, RGBAnalyticPixel* p, RGBAnalyticPixel* result) {
- RGBAnalyticPixel _tmp0_ = {0};
+ RGBAnalyticPixel _tmp0_;
#line 400 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (p != NULL);
#line 401 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3101,7 +3101,7 @@ void pixel_transformation_transform_pixel_rgb (PixelTransformation* self, RGBAna
static gchar* pixel_transformation_real_to_string (PixelTransformation* self) {
gchar* result = NULL;
- gchar* _tmp0_ = NULL;
+ gchar* _tmp0_;
#line 405 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = g_strdup ("PixelTransformation");
#line 405 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3181,7 +3181,7 @@ static gchar* value_pixel_transformation_collect_value (GValue* value, guint n_c
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 3183 "ColorTransformation.c"
- PixelTransformation* object;
+ PixelTransformation * object;
object = collect_values[0].v_pointer;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -3208,7 +3208,7 @@ static gchar* value_pixel_transformation_collect_value (GValue* value, guint n_c
static gchar* value_pixel_transformation_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PixelTransformation** object_p;
+ PixelTransformation ** object_p;
object_p = collect_values[0].v_pointer;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -3260,7 +3260,7 @@ gpointer value_get_pixel_transformation (const GValue* value) {
void value_set_pixel_transformation (GValue* value, gpointer v_object) {
- PixelTransformation* old;
+ PixelTransformation * old;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION));
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3291,7 +3291,7 @@ void value_set_pixel_transformation (GValue* value, gpointer v_object) {
void value_take_pixel_transformation (GValue* value, gpointer v_object) {
- PixelTransformation* old;
+ PixelTransformation * old;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMATION));
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3327,21 +3327,21 @@ static void pixel_transformation_class_init (PixelTransformationClass * klass) {
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_type_class_add_private (klass, sizeof (PixelTransformationPrivate));
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*)(PixelTransformation*)) pixel_transformation_real_get_preferred_format;
+ ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*) (PixelTransformation *)) pixel_transformation_real_get_preferred_format;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->get_composition_mode = (CompositionMode (*)(PixelTransformation*)) pixel_transformation_real_get_composition_mode;
+ ((PixelTransformationClass *) klass)->get_composition_mode = (CompositionMode (*) (PixelTransformation *)) pixel_transformation_real_get_composition_mode;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->compose_with = (void (*)(PixelTransformation*, PixelTransformation*)) pixel_transformation_real_compose_with;
+ ((PixelTransformationClass *) klass)->compose_with = (void (*) (PixelTransformation *, PixelTransformation*)) pixel_transformation_real_compose_with;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->is_identity = (gboolean (*)(PixelTransformation*)) pixel_transformation_real_is_identity;
+ ((PixelTransformationClass *) klass)->is_identity = (gboolean (*) (PixelTransformation *)) pixel_transformation_real_is_identity;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*)(PixelTransformation*, HSVAnalyticPixel*, HSVAnalyticPixel*)) pixel_transformation_real_transform_pixel_hsv;
+ ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*) (PixelTransformation *, HSVAnalyticPixel*, HSVAnalyticPixel*)) pixel_transformation_real_transform_pixel_hsv;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*)(PixelTransformation*, RGBAnalyticPixel*, RGBAnalyticPixel*)) pixel_transformation_real_transform_pixel_rgb;
+ ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*) (PixelTransformation *, RGBAnalyticPixel*, RGBAnalyticPixel*)) pixel_transformation_real_transform_pixel_rgb;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->to_string = (gchar* (*)(PixelTransformation*)) pixel_transformation_real_to_string;
+ ((PixelTransformationClass *) klass)->to_string = (gchar* (*) (PixelTransformation *)) pixel_transformation_real_to_string;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*)(PixelTransformation*)) pixel_transformation_real_copy;
+ ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*) (PixelTransformation *)) pixel_transformation_real_copy;
#line 3345 "ColorTransformation.c"
}
@@ -3355,7 +3355,7 @@ static void pixel_transformation_instance_init (PixelTransformation * self) {
}
-static void pixel_transformation_finalize (PixelTransformation* obj) {
+static void pixel_transformation_finalize (PixelTransformation * obj) {
PixelTransformation * self;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMATION, PixelTransformation);
@@ -3380,7 +3380,7 @@ GType pixel_transformation_get_type (void) {
gpointer pixel_transformation_ref (gpointer instance) {
- PixelTransformation* self;
+ PixelTransformation * self;
self = instance;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -3391,7 +3391,7 @@ gpointer pixel_transformation_ref (gpointer instance) {
void pixel_transformation_unref (gpointer instance) {
- PixelTransformation* self;
+ PixelTransformation * self;
self = instance;
#line 370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -3406,8 +3406,8 @@ void pixel_transformation_unref (gpointer instance) {
RGBTransformation* rgb_transformation_construct (GType object_type, PixelTransformationType type) {
RGBTransformation* self = NULL;
- PixelTransformationType _tmp0_ = 0;
- gfloat* _tmp1_ = NULL;
+ PixelTransformationType _tmp0_;
+ gfloat* _tmp1_;
#line 421 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = type;
#line 421 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -3500,513 +3500,513 @@ static gpointer _pixel_transformation_ref0 (gpointer self) {
static void rgb_transformation_real_compose_with (PixelTransformation* base, PixelTransformation* other) {
RGBTransformation * self;
- PixelTransformation* _tmp0_ = NULL;
- CompositionMode _tmp1_ = 0;
+ PixelTransformation* _tmp0_;
+ CompositionMode _tmp1_;
RGBTransformation* transform = NULL;
- PixelTransformation* _tmp2_ = NULL;
- RGBTransformation* _tmp3_ = NULL;
+ PixelTransformation* _tmp2_;
+ RGBTransformation* _tmp3_;
gfloat* result_matrix_entries = NULL;
- gfloat* _tmp4_ = NULL;
- gint result_matrix_entries_length1 = 0;
- gint _result_matrix_entries_size_ = 0;
- gfloat* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- RGBTransformation* _tmp6_ = NULL;
- gfloat* _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- gfloat _tmp8_ = 0.0F;
- gfloat* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- gfloat _tmp10_ = 0.0F;
- RGBTransformation* _tmp11_ = NULL;
- gfloat* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- gfloat _tmp13_ = 0.0F;
- gfloat* _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gfloat _tmp15_ = 0.0F;
- RGBTransformation* _tmp16_ = NULL;
- gfloat* _tmp17_ = NULL;
- gint _tmp17__length1 = 0;
- gfloat _tmp18_ = 0.0F;
- gfloat* _tmp19_ = NULL;
- gint _tmp19__length1 = 0;
- gfloat _tmp20_ = 0.0F;
- RGBTransformation* _tmp21_ = NULL;
- gfloat* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gfloat _tmp23_ = 0.0F;
- gfloat* _tmp24_ = NULL;
- gint _tmp24__length1 = 0;
- gfloat _tmp25_ = 0.0F;
- gfloat _tmp26_ = 0.0F;
- gfloat* _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
- RGBTransformation* _tmp28_ = NULL;
- gfloat* _tmp29_ = NULL;
- gint _tmp29__length1 = 0;
- gfloat _tmp30_ = 0.0F;
- gfloat* _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
- gfloat _tmp32_ = 0.0F;
- RGBTransformation* _tmp33_ = NULL;
- gfloat* _tmp34_ = NULL;
- gint _tmp34__length1 = 0;
- gfloat _tmp35_ = 0.0F;
- gfloat* _tmp36_ = NULL;
- gint _tmp36__length1 = 0;
- gfloat _tmp37_ = 0.0F;
- RGBTransformation* _tmp38_ = NULL;
- gfloat* _tmp39_ = NULL;
- gint _tmp39__length1 = 0;
- gfloat _tmp40_ = 0.0F;
- gfloat* _tmp41_ = NULL;
- gint _tmp41__length1 = 0;
- gfloat _tmp42_ = 0.0F;
- RGBTransformation* _tmp43_ = NULL;
- gfloat* _tmp44_ = NULL;
- gint _tmp44__length1 = 0;
- gfloat _tmp45_ = 0.0F;
- gfloat* _tmp46_ = NULL;
- gint _tmp46__length1 = 0;
- gfloat _tmp47_ = 0.0F;
- gfloat _tmp48_ = 0.0F;
- gfloat* _tmp49_ = NULL;
- gint _tmp49__length1 = 0;
- RGBTransformation* _tmp50_ = NULL;
- gfloat* _tmp51_ = NULL;
- gint _tmp51__length1 = 0;
- gfloat _tmp52_ = 0.0F;
- gfloat* _tmp53_ = NULL;
- gint _tmp53__length1 = 0;
- gfloat _tmp54_ = 0.0F;
- RGBTransformation* _tmp55_ = NULL;
- gfloat* _tmp56_ = NULL;
- gint _tmp56__length1 = 0;
- gfloat _tmp57_ = 0.0F;
- gfloat* _tmp58_ = NULL;
- gint _tmp58__length1 = 0;
- gfloat _tmp59_ = 0.0F;
- RGBTransformation* _tmp60_ = NULL;
- gfloat* _tmp61_ = NULL;
- gint _tmp61__length1 = 0;
- gfloat _tmp62_ = 0.0F;
- gfloat* _tmp63_ = NULL;
- gint _tmp63__length1 = 0;
- gfloat _tmp64_ = 0.0F;
- RGBTransformation* _tmp65_ = NULL;
- gfloat* _tmp66_ = NULL;
- gint _tmp66__length1 = 0;
- gfloat _tmp67_ = 0.0F;
- gfloat* _tmp68_ = NULL;
- gint _tmp68__length1 = 0;
- gfloat _tmp69_ = 0.0F;
- gfloat _tmp70_ = 0.0F;
- gfloat* _tmp71_ = NULL;
- gint _tmp71__length1 = 0;
- RGBTransformation* _tmp72_ = NULL;
- gfloat* _tmp73_ = NULL;
- gint _tmp73__length1 = 0;
- gfloat _tmp74_ = 0.0F;
- gfloat* _tmp75_ = NULL;
- gint _tmp75__length1 = 0;
- gfloat _tmp76_ = 0.0F;
- RGBTransformation* _tmp77_ = NULL;
- gfloat* _tmp78_ = NULL;
- gint _tmp78__length1 = 0;
- gfloat _tmp79_ = 0.0F;
- gfloat* _tmp80_ = NULL;
- gint _tmp80__length1 = 0;
- gfloat _tmp81_ = 0.0F;
- RGBTransformation* _tmp82_ = NULL;
- gfloat* _tmp83_ = NULL;
- gint _tmp83__length1 = 0;
- gfloat _tmp84_ = 0.0F;
- gfloat* _tmp85_ = NULL;
- gint _tmp85__length1 = 0;
- gfloat _tmp86_ = 0.0F;
- RGBTransformation* _tmp87_ = NULL;
- gfloat* _tmp88_ = NULL;
- gint _tmp88__length1 = 0;
- gfloat _tmp89_ = 0.0F;
- gfloat* _tmp90_ = NULL;
- gint _tmp90__length1 = 0;
- gfloat _tmp91_ = 0.0F;
- gfloat _tmp92_ = 0.0F;
- gfloat* _tmp93_ = NULL;
- gint _tmp93__length1 = 0;
- RGBTransformation* _tmp94_ = NULL;
- gfloat* _tmp95_ = NULL;
- gint _tmp95__length1 = 0;
- gfloat _tmp96_ = 0.0F;
- gfloat* _tmp97_ = NULL;
- gint _tmp97__length1 = 0;
- gfloat _tmp98_ = 0.0F;
- RGBTransformation* _tmp99_ = NULL;
- gfloat* _tmp100_ = NULL;
- gint _tmp100__length1 = 0;
- gfloat _tmp101_ = 0.0F;
- gfloat* _tmp102_ = NULL;
- gint _tmp102__length1 = 0;
- gfloat _tmp103_ = 0.0F;
- RGBTransformation* _tmp104_ = NULL;
- gfloat* _tmp105_ = NULL;
- gint _tmp105__length1 = 0;
- gfloat _tmp106_ = 0.0F;
- gfloat* _tmp107_ = NULL;
- gint _tmp107__length1 = 0;
- gfloat _tmp108_ = 0.0F;
- RGBTransformation* _tmp109_ = NULL;
- gfloat* _tmp110_ = NULL;
- gint _tmp110__length1 = 0;
- gfloat _tmp111_ = 0.0F;
- gfloat* _tmp112_ = NULL;
- gint _tmp112__length1 = 0;
- gfloat _tmp113_ = 0.0F;
- gfloat _tmp114_ = 0.0F;
- gfloat* _tmp115_ = NULL;
- gint _tmp115__length1 = 0;
- RGBTransformation* _tmp116_ = NULL;
- gfloat* _tmp117_ = NULL;
- gint _tmp117__length1 = 0;
- gfloat _tmp118_ = 0.0F;
- gfloat* _tmp119_ = NULL;
- gint _tmp119__length1 = 0;
- gfloat _tmp120_ = 0.0F;
- RGBTransformation* _tmp121_ = NULL;
- gfloat* _tmp122_ = NULL;
- gint _tmp122__length1 = 0;
- gfloat _tmp123_ = 0.0F;
- gfloat* _tmp124_ = NULL;
- gint _tmp124__length1 = 0;
- gfloat _tmp125_ = 0.0F;
- RGBTransformation* _tmp126_ = NULL;
- gfloat* _tmp127_ = NULL;
- gint _tmp127__length1 = 0;
- gfloat _tmp128_ = 0.0F;
- gfloat* _tmp129_ = NULL;
- gint _tmp129__length1 = 0;
- gfloat _tmp130_ = 0.0F;
- RGBTransformation* _tmp131_ = NULL;
- gfloat* _tmp132_ = NULL;
- gint _tmp132__length1 = 0;
- gfloat _tmp133_ = 0.0F;
- gfloat* _tmp134_ = NULL;
- gint _tmp134__length1 = 0;
- gfloat _tmp135_ = 0.0F;
- gfloat _tmp136_ = 0.0F;
- gfloat* _tmp137_ = NULL;
- gint _tmp137__length1 = 0;
- RGBTransformation* _tmp138_ = NULL;
- gfloat* _tmp139_ = NULL;
- gint _tmp139__length1 = 0;
- gfloat _tmp140_ = 0.0F;
- gfloat* _tmp141_ = NULL;
- gint _tmp141__length1 = 0;
- gfloat _tmp142_ = 0.0F;
- RGBTransformation* _tmp143_ = NULL;
- gfloat* _tmp144_ = NULL;
- gint _tmp144__length1 = 0;
- gfloat _tmp145_ = 0.0F;
- gfloat* _tmp146_ = NULL;
- gint _tmp146__length1 = 0;
- gfloat _tmp147_ = 0.0F;
- RGBTransformation* _tmp148_ = NULL;
- gfloat* _tmp149_ = NULL;
- gint _tmp149__length1 = 0;
- gfloat _tmp150_ = 0.0F;
- gfloat* _tmp151_ = NULL;
- gint _tmp151__length1 = 0;
- gfloat _tmp152_ = 0.0F;
- RGBTransformation* _tmp153_ = NULL;
- gfloat* _tmp154_ = NULL;
- gint _tmp154__length1 = 0;
- gfloat _tmp155_ = 0.0F;
- gfloat* _tmp156_ = NULL;
- gint _tmp156__length1 = 0;
- gfloat _tmp157_ = 0.0F;
- gfloat _tmp158_ = 0.0F;
- gfloat* _tmp159_ = NULL;
- gint _tmp159__length1 = 0;
- RGBTransformation* _tmp160_ = NULL;
- gfloat* _tmp161_ = NULL;
- gint _tmp161__length1 = 0;
- gfloat _tmp162_ = 0.0F;
- gfloat* _tmp163_ = NULL;
- gint _tmp163__length1 = 0;
- gfloat _tmp164_ = 0.0F;
- RGBTransformation* _tmp165_ = NULL;
- gfloat* _tmp166_ = NULL;
- gint _tmp166__length1 = 0;
- gfloat _tmp167_ = 0.0F;
- gfloat* _tmp168_ = NULL;
- gint _tmp168__length1 = 0;
- gfloat _tmp169_ = 0.0F;
- RGBTransformation* _tmp170_ = NULL;
- gfloat* _tmp171_ = NULL;
- gint _tmp171__length1 = 0;
- gfloat _tmp172_ = 0.0F;
- gfloat* _tmp173_ = NULL;
- gint _tmp173__length1 = 0;
- gfloat _tmp174_ = 0.0F;
- RGBTransformation* _tmp175_ = NULL;
- gfloat* _tmp176_ = NULL;
- gint _tmp176__length1 = 0;
- gfloat _tmp177_ = 0.0F;
- gfloat* _tmp178_ = NULL;
- gint _tmp178__length1 = 0;
- gfloat _tmp179_ = 0.0F;
- gfloat _tmp180_ = 0.0F;
- gfloat* _tmp181_ = NULL;
- gint _tmp181__length1 = 0;
- RGBTransformation* _tmp182_ = NULL;
- gfloat* _tmp183_ = NULL;
- gint _tmp183__length1 = 0;
- gfloat _tmp184_ = 0.0F;
- gfloat* _tmp185_ = NULL;
- gint _tmp185__length1 = 0;
- gfloat _tmp186_ = 0.0F;
- RGBTransformation* _tmp187_ = NULL;
- gfloat* _tmp188_ = NULL;
- gint _tmp188__length1 = 0;
- gfloat _tmp189_ = 0.0F;
- gfloat* _tmp190_ = NULL;
- gint _tmp190__length1 = 0;
- gfloat _tmp191_ = 0.0F;
- RGBTransformation* _tmp192_ = NULL;
- gfloat* _tmp193_ = NULL;
- gint _tmp193__length1 = 0;
- gfloat _tmp194_ = 0.0F;
- gfloat* _tmp195_ = NULL;
- gint _tmp195__length1 = 0;
- gfloat _tmp196_ = 0.0F;
- RGBTransformation* _tmp197_ = NULL;
- gfloat* _tmp198_ = NULL;
- gint _tmp198__length1 = 0;
- gfloat _tmp199_ = 0.0F;
- gfloat* _tmp200_ = NULL;
- gint _tmp200__length1 = 0;
- gfloat _tmp201_ = 0.0F;
- gfloat _tmp202_ = 0.0F;
- gfloat* _tmp203_ = NULL;
- gint _tmp203__length1 = 0;
- RGBTransformation* _tmp204_ = NULL;
- gfloat* _tmp205_ = NULL;
- gint _tmp205__length1 = 0;
- gfloat _tmp206_ = 0.0F;
- gfloat* _tmp207_ = NULL;
- gint _tmp207__length1 = 0;
- gfloat _tmp208_ = 0.0F;
- RGBTransformation* _tmp209_ = NULL;
- gfloat* _tmp210_ = NULL;
- gint _tmp210__length1 = 0;
- gfloat _tmp211_ = 0.0F;
- gfloat* _tmp212_ = NULL;
- gint _tmp212__length1 = 0;
- gfloat _tmp213_ = 0.0F;
- RGBTransformation* _tmp214_ = NULL;
- gfloat* _tmp215_ = NULL;
- gint _tmp215__length1 = 0;
- gfloat _tmp216_ = 0.0F;
- gfloat* _tmp217_ = NULL;
- gint _tmp217__length1 = 0;
- gfloat _tmp218_ = 0.0F;
- RGBTransformation* _tmp219_ = NULL;
- gfloat* _tmp220_ = NULL;
- gint _tmp220__length1 = 0;
- gfloat _tmp221_ = 0.0F;
- gfloat* _tmp222_ = NULL;
- gint _tmp222__length1 = 0;
- gfloat _tmp223_ = 0.0F;
- gfloat _tmp224_ = 0.0F;
- gfloat* _tmp225_ = NULL;
- gint _tmp225__length1 = 0;
- RGBTransformation* _tmp226_ = NULL;
- gfloat* _tmp227_ = NULL;
- gint _tmp227__length1 = 0;
- gfloat _tmp228_ = 0.0F;
- gfloat* _tmp229_ = NULL;
- gint _tmp229__length1 = 0;
- gfloat _tmp230_ = 0.0F;
- RGBTransformation* _tmp231_ = NULL;
- gfloat* _tmp232_ = NULL;
- gint _tmp232__length1 = 0;
- gfloat _tmp233_ = 0.0F;
- gfloat* _tmp234_ = NULL;
- gint _tmp234__length1 = 0;
- gfloat _tmp235_ = 0.0F;
- RGBTransformation* _tmp236_ = NULL;
- gfloat* _tmp237_ = NULL;
- gint _tmp237__length1 = 0;
- gfloat _tmp238_ = 0.0F;
- gfloat* _tmp239_ = NULL;
- gint _tmp239__length1 = 0;
- gfloat _tmp240_ = 0.0F;
- RGBTransformation* _tmp241_ = NULL;
- gfloat* _tmp242_ = NULL;
- gint _tmp242__length1 = 0;
- gfloat _tmp243_ = 0.0F;
- gfloat* _tmp244_ = NULL;
- gint _tmp244__length1 = 0;
- gfloat _tmp245_ = 0.0F;
- gfloat _tmp246_ = 0.0F;
- gfloat* _tmp247_ = NULL;
- gint _tmp247__length1 = 0;
- RGBTransformation* _tmp248_ = NULL;
- gfloat* _tmp249_ = NULL;
- gint _tmp249__length1 = 0;
- gfloat _tmp250_ = 0.0F;
- gfloat* _tmp251_ = NULL;
- gint _tmp251__length1 = 0;
- gfloat _tmp252_ = 0.0F;
- RGBTransformation* _tmp253_ = NULL;
- gfloat* _tmp254_ = NULL;
- gint _tmp254__length1 = 0;
- gfloat _tmp255_ = 0.0F;
- gfloat* _tmp256_ = NULL;
- gint _tmp256__length1 = 0;
- gfloat _tmp257_ = 0.0F;
- RGBTransformation* _tmp258_ = NULL;
- gfloat* _tmp259_ = NULL;
- gint _tmp259__length1 = 0;
- gfloat _tmp260_ = 0.0F;
- gfloat* _tmp261_ = NULL;
- gint _tmp261__length1 = 0;
- gfloat _tmp262_ = 0.0F;
- RGBTransformation* _tmp263_ = NULL;
- gfloat* _tmp264_ = NULL;
- gint _tmp264__length1 = 0;
- gfloat _tmp265_ = 0.0F;
- gfloat* _tmp266_ = NULL;
- gint _tmp266__length1 = 0;
- gfloat _tmp267_ = 0.0F;
- gfloat _tmp268_ = 0.0F;
- gfloat* _tmp269_ = NULL;
- gint _tmp269__length1 = 0;
- RGBTransformation* _tmp270_ = NULL;
- gfloat* _tmp271_ = NULL;
- gint _tmp271__length1 = 0;
- gfloat _tmp272_ = 0.0F;
- gfloat* _tmp273_ = NULL;
- gint _tmp273__length1 = 0;
- gfloat _tmp274_ = 0.0F;
- RGBTransformation* _tmp275_ = NULL;
- gfloat* _tmp276_ = NULL;
- gint _tmp276__length1 = 0;
- gfloat _tmp277_ = 0.0F;
- gfloat* _tmp278_ = NULL;
- gint _tmp278__length1 = 0;
- gfloat _tmp279_ = 0.0F;
- RGBTransformation* _tmp280_ = NULL;
- gfloat* _tmp281_ = NULL;
- gint _tmp281__length1 = 0;
- gfloat _tmp282_ = 0.0F;
- gfloat* _tmp283_ = NULL;
- gint _tmp283__length1 = 0;
- gfloat _tmp284_ = 0.0F;
- RGBTransformation* _tmp285_ = NULL;
- gfloat* _tmp286_ = NULL;
- gint _tmp286__length1 = 0;
- gfloat _tmp287_ = 0.0F;
- gfloat* _tmp288_ = NULL;
- gint _tmp288__length1 = 0;
- gfloat _tmp289_ = 0.0F;
- gfloat _tmp290_ = 0.0F;
- gfloat* _tmp291_ = NULL;
- gint _tmp291__length1 = 0;
- RGBTransformation* _tmp292_ = NULL;
- gfloat* _tmp293_ = NULL;
- gint _tmp293__length1 = 0;
- gfloat _tmp294_ = 0.0F;
- gfloat* _tmp295_ = NULL;
- gint _tmp295__length1 = 0;
- gfloat _tmp296_ = 0.0F;
- RGBTransformation* _tmp297_ = NULL;
- gfloat* _tmp298_ = NULL;
- gint _tmp298__length1 = 0;
- gfloat _tmp299_ = 0.0F;
- gfloat* _tmp300_ = NULL;
- gint _tmp300__length1 = 0;
- gfloat _tmp301_ = 0.0F;
- RGBTransformation* _tmp302_ = NULL;
- gfloat* _tmp303_ = NULL;
- gint _tmp303__length1 = 0;
- gfloat _tmp304_ = 0.0F;
- gfloat* _tmp305_ = NULL;
- gint _tmp305__length1 = 0;
- gfloat _tmp306_ = 0.0F;
- RGBTransformation* _tmp307_ = NULL;
- gfloat* _tmp308_ = NULL;
- gint _tmp308__length1 = 0;
- gfloat _tmp309_ = 0.0F;
- gfloat* _tmp310_ = NULL;
- gint _tmp310__length1 = 0;
- gfloat _tmp311_ = 0.0F;
- gfloat _tmp312_ = 0.0F;
- gfloat* _tmp313_ = NULL;
- gint _tmp313__length1 = 0;
- RGBTransformation* _tmp314_ = NULL;
- gfloat* _tmp315_ = NULL;
- gint _tmp315__length1 = 0;
- gfloat _tmp316_ = 0.0F;
- gfloat* _tmp317_ = NULL;
- gint _tmp317__length1 = 0;
- gfloat _tmp318_ = 0.0F;
- RGBTransformation* _tmp319_ = NULL;
- gfloat* _tmp320_ = NULL;
- gint _tmp320__length1 = 0;
- gfloat _tmp321_ = 0.0F;
- gfloat* _tmp322_ = NULL;
- gint _tmp322__length1 = 0;
- gfloat _tmp323_ = 0.0F;
- RGBTransformation* _tmp324_ = NULL;
- gfloat* _tmp325_ = NULL;
- gint _tmp325__length1 = 0;
- gfloat _tmp326_ = 0.0F;
- gfloat* _tmp327_ = NULL;
- gint _tmp327__length1 = 0;
- gfloat _tmp328_ = 0.0F;
- RGBTransformation* _tmp329_ = NULL;
- gfloat* _tmp330_ = NULL;
- gint _tmp330__length1 = 0;
- gfloat _tmp331_ = 0.0F;
- gfloat* _tmp332_ = NULL;
- gint _tmp332__length1 = 0;
- gfloat _tmp333_ = 0.0F;
- gfloat _tmp334_ = 0.0F;
- gfloat* _tmp335_ = NULL;
- gint _tmp335__length1 = 0;
- RGBTransformation* _tmp336_ = NULL;
- gfloat* _tmp337_ = NULL;
- gint _tmp337__length1 = 0;
- gfloat _tmp338_ = 0.0F;
- gfloat* _tmp339_ = NULL;
- gint _tmp339__length1 = 0;
- gfloat _tmp340_ = 0.0F;
- RGBTransformation* _tmp341_ = NULL;
- gfloat* _tmp342_ = NULL;
- gint _tmp342__length1 = 0;
- gfloat _tmp343_ = 0.0F;
- gfloat* _tmp344_ = NULL;
- gint _tmp344__length1 = 0;
- gfloat _tmp345_ = 0.0F;
- RGBTransformation* _tmp346_ = NULL;
- gfloat* _tmp347_ = NULL;
- gint _tmp347__length1 = 0;
- gfloat _tmp348_ = 0.0F;
- gfloat* _tmp349_ = NULL;
- gint _tmp349__length1 = 0;
- gfloat _tmp350_ = 0.0F;
- RGBTransformation* _tmp351_ = NULL;
- gfloat* _tmp352_ = NULL;
- gint _tmp352__length1 = 0;
- gfloat _tmp353_ = 0.0F;
- gfloat* _tmp354_ = NULL;
- gint _tmp354__length1 = 0;
- gfloat _tmp355_ = 0.0F;
- gfloat _tmp356_ = 0.0F;
+ gfloat* _tmp4_;
+ gint result_matrix_entries_length1;
+ gint _result_matrix_entries_size_;
+ gfloat* _tmp5_;
+ gint _tmp5__length1;
+ RGBTransformation* _tmp6_;
+ gfloat* _tmp7_;
+ gint _tmp7__length1;
+ gfloat _tmp8_;
+ gfloat* _tmp9_;
+ gint _tmp9__length1;
+ gfloat _tmp10_;
+ RGBTransformation* _tmp11_;
+ gfloat* _tmp12_;
+ gint _tmp12__length1;
+ gfloat _tmp13_;
+ gfloat* _tmp14_;
+ gint _tmp14__length1;
+ gfloat _tmp15_;
+ RGBTransformation* _tmp16_;
+ gfloat* _tmp17_;
+ gint _tmp17__length1;
+ gfloat _tmp18_;
+ gfloat* _tmp19_;
+ gint _tmp19__length1;
+ gfloat _tmp20_;
+ RGBTransformation* _tmp21_;
+ gfloat* _tmp22_;
+ gint _tmp22__length1;
+ gfloat _tmp23_;
+ gfloat* _tmp24_;
+ gint _tmp24__length1;
+ gfloat _tmp25_;
+ gfloat _tmp26_;
+ gfloat* _tmp27_;
+ gint _tmp27__length1;
+ RGBTransformation* _tmp28_;
+ gfloat* _tmp29_;
+ gint _tmp29__length1;
+ gfloat _tmp30_;
+ gfloat* _tmp31_;
+ gint _tmp31__length1;
+ gfloat _tmp32_;
+ RGBTransformation* _tmp33_;
+ gfloat* _tmp34_;
+ gint _tmp34__length1;
+ gfloat _tmp35_;
+ gfloat* _tmp36_;
+ gint _tmp36__length1;
+ gfloat _tmp37_;
+ RGBTransformation* _tmp38_;
+ gfloat* _tmp39_;
+ gint _tmp39__length1;
+ gfloat _tmp40_;
+ gfloat* _tmp41_;
+ gint _tmp41__length1;
+ gfloat _tmp42_;
+ RGBTransformation* _tmp43_;
+ gfloat* _tmp44_;
+ gint _tmp44__length1;
+ gfloat _tmp45_;
+ gfloat* _tmp46_;
+ gint _tmp46__length1;
+ gfloat _tmp47_;
+ gfloat _tmp48_;
+ gfloat* _tmp49_;
+ gint _tmp49__length1;
+ RGBTransformation* _tmp50_;
+ gfloat* _tmp51_;
+ gint _tmp51__length1;
+ gfloat _tmp52_;
+ gfloat* _tmp53_;
+ gint _tmp53__length1;
+ gfloat _tmp54_;
+ RGBTransformation* _tmp55_;
+ gfloat* _tmp56_;
+ gint _tmp56__length1;
+ gfloat _tmp57_;
+ gfloat* _tmp58_;
+ gint _tmp58__length1;
+ gfloat _tmp59_;
+ RGBTransformation* _tmp60_;
+ gfloat* _tmp61_;
+ gint _tmp61__length1;
+ gfloat _tmp62_;
+ gfloat* _tmp63_;
+ gint _tmp63__length1;
+ gfloat _tmp64_;
+ RGBTransformation* _tmp65_;
+ gfloat* _tmp66_;
+ gint _tmp66__length1;
+ gfloat _tmp67_;
+ gfloat* _tmp68_;
+ gint _tmp68__length1;
+ gfloat _tmp69_;
+ gfloat _tmp70_;
+ gfloat* _tmp71_;
+ gint _tmp71__length1;
+ RGBTransformation* _tmp72_;
+ gfloat* _tmp73_;
+ gint _tmp73__length1;
+ gfloat _tmp74_;
+ gfloat* _tmp75_;
+ gint _tmp75__length1;
+ gfloat _tmp76_;
+ RGBTransformation* _tmp77_;
+ gfloat* _tmp78_;
+ gint _tmp78__length1;
+ gfloat _tmp79_;
+ gfloat* _tmp80_;
+ gint _tmp80__length1;
+ gfloat _tmp81_;
+ RGBTransformation* _tmp82_;
+ gfloat* _tmp83_;
+ gint _tmp83__length1;
+ gfloat _tmp84_;
+ gfloat* _tmp85_;
+ gint _tmp85__length1;
+ gfloat _tmp86_;
+ RGBTransformation* _tmp87_;
+ gfloat* _tmp88_;
+ gint _tmp88__length1;
+ gfloat _tmp89_;
+ gfloat* _tmp90_;
+ gint _tmp90__length1;
+ gfloat _tmp91_;
+ gfloat _tmp92_;
+ gfloat* _tmp93_;
+ gint _tmp93__length1;
+ RGBTransformation* _tmp94_;
+ gfloat* _tmp95_;
+ gint _tmp95__length1;
+ gfloat _tmp96_;
+ gfloat* _tmp97_;
+ gint _tmp97__length1;
+ gfloat _tmp98_;
+ RGBTransformation* _tmp99_;
+ gfloat* _tmp100_;
+ gint _tmp100__length1;
+ gfloat _tmp101_;
+ gfloat* _tmp102_;
+ gint _tmp102__length1;
+ gfloat _tmp103_;
+ RGBTransformation* _tmp104_;
+ gfloat* _tmp105_;
+ gint _tmp105__length1;
+ gfloat _tmp106_;
+ gfloat* _tmp107_;
+ gint _tmp107__length1;
+ gfloat _tmp108_;
+ RGBTransformation* _tmp109_;
+ gfloat* _tmp110_;
+ gint _tmp110__length1;
+ gfloat _tmp111_;
+ gfloat* _tmp112_;
+ gint _tmp112__length1;
+ gfloat _tmp113_;
+ gfloat _tmp114_;
+ gfloat* _tmp115_;
+ gint _tmp115__length1;
+ RGBTransformation* _tmp116_;
+ gfloat* _tmp117_;
+ gint _tmp117__length1;
+ gfloat _tmp118_;
+ gfloat* _tmp119_;
+ gint _tmp119__length1;
+ gfloat _tmp120_;
+ RGBTransformation* _tmp121_;
+ gfloat* _tmp122_;
+ gint _tmp122__length1;
+ gfloat _tmp123_;
+ gfloat* _tmp124_;
+ gint _tmp124__length1;
+ gfloat _tmp125_;
+ RGBTransformation* _tmp126_;
+ gfloat* _tmp127_;
+ gint _tmp127__length1;
+ gfloat _tmp128_;
+ gfloat* _tmp129_;
+ gint _tmp129__length1;
+ gfloat _tmp130_;
+ RGBTransformation* _tmp131_;
+ gfloat* _tmp132_;
+ gint _tmp132__length1;
+ gfloat _tmp133_;
+ gfloat* _tmp134_;
+ gint _tmp134__length1;
+ gfloat _tmp135_;
+ gfloat _tmp136_;
+ gfloat* _tmp137_;
+ gint _tmp137__length1;
+ RGBTransformation* _tmp138_;
+ gfloat* _tmp139_;
+ gint _tmp139__length1;
+ gfloat _tmp140_;
+ gfloat* _tmp141_;
+ gint _tmp141__length1;
+ gfloat _tmp142_;
+ RGBTransformation* _tmp143_;
+ gfloat* _tmp144_;
+ gint _tmp144__length1;
+ gfloat _tmp145_;
+ gfloat* _tmp146_;
+ gint _tmp146__length1;
+ gfloat _tmp147_;
+ RGBTransformation* _tmp148_;
+ gfloat* _tmp149_;
+ gint _tmp149__length1;
+ gfloat _tmp150_;
+ gfloat* _tmp151_;
+ gint _tmp151__length1;
+ gfloat _tmp152_;
+ RGBTransformation* _tmp153_;
+ gfloat* _tmp154_;
+ gint _tmp154__length1;
+ gfloat _tmp155_;
+ gfloat* _tmp156_;
+ gint _tmp156__length1;
+ gfloat _tmp157_;
+ gfloat _tmp158_;
+ gfloat* _tmp159_;
+ gint _tmp159__length1;
+ RGBTransformation* _tmp160_;
+ gfloat* _tmp161_;
+ gint _tmp161__length1;
+ gfloat _tmp162_;
+ gfloat* _tmp163_;
+ gint _tmp163__length1;
+ gfloat _tmp164_;
+ RGBTransformation* _tmp165_;
+ gfloat* _tmp166_;
+ gint _tmp166__length1;
+ gfloat _tmp167_;
+ gfloat* _tmp168_;
+ gint _tmp168__length1;
+ gfloat _tmp169_;
+ RGBTransformation* _tmp170_;
+ gfloat* _tmp171_;
+ gint _tmp171__length1;
+ gfloat _tmp172_;
+ gfloat* _tmp173_;
+ gint _tmp173__length1;
+ gfloat _tmp174_;
+ RGBTransformation* _tmp175_;
+ gfloat* _tmp176_;
+ gint _tmp176__length1;
+ gfloat _tmp177_;
+ gfloat* _tmp178_;
+ gint _tmp178__length1;
+ gfloat _tmp179_;
+ gfloat _tmp180_;
+ gfloat* _tmp181_;
+ gint _tmp181__length1;
+ RGBTransformation* _tmp182_;
+ gfloat* _tmp183_;
+ gint _tmp183__length1;
+ gfloat _tmp184_;
+ gfloat* _tmp185_;
+ gint _tmp185__length1;
+ gfloat _tmp186_;
+ RGBTransformation* _tmp187_;
+ gfloat* _tmp188_;
+ gint _tmp188__length1;
+ gfloat _tmp189_;
+ gfloat* _tmp190_;
+ gint _tmp190__length1;
+ gfloat _tmp191_;
+ RGBTransformation* _tmp192_;
+ gfloat* _tmp193_;
+ gint _tmp193__length1;
+ gfloat _tmp194_;
+ gfloat* _tmp195_;
+ gint _tmp195__length1;
+ gfloat _tmp196_;
+ RGBTransformation* _tmp197_;
+ gfloat* _tmp198_;
+ gint _tmp198__length1;
+ gfloat _tmp199_;
+ gfloat* _tmp200_;
+ gint _tmp200__length1;
+ gfloat _tmp201_;
+ gfloat _tmp202_;
+ gfloat* _tmp203_;
+ gint _tmp203__length1;
+ RGBTransformation* _tmp204_;
+ gfloat* _tmp205_;
+ gint _tmp205__length1;
+ gfloat _tmp206_;
+ gfloat* _tmp207_;
+ gint _tmp207__length1;
+ gfloat _tmp208_;
+ RGBTransformation* _tmp209_;
+ gfloat* _tmp210_;
+ gint _tmp210__length1;
+ gfloat _tmp211_;
+ gfloat* _tmp212_;
+ gint _tmp212__length1;
+ gfloat _tmp213_;
+ RGBTransformation* _tmp214_;
+ gfloat* _tmp215_;
+ gint _tmp215__length1;
+ gfloat _tmp216_;
+ gfloat* _tmp217_;
+ gint _tmp217__length1;
+ gfloat _tmp218_;
+ RGBTransformation* _tmp219_;
+ gfloat* _tmp220_;
+ gint _tmp220__length1;
+ gfloat _tmp221_;
+ gfloat* _tmp222_;
+ gint _tmp222__length1;
+ gfloat _tmp223_;
+ gfloat _tmp224_;
+ gfloat* _tmp225_;
+ gint _tmp225__length1;
+ RGBTransformation* _tmp226_;
+ gfloat* _tmp227_;
+ gint _tmp227__length1;
+ gfloat _tmp228_;
+ gfloat* _tmp229_;
+ gint _tmp229__length1;
+ gfloat _tmp230_;
+ RGBTransformation* _tmp231_;
+ gfloat* _tmp232_;
+ gint _tmp232__length1;
+ gfloat _tmp233_;
+ gfloat* _tmp234_;
+ gint _tmp234__length1;
+ gfloat _tmp235_;
+ RGBTransformation* _tmp236_;
+ gfloat* _tmp237_;
+ gint _tmp237__length1;
+ gfloat _tmp238_;
+ gfloat* _tmp239_;
+ gint _tmp239__length1;
+ gfloat _tmp240_;
+ RGBTransformation* _tmp241_;
+ gfloat* _tmp242_;
+ gint _tmp242__length1;
+ gfloat _tmp243_;
+ gfloat* _tmp244_;
+ gint _tmp244__length1;
+ gfloat _tmp245_;
+ gfloat _tmp246_;
+ gfloat* _tmp247_;
+ gint _tmp247__length1;
+ RGBTransformation* _tmp248_;
+ gfloat* _tmp249_;
+ gint _tmp249__length1;
+ gfloat _tmp250_;
+ gfloat* _tmp251_;
+ gint _tmp251__length1;
+ gfloat _tmp252_;
+ RGBTransformation* _tmp253_;
+ gfloat* _tmp254_;
+ gint _tmp254__length1;
+ gfloat _tmp255_;
+ gfloat* _tmp256_;
+ gint _tmp256__length1;
+ gfloat _tmp257_;
+ RGBTransformation* _tmp258_;
+ gfloat* _tmp259_;
+ gint _tmp259__length1;
+ gfloat _tmp260_;
+ gfloat* _tmp261_;
+ gint _tmp261__length1;
+ gfloat _tmp262_;
+ RGBTransformation* _tmp263_;
+ gfloat* _tmp264_;
+ gint _tmp264__length1;
+ gfloat _tmp265_;
+ gfloat* _tmp266_;
+ gint _tmp266__length1;
+ gfloat _tmp267_;
+ gfloat _tmp268_;
+ gfloat* _tmp269_;
+ gint _tmp269__length1;
+ RGBTransformation* _tmp270_;
+ gfloat* _tmp271_;
+ gint _tmp271__length1;
+ gfloat _tmp272_;
+ gfloat* _tmp273_;
+ gint _tmp273__length1;
+ gfloat _tmp274_;
+ RGBTransformation* _tmp275_;
+ gfloat* _tmp276_;
+ gint _tmp276__length1;
+ gfloat _tmp277_;
+ gfloat* _tmp278_;
+ gint _tmp278__length1;
+ gfloat _tmp279_;
+ RGBTransformation* _tmp280_;
+ gfloat* _tmp281_;
+ gint _tmp281__length1;
+ gfloat _tmp282_;
+ gfloat* _tmp283_;
+ gint _tmp283__length1;
+ gfloat _tmp284_;
+ RGBTransformation* _tmp285_;
+ gfloat* _tmp286_;
+ gint _tmp286__length1;
+ gfloat _tmp287_;
+ gfloat* _tmp288_;
+ gint _tmp288__length1;
+ gfloat _tmp289_;
+ gfloat _tmp290_;
+ gfloat* _tmp291_;
+ gint _tmp291__length1;
+ RGBTransformation* _tmp292_;
+ gfloat* _tmp293_;
+ gint _tmp293__length1;
+ gfloat _tmp294_;
+ gfloat* _tmp295_;
+ gint _tmp295__length1;
+ gfloat _tmp296_;
+ RGBTransformation* _tmp297_;
+ gfloat* _tmp298_;
+ gint _tmp298__length1;
+ gfloat _tmp299_;
+ gfloat* _tmp300_;
+ gint _tmp300__length1;
+ gfloat _tmp301_;
+ RGBTransformation* _tmp302_;
+ gfloat* _tmp303_;
+ gint _tmp303__length1;
+ gfloat _tmp304_;
+ gfloat* _tmp305_;
+ gint _tmp305__length1;
+ gfloat _tmp306_;
+ RGBTransformation* _tmp307_;
+ gfloat* _tmp308_;
+ gint _tmp308__length1;
+ gfloat _tmp309_;
+ gfloat* _tmp310_;
+ gint _tmp310__length1;
+ gfloat _tmp311_;
+ gfloat _tmp312_;
+ gfloat* _tmp313_;
+ gint _tmp313__length1;
+ RGBTransformation* _tmp314_;
+ gfloat* _tmp315_;
+ gint _tmp315__length1;
+ gfloat _tmp316_;
+ gfloat* _tmp317_;
+ gint _tmp317__length1;
+ gfloat _tmp318_;
+ RGBTransformation* _tmp319_;
+ gfloat* _tmp320_;
+ gint _tmp320__length1;
+ gfloat _tmp321_;
+ gfloat* _tmp322_;
+ gint _tmp322__length1;
+ gfloat _tmp323_;
+ RGBTransformation* _tmp324_;
+ gfloat* _tmp325_;
+ gint _tmp325__length1;
+ gfloat _tmp326_;
+ gfloat* _tmp327_;
+ gint _tmp327__length1;
+ gfloat _tmp328_;
+ RGBTransformation* _tmp329_;
+ gfloat* _tmp330_;
+ gint _tmp330__length1;
+ gfloat _tmp331_;
+ gfloat* _tmp332_;
+ gint _tmp332__length1;
+ gfloat _tmp333_;
+ gfloat _tmp334_;
+ gfloat* _tmp335_;
+ gint _tmp335__length1;
+ RGBTransformation* _tmp336_;
+ gfloat* _tmp337_;
+ gint _tmp337__length1;
+ gfloat _tmp338_;
+ gfloat* _tmp339_;
+ gint _tmp339__length1;
+ gfloat _tmp340_;
+ RGBTransformation* _tmp341_;
+ gfloat* _tmp342_;
+ gint _tmp342__length1;
+ gfloat _tmp343_;
+ gfloat* _tmp344_;
+ gint _tmp344__length1;
+ gfloat _tmp345_;
+ RGBTransformation* _tmp346_;
+ gfloat* _tmp347_;
+ gint _tmp347__length1;
+ gfloat _tmp348_;
+ gfloat* _tmp349_;
+ gint _tmp349__length1;
+ gfloat _tmp350_;
+ RGBTransformation* _tmp351_;
+ gfloat* _tmp352_;
+ gint _tmp352__length1;
+ gfloat _tmp353_;
+ gfloat* _tmp354_;
+ gint _tmp354__length1;
+ gfloat _tmp355_;
+ gfloat _tmp356_;
gboolean _tmp366_ = FALSE;
- gboolean _tmp367_ = FALSE;
+ gboolean _tmp367_;
#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation);
#line 442 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5072,19 +5072,19 @@ static void rgb_transformation_real_compose_with (PixelTransformation* base, Pix
#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 5074 "ColorTransformation.c"
- gint _tmp359_ = 0;
- gfloat* _tmp360_ = NULL;
- gint _tmp360__length1 = 0;
- gint _tmp361_ = 0;
- gfloat* _tmp362_ = NULL;
- gint _tmp362__length1 = 0;
- gint _tmp363_ = 0;
- gfloat _tmp364_ = 0.0F;
- gfloat _tmp365_ = 0.0F;
+ gint _tmp359_;
+ gfloat* _tmp360_;
+ gint _tmp360__length1;
+ gint _tmp361_;
+ gfloat* _tmp362_;
+ gint _tmp362__length1;
+ gint _tmp363_;
+ gfloat _tmp364_;
+ gfloat _tmp365_;
#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp357_) {
#line 5086 "ColorTransformation.c"
- gint _tmp358_ = 0;
+ gint _tmp358_;
#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp358_ = i;
#line 551 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5128,8 +5128,8 @@ static void rgb_transformation_real_compose_with (PixelTransformation* base, Pix
#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp367_) {
#line 5130 "ColorTransformation.c"
- RGBTransformation* _tmp368_ = NULL;
- gboolean _tmp369_ = FALSE;
+ RGBTransformation* _tmp368_;
+ gboolean _tmp369_;
#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp368_ = transform;
#line 554 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5178,71 +5178,71 @@ static void rgb_transformation_real_transform_pixel_hsv (PixelTransformation* ba
static void rgb_transformation_real_transform_pixel_rgb (PixelTransformation* base, RGBAnalyticPixel* p, RGBAnalyticPixel* result) {
RGBTransformation * self;
gfloat red_out = 0.0F;
- RGBAnalyticPixel _tmp0_ = {0};
- gfloat _tmp1_ = 0.0F;
- gfloat* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gfloat _tmp3_ = 0.0F;
- RGBAnalyticPixel _tmp4_ = {0};
- gfloat _tmp5_ = 0.0F;
- gfloat* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- gfloat _tmp7_ = 0.0F;
- RGBAnalyticPixel _tmp8_ = {0};
- gfloat _tmp9_ = 0.0F;
- gfloat* _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- gfloat _tmp11_ = 0.0F;
- gfloat* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- gfloat _tmp13_ = 0.0F;
- gfloat _tmp14_ = 0.0F;
- gfloat _tmp15_ = 0.0F;
+ RGBAnalyticPixel _tmp0_;
+ gfloat _tmp1_;
+ gfloat* _tmp2_;
+ gint _tmp2__length1;
+ gfloat _tmp3_;
+ RGBAnalyticPixel _tmp4_;
+ gfloat _tmp5_;
+ gfloat* _tmp6_;
+ gint _tmp6__length1;
+ gfloat _tmp7_;
+ RGBAnalyticPixel _tmp8_;
+ gfloat _tmp9_;
+ gfloat* _tmp10_;
+ gint _tmp10__length1;
+ gfloat _tmp11_;
+ gfloat* _tmp12_;
+ gint _tmp12__length1;
+ gfloat _tmp13_;
+ gfloat _tmp14_;
+ gfloat _tmp15_;
gfloat green_out = 0.0F;
- RGBAnalyticPixel _tmp16_ = {0};
- gfloat _tmp17_ = 0.0F;
- gfloat* _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
- gfloat _tmp19_ = 0.0F;
- RGBAnalyticPixel _tmp20_ = {0};
- gfloat _tmp21_ = 0.0F;
- gfloat* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gfloat _tmp23_ = 0.0F;
- RGBAnalyticPixel _tmp24_ = {0};
- gfloat _tmp25_ = 0.0F;
- gfloat* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gfloat _tmp27_ = 0.0F;
- gfloat* _tmp28_ = NULL;
- gint _tmp28__length1 = 0;
- gfloat _tmp29_ = 0.0F;
- gfloat _tmp30_ = 0.0F;
- gfloat _tmp31_ = 0.0F;
+ RGBAnalyticPixel _tmp16_;
+ gfloat _tmp17_;
+ gfloat* _tmp18_;
+ gint _tmp18__length1;
+ gfloat _tmp19_;
+ RGBAnalyticPixel _tmp20_;
+ gfloat _tmp21_;
+ gfloat* _tmp22_;
+ gint _tmp22__length1;
+ gfloat _tmp23_;
+ RGBAnalyticPixel _tmp24_;
+ gfloat _tmp25_;
+ gfloat* _tmp26_;
+ gint _tmp26__length1;
+ gfloat _tmp27_;
+ gfloat* _tmp28_;
+ gint _tmp28__length1;
+ gfloat _tmp29_;
+ gfloat _tmp30_;
+ gfloat _tmp31_;
gfloat blue_out = 0.0F;
- RGBAnalyticPixel _tmp32_ = {0};
- gfloat _tmp33_ = 0.0F;
- gfloat* _tmp34_ = NULL;
- gint _tmp34__length1 = 0;
- gfloat _tmp35_ = 0.0F;
- RGBAnalyticPixel _tmp36_ = {0};
- gfloat _tmp37_ = 0.0F;
- gfloat* _tmp38_ = NULL;
- gint _tmp38__length1 = 0;
- gfloat _tmp39_ = 0.0F;
- RGBAnalyticPixel _tmp40_ = {0};
- gfloat _tmp41_ = 0.0F;
- gfloat* _tmp42_ = NULL;
- gint _tmp42__length1 = 0;
- gfloat _tmp43_ = 0.0F;
- gfloat* _tmp44_ = NULL;
- gint _tmp44__length1 = 0;
- gfloat _tmp45_ = 0.0F;
- gfloat _tmp46_ = 0.0F;
- gfloat _tmp47_ = 0.0F;
- gfloat _tmp48_ = 0.0F;
- gfloat _tmp49_ = 0.0F;
- gfloat _tmp50_ = 0.0F;
+ RGBAnalyticPixel _tmp32_;
+ gfloat _tmp33_;
+ gfloat* _tmp34_;
+ gint _tmp34__length1;
+ gfloat _tmp35_;
+ RGBAnalyticPixel _tmp36_;
+ gfloat _tmp37_;
+ gfloat* _tmp38_;
+ gint _tmp38__length1;
+ gfloat _tmp39_;
+ RGBAnalyticPixel _tmp40_;
+ gfloat _tmp41_;
+ gfloat* _tmp42_;
+ gint _tmp42__length1;
+ gfloat _tmp43_;
+ gfloat* _tmp44_;
+ gint _tmp44__length1;
+ gfloat _tmp45_;
+ gfloat _tmp46_;
+ gfloat _tmp47_;
+ gfloat _tmp48_;
+ gfloat _tmp49_;
+ gfloat _tmp50_;
RGBAnalyticPixel _tmp51_ = {0};
#line 561 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation);
@@ -5399,7 +5399,7 @@ static void rgb_transformation_real_transform_pixel_rgb (PixelTransformation* ba
static gboolean rgb_transformation_real_is_identity (PixelTransformation* base) {
RGBTransformation * self;
gboolean result = FALSE;
- gboolean _tmp0_ = FALSE;
+ gboolean _tmp0_;
#line 583 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation);
#line 584 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5416,8 +5416,8 @@ static PixelTransformation* rgb_transformation_real_copy (PixelTransformation* b
RGBTransformation * self;
PixelTransformation* result = NULL;
RGBTransformation* _result_ = NULL;
- PixelTransformationType _tmp0_ = 0;
- RGBTransformation* _tmp1_ = NULL;
+ PixelTransformationType _tmp0_;
+ RGBTransformation* _tmp1_;
#line 587 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_RGB_TRANSFORMATION, RGBTransformation);
#line 588 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5439,20 +5439,20 @@ static PixelTransformation* rgb_transformation_real_copy (PixelTransformation* b
#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 5441 "ColorTransformation.c"
- gint _tmp4_ = 0;
- RGBTransformation* _tmp5_ = NULL;
- gfloat* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- gint _tmp7_ = 0;
- gfloat* _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gint _tmp9_ = 0;
- gfloat _tmp10_ = 0.0F;
- gfloat _tmp11_ = 0.0F;
+ gint _tmp4_;
+ RGBTransformation* _tmp5_;
+ gfloat* _tmp6_;
+ gint _tmp6__length1;
+ gint _tmp7_;
+ gfloat* _tmp8_;
+ gint _tmp8__length1;
+ gint _tmp9_;
+ gfloat _tmp10_;
+ gfloat _tmp11_;
#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp2_) {
#line 5454 "ColorTransformation.c"
- gint _tmp3_ = 0;
+ gint _tmp3_;
#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = i;
#line 590 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5507,19 +5507,19 @@ static void rgb_transformation_class_init (RGBTransformationClass * klass) {
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
((PixelTransformationClass *) klass)->finalize = rgb_transformation_finalize;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*)(PixelTransformation*)) rgb_transformation_real_get_preferred_format;
+ ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*) (PixelTransformation *)) rgb_transformation_real_get_preferred_format;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->get_composition_mode = (CompositionMode (*)(PixelTransformation*)) rgb_transformation_real_get_composition_mode;
+ ((PixelTransformationClass *) klass)->get_composition_mode = (CompositionMode (*) (PixelTransformation *)) rgb_transformation_real_get_composition_mode;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->compose_with = (void (*)(PixelTransformation*, PixelTransformation*)) rgb_transformation_real_compose_with;
+ ((PixelTransformationClass *) klass)->compose_with = (void (*) (PixelTransformation *, PixelTransformation*)) rgb_transformation_real_compose_with;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*)(PixelTransformation*, HSVAnalyticPixel*, HSVAnalyticPixel*)) rgb_transformation_real_transform_pixel_hsv;
+ ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*) (PixelTransformation *, HSVAnalyticPixel*, HSVAnalyticPixel*)) rgb_transformation_real_transform_pixel_hsv;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*)(PixelTransformation*, RGBAnalyticPixel*, RGBAnalyticPixel*)) rgb_transformation_real_transform_pixel_rgb;
+ ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*) (PixelTransformation *, RGBAnalyticPixel*, RGBAnalyticPixel*)) rgb_transformation_real_transform_pixel_rgb;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->is_identity = (gboolean (*)(PixelTransformation*)) rgb_transformation_real_is_identity;
+ ((PixelTransformationClass *) klass)->is_identity = (gboolean (*) (PixelTransformation *)) rgb_transformation_real_is_identity;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*)(PixelTransformation*)) rgb_transformation_real_copy;
+ ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*) (PixelTransformation *)) rgb_transformation_real_copy;
#line 5523 "ColorTransformation.c"
}
@@ -5531,7 +5531,7 @@ static void rgb_transformation_instance_init (RGBTransformation * self) {
}
-static void rgb_transformation_finalize (PixelTransformation* obj) {
+static void rgb_transformation_finalize (PixelTransformation * obj) {
RGBTransformation * self;
#line 411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_RGB_TRANSFORMATION, RGBTransformation);
@@ -5557,7 +5557,7 @@ GType rgb_transformation_get_type (void) {
HSVTransformation* hsv_transformation_construct (GType object_type, PixelTransformationType type) {
HSVTransformation* self = NULL;
- PixelTransformationType _tmp0_ = 0;
+ PixelTransformationType _tmp0_;
#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp0_ = type;
#line 600 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5608,9 +5608,9 @@ static void hsv_transformation_class_init (HSVTransformationClass * klass) {
#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
hsv_transformation_parent_class = g_type_class_peek_parent (klass);
#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*)(PixelTransformation*)) hsv_transformation_real_get_preferred_format;
+ ((PixelTransformationClass *) klass)->get_preferred_format = (PixelFormat (*) (PixelTransformation *)) hsv_transformation_real_get_preferred_format;
#line 598 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*)(PixelTransformation*, RGBAnalyticPixel*, RGBAnalyticPixel*)) hsv_transformation_real_transform_pixel_rgb;
+ ((PixelTransformationClass *) klass)->transform_pixel_rgb = (void (*) (PixelTransformation *, RGBAnalyticPixel*, RGBAnalyticPixel*)) hsv_transformation_real_transform_pixel_rgb;
#line 5614 "ColorTransformation.c"
}
@@ -5633,9 +5633,9 @@ GType hsv_transformation_get_type (void) {
TintTransformation* tint_transformation_construct (GType object_type, gfloat client_param) {
TintTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 620 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (TintTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TINT);
#line 622 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5650,20 +5650,20 @@ TintTransformation* tint_transformation_construct (GType object_type, gfloat cli
if (_tmp2_ != 0.0f) {
#line 5651 "ColorTransformation.c"
gfloat adjusted_param = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
- gfloat* _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gfloat _tmp9_ = 0.0F;
- gfloat _tmp10_ = 0.0F;
- gfloat* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- gfloat _tmp12_ = 0.0F;
- gfloat _tmp13_ = 0.0F;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat* _tmp5_;
+ gint _tmp5__length1;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
+ gfloat* _tmp8_;
+ gint _tmp8__length1;
+ gfloat _tmp9_;
+ gfloat _tmp10_;
+ gfloat* _tmp11_;
+ gint _tmp11__length1;
+ gfloat _tmp12_;
+ gfloat _tmp13_;
#line 625 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->parameter;
#line 625 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5721,7 +5721,7 @@ TintTransformation* tint_transformation_new (gfloat client_param) {
gfloat tint_transformation_get_parameter (TintTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 636 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_TINT_TRANSFORMATION (self), 0.0F);
#line 637 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5752,7 +5752,7 @@ static void tint_transformation_instance_init (TintTransformation * self) {
}
-static void tint_transformation_finalize (PixelTransformation* obj) {
+static void tint_transformation_finalize (PixelTransformation * obj) {
TintTransformation * self;
#line 612 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TINT_TRANSFORMATION, TintTransformation);
@@ -5776,9 +5776,9 @@ GType tint_transformation_get_type (void) {
TemperatureTransformation* temperature_transformation_construct (GType object_type, gfloat client_parameter) {
TemperatureTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 649 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (TemperatureTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TEMPERATURE);
#line 651 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5793,20 +5793,20 @@ TemperatureTransformation* temperature_transformation_construct (GType object_ty
if (_tmp2_ != 0.0f) {
#line 5794 "ColorTransformation.c"
gfloat adjusted_param = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
- gfloat* _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gfloat _tmp9_ = 0.0F;
- gfloat _tmp10_ = 0.0F;
- gfloat* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- gfloat _tmp12_ = 0.0F;
- gfloat _tmp13_ = 0.0F;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat* _tmp5_;
+ gint _tmp5__length1;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
+ gfloat* _tmp8_;
+ gint _tmp8__length1;
+ gfloat _tmp9_;
+ gfloat _tmp10_;
+ gfloat* _tmp11_;
+ gint _tmp11__length1;
+ gfloat _tmp12_;
+ gfloat _tmp13_;
#line 654 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->parameter;
#line 654 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5864,7 +5864,7 @@ TemperatureTransformation* temperature_transformation_new (gfloat client_paramet
gfloat temperature_transformation_get_parameter (TemperatureTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 665 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_TEMPERATURE_TRANSFORMATION (self), 0.0F);
#line 666 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5895,7 +5895,7 @@ static void temperature_transformation_instance_init (TemperatureTransformation
}
-static void temperature_transformation_finalize (PixelTransformation* obj) {
+static void temperature_transformation_finalize (PixelTransformation * obj) {
TemperatureTransformation * self;
#line 641 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation);
@@ -5919,9 +5919,9 @@ GType temperature_transformation_get_type (void) {
SaturationTransformation* saturation_transformation_construct (GType object_type, gfloat client_parameter) {
SaturationTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 677 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (SaturationTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_SATURATION);
#line 679 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -5936,57 +5936,57 @@ SaturationTransformation* saturation_transformation_construct (GType object_type
if (_tmp2_ != 0.0f) {
#line 5937 "ColorTransformation.c"
gfloat adjusted_param = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
gfloat one_third = 0.0F;
- gfloat* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
- gfloat _tmp8_ = 0.0F;
- gfloat _tmp9_ = 0.0F;
- gfloat* _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
- gfloat _tmp13_ = 0.0F;
- gfloat* _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gfloat _tmp15_ = 0.0F;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
- gfloat* _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
- gfloat _tmp21_ = 0.0F;
- gfloat* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gfloat _tmp23_ = 0.0F;
- gfloat _tmp24_ = 0.0F;
- gfloat _tmp25_ = 0.0F;
- gfloat _tmp26_ = 0.0F;
- gfloat* _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
- gfloat _tmp28_ = 0.0F;
- gfloat _tmp29_ = 0.0F;
- gfloat _tmp30_ = 0.0F;
- gfloat* _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
- gfloat _tmp32_ = 0.0F;
- gfloat _tmp33_ = 0.0F;
- gfloat _tmp34_ = 0.0F;
- gfloat* _tmp35_ = NULL;
- gint _tmp35__length1 = 0;
- gfloat _tmp36_ = 0.0F;
- gfloat _tmp37_ = 0.0F;
- gfloat _tmp38_ = 0.0F;
- gfloat* _tmp39_ = NULL;
- gint _tmp39__length1 = 0;
- gfloat _tmp40_ = 0.0F;
- gfloat _tmp41_ = 0.0F;
- gfloat _tmp42_ = 0.0F;
- gfloat _tmp43_ = 0.0F;
+ gfloat* _tmp5_;
+ gint _tmp5__length1;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
+ gfloat _tmp8_;
+ gfloat _tmp9_;
+ gfloat* _tmp10_;
+ gint _tmp10__length1;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
+ gfloat _tmp13_;
+ gfloat* _tmp14_;
+ gint _tmp14__length1;
+ gfloat _tmp15_;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
+ gfloat* _tmp18_;
+ gint _tmp18__length1;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
+ gfloat _tmp21_;
+ gfloat* _tmp22_;
+ gint _tmp22__length1;
+ gfloat _tmp23_;
+ gfloat _tmp24_;
+ gfloat _tmp25_;
+ gfloat _tmp26_;
+ gfloat* _tmp27_;
+ gint _tmp27__length1;
+ gfloat _tmp28_;
+ gfloat _tmp29_;
+ gfloat _tmp30_;
+ gfloat* _tmp31_;
+ gint _tmp31__length1;
+ gfloat _tmp32_;
+ gfloat _tmp33_;
+ gfloat _tmp34_;
+ gfloat* _tmp35_;
+ gint _tmp35__length1;
+ gfloat _tmp36_;
+ gfloat _tmp37_;
+ gfloat _tmp38_;
+ gfloat* _tmp39_;
+ gint _tmp39__length1;
+ gfloat _tmp40_;
+ gfloat _tmp41_;
+ gfloat _tmp42_;
+ gfloat _tmp43_;
#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->parameter;
#line 682 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6130,7 +6130,7 @@ SaturationTransformation* saturation_transformation_new (gfloat client_parameter
gfloat saturation_transformation_get_parameter (SaturationTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 706 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_SATURATION_TRANSFORMATION (self), 0.0F);
#line 707 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6161,7 +6161,7 @@ static void saturation_transformation_instance_init (SaturationTransformation *
}
-static void saturation_transformation_finalize (PixelTransformation* obj) {
+static void saturation_transformation_finalize (PixelTransformation * obj) {
SaturationTransformation * self;
#line 670 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation);
@@ -6185,9 +6185,9 @@ GType saturation_transformation_get_type (void) {
ExposureTransformation* exposure_transformation_construct (GType object_type, gfloat client_parameter) {
ExposureTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 718 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (ExposureTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_EXPOSURE);
#line 720 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6202,19 +6202,19 @@ ExposureTransformation* exposure_transformation_construct (GType object_type, gf
if (_tmp2_ != 0.0f) {
#line 6203 "ColorTransformation.c"
gfloat adjusted_param = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat* _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- gfloat _tmp5_ = 0.0F;
- gfloat _tmp6_ = 0.0F;
- gfloat* _tmp7_ = NULL;
- gint _tmp7__length1 = 0;
- gfloat _tmp8_ = 0.0F;
- gfloat _tmp9_ = 0.0F;
- gfloat* _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
+ gfloat _tmp3_;
+ gfloat* _tmp4_;
+ gint _tmp4__length1;
+ gfloat _tmp5_;
+ gfloat _tmp6_;
+ gfloat* _tmp7_;
+ gint _tmp7__length1;
+ gfloat _tmp8_;
+ gfloat _tmp9_;
+ gfloat* _tmp10_;
+ gint _tmp10__length1;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
#line 724 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->parameter;
#line 724 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6268,7 +6268,7 @@ ExposureTransformation* exposure_transformation_new (gfloat client_parameter) {
gfloat exposure_transformation_get_parameter (ExposureTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 734 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_EXPOSURE_TRANSFORMATION (self), 0.0F);
#line 735 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6299,7 +6299,7 @@ static void exposure_transformation_instance_init (ExposureTransformation * self
}
-static void exposure_transformation_finalize (PixelTransformation* obj) {
+static void exposure_transformation_finalize (PixelTransformation * obj) {
ExposureTransformation * self;
#line 711 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation);
@@ -6323,9 +6323,9 @@ GType exposure_transformation_get_type (void) {
ContrastTransformation* contrast_transformation_construct (GType object_type, gfloat client_parameter) {
ContrastTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 748 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (ContrastTransformation*) rgb_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_CONTRAST);
#line 750 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6340,35 +6340,35 @@ ContrastTransformation* contrast_transformation_construct (GType object_type, gf
if (_tmp2_ != 0.0f) {
#line 6341 "ColorTransformation.c"
gfloat contrast_adjustment = 0.0F;
- gfloat _tmp3_ = 0.0F;
+ gfloat _tmp3_;
gfloat component_coefficient = 0.0F;
- gfloat _tmp4_ = 0.0F;
+ gfloat _tmp4_;
gfloat component_offset = 0.0F;
- gfloat _tmp5_ = 0.0F;
- gfloat* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- gfloat _tmp7_ = 0.0F;
- gfloat _tmp8_ = 0.0F;
- gfloat* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- gfloat _tmp10_ = 0.0F;
- gfloat _tmp11_ = 0.0F;
- gfloat* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- gfloat _tmp13_ = 0.0F;
- gfloat _tmp14_ = 0.0F;
- gfloat* _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
- gfloat* _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
- gfloat* _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
- gfloat _tmp22_ = 0.0F;
- gfloat _tmp23_ = 0.0F;
+ gfloat _tmp5_;
+ gfloat* _tmp6_;
+ gint _tmp6__length1;
+ gfloat _tmp7_;
+ gfloat _tmp8_;
+ gfloat* _tmp9_;
+ gint _tmp9__length1;
+ gfloat _tmp10_;
+ gfloat _tmp11_;
+ gfloat* _tmp12_;
+ gint _tmp12__length1;
+ gfloat _tmp13_;
+ gfloat _tmp14_;
+ gfloat* _tmp15_;
+ gint _tmp15__length1;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
+ gfloat* _tmp18_;
+ gint _tmp18__length1;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
+ gfloat* _tmp21_;
+ gint _tmp21__length1;
+ gfloat _tmp22_;
+ gfloat _tmp23_;
#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->parameter;
#line 754 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6460,7 +6460,7 @@ ContrastTransformation* contrast_transformation_new (gfloat client_parameter) {
gfloat contrast_transformation_get_parameter (ContrastTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 770 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_CONTRAST_TRANSFORMATION (self), 0.0F);
#line 771 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6491,7 +6491,7 @@ static void contrast_transformation_instance_init (ContrastTransformation * self
}
-static void contrast_transformation_finalize (PixelTransformation* obj) {
+static void contrast_transformation_finalize (PixelTransformation * obj) {
ContrastTransformation * self;
#line 739 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation);
@@ -6540,7 +6540,7 @@ static gpointer _g_object_ref0 (gpointer self) {
PixelTransformer* pixel_transformer_copy (PixelTransformer* self) {
PixelTransformer* result = NULL;
PixelTransformer* clone = NULL;
- PixelTransformer* _tmp0_ = NULL;
+ PixelTransformer* _tmp0_;
#line 784 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMER (self), NULL);
#line 785 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6550,12 +6550,12 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) {
#line 6550 "ColorTransformation.c"
{
GeeArrayList* _transformation_list = NULL;
- GeeArrayList* _tmp1_ = NULL;
- GeeArrayList* _tmp2_ = NULL;
+ GeeArrayList* _tmp1_;
+ GeeArrayList* _tmp2_;
gint _transformation_size = 0;
- GeeArrayList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
+ GeeArrayList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
gint _transformation_index = 0;
#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = self->priv->transformations;
@@ -6576,16 +6576,16 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) {
#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 6578 "ColorTransformation.c"
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
PixelTransformation* transformation = NULL;
- GeeArrayList* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gpointer _tmp11_ = NULL;
- PixelTransformer* _tmp12_ = NULL;
- GeeArrayList* _tmp13_ = NULL;
- PixelTransformation* _tmp14_ = NULL;
+ GeeArrayList* _tmp9_;
+ gint _tmp10_;
+ gpointer _tmp11_;
+ PixelTransformer* _tmp12_;
+ GeeArrayList* _tmp13_;
+ PixelTransformation* _tmp14_;
#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp6_ = _transformation_index;
#line 787 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6633,10 +6633,10 @@ PixelTransformer* pixel_transformer_copy (PixelTransformer* self) {
static void pixel_transformer_build_optimized_transformations (PixelTransformer* self) {
- GeeArrayList* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- PixelTransformation** _tmp3_ = NULL;
+ GeeArrayList* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ PixelTransformation** _tmp3_;
PixelTransformation* pre_trans = NULL;
#line 793 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
@@ -6673,26 +6673,26 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 6675 "ColorTransformation.c"
- gint _tmp6_ = 0;
- GeeArrayList* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+ gint _tmp6_;
+ GeeArrayList* _tmp7_;
+ gint _tmp8_;
+ gint _tmp9_;
PixelTransformation* trans = NULL;
- GeeArrayList* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- gpointer _tmp12_ = NULL;
- PixelTransformation* _tmp13_ = NULL;
- gboolean _tmp14_ = FALSE;
+ GeeArrayList* _tmp10_;
+ gint _tmp11_;
+ gpointer _tmp12_;
+ PixelTransformation* _tmp13_;
+ gboolean _tmp14_;
PixelTransformation* this_trans = NULL;
- PixelTransformation* _tmp15_ = NULL;
- CompositionMode _tmp16_ = 0;
+ PixelTransformation* _tmp15_;
+ CompositionMode _tmp16_;
gboolean _tmp21_ = FALSE;
gboolean _tmp22_ = FALSE;
- PixelTransformation* _tmp23_ = NULL;
+ PixelTransformation* _tmp23_;
#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp4_) {
#line 6694 "ColorTransformation.c"
- gint _tmp5_ = 0;
+ gint _tmp5_;
#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = i;
#line 798 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6744,8 +6744,8 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
#line 805 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp16_ == COMPOSITION_MODE_NONE) {
#line 6746 "ColorTransformation.c"
- PixelTransformation* _tmp17_ = NULL;
- PixelTransformation* _tmp18_ = NULL;
+ PixelTransformation* _tmp17_;
+ PixelTransformation* _tmp18_;
#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp17_ = trans;
#line 806 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6756,8 +6756,8 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
this_trans = _tmp18_;
#line 6757 "ColorTransformation.c"
} else {
- PixelTransformation* _tmp19_ = NULL;
- PixelTransformation* _tmp20_ = NULL;
+ PixelTransformation* _tmp19_;
+ PixelTransformation* _tmp20_;
#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp19_ = trans;
#line 808 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6773,8 +6773,8 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp23_ != NULL) {
#line 6775 "ColorTransformation.c"
- PixelTransformation* _tmp24_ = NULL;
- CompositionMode _tmp25_ = 0;
+ PixelTransformation* _tmp24_;
+ CompositionMode _tmp25_;
#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp24_ = this_trans;
#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6790,10 +6790,10 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp22_) {
#line 6792 "ColorTransformation.c"
- PixelTransformation* _tmp26_ = NULL;
- CompositionMode _tmp27_ = 0;
- PixelTransformation* _tmp28_ = NULL;
- CompositionMode _tmp29_ = 0;
+ PixelTransformation* _tmp26_;
+ CompositionMode _tmp27_;
+ PixelTransformation* _tmp28_;
+ CompositionMode _tmp29_;
#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp26_ = this_trans;
#line 811 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6813,8 +6813,8 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
#line 810 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp21_) {
#line 6815 "ColorTransformation.c"
- PixelTransformation* _tmp30_ = NULL;
- PixelTransformation* _tmp31_ = NULL;
+ PixelTransformation* _tmp30_;
+ PixelTransformation* _tmp31_;
#line 812 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp30_ = pre_trans;
#line 812 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6823,14 +6823,14 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
pixel_transformation_compose_with (_tmp30_, _tmp31_);
#line 6824 "ColorTransformation.c"
} else {
- PixelTransformation** _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
- gint _tmp33_ = 0;
- PixelTransformation* _tmp34_ = NULL;
- PixelTransformation* _tmp35_ = NULL;
- PixelTransformation* _tmp36_ = NULL;
- PixelTransformation* _tmp37_ = NULL;
- PixelTransformation* _tmp38_ = NULL;
+ PixelTransformation** _tmp32_;
+ gint _tmp32__length1;
+ gint _tmp33_;
+ PixelTransformation* _tmp34_;
+ PixelTransformation* _tmp35_;
+ PixelTransformation* _tmp36_;
+ PixelTransformation* _tmp37_;
+ PixelTransformation* _tmp38_;
#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp32_ = self->priv->optimized_transformations;
#line 814 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6876,9 +6876,9 @@ static void pixel_transformer_build_optimized_transformations (PixelTransformer*
static void pixel_transformer_apply_transformations (PixelTransformer* self, RGBAnalyticPixel* p, RGBAnalyticPixel* result) {
PixelFormat current_format = 0;
RGBAnalyticPixel p_rgb = {0};
- RGBAnalyticPixel _tmp0_ = {0};
+ RGBAnalyticPixel _tmp0_;
HSVAnalyticPixel p_hsv = {0};
- PixelFormat _tmp21_ = 0;
+ PixelFormat _tmp21_;
#line 820 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
#line 820 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6904,20 +6904,20 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB
#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 6906 "ColorTransformation.c"
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
+ gint _tmp3_;
+ gint _tmp4_;
PixelTransformation* trans = NULL;
- PixelTransformation** _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gint _tmp6_ = 0;
- PixelTransformation* _tmp7_ = NULL;
- PixelTransformation* _tmp8_ = NULL;
- PixelTransformation* _tmp9_ = NULL;
- PixelFormat _tmp10_ = 0;
+ PixelTransformation** _tmp5_;
+ gint _tmp5__length1;
+ gint _tmp6_;
+ PixelTransformation* _tmp7_;
+ PixelTransformation* _tmp8_;
+ PixelTransformation* _tmp9_;
+ PixelFormat _tmp10_;
#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp1_) {
#line 6919 "ColorTransformation.c"
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp2_ = i;
#line 825 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -6955,9 +6955,9 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB
#line 827 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp10_ == PIXEL_FORMAT_RGB) {
#line 6957 "ColorTransformation.c"
- PixelFormat _tmp11_ = 0;
- PixelTransformation* _tmp13_ = NULL;
- RGBAnalyticPixel _tmp14_ = {0};
+ PixelFormat _tmp11_;
+ PixelTransformation* _tmp13_;
+ RGBAnalyticPixel _tmp14_;
RGBAnalyticPixel _tmp15_ = {0};
#line 828 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp11_ = current_format;
@@ -6983,9 +6983,9 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB
p_rgb = _tmp15_;
#line 6984 "ColorTransformation.c"
} else {
- PixelFormat _tmp16_ = 0;
- PixelTransformation* _tmp18_ = NULL;
- HSVAnalyticPixel _tmp19_ = {0};
+ PixelFormat _tmp16_;
+ PixelTransformation* _tmp18_;
+ HSVAnalyticPixel _tmp19_;
HSVAnalyticPixel _tmp20_ = {0};
#line 834 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp16_ = current_format;
@@ -7038,8 +7038,8 @@ static void pixel_transformer_apply_transformations (PixelTransformer* self, RGB
void pixel_transformer_attach_transformation (PixelTransformer* self, PixelTransformation* trans) {
- GeeArrayList* _tmp0_ = NULL;
- PixelTransformation* _tmp1_ = NULL;
+ GeeArrayList* _tmp0_;
+ PixelTransformation* _tmp1_;
#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
#line 851 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7063,8 +7063,8 @@ void pixel_transformer_attach_transformation (PixelTransformer* self, PixelTrans
void pixel_transformer_detach_transformation (PixelTransformer* self, PixelTransformation* victim) {
- GeeArrayList* _tmp0_ = NULL;
- PixelTransformation* _tmp1_ = NULL;
+ GeeArrayList* _tmp0_;
+ PixelTransformation* _tmp1_;
#line 858 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
#line 858 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7107,20 +7107,20 @@ void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTran
#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 7109 "ColorTransformation.c"
- gint _tmp2_ = 0;
- GeeArrayList* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GeeArrayList* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gpointer _tmp8_ = NULL;
- PixelTransformation* _tmp9_ = NULL;
- PixelTransformation* _tmp10_ = NULL;
- gboolean _tmp11_ = FALSE;
+ gint _tmp2_;
+ GeeArrayList* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GeeArrayList* _tmp6_;
+ gint _tmp7_;
+ gpointer _tmp8_;
+ PixelTransformation* _tmp9_;
+ PixelTransformation* _tmp10_;
+ gboolean _tmp11_;
#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp0_) {
#line 7122 "ColorTransformation.c"
- gint _tmp1_ = 0;
+ gint _tmp1_;
#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = i;
#line 867 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7160,9 +7160,9 @@ void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTran
#line 868 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp11_) {
#line 7162 "ColorTransformation.c"
- GeeArrayList* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- PixelTransformation* _tmp14_ = NULL;
+ GeeArrayList* _tmp12_;
+ gint _tmp13_;
+ PixelTransformation* _tmp14_;
#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = self->priv->transformations;
#line 869 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7194,9 +7194,9 @@ void pixel_transformer_replace_transformation (PixelTransformer* self, PixelTran
void pixel_transformer_transform_pixbuf (PixelTransformer* self, GdkPixbuf* pixbuf, GCancellable* cancellable) {
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp1_ = NULL;
- GCancellable* _tmp2_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp1_;
+ GCancellable* _tmp2_;
#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
#line 879 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7216,25 +7216,25 @@ void pixel_transformer_transform_pixbuf (PixelTransformer* self, GdkPixbuf* pixb
void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pixel_cache, int* fp_pixel_cache_length1, GdkPixbuf* dest) {
- PixelTransformation** _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ PixelTransformation** _tmp0_;
+ gint _tmp0__length1;
gint dest_width = 0;
- GdkPixbuf* _tmp1_ = NULL;
- gint _tmp2_ = 0;
+ GdkPixbuf* _tmp1_;
+ gint _tmp2_;
gint dest_height = 0;
- GdkPixbuf* _tmp3_ = NULL;
- gint _tmp4_ = 0;
+ GdkPixbuf* _tmp3_;
+ gint _tmp4_;
gint dest_num_channels = 0;
- GdkPixbuf* _tmp5_ = NULL;
- gint _tmp6_ = 0;
+ GdkPixbuf* _tmp5_;
+ gint _tmp6_;
gint dest_rowstride = 0;
- GdkPixbuf* _tmp7_ = NULL;
- gint _tmp8_ = 0;
+ GdkPixbuf* _tmp7_;
+ gint _tmp8_;
guchar* dest_pixels = NULL;
- GdkPixbuf* _tmp9_ = NULL;
- guint8* _tmp10_ = NULL;
- gint dest_pixels_length1 = 0;
- gint _dest_pixels_size_ = 0;
+ GdkPixbuf* _tmp9_;
+ guint8* _tmp10_;
+ gint dest_pixels_length1;
+ gint _dest_pixels_size_;
gint cache_pixel_ticker = 0;
#line 883 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
@@ -7299,19 +7299,19 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi
#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 7300 "ColorTransformation.c"
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
+ gint _tmp13_;
+ gint _tmp14_;
gint row_start_index = 0;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ gint _tmp15_;
+ gint _tmp16_;
gint row_end_index = 0;
- gint _tmp17_ = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
+ gint _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp11_) {
#line 7312 "ColorTransformation.c"
- gint _tmp12_ = 0;
+ gint _tmp12_;
#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = j;
#line 895 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7347,7 +7347,7 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi
#line 7346 "ColorTransformation.c"
{
gint i = 0;
- gint _tmp20_ = 0;
+ gint _tmp20_;
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp20_ = row_start_index;
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7360,47 +7360,47 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 7361 "ColorTransformation.c"
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
+ gint _tmp24_;
+ gint _tmp25_;
RGBAnalyticPixel pixel = {0};
- gfloat* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gint _tmp27_ = 0;
- gfloat _tmp28_ = 0.0F;
- gfloat* _tmp29_ = NULL;
- gint _tmp29__length1 = 0;
- gint _tmp30_ = 0;
- gfloat _tmp31_ = 0.0F;
- gfloat* _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
- gint _tmp33_ = 0;
- gfloat _tmp34_ = 0.0F;
- gint _tmp35_ = 0;
- RGBAnalyticPixel _tmp36_ = {0};
+ gfloat* _tmp26_;
+ gint _tmp26__length1;
+ gint _tmp27_;
+ gfloat _tmp28_;
+ gfloat* _tmp29_;
+ gint _tmp29__length1;
+ gint _tmp30_;
+ gfloat _tmp31_;
+ gfloat* _tmp32_;
+ gint _tmp32__length1;
+ gint _tmp33_;
+ gfloat _tmp34_;
+ gint _tmp35_;
+ RGBAnalyticPixel _tmp36_;
RGBAnalyticPixel _tmp37_ = {0};
- guchar* _tmp38_ = NULL;
- gint _tmp38__length1 = 0;
- gint _tmp39_ = 0;
- RGBAnalyticPixel _tmp40_ = {0};
- gfloat _tmp41_ = 0.0F;
- guchar _tmp42_ = '\0';
- guchar* _tmp43_ = NULL;
- gint _tmp43__length1 = 0;
- gint _tmp44_ = 0;
- RGBAnalyticPixel _tmp45_ = {0};
- gfloat _tmp46_ = 0.0F;
- guchar _tmp47_ = '\0';
- guchar* _tmp48_ = NULL;
- gint _tmp48__length1 = 0;
- gint _tmp49_ = 0;
- RGBAnalyticPixel _tmp50_ = {0};
- gfloat _tmp51_ = 0.0F;
- guchar _tmp52_ = '\0';
+ guchar* _tmp38_;
+ gint _tmp38__length1;
+ gint _tmp39_;
+ RGBAnalyticPixel _tmp40_;
+ gfloat _tmp41_;
+ guchar _tmp42_;
+ guchar* _tmp43_;
+ gint _tmp43__length1;
+ gint _tmp44_;
+ RGBAnalyticPixel _tmp45_;
+ gfloat _tmp46_;
+ guchar _tmp47_;
+ guchar* _tmp48_;
+ gint _tmp48__length1;
+ gint _tmp49_;
+ RGBAnalyticPixel _tmp50_;
+ gfloat _tmp51_;
+ guchar _tmp52_;
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp21_) {
#line 7400 "ColorTransformation.c"
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
+ gint _tmp22_;
+ gint _tmp23_;
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp22_ = i;
#line 898 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7510,51 +7510,51 @@ void pixel_transformer_transform_from_fp (PixelTransformer* self, gfloat** fp_pi
void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPixbuf* source, GdkPixbuf* dest, GCancellable* cancellable) {
- GdkPixbuf* _tmp0_ = NULL;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- GdkPixbuf* _tmp3_ = NULL;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- GdkPixbuf* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- GdkPixbuf* _tmp9_ = NULL;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
- GdkPixbuf* _tmp12_ = NULL;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
- GdkPixbuf* _tmp15_ = NULL;
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
- PixelTransformation** _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
+ GdkPixbuf* _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ GdkPixbuf* _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ GdkPixbuf* _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
+ GdkPixbuf* _tmp9_;
+ gint _tmp10_;
+ gint _tmp11_;
+ GdkPixbuf* _tmp12_;
+ gint _tmp13_;
+ gint _tmp14_;
+ GdkPixbuf* _tmp15_;
+ gint _tmp16_;
+ gint _tmp17_;
+ PixelTransformation** _tmp18_;
+ gint _tmp18__length1;
gint n_channels = 0;
- GdkPixbuf* _tmp19_ = NULL;
- gint _tmp20_ = 0;
+ GdkPixbuf* _tmp19_;
+ gint _tmp20_;
gint rowstride = 0;
- GdkPixbuf* _tmp21_ = NULL;
- gint _tmp22_ = 0;
+ GdkPixbuf* _tmp21_;
+ gint _tmp22_;
gint width = 0;
- GdkPixbuf* _tmp23_ = NULL;
- gint _tmp24_ = 0;
+ GdkPixbuf* _tmp23_;
+ gint _tmp24_;
gint height = 0;
- GdkPixbuf* _tmp25_ = NULL;
- gint _tmp26_ = 0;
+ GdkPixbuf* _tmp25_;
+ gint _tmp26_;
gint rowbytes = 0;
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
+ gint _tmp27_;
+ gint _tmp28_;
guchar* source_pixels = NULL;
- GdkPixbuf* _tmp29_ = NULL;
- guint8* _tmp30_ = NULL;
- gint source_pixels_length1 = 0;
- gint _source_pixels_size_ = 0;
+ GdkPixbuf* _tmp29_;
+ guint8* _tmp30_;
+ gint source_pixels_length1;
+ gint _source_pixels_size_;
guchar* dest_pixels = NULL;
- GdkPixbuf* _tmp31_ = NULL;
- guint8* _tmp32_ = NULL;
- gint dest_pixels_length1 = 0;
- gint _dest_pixels_size_ = 0;
+ GdkPixbuf* _tmp31_;
+ guint8* _tmp32_;
+ gint dest_pixels_length1;
+ gint _dest_pixels_size_;
#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMER (self));
#line 915 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7693,20 +7693,20 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix
#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 7691 "ColorTransformation.c"
- gint _tmp35_ = 0;
- gint _tmp36_ = 0;
+ gint _tmp35_;
+ gint _tmp36_;
gint row_start_index = 0;
- gint _tmp37_ = 0;
- gint _tmp38_ = 0;
+ gint _tmp37_;
+ gint _tmp38_;
gint row_end_index = 0;
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
+ gint _tmp39_;
+ gint _tmp40_;
gboolean _tmp70_ = FALSE;
- GCancellable* _tmp71_ = NULL;
+ GCancellable* _tmp71_;
#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp33_) {
#line 7704 "ColorTransformation.c"
- gint _tmp34_ = 0;
+ gint _tmp34_;
#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp34_ = j;
#line 937 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7740,7 +7740,7 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix
#line 7736 "ColorTransformation.c"
{
gint i = 0;
- gint _tmp41_ = 0;
+ gint _tmp41_;
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp41_ = row_start_index;
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7753,43 +7753,43 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 7751 "ColorTransformation.c"
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
+ gint _tmp45_;
+ gint _tmp46_;
RGBAnalyticPixel current_pixel = {0};
- guchar* _tmp47_ = NULL;
- gint _tmp47__length1 = 0;
- gint _tmp48_ = 0;
- guchar _tmp49_ = '\0';
- guchar* _tmp50_ = NULL;
- gint _tmp50__length1 = 0;
- gint _tmp51_ = 0;
- guchar _tmp52_ = '\0';
- guchar* _tmp53_ = NULL;
- gint _tmp53__length1 = 0;
- gint _tmp54_ = 0;
- guchar _tmp55_ = '\0';
- RGBAnalyticPixel _tmp56_ = {0};
+ guchar* _tmp47_;
+ gint _tmp47__length1;
+ gint _tmp48_;
+ guchar _tmp49_;
+ guchar* _tmp50_;
+ gint _tmp50__length1;
+ gint _tmp51_;
+ guchar _tmp52_;
+ guchar* _tmp53_;
+ gint _tmp53__length1;
+ gint _tmp54_;
+ guchar _tmp55_;
+ RGBAnalyticPixel _tmp56_;
RGBAnalyticPixel _tmp57_ = {0};
- guchar* _tmp58_ = NULL;
- gint _tmp58__length1 = 0;
- gint _tmp59_ = 0;
- guchar _tmp60_ = '\0';
- guchar _tmp61_ = '\0';
- guchar* _tmp62_ = NULL;
- gint _tmp62__length1 = 0;
- gint _tmp63_ = 0;
- guchar _tmp64_ = '\0';
- guchar _tmp65_ = '\0';
- guchar* _tmp66_ = NULL;
- gint _tmp66__length1 = 0;
- gint _tmp67_ = 0;
- guchar _tmp68_ = '\0';
- guchar _tmp69_ = '\0';
+ guchar* _tmp58_;
+ gint _tmp58__length1;
+ gint _tmp59_;
+ guchar _tmp60_;
+ guchar _tmp61_;
+ guchar* _tmp62_;
+ gint _tmp62__length1;
+ gint _tmp63_;
+ guchar _tmp64_;
+ guchar _tmp65_;
+ guchar* _tmp66_;
+ gint _tmp66__length1;
+ gint _tmp67_;
+ guchar _tmp68_;
+ guchar _tmp69_;
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp42_) {
#line 7786 "ColorTransformation.c"
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
+ gint _tmp43_;
+ gint _tmp44_;
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp43_ = i;
#line 940 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7887,8 +7887,8 @@ void pixel_transformer_transform_to_other_pixbuf (PixelTransformer* self, GdkPix
#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp71_ != NULL) {
#line 7885 "ColorTransformation.c"
- GCancellable* _tmp72_ = NULL;
- gboolean _tmp73_ = FALSE;
+ GCancellable* _tmp72_;
+ gboolean _tmp73_;
#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp72_ = cancellable;
#line 951 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -7955,7 +7955,7 @@ static gchar* value_pixel_transformer_collect_value (GValue* value, guint n_coll
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 7953 "ColorTransformation.c"
- PixelTransformer* object;
+ PixelTransformer * object;
object = collect_values[0].v_pointer;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -7982,7 +7982,7 @@ static gchar* value_pixel_transformer_collect_value (GValue* value, guint n_coll
static gchar* value_pixel_transformer_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- PixelTransformer** object_p;
+ PixelTransformer ** object_p;
object_p = collect_values[0].v_pointer;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -8034,7 +8034,7 @@ gpointer value_get_pixel_transformer (const GValue* value) {
void value_set_pixel_transformer (GValue* value, gpointer v_object) {
- PixelTransformer* old;
+ PixelTransformer * old;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMER));
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8065,7 +8065,7 @@ void value_set_pixel_transformer (GValue* value, gpointer v_object) {
void value_take_pixel_transformer (GValue* value, gpointer v_object) {
- PixelTransformer* old;
+ PixelTransformer * old;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PIXEL_TRANSFORMER));
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8105,7 +8105,7 @@ static void pixel_transformer_class_init (PixelTransformerClass * klass) {
static void pixel_transformer_instance_init (PixelTransformer * self) {
- GeeArrayList* _tmp0_ = NULL;
+ GeeArrayList* _tmp0_;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self->priv = PIXEL_TRANSFORMER_GET_PRIVATE (self);
#line 776 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8126,7 +8126,7 @@ static void pixel_transformer_instance_init (PixelTransformer * self) {
}
-static void pixel_transformer_finalize (PixelTransformer* obj) {
+static void pixel_transformer_finalize (PixelTransformer * obj) {
PixelTransformer * self;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PIXEL_TRANSFORMER, PixelTransformer);
@@ -8155,7 +8155,7 @@ GType pixel_transformer_get_type (void) {
gpointer pixel_transformer_ref (gpointer instance) {
- PixelTransformer* self;
+ PixelTransformer * self;
self = instance;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -8166,7 +8166,7 @@ gpointer pixel_transformer_ref (gpointer instance) {
void pixel_transformer_unref (gpointer instance) {
- PixelTransformer* self;
+ PixelTransformer * self;
self = instance;
#line 775 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -8182,22 +8182,22 @@ void pixel_transformer_unref (gpointer instance) {
RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) {
RGBHistogram* self = NULL;
gint sample_bytes = 0;
- GdkPixbuf* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GdkPixbuf* _tmp0_;
+ gint _tmp1_;
gint pixel_bytes = 0;
- gint _tmp2_ = 0;
- GdkPixbuf* _tmp3_ = NULL;
- gint _tmp4_ = 0;
+ gint _tmp2_;
+ GdkPixbuf* _tmp3_;
+ gint _tmp4_;
gint row_length_bytes = 0;
- gint _tmp5_ = 0;
- GdkPixbuf* _tmp6_ = NULL;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
+ gint _tmp5_;
+ GdkPixbuf* _tmp6_;
+ gint _tmp7_;
+ gint _tmp8_;
guchar* pixel_data = NULL;
- GdkPixbuf* _tmp9_ = NULL;
- guint8* _tmp10_ = NULL;
- gint pixel_data_length1 = 0;
- gint _pixel_data_size_ = 0;
+ GdkPixbuf* _tmp9_;
+ guint8* _tmp10_;
+ gint pixel_data_length1;
+ gint _pixel_data_size_;
#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
#line 974 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8249,28 +8249,28 @@ RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) {
#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 8247 "ColorTransformation.c"
- gint _tmp13_ = 0;
- GdkPixbuf* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ gint _tmp13_;
+ GdkPixbuf* _tmp14_;
+ gint _tmp15_;
+ gint _tmp16_;
gint row_start_offset = 0;
- gint _tmp17_ = 0;
- GdkPixbuf* _tmp18_ = NULL;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
+ gint _tmp17_;
+ GdkPixbuf* _tmp18_;
+ gint _tmp19_;
+ gint _tmp20_;
gint r_offset = 0;
- gint _tmp21_ = 0;
+ gint _tmp21_;
gint g_offset = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
+ gint _tmp22_;
+ gint _tmp23_;
gint b_offset = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
+ gint _tmp24_;
+ gint _tmp25_;
+ gint _tmp26_;
#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp11_) {
#line 8268 "ColorTransformation.c"
- gint _tmp12_ = 0;
+ gint _tmp12_;
#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = y;
#line 981 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8324,36 +8324,36 @@ RGBHistogram* rgb_histogram_construct (GType object_type, GdkPixbuf* pixbuf) {
#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 8322 "ColorTransformation.c"
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- gint* _tmp30_ = NULL;
- gint _tmp30__length1 = 0;
- guchar* _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
- gint _tmp32_ = 0;
- guchar _tmp33_ = '\0';
- gint _tmp34_ = 0;
- gint* _tmp35_ = NULL;
- gint _tmp35__length1 = 0;
- guchar* _tmp36_ = NULL;
- gint _tmp36__length1 = 0;
- gint _tmp37_ = 0;
- guchar _tmp38_ = '\0';
- gint _tmp39_ = 0;
- gint* _tmp40_ = NULL;
- gint _tmp40__length1 = 0;
- guchar* _tmp41_ = NULL;
- gint _tmp41__length1 = 0;
- gint _tmp42_ = 0;
- guchar _tmp43_ = '\0';
- gint _tmp44_ = 0;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- gint _tmp47_ = 0;
- gint _tmp48_ = 0;
- gint _tmp49_ = 0;
- gint _tmp50_ = 0;
+ gint _tmp27_;
+ gint _tmp28_;
+ gint _tmp29_;
+ gint* _tmp30_;
+ gint _tmp30__length1;
+ guchar* _tmp31_;
+ gint _tmp31__length1;
+ gint _tmp32_;
+ guchar _tmp33_;
+ gint _tmp34_;
+ gint* _tmp35_;
+ gint _tmp35__length1;
+ guchar* _tmp36_;
+ gint _tmp36__length1;
+ gint _tmp37_;
+ guchar _tmp38_;
+ gint _tmp39_;
+ gint* _tmp40_;
+ gint _tmp40__length1;
+ guchar* _tmp41_;
+ gint _tmp41__length1;
+ gint _tmp42_;
+ guchar _tmp43_;
+ gint _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ gint _tmp47_;
+ gint _tmp48_;
+ gint _tmp49_;
+ gint _tmp50_;
#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp27_ = b_offset;
#line 988 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8452,15 +8452,15 @@ RGBHistogram* rgb_histogram_new (GdkPixbuf* pixbuf) {
static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint* buckets, int buckets_length1, gint i) {
gint result = 0;
- gint* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ gint* _tmp0_;
+ gint _tmp0__length1;
gboolean _tmp1_ = FALSE;
- gint _tmp2_ = 0;
- gint _tmp4_ = 0;
- gint* _tmp54_ = NULL;
- gint _tmp54__length1 = 0;
- gint _tmp55_ = 0;
- gint _tmp56_ = 0;
+ gint _tmp2_;
+ gint _tmp4_;
+ gint* _tmp54_;
+ gint _tmp54__length1;
+ gint _tmp55_;
+ gint _tmp56_;
#line 1000 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_RGB_HISTOGRAM (self), 0);
#line 1001 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8474,7 +8474,7 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp2_ >= 0) {
#line 8472 "ColorTransformation.c"
- gint _tmp3_ = 0;
+ gint _tmp3_;
#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = i;
#line 1002 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8492,10 +8492,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1004 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp4_ == 0) {
#line 8490 "ColorTransformation.c"
- gint* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ gint* _tmp5_;
+ gint _tmp5__length1;
+ gint _tmp6_;
+ gint _tmp7_;
#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = buckets;
#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8507,10 +8507,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1005 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp7_ > 0) {
#line 8505 "ColorTransformation.c"
- gint* _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+ gint* _tmp8_;
+ gint _tmp8__length1;
+ gint _tmp9_;
+ gint _tmp10_;
#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = buckets;
#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8522,14 +8522,14 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1006 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp10_ > 0) {
#line 8520 "ColorTransformation.c"
- gint* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- gint* _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gint _tmp15_ = 0;
- gint _tmp16_ = 0;
+ gint* _tmp11_;
+ gint _tmp11__length1;
+ gint _tmp12_;
+ gint _tmp13_;
+ gint* _tmp14_;
+ gint _tmp14__length1;
+ gint _tmp15_;
+ gint _tmp16_;
#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp11_ = buckets;
#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8549,10 +8549,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1007 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp13_ > (2 * _tmp16_)) {
#line 8547 "ColorTransformation.c"
- gint* _tmp17_ = NULL;
- gint _tmp17__length1 = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
+ gint* _tmp17_;
+ gint _tmp17__length1;
+ gint _tmp18_;
+ gint _tmp19_;
#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp17_ = buckets;
#line 1008 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8570,16 +8570,16 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
}
}
} else {
- gint _tmp20_ = 0;
+ gint _tmp20_;
#line 1009 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp20_ = i;
#line 1009 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp20_ == 255) {
#line 8574 "ColorTransformation.c"
- gint* _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
+ gint* _tmp21_;
+ gint _tmp21__length1;
+ gint _tmp22_;
+ gint _tmp23_;
#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp21_ = buckets;
#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8591,10 +8591,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1010 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp23_ > 0) {
#line 8589 "ColorTransformation.c"
- gint* _tmp24_ = NULL;
- gint _tmp24__length1 = 0;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
+ gint* _tmp24_;
+ gint _tmp24__length1;
+ gint _tmp25_;
+ gint _tmp26_;
#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp24_ = buckets;
#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8606,14 +8606,14 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1011 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp26_ > 0) {
#line 8604 "ColorTransformation.c"
- gint* _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- gint* _tmp30_ = NULL;
- gint _tmp30__length1 = 0;
- gint _tmp31_ = 0;
- gint _tmp32_ = 0;
+ gint* _tmp27_;
+ gint _tmp27__length1;
+ gint _tmp28_;
+ gint _tmp29_;
+ gint* _tmp30_;
+ gint _tmp30__length1;
+ gint _tmp31_;
+ gint _tmp32_;
#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp27_ = buckets;
#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8633,10 +8633,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1012 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp29_ > (2 * _tmp32_)) {
#line 8631 "ColorTransformation.c"
- gint* _tmp33_ = NULL;
- gint _tmp33__length1 = 0;
- gint _tmp34_ = 0;
- gint _tmp35_ = 0;
+ gint* _tmp33_;
+ gint _tmp33__length1;
+ gint _tmp34_;
+ gint _tmp35_;
#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp33_ = buckets;
#line 1013 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8654,10 +8654,10 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
}
}
} else {
- gint* _tmp36_ = NULL;
- gint _tmp36__length1 = 0;
- gint _tmp37_ = 0;
- gint _tmp38_ = 0;
+ gint* _tmp36_;
+ gint _tmp36__length1;
+ gint _tmp37_;
+ gint _tmp38_;
#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp36_ = buckets;
#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8669,18 +8669,18 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1015 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp38_ > 0) {
#line 8667 "ColorTransformation.c"
- gint* _tmp39_ = NULL;
- gint _tmp39__length1 = 0;
- gint _tmp40_ = 0;
- gint _tmp41_ = 0;
- gint* _tmp42_ = NULL;
- gint _tmp42__length1 = 0;
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
- gint* _tmp45_ = NULL;
- gint _tmp45__length1 = 0;
- gint _tmp46_ = 0;
- gint _tmp47_ = 0;
+ gint* _tmp39_;
+ gint _tmp39__length1;
+ gint _tmp40_;
+ gint _tmp41_;
+ gint* _tmp42_;
+ gint _tmp42__length1;
+ gint _tmp43_;
+ gint _tmp44_;
+ gint* _tmp45_;
+ gint _tmp45__length1;
+ gint _tmp46_;
+ gint _tmp47_;
#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp39_ = buckets;
#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8708,14 +8708,14 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
#line 1016 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp41_ > ((_tmp44_ + _tmp47_) / 2)) {
#line 8706 "ColorTransformation.c"
- gint* _tmp48_ = NULL;
- gint _tmp48__length1 = 0;
- gint _tmp49_ = 0;
- gint _tmp50_ = 0;
- gint* _tmp51_ = NULL;
- gint _tmp51__length1 = 0;
- gint _tmp52_ = 0;
- gint _tmp53_ = 0;
+ gint* _tmp48_;
+ gint _tmp48__length1;
+ gint _tmp49_;
+ gint _tmp50_;
+ gint* _tmp51_;
+ gint _tmp51__length1;
+ gint _tmp52_;
+ gint _tmp53_;
#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp48_ = buckets;
#line 1017 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8759,15 +8759,15 @@ static gint rgb_histogram_correct_snap_to_quantization (RGBHistogram* self, gint
static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gint* buckets, int buckets_length1, gint i) {
gint result = 0;
- gint* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ gint* _tmp0_;
+ gint _tmp0__length1;
gboolean _tmp1_ = FALSE;
- gint _tmp2_ = 0;
- gint _tmp4_ = 0;
- gint* _tmp27_ = NULL;
- gint _tmp27__length1 = 0;
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
+ gint _tmp2_;
+ gint _tmp4_;
+ gint* _tmp27_;
+ gint _tmp27__length1;
+ gint _tmp28_;
+ gint _tmp29_;
#line 1023 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_RGB_HISTOGRAM (self), 0);
#line 1024 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8781,7 +8781,7 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp2_ >= 0) {
#line 8779 "ColorTransformation.c"
- gint _tmp3_ = 0;
+ gint _tmp3_;
#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = i;
#line 1025 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8799,10 +8799,10 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
#line 1027 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp4_ == 0) {
#line 8797 "ColorTransformation.c"
- gint* _tmp5_ = NULL;
- gint _tmp5__length1 = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
+ gint* _tmp5_;
+ gint _tmp5__length1;
+ gint _tmp6_;
+ gint _tmp7_;
#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp5_ = buckets;
#line 1028 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8817,16 +8817,16 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
return result;
#line 8814 "ColorTransformation.c"
} else {
- gint _tmp8_ = 0;
+ gint _tmp8_;
#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = i;
#line 1029 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp8_ == 255) {
#line 8821 "ColorTransformation.c"
- gint* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- gint _tmp10_ = 0;
- gint _tmp11_ = 0;
+ gint* _tmp9_;
+ gint _tmp9__length1;
+ gint _tmp10_;
+ gint _tmp11_;
#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp9_ = buckets;
#line 1030 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8841,10 +8841,10 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
return result;
#line 8838 "ColorTransformation.c"
} else {
- gint* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
+ gint* _tmp12_;
+ gint _tmp12__length1;
+ gint _tmp13_;
+ gint _tmp14_;
#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = buckets;
#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8856,10 +8856,10 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
#line 1032 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp14_ == 0) {
#line 8854 "ColorTransformation.c"
- gint* _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
+ gint* _tmp15_;
+ gint _tmp15__length1;
+ gint _tmp16_;
+ gint _tmp17_;
#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp15_ = buckets;
#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8871,10 +8871,10 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
#line 1033 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp17_ > 0) {
#line 8869 "ColorTransformation.c"
- gint* _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
+ gint* _tmp18_;
+ gint _tmp18__length1;
+ gint _tmp19_;
+ gint _tmp20_;
#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp18_ = buckets;
#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8886,14 +8886,14 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
#line 1034 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp20_ > 0) {
#line 8884 "ColorTransformation.c"
- gint* _tmp21_ = NULL;
- gint _tmp21__length1 = 0;
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
- gint* _tmp24_ = NULL;
- gint _tmp24__length1 = 0;
- gint _tmp25_ = 0;
- gint _tmp26_ = 0;
+ gint* _tmp21_;
+ gint _tmp21__length1;
+ gint _tmp22_;
+ gint _tmp23_;
+ gint* _tmp24_;
+ gint _tmp24__length1;
+ gint _tmp25_;
+ gint _tmp26_;
#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp21_ = buckets;
#line 1035 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -8937,170 +8937,170 @@ static gint rgb_histogram_correct_snap_from_quantization (RGBHistogram* self, gi
static void rgb_histogram_smooth_extrema (RGBHistogram* self, gint** count_data, int* count_data_length1) {
- gint* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
- gint* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- gint* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gint _tmp3_ = 0;
- gint* _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- gint _tmp5_ = 0;
- gint* _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
- gint _tmp7_ = 0;
- gint _tmp8_ = 0;
- gint* _tmp9_ = NULL;
- gint _tmp9__length1 = 0;
- gint* _tmp10_ = NULL;
- gint _tmp10__length1 = 0;
- gint _tmp11_ = 0;
- gint* _tmp12_ = NULL;
- gint _tmp12__length1 = 0;
- gint _tmp13_ = 0;
- gint* _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gint _tmp15_ = 0;
- gint* _tmp16_ = NULL;
- gint _tmp16__length1 = 0;
- gint _tmp17_ = 0;
- gint _tmp18_ = 0;
- gint* _tmp19_ = NULL;
- gint _tmp19__length1 = 0;
- gint* _tmp20_ = NULL;
- gint _tmp20__length1 = 0;
- gint _tmp21_ = 0;
- gint* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gint _tmp23_ = 0;
- gint* _tmp24_ = NULL;
- gint _tmp24__length1 = 0;
- gint _tmp25_ = 0;
- gint* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gint _tmp27_ = 0;
- gint* _tmp28_ = NULL;
- gint _tmp28__length1 = 0;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
- gint* _tmp31_ = NULL;
- gint _tmp31__length1 = 0;
- gint* _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
- gint _tmp33_ = 0;
- gint* _tmp34_ = NULL;
- gint _tmp34__length1 = 0;
- gint _tmp35_ = 0;
- gint* _tmp36_ = NULL;
- gint _tmp36__length1 = 0;
- gint _tmp37_ = 0;
- gint* _tmp38_ = NULL;
- gint _tmp38__length1 = 0;
- gint _tmp39_ = 0;
- gint* _tmp40_ = NULL;
- gint _tmp40__length1 = 0;
- gint _tmp41_ = 0;
- gint _tmp42_ = 0;
- gint* _tmp43_ = NULL;
- gint _tmp43__length1 = 0;
- gint* _tmp44_ = NULL;
- gint _tmp44__length1 = 0;
- gint _tmp45_ = 0;
- gint* _tmp46_ = NULL;
- gint _tmp46__length1 = 0;
- gint _tmp47_ = 0;
- gint* _tmp48_ = NULL;
- gint _tmp48__length1 = 0;
- gint _tmp49_ = 0;
- gint* _tmp50_ = NULL;
- gint _tmp50__length1 = 0;
- gint _tmp51_ = 0;
- gint* _tmp52_ = NULL;
- gint _tmp52__length1 = 0;
- gint _tmp53_ = 0;
- gint _tmp54_ = 0;
- gint* _tmp55_ = NULL;
- gint _tmp55__length1 = 0;
- gint* _tmp56_ = NULL;
- gint _tmp56__length1 = 0;
- gint _tmp57_ = 0;
- gint* _tmp58_ = NULL;
- gint _tmp58__length1 = 0;
- gint _tmp59_ = 0;
- gint* _tmp60_ = NULL;
- gint _tmp60__length1 = 0;
- gint _tmp61_ = 0;
- gint _tmp62_ = 0;
- gint* _tmp63_ = NULL;
- gint _tmp63__length1 = 0;
- gint* _tmp64_ = NULL;
- gint _tmp64__length1 = 0;
- gint _tmp65_ = 0;
- gint* _tmp66_ = NULL;
- gint _tmp66__length1 = 0;
- gint _tmp67_ = 0;
- gint* _tmp68_ = NULL;
- gint _tmp68__length1 = 0;
- gint _tmp69_ = 0;
- gint* _tmp70_ = NULL;
- gint _tmp70__length1 = 0;
- gint _tmp71_ = 0;
- gint _tmp72_ = 0;
- gint* _tmp73_ = NULL;
- gint _tmp73__length1 = 0;
- gint* _tmp74_ = NULL;
- gint _tmp74__length1 = 0;
- gint _tmp75_ = 0;
- gint* _tmp76_ = NULL;
- gint _tmp76__length1 = 0;
- gint _tmp77_ = 0;
- gint* _tmp78_ = NULL;
- gint _tmp78__length1 = 0;
- gint _tmp79_ = 0;
- gint* _tmp80_ = NULL;
- gint _tmp80__length1 = 0;
- gint _tmp81_ = 0;
- gint* _tmp82_ = NULL;
- gint _tmp82__length1 = 0;
- gint _tmp83_ = 0;
- gint _tmp84_ = 0;
- gint* _tmp85_ = NULL;
- gint _tmp85__length1 = 0;
- gint* _tmp86_ = NULL;
- gint _tmp86__length1 = 0;
- gint _tmp87_ = 0;
- gint* _tmp88_ = NULL;
- gint _tmp88__length1 = 0;
- gint _tmp89_ = 0;
- gint* _tmp90_ = NULL;
- gint _tmp90__length1 = 0;
- gint _tmp91_ = 0;
- gint* _tmp92_ = NULL;
- gint _tmp92__length1 = 0;
- gint _tmp93_ = 0;
- gint* _tmp94_ = NULL;
- gint _tmp94__length1 = 0;
- gint _tmp95_ = 0;
- gint _tmp96_ = 0;
- gint* _tmp97_ = NULL;
- gint _tmp97__length1 = 0;
- gint* _tmp98_ = NULL;
- gint _tmp98__length1 = 0;
- gint _tmp99_ = 0;
- gint* _tmp100_ = NULL;
- gint _tmp100__length1 = 0;
- gint _tmp101_ = 0;
- gint* _tmp102_ = NULL;
- gint _tmp102__length1 = 0;
- gint _tmp103_ = 0;
- gint* _tmp104_ = NULL;
- gint _tmp104__length1 = 0;
- gint _tmp105_ = 0;
- gint* _tmp106_ = NULL;
- gint _tmp106__length1 = 0;
- gint _tmp107_ = 0;
- gint _tmp108_ = 0;
+ gint* _tmp0_;
+ gint _tmp0__length1;
+ gint* _tmp1_;
+ gint _tmp1__length1;
+ gint* _tmp2_;
+ gint _tmp2__length1;
+ gint _tmp3_;
+ gint* _tmp4_;
+ gint _tmp4__length1;
+ gint _tmp5_;
+ gint* _tmp6_;
+ gint _tmp6__length1;
+ gint _tmp7_;
+ gint _tmp8_;
+ gint* _tmp9_;
+ gint _tmp9__length1;
+ gint* _tmp10_;
+ gint _tmp10__length1;
+ gint _tmp11_;
+ gint* _tmp12_;
+ gint _tmp12__length1;
+ gint _tmp13_;
+ gint* _tmp14_;
+ gint _tmp14__length1;
+ gint _tmp15_;
+ gint* _tmp16_;
+ gint _tmp16__length1;
+ gint _tmp17_;
+ gint _tmp18_;
+ gint* _tmp19_;
+ gint _tmp19__length1;
+ gint* _tmp20_;
+ gint _tmp20__length1;
+ gint _tmp21_;
+ gint* _tmp22_;
+ gint _tmp22__length1;
+ gint _tmp23_;
+ gint* _tmp24_;
+ gint _tmp24__length1;
+ gint _tmp25_;
+ gint* _tmp26_;
+ gint _tmp26__length1;
+ gint _tmp27_;
+ gint* _tmp28_;
+ gint _tmp28__length1;
+ gint _tmp29_;
+ gint _tmp30_;
+ gint* _tmp31_;
+ gint _tmp31__length1;
+ gint* _tmp32_;
+ gint _tmp32__length1;
+ gint _tmp33_;
+ gint* _tmp34_;
+ gint _tmp34__length1;
+ gint _tmp35_;
+ gint* _tmp36_;
+ gint _tmp36__length1;
+ gint _tmp37_;
+ gint* _tmp38_;
+ gint _tmp38__length1;
+ gint _tmp39_;
+ gint* _tmp40_;
+ gint _tmp40__length1;
+ gint _tmp41_;
+ gint _tmp42_;
+ gint* _tmp43_;
+ gint _tmp43__length1;
+ gint* _tmp44_;
+ gint _tmp44__length1;
+ gint _tmp45_;
+ gint* _tmp46_;
+ gint _tmp46__length1;
+ gint _tmp47_;
+ gint* _tmp48_;
+ gint _tmp48__length1;
+ gint _tmp49_;
+ gint* _tmp50_;
+ gint _tmp50__length1;
+ gint _tmp51_;
+ gint* _tmp52_;
+ gint _tmp52__length1;
+ gint _tmp53_;
+ gint _tmp54_;
+ gint* _tmp55_;
+ gint _tmp55__length1;
+ gint* _tmp56_;
+ gint _tmp56__length1;
+ gint _tmp57_;
+ gint* _tmp58_;
+ gint _tmp58__length1;
+ gint _tmp59_;
+ gint* _tmp60_;
+ gint _tmp60__length1;
+ gint _tmp61_;
+ gint _tmp62_;
+ gint* _tmp63_;
+ gint _tmp63__length1;
+ gint* _tmp64_;
+ gint _tmp64__length1;
+ gint _tmp65_;
+ gint* _tmp66_;
+ gint _tmp66__length1;
+ gint _tmp67_;
+ gint* _tmp68_;
+ gint _tmp68__length1;
+ gint _tmp69_;
+ gint* _tmp70_;
+ gint _tmp70__length1;
+ gint _tmp71_;
+ gint _tmp72_;
+ gint* _tmp73_;
+ gint _tmp73__length1;
+ gint* _tmp74_;
+ gint _tmp74__length1;
+ gint _tmp75_;
+ gint* _tmp76_;
+ gint _tmp76__length1;
+ gint _tmp77_;
+ gint* _tmp78_;
+ gint _tmp78__length1;
+ gint _tmp79_;
+ gint* _tmp80_;
+ gint _tmp80__length1;
+ gint _tmp81_;
+ gint* _tmp82_;
+ gint _tmp82__length1;
+ gint _tmp83_;
+ gint _tmp84_;
+ gint* _tmp85_;
+ gint _tmp85__length1;
+ gint* _tmp86_;
+ gint _tmp86__length1;
+ gint _tmp87_;
+ gint* _tmp88_;
+ gint _tmp88__length1;
+ gint _tmp89_;
+ gint* _tmp90_;
+ gint _tmp90__length1;
+ gint _tmp91_;
+ gint* _tmp92_;
+ gint _tmp92__length1;
+ gint _tmp93_;
+ gint* _tmp94_;
+ gint _tmp94__length1;
+ gint _tmp95_;
+ gint _tmp96_;
+ gint* _tmp97_;
+ gint _tmp97__length1;
+ gint* _tmp98_;
+ gint _tmp98__length1;
+ gint _tmp99_;
+ gint* _tmp100_;
+ gint _tmp100__length1;
+ gint _tmp101_;
+ gint* _tmp102_;
+ gint _tmp102__length1;
+ gint _tmp103_;
+ gint* _tmp104_;
+ gint _tmp104__length1;
+ gint _tmp105_;
+ gint* _tmp106_;
+ gint _tmp106__length1;
+ gint _tmp107_;
+ gint _tmp108_;
#line 1041 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_RGB_HISTOGRAM (self));
#line 1042 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9460,27 +9460,27 @@ static void rgb_histogram_smooth_extrema (RGBHistogram* self, gint** count_data,
static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
- gint* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gint* _tmp5_ = NULL;
- gint* _tmp6_ = NULL;
- gint* _tmp7_ = NULL;
+ gint* _tmp2_;
+ gint _tmp2__length1;
+ gint* _tmp5_;
+ gint* _tmp6_;
+ gint* _tmp7_;
gint* temp_red_counts = NULL;
- gint* _tmp8_ = NULL;
- gint temp_red_counts_length1 = 0;
- gint _temp_red_counts_size_ = 0;
+ gint* _tmp8_;
+ gint temp_red_counts_length1;
+ gint _temp_red_counts_size_;
gint* temp_green_counts = NULL;
- gint* _tmp9_ = NULL;
- gint temp_green_counts_length1 = 0;
- gint _temp_green_counts_size_ = 0;
+ gint* _tmp9_;
+ gint temp_green_counts_length1;
+ gint _temp_green_counts_size_;
gint* temp_blue_counts = NULL;
- gint* _tmp10_ = NULL;
- gint temp_blue_counts_length1 = 0;
- gint _temp_blue_counts_size_ = 0;
+ gint* _tmp10_;
+ gint temp_blue_counts_length1;
+ gint _temp_blue_counts_size_;
gint mean_qual_count = 0;
- gint _tmp87_ = 0;
+ gint _tmp87_;
gint constrained_max_qual_count = 0;
- gint _tmp88_ = 0;
+ gint _tmp88_;
#line 1071 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_RGB_HISTOGRAM (self));
#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9490,8 +9490,8 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp2_ != NULL) {
#line 9488 "ColorTransformation.c"
- gint* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
+ gint* _tmp3_;
+ gint _tmp3__length1;
#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->qualitative_green_counts;
#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9507,8 +9507,8 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1072 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp1_) {
#line 9505 "ColorTransformation.c"
- gint* _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
+ gint* _tmp4_;
+ gint _tmp4__length1;
#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp4_ = self->priv->qualitative_blue_counts;
#line 1073 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9594,35 +9594,35 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 9592 "ColorTransformation.c"
- gint _tmp13_ = 0;
- gint* _tmp14_ = NULL;
- gint _tmp14__length1 = 0;
- gint _tmp15_ = 0;
- gint* _tmp16_ = NULL;
- gint _tmp16__length1 = 0;
- gint _tmp17_ = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- gint* _tmp20_ = NULL;
- gint _tmp20__length1 = 0;
- gint _tmp21_ = 0;
- gint* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
- gint* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gint _tmp27_ = 0;
- gint* _tmp28_ = NULL;
- gint _tmp28__length1 = 0;
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
- gint _tmp31_ = 0;
+ gint _tmp13_;
+ gint* _tmp14_;
+ gint _tmp14__length1;
+ gint _tmp15_;
+ gint* _tmp16_;
+ gint _tmp16__length1;
+ gint _tmp17_;
+ gint _tmp18_;
+ gint _tmp19_;
+ gint* _tmp20_;
+ gint _tmp20__length1;
+ gint _tmp21_;
+ gint* _tmp22_;
+ gint _tmp22__length1;
+ gint _tmp23_;
+ gint _tmp24_;
+ gint _tmp25_;
+ gint* _tmp26_;
+ gint _tmp26__length1;
+ gint _tmp27_;
+ gint* _tmp28_;
+ gint _tmp28__length1;
+ gint _tmp29_;
+ gint _tmp30_;
+ gint _tmp31_;
#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp11_) {
#line 9620 "ColorTransformation.c"
- gint _tmp12_ = 0;
+ gint _tmp12_;
#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = i;
#line 1088 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9709,35 +9709,35 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 9707 "ColorTransformation.c"
- gint _tmp34_ = 0;
- gint* _tmp35_ = NULL;
- gint _tmp35__length1 = 0;
- gint _tmp36_ = 0;
- gint* _tmp37_ = NULL;
- gint _tmp37__length1 = 0;
- gint _tmp38_ = 0;
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
- gint* _tmp41_ = NULL;
- gint _tmp41__length1 = 0;
- gint _tmp42_ = 0;
- gint* _tmp43_ = NULL;
- gint _tmp43__length1 = 0;
- gint _tmp44_ = 0;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
- gint* _tmp47_ = NULL;
- gint _tmp47__length1 = 0;
- gint _tmp48_ = 0;
- gint* _tmp49_ = NULL;
- gint _tmp49__length1 = 0;
- gint _tmp50_ = 0;
- gint _tmp51_ = 0;
- gint _tmp52_ = 0;
+ gint _tmp34_;
+ gint* _tmp35_;
+ gint _tmp35__length1;
+ gint _tmp36_;
+ gint* _tmp37_;
+ gint _tmp37__length1;
+ gint _tmp38_;
+ gint _tmp39_;
+ gint _tmp40_;
+ gint* _tmp41_;
+ gint _tmp41__length1;
+ gint _tmp42_;
+ gint* _tmp43_;
+ gint _tmp43__length1;
+ gint _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
+ gint* _tmp47_;
+ gint _tmp47__length1;
+ gint _tmp48_;
+ gint* _tmp49_;
+ gint _tmp49__length1;
+ gint _tmp50_;
+ gint _tmp51_;
+ gint _tmp52_;
#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp32_) {
#line 9735 "ColorTransformation.c"
- gint _tmp33_ = 0;
+ gint _tmp33_;
#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp33_ = i;
#line 1097 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9824,35 +9824,35 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 9822 "ColorTransformation.c"
- gint _tmp55_ = 0;
- gint* _tmp56_ = NULL;
- gint _tmp56__length1 = 0;
- gint _tmp57_ = 0;
- gint* _tmp58_ = NULL;
- gint _tmp58__length1 = 0;
- gint _tmp59_ = 0;
- gint _tmp60_ = 0;
- gint _tmp61_ = 0;
- gint* _tmp62_ = NULL;
- gint _tmp62__length1 = 0;
- gint _tmp63_ = 0;
- gint* _tmp64_ = NULL;
- gint _tmp64__length1 = 0;
- gint _tmp65_ = 0;
- gint _tmp66_ = 0;
- gint _tmp67_ = 0;
- gint* _tmp68_ = NULL;
- gint _tmp68__length1 = 0;
- gint _tmp69_ = 0;
- gint* _tmp70_ = NULL;
- gint _tmp70__length1 = 0;
- gint _tmp71_ = 0;
- gint _tmp72_ = 0;
- gint _tmp73_ = 0;
+ gint _tmp55_;
+ gint* _tmp56_;
+ gint _tmp56__length1;
+ gint _tmp57_;
+ gint* _tmp58_;
+ gint _tmp58__length1;
+ gint _tmp59_;
+ gint _tmp60_;
+ gint _tmp61_;
+ gint* _tmp62_;
+ gint _tmp62__length1;
+ gint _tmp63_;
+ gint* _tmp64_;
+ gint _tmp64__length1;
+ gint _tmp65_;
+ gint _tmp66_;
+ gint _tmp67_;
+ gint* _tmp68_;
+ gint _tmp68__length1;
+ gint _tmp69_;
+ gint* _tmp70_;
+ gint _tmp70__length1;
+ gint _tmp71_;
+ gint _tmp72_;
+ gint _tmp73_;
#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp53_) {
#line 9850 "ColorTransformation.c"
- gint _tmp54_ = 0;
+ gint _tmp54_;
#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp54_ = i;
#line 1105 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -9942,24 +9942,24 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 9940 "ColorTransformation.c"
- gint _tmp76_ = 0;
- gint _tmp77_ = 0;
- gint* _tmp78_ = NULL;
- gint _tmp78__length1 = 0;
- gint _tmp79_ = 0;
- gint _tmp80_ = 0;
- gint* _tmp81_ = NULL;
- gint _tmp81__length1 = 0;
- gint _tmp82_ = 0;
- gint _tmp83_ = 0;
- gint* _tmp84_ = NULL;
- gint _tmp84__length1 = 0;
- gint _tmp85_ = 0;
- gint _tmp86_ = 0;
+ gint _tmp76_;
+ gint _tmp77_;
+ gint* _tmp78_;
+ gint _tmp78__length1;
+ gint _tmp79_;
+ gint _tmp80_;
+ gint* _tmp81_;
+ gint _tmp81__length1;
+ gint _tmp82_;
+ gint _tmp83_;
+ gint* _tmp84_;
+ gint _tmp84__length1;
+ gint _tmp85_;
+ gint _tmp86_;
#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp74_) {
#line 9957 "ColorTransformation.c"
- gint _tmp75_ = 0;
+ gint _tmp75_;
#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp75_ = i;
#line 1117 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10029,26 +10029,26 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10027 "ColorTransformation.c"
- gint _tmp91_ = 0;
- gint* _tmp92_ = NULL;
- gint _tmp92__length1 = 0;
- gint _tmp93_ = 0;
- gint _tmp94_ = 0;
- gint _tmp95_ = 0;
- gint* _tmp100_ = NULL;
- gint _tmp100__length1 = 0;
- gint _tmp101_ = 0;
- gint _tmp102_ = 0;
- gint _tmp103_ = 0;
- gint* _tmp108_ = NULL;
- gint _tmp108__length1 = 0;
- gint _tmp109_ = 0;
- gint _tmp110_ = 0;
- gint _tmp111_ = 0;
+ gint _tmp91_;
+ gint* _tmp92_;
+ gint _tmp92__length1;
+ gint _tmp93_;
+ gint _tmp94_;
+ gint _tmp95_;
+ gint* _tmp100_;
+ gint _tmp100__length1;
+ gint _tmp101_;
+ gint _tmp102_;
+ gint _tmp103_;
+ gint* _tmp108_;
+ gint _tmp108__length1;
+ gint _tmp109_;
+ gint _tmp110_;
+ gint _tmp111_;
#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp89_) {
#line 10046 "ColorTransformation.c"
- gint _tmp90_ = 0;
+ gint _tmp90_;
#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp90_ = i;
#line 1123 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10078,11 +10078,11 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1124 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp94_ > _tmp95_) {
#line 10076 "ColorTransformation.c"
- gint* _tmp96_ = NULL;
- gint _tmp96__length1 = 0;
- gint _tmp97_ = 0;
- gint _tmp98_ = 0;
- gint _tmp99_ = 0;
+ gint* _tmp96_;
+ gint _tmp96__length1;
+ gint _tmp97_;
+ gint _tmp98_;
+ gint _tmp99_;
#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp96_ = self->priv->qualitative_red_counts;
#line 1125 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10110,11 +10110,11 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1127 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp102_ > _tmp103_) {
#line 10108 "ColorTransformation.c"
- gint* _tmp104_ = NULL;
- gint _tmp104__length1 = 0;
- gint _tmp105_ = 0;
- gint _tmp106_ = 0;
- gint _tmp107_ = 0;
+ gint* _tmp104_;
+ gint _tmp104__length1;
+ gint _tmp105_;
+ gint _tmp106_;
+ gint _tmp107_;
#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp104_ = self->priv->qualitative_green_counts;
#line 1128 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10142,11 +10142,11 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
#line 1130 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp110_ > _tmp111_) {
#line 10140 "ColorTransformation.c"
- gint* _tmp112_ = NULL;
- gint _tmp112__length1 = 0;
- gint _tmp113_ = 0;
- gint _tmp114_ = 0;
- gint _tmp115_ = 0;
+ gint* _tmp112_;
+ gint _tmp112__length1;
+ gint _tmp113_;
+ gint _tmp114_;
+ gint _tmp115_;
#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp112_ = self->priv->qualitative_blue_counts;
#line 1131 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10182,9 +10182,9 @@ static void rgb_histogram_prepare_qualitative_counts (RGBHistogram* self) {
GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
GdkPixbuf* result = NULL;
- GdkPixbuf* _tmp0_ = NULL;
- GdkPixbuf* _tmp121_ = NULL;
- GdkPixbuf* _tmp122_ = NULL;
+ GdkPixbuf* _tmp0_;
+ GdkPixbuf* _tmp121_;
+ GdkPixbuf* _tmp122_;
#line 1139 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_RGB_HISTOGRAM (self), NULL);
#line 1140 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10193,26 +10193,26 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
if (_tmp0_ == NULL) {
#line 10190 "ColorTransformation.c"
gint max_count = 0;
- GdkPixbuf* _tmp25_ = NULL;
+ GdkPixbuf* _tmp25_;
gint rowstride = 0;
- GdkPixbuf* _tmp26_ = NULL;
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
+ GdkPixbuf* _tmp26_;
+ gint _tmp27_;
+ gint _tmp28_;
gint sample_bytes = 0;
- GdkPixbuf* _tmp29_ = NULL;
- gint _tmp30_ = 0;
+ GdkPixbuf* _tmp29_;
+ gint _tmp30_;
gint pixel_bytes = 0;
- gint _tmp31_ = 0;
- GdkPixbuf* _tmp32_ = NULL;
- gint _tmp33_ = 0;
+ gint _tmp31_;
+ GdkPixbuf* _tmp32_;
+ gint _tmp33_;
gdouble scale_bar = 0.0;
- gint _tmp34_ = 0;
+ gint _tmp34_;
guchar* pixel_data = NULL;
- GdkPixbuf* _tmp35_ = NULL;
- guint8* _tmp36_ = NULL;
- gint pixel_data_length1 = 0;
- gint _pixel_data_size_ = 0;
- gint _tmp37_ = 0;
+ GdkPixbuf* _tmp35_;
+ guint8* _tmp36_;
+ gint pixel_data_length1;
+ gint _pixel_data_size_;
+ gint _tmp37_;
#line 1141 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
rgb_histogram_prepare_qualitative_counts (self);
#line 1142 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10230,26 +10230,26 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10228 "ColorTransformation.c"
- gint _tmp3_ = 0;
- gint* _tmp4_ = NULL;
- gint _tmp4__length1 = 0;
- gint _tmp5_ = 0;
- gint _tmp6_ = 0;
- gint _tmp7_ = 0;
- gint* _tmp11_ = NULL;
- gint _tmp11__length1 = 0;
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- gint _tmp14_ = 0;
- gint* _tmp18_ = NULL;
- gint _tmp18__length1 = 0;
- gint _tmp19_ = 0;
- gint _tmp20_ = 0;
- gint _tmp21_ = 0;
+ gint _tmp3_;
+ gint* _tmp4_;
+ gint _tmp4__length1;
+ gint _tmp5_;
+ gint _tmp6_;
+ gint _tmp7_;
+ gint* _tmp11_;
+ gint _tmp11__length1;
+ gint _tmp12_;
+ gint _tmp13_;
+ gint _tmp14_;
+ gint* _tmp18_;
+ gint _tmp18__length1;
+ gint _tmp19_;
+ gint _tmp20_;
+ gint _tmp21_;
#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp1_) {
#line 10247 "ColorTransformation.c"
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp2_ = i;
#line 1143 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10279,10 +10279,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1144 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp6_ > _tmp7_) {
#line 10277 "ColorTransformation.c"
- gint* _tmp8_ = NULL;
- gint _tmp8__length1 = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+ gint* _tmp8_;
+ gint _tmp8__length1;
+ gint _tmp9_;
+ gint _tmp10_;
#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = self->priv->qualitative_red_counts;
#line 1145 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10308,10 +10308,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1146 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp13_ > _tmp14_) {
#line 10306 "ColorTransformation.c"
- gint* _tmp15_ = NULL;
- gint _tmp15__length1 = 0;
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
+ gint* _tmp15_;
+ gint _tmp15__length1;
+ gint _tmp16_;
+ gint _tmp17_;
#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp15_ = self->priv->qualitative_green_counts;
#line 1147 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10337,10 +10337,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1148 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp20_ > _tmp21_) {
#line 10335 "ColorTransformation.c"
- gint* _tmp22_ = NULL;
- gint _tmp22__length1 = 0;
- gint _tmp23_ = 0;
- gint _tmp24_ = 0;
+ gint* _tmp22_;
+ gint _tmp22__length1;
+ gint _tmp23_;
+ gint _tmp24_;
#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp22_ = self->priv->qualitative_blue_counts;
#line 1149 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10403,8 +10403,8 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1166 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp37_ == 0) {
#line 10401 "ColorTransformation.c"
- GdkPixbuf* _tmp51_ = NULL;
- GdkPixbuf* _tmp52_ = NULL;
+ GdkPixbuf* _tmp51_;
+ GdkPixbuf* _tmp52_;
{
gint i = 0;
#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10417,22 +10417,22 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10415 "ColorTransformation.c"
- gint _tmp40_ = 0;
- gint _tmp41_ = 0;
- GdkPixbuf* _tmp42_ = NULL;
- gint _tmp43_ = 0;
- gint _tmp44_ = 0;
- GdkPixbuf* _tmp45_ = NULL;
- gint _tmp46_ = 0;
- gint _tmp47_ = 0;
- guchar* _tmp48_ = NULL;
- gint _tmp48__length1 = 0;
- gint _tmp49_ = 0;
- guchar _tmp50_ = '\0';
+ gint _tmp40_;
+ gint _tmp41_;
+ GdkPixbuf* _tmp42_;
+ gint _tmp43_;
+ gint _tmp44_;
+ GdkPixbuf* _tmp45_;
+ gint _tmp46_;
+ gint _tmp47_;
+ guchar* _tmp48_;
+ gint _tmp48__length1;
+ gint _tmp49_;
+ guchar _tmp50_;
#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp38_) {
#line 10430 "ColorTransformation.c"
- gint _tmp39_ = 0;
+ gint _tmp39_;
#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp39_ = i;
#line 1167 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10499,41 +10499,41 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10497 "ColorTransformation.c"
- gint _tmp55_ = 0;
+ gint _tmp55_;
gint red_bar_height = 0;
- gint* _tmp56_ = NULL;
- gint _tmp56__length1 = 0;
- gint _tmp57_ = 0;
- gint _tmp58_ = 0;
- gdouble _tmp59_ = 0.0;
+ gint* _tmp56_;
+ gint _tmp56__length1;
+ gint _tmp57_;
+ gint _tmp58_;
+ gdouble _tmp59_;
gint green_bar_height = 0;
- gint* _tmp60_ = NULL;
- gint _tmp60__length1 = 0;
- gint _tmp61_ = 0;
- gint _tmp62_ = 0;
- gdouble _tmp63_ = 0.0;
+ gint* _tmp60_;
+ gint _tmp60__length1;
+ gint _tmp61_;
+ gint _tmp62_;
+ gdouble _tmp63_;
gint blue_bar_height = 0;
- gint* _tmp64_ = NULL;
- gint _tmp64__length1 = 0;
- gint _tmp65_ = 0;
- gint _tmp66_ = 0;
- gdouble _tmp67_ = 0.0;
+ gint* _tmp64_;
+ gint _tmp64__length1;
+ gint _tmp65_;
+ gint _tmp66_;
+ gdouble _tmp67_;
gint max_bar_height = 0;
- gint _tmp68_ = 0;
- gint _tmp69_ = 0;
- gint _tmp70_ = 0;
- gint _tmp71_ = 0;
- gint _tmp72_ = 0;
+ gint _tmp68_;
+ gint _tmp69_;
+ gint _tmp70_;
+ gint _tmp71_;
+ gint _tmp72_;
gint y = 0;
gint pixel_index = 0;
- gint _tmp73_ = 0;
- gint _tmp74_ = 0;
- gint _tmp75_ = 0;
- gint _tmp76_ = 0;
+ gint _tmp73_;
+ gint _tmp74_;
+ gint _tmp75_;
+ gint _tmp76_;
#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp53_) {
#line 10531 "ColorTransformation.c"
- gint _tmp54_ = 0;
+ gint _tmp54_;
#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp54_ = x;
#line 1173 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10618,32 +10618,32 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10616 "ColorTransformation.c"
- gint _tmp79_ = 0;
- gint _tmp80_ = 0;
- guchar* _tmp81_ = NULL;
- gint _tmp81__length1 = 0;
- gint _tmp82_ = 0;
- guchar _tmp83_ = '\0';
- guchar* _tmp84_ = NULL;
- gint _tmp84__length1 = 0;
- gint _tmp85_ = 0;
- guchar _tmp86_ = '\0';
- guchar* _tmp87_ = NULL;
- gint _tmp87__length1 = 0;
- gint _tmp88_ = 0;
- guchar _tmp89_ = '\0';
- gint _tmp90_ = 0;
- gint _tmp91_ = 0;
- gint _tmp95_ = 0;
- gint _tmp96_ = 0;
- gint _tmp100_ = 0;
- gint _tmp101_ = 0;
- gint _tmp105_ = 0;
- gint _tmp106_ = 0;
+ gint _tmp79_;
+ gint _tmp80_;
+ guchar* _tmp81_;
+ gint _tmp81__length1;
+ gint _tmp82_;
+ guchar _tmp83_;
+ guchar* _tmp84_;
+ gint _tmp84__length1;
+ gint _tmp85_;
+ guchar _tmp86_;
+ guchar* _tmp87_;
+ gint _tmp87__length1;
+ gint _tmp88_;
+ guchar _tmp89_;
+ gint _tmp90_;
+ gint _tmp91_;
+ gint _tmp95_;
+ gint _tmp96_;
+ gint _tmp100_;
+ gint _tmp101_;
+ gint _tmp105_;
+ gint _tmp106_;
#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp77_) {
#line 10641 "ColorTransformation.c"
- gint _tmp78_ = 0;
+ gint _tmp78_;
#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp78_ = y;
#line 1186 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10699,10 +10699,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1191 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp90_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp91_) - 1)) {
#line 10697 "ColorTransformation.c"
- guchar* _tmp92_ = NULL;
- gint _tmp92__length1 = 0;
- gint _tmp93_ = 0;
- guchar _tmp94_ = '\0';
+ guchar* _tmp92_;
+ gint _tmp92__length1;
+ gint _tmp93_;
+ guchar _tmp94_;
#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp92_ = pixel_data;
#line 1192 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10722,10 +10722,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1193 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp95_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp96_) - 1)) {
#line 10720 "ColorTransformation.c"
- guchar* _tmp97_ = NULL;
- gint _tmp97__length1 = 0;
- gint _tmp98_ = 0;
- guchar _tmp99_ = '\0';
+ guchar* _tmp97_;
+ gint _tmp97__length1;
+ gint _tmp98_;
+ guchar _tmp99_;
#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp97_ = pixel_data;
#line 1194 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10745,10 +10745,10 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1195 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp100_ >= ((RGB_HISTOGRAM_GRAPHIC_HEIGHT - _tmp101_) - 1)) {
#line 10743 "ColorTransformation.c"
- guchar* _tmp102_ = NULL;
- gint _tmp102__length1 = 0;
- gint _tmp103_ = 0;
- guchar _tmp104_ = '\0';
+ guchar* _tmp102_;
+ gint _tmp102__length1;
+ gint _tmp103_;
+ guchar _tmp104_;
#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp102_ = pixel_data;
#line 1196 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10777,25 +10777,25 @@ GdkPixbuf* rgb_histogram_get_graphic (RGBHistogram* self) {
#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 10775 "ColorTransformation.c"
- gint _tmp109_ = 0;
- guchar* _tmp110_ = NULL;
- gint _tmp110__length1 = 0;
- gint _tmp111_ = 0;
- guchar _tmp112_ = '\0';
- guchar* _tmp113_ = NULL;
- gint _tmp113__length1 = 0;
- gint _tmp114_ = 0;
- guchar _tmp115_ = '\0';
- guchar* _tmp116_ = NULL;
- gint _tmp116__length1 = 0;
- gint _tmp117_ = 0;
- guchar _tmp118_ = '\0';
- gint _tmp119_ = 0;
- gint _tmp120_ = 0;
+ gint _tmp109_;
+ guchar* _tmp110_;
+ gint _tmp110__length1;
+ gint _tmp111_;
+ guchar _tmp112_;
+ guchar* _tmp113_;
+ gint _tmp113__length1;
+ gint _tmp114_;
+ guchar _tmp115_;
+ guchar* _tmp116_;
+ gint _tmp116__length1;
+ gint _tmp117_;
+ guchar _tmp118_;
+ gint _tmp119_;
+ gint _tmp120_;
#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp107_) {
#line 10793 "ColorTransformation.c"
- gint _tmp108_ = 0;
+ gint _tmp108_;
#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp108_ = y;
#line 1201 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -10909,7 +10909,7 @@ static gchar* value_rgb_histogram_collect_value (GValue* value, guint n_collect_
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 10907 "ColorTransformation.c"
- RGBHistogram* object;
+ RGBHistogram * object;
object = collect_values[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -10936,7 +10936,7 @@ static gchar* value_rgb_histogram_collect_value (GValue* value, guint n_collect_
static gchar* value_rgb_histogram_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- RGBHistogram** object_p;
+ RGBHistogram ** object_p;
object_p = collect_values[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -10988,7 +10988,7 @@ gpointer value_get_rgb_histogram (const GValue* value) {
void value_set_rgb_histogram (GValue* value, gpointer v_object) {
- RGBHistogram* old;
+ RGBHistogram * old;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_RGB_HISTOGRAM));
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11019,7 +11019,7 @@ void value_set_rgb_histogram (GValue* value, gpointer v_object) {
void value_take_rgb_histogram (GValue* value, gpointer v_object) {
- RGBHistogram* old;
+ RGBHistogram * old;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_RGB_HISTOGRAM));
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11059,9 +11059,9 @@ static void rgb_histogram_class_init (RGBHistogramClass * klass) {
static void rgb_histogram_instance_init (RGBHistogram * self) {
- gint* _tmp0_ = NULL;
- gint* _tmp1_ = NULL;
- gint* _tmp2_ = NULL;
+ gint* _tmp0_;
+ gint* _tmp1_;
+ gint* _tmp2_;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self->priv = RGB_HISTOGRAM_GET_PRIVATE (self);
#line 966 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11114,7 +11114,7 @@ static void rgb_histogram_instance_init (RGBHistogram * self) {
}
-static void rgb_histogram_finalize (RGBHistogram* obj) {
+static void rgb_histogram_finalize (RGBHistogram * obj) {
RGBHistogram * self;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_RGB_HISTOGRAM, RGBHistogram);
@@ -11153,7 +11153,7 @@ GType rgb_histogram_get_type (void) {
gpointer rgb_histogram_ref (gpointer instance) {
- RGBHistogram* self;
+ RGBHistogram * self;
self = instance;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -11164,7 +11164,7 @@ gpointer rgb_histogram_ref (gpointer instance) {
void rgb_histogram_unref (gpointer instance) {
- RGBHistogram* self;
+ RGBHistogram * self;
self = instance;
#line 958 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -11180,32 +11180,32 @@ void rgb_histogram_unref (gpointer instance) {
IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf* pixbuf) {
IntensityHistogram* self = NULL;
gint n_channels = 0;
- GdkPixbuf* _tmp0_ = NULL;
- gint _tmp1_ = 0;
+ GdkPixbuf* _tmp0_;
+ gint _tmp1_;
gint rowstride = 0;
- GdkPixbuf* _tmp2_ = NULL;
- gint _tmp3_ = 0;
+ GdkPixbuf* _tmp2_;
+ gint _tmp3_;
gint width = 0;
- GdkPixbuf* _tmp4_ = NULL;
- gint _tmp5_ = 0;
+ GdkPixbuf* _tmp4_;
+ gint _tmp5_;
gint height = 0;
- GdkPixbuf* _tmp6_ = NULL;
- gint _tmp7_ = 0;
+ GdkPixbuf* _tmp6_;
+ gint _tmp7_;
gint rowbytes = 0;
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
+ gint _tmp8_;
+ gint _tmp9_;
guchar* pixels = NULL;
- GdkPixbuf* _tmp10_ = NULL;
- guint8* _tmp11_ = NULL;
- gint pixels_length1 = 0;
- gint _pixels_size_ = 0;
+ GdkPixbuf* _tmp10_;
+ guint8* _tmp11_;
+ gint pixels_length1;
+ gint _pixels_size_;
gfloat pixel_count = 0.0F;
- GdkPixbuf* _tmp41_ = NULL;
- gint _tmp42_ = 0;
- gint _tmp43_ = 0;
- GdkPixbuf* _tmp44_ = NULL;
- gint _tmp45_ = 0;
- gint _tmp46_ = 0;
+ GdkPixbuf* _tmp41_;
+ gint _tmp42_;
+ gint _tmp43_;
+ GdkPixbuf* _tmp44_;
+ gint _tmp45_;
+ gint _tmp46_;
gfloat accumulator = 0.0F;
#line 1220 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
@@ -11264,18 +11264,18 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf*
#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 11262 "ColorTransformation.c"
- gint _tmp14_ = 0;
- gint _tmp15_ = 0;
+ gint _tmp14_;
+ gint _tmp15_;
gint row_start_index = 0;
- gint _tmp16_ = 0;
- gint _tmp17_ = 0;
+ gint _tmp16_;
+ gint _tmp17_;
gint row_end_index = 0;
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
+ gint _tmp18_;
+ gint _tmp19_;
#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp12_) {
#line 11273 "ColorTransformation.c"
- gint _tmp13_ = 0;
+ gint _tmp13_;
#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp13_ = j;
#line 1227 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11309,7 +11309,7 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf*
#line 11305 "ColorTransformation.c"
{
gint i = 0;
- gint _tmp20_ = 0;
+ gint _tmp20_;
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp20_ = row_start_index;
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11322,35 +11322,35 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf*
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 11320 "ColorTransformation.c"
- gint _tmp24_ = 0;
- gint _tmp25_ = 0;
+ gint _tmp24_;
+ gint _tmp25_;
RGBAnalyticPixel pix_rgb = {0};
- guchar* _tmp26_ = NULL;
- gint _tmp26__length1 = 0;
- gint _tmp27_ = 0;
- guchar _tmp28_ = '\0';
- guchar* _tmp29_ = NULL;
- gint _tmp29__length1 = 0;
- gint _tmp30_ = 0;
- guchar _tmp31_ = '\0';
- guchar* _tmp32_ = NULL;
- gint _tmp32__length1 = 0;
- gint _tmp33_ = 0;
- guchar _tmp34_ = '\0';
+ guchar* _tmp26_;
+ gint _tmp26__length1;
+ gint _tmp27_;
+ guchar _tmp28_;
+ guchar* _tmp29_;
+ gint _tmp29__length1;
+ gint _tmp30_;
+ guchar _tmp31_;
+ guchar* _tmp32_;
+ gint _tmp32__length1;
+ gint _tmp33_;
+ guchar _tmp34_;
HSVAnalyticPixel pix_hsi = {0};
- RGBAnalyticPixel _tmp35_ = {0};
+ RGBAnalyticPixel _tmp35_;
gint quantized_light_value = 0;
- HSVAnalyticPixel _tmp36_ = {0};
- gfloat _tmp37_ = 0.0F;
- gint* _tmp38_ = NULL;
- gint _tmp38__length1 = 0;
- gint _tmp39_ = 0;
- gint _tmp40_ = 0;
+ HSVAnalyticPixel _tmp36_;
+ gfloat _tmp37_;
+ gint* _tmp38_;
+ gint _tmp38__length1;
+ gint _tmp39_;
+ gint _tmp40_;
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp21_) {
#line 11347 "ColorTransformation.c"
- gint _tmp22_ = 0;
- gint _tmp23_ = 0;
+ gint _tmp22_;
+ gint _tmp23_;
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp22_ = i;
#line 1230 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11453,30 +11453,30 @@ IntensityHistogram* intensity_histogram_construct (GType object_type, GdkPixbuf*
#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 11451 "ColorTransformation.c"
- gint _tmp49_ = 0;
- gfloat* _tmp50_ = NULL;
- gint _tmp50__length1 = 0;
- gint _tmp51_ = 0;
- gint* _tmp52_ = NULL;
- gint _tmp52__length1 = 0;
- gint _tmp53_ = 0;
- gint _tmp54_ = 0;
- gfloat _tmp55_ = 0.0F;
- gfloat _tmp56_ = 0.0F;
- gfloat _tmp57_ = 0.0F;
- gfloat* _tmp58_ = NULL;
- gint _tmp58__length1 = 0;
- gint _tmp59_ = 0;
- gfloat _tmp60_ = 0.0F;
- gfloat* _tmp61_ = NULL;
- gint _tmp61__length1 = 0;
- gint _tmp62_ = 0;
- gfloat _tmp63_ = 0.0F;
- gfloat _tmp64_ = 0.0F;
+ gint _tmp49_;
+ gfloat* _tmp50_;
+ gint _tmp50__length1;
+ gint _tmp51_;
+ gint* _tmp52_;
+ gint _tmp52__length1;
+ gint _tmp53_;
+ gint _tmp54_;
+ gfloat _tmp55_;
+ gfloat _tmp56_;
+ gfloat _tmp57_;
+ gfloat* _tmp58_;
+ gint _tmp58__length1;
+ gint _tmp59_;
+ gfloat _tmp60_;
+ gfloat* _tmp61_;
+ gint _tmp61__length1;
+ gint _tmp62_;
+ gfloat _tmp63_;
+ gfloat _tmp64_;
#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp47_) {
#line 11474 "ColorTransformation.c"
- gint _tmp48_ = 0;
+ gint _tmp48_;
#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp48_ = i;
#line 1241 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11556,12 +11556,12 @@ IntensityHistogram* intensity_histogram_new (GdkPixbuf* pixbuf) {
gfloat intensity_histogram_get_cumulative_probability (IntensityHistogram* self, gint level) {
gfloat result = 0.0F;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gfloat* _tmp2_ = NULL;
- gint _tmp2__length1 = 0;
- gint _tmp3_ = 0;
- gfloat _tmp4_ = 0.0F;
+ gint _tmp0_;
+ gint _tmp1_;
+ gfloat* _tmp2_;
+ gint _tmp2__length1;
+ gint _tmp3_;
+ gfloat _tmp4_;
#line 1248 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_INTENSITY_HISTOGRAM (self), 0.0F);
#line 1250 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11628,7 +11628,7 @@ static gchar* value_intensity_histogram_collect_value (GValue* value, guint n_co
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 11626 "ColorTransformation.c"
- IntensityHistogram* object;
+ IntensityHistogram * object;
object = collect_values[0].v_pointer;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -11655,7 +11655,7 @@ static gchar* value_intensity_histogram_collect_value (GValue* value, guint n_co
static gchar* value_intensity_histogram_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- IntensityHistogram** object_p;
+ IntensityHistogram ** object_p;
object_p = collect_values[0].v_pointer;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -11707,7 +11707,7 @@ gpointer value_get_intensity_histogram (const GValue* value) {
void value_set_intensity_histogram (GValue* value, gpointer v_object) {
- IntensityHistogram* old;
+ IntensityHistogram * old;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INTENSITY_HISTOGRAM));
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11738,7 +11738,7 @@ void value_set_intensity_histogram (GValue* value, gpointer v_object) {
void value_take_intensity_histogram (GValue* value, gpointer v_object) {
- IntensityHistogram* old;
+ IntensityHistogram * old;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INTENSITY_HISTOGRAM));
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11778,9 +11778,9 @@ static void intensity_histogram_class_init (IntensityHistogramClass * klass) {
static void intensity_histogram_instance_init (IntensityHistogram * self) {
- gint* _tmp0_ = NULL;
- gfloat* _tmp1_ = NULL;
- gfloat* _tmp2_ = NULL;
+ gint* _tmp0_;
+ gfloat* _tmp1_;
+ gfloat* _tmp2_;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self->priv = INTENSITY_HISTOGRAM_GET_PRIVATE (self);
#line 1216 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11813,7 +11813,7 @@ static void intensity_histogram_instance_init (IntensityHistogram * self) {
}
-static void intensity_histogram_finalize (IntensityHistogram* obj) {
+static void intensity_histogram_finalize (IntensityHistogram * obj) {
IntensityHistogram * self;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_INTENSITY_HISTOGRAM, IntensityHistogram);
@@ -11844,7 +11844,7 @@ GType intensity_histogram_get_type (void) {
gpointer intensity_histogram_ref (gpointer instance) {
- IntensityHistogram* self;
+ IntensityHistogram * self;
self = instance;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -11855,7 +11855,7 @@ gpointer intensity_histogram_ref (gpointer instance) {
void intensity_histogram_unref (gpointer instance) {
- IntensityHistogram* self;
+ IntensityHistogram * self;
self = instance;
#line 1215 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -11870,7 +11870,7 @@ void intensity_histogram_unref (gpointer instance) {
ExpansionTransformation* expansion_transformation_construct (GType object_type, IntensityHistogram* histogram) {
ExpansionTransformation* self = NULL;
- gfloat* _tmp0_ = NULL;
+ gfloat* _tmp0_;
gfloat LOW_KINK_MASS = 0.0F;
gfloat HIGH_KINK_MASS = 0.0F;
#line 1263 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11894,11 +11894,11 @@ ExpansionTransformation* expansion_transformation_construct (GType object_type,
#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 11892 "ColorTransformation.c"
- IntensityHistogram* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gint _tmp5_ = 0;
+ IntensityHistogram* _tmp1_;
+ gint _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gint _tmp5_;
#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = histogram;
#line 1270 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11927,11 +11927,11 @@ ExpansionTransformation* expansion_transformation_construct (GType object_type,
while (TRUE) {
#line 11924 "ColorTransformation.c"
gboolean _tmp6_ = FALSE;
- IntensityHistogram* _tmp7_ = NULL;
- gint _tmp8_ = 0;
- gfloat _tmp9_ = 0.0F;
- gfloat _tmp10_ = 0.0F;
- gint _tmp12_ = 0;
+ IntensityHistogram* _tmp7_;
+ gint _tmp8_;
+ gfloat _tmp9_;
+ gfloat _tmp10_;
+ gint _tmp12_;
#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp7_ = histogram;
#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11943,7 +11943,7 @@ ExpansionTransformation* expansion_transformation_construct (GType object_type,
#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp9_ > _tmp10_) {
#line 11941 "ColorTransformation.c"
- gint _tmp11_ = 0;
+ gint _tmp11_;
#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp11_ = self->priv->high_kink;
#line 1275 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -11983,14 +11983,14 @@ ExpansionTransformation* expansion_transformation_new (IntensityHistogram* histo
ExpansionTransformation* expansion_transformation_construct_from_extrema (GType object_type, gint black_point, gint white_point) {
ExpansionTransformation* self = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gint _tmp2_ = 0;
- gint _tmp3_ = 0;
- gint _tmp4_ = 0;
- gint _tmp5_ = 0;
- gint _tmp9_ = 0;
- gint _tmp10_ = 0;
+ gint _tmp0_;
+ gint _tmp1_;
+ gint _tmp2_;
+ gint _tmp3_;
+ gint _tmp4_;
+ gint _tmp5_;
+ gint _tmp9_;
+ gint _tmp10_;
#line 1282 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (ExpansionTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION);
#line 1284 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12012,7 +12012,7 @@ ExpansionTransformation* expansion_transformation_construct_from_extrema (GType
#line 1287 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp4_ == _tmp5_) {
#line 12010 "ColorTransformation.c"
- gint _tmp6_ = 0;
+ gint _tmp6_;
#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp6_ = black_point;
#line 1288 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12021,7 +12021,7 @@ ExpansionTransformation* expansion_transformation_construct_from_extrema (GType
white_point = 1;
#line 12018 "ColorTransformation.c"
} else {
- gint _tmp7_ = 0;
+ gint _tmp7_;
#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp7_ = white_point;
#line 1290 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12030,7 +12030,7 @@ ExpansionTransformation* expansion_transformation_construct_from_extrema (GType
black_point = 254;
#line 12027 "ColorTransformation.c"
} else {
- gint _tmp8_ = 0;
+ gint _tmp8_;
#line 1293 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp8_ = white_point;
#line 1293 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12065,21 +12065,21 @@ ExpansionTransformation* expansion_transformation_new_from_extrema (gint black_p
static gchar* string_chug (const gchar* self) {
gchar* result = NULL;
gchar* _result_ = NULL;
- gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 1199 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+#line 1226 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1227 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1227 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1228 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1228 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_strchug (_tmp1_);
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1229 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _result_;
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1229 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
#line 12080 "ColorTransformation.c"
}
@@ -12088,21 +12088,21 @@ static gchar* string_chug (const gchar* self) {
static gchar* string_chomp (const gchar* self) {
gchar* result = NULL;
gchar* _result_ = NULL;
- gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
-#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ gchar* _tmp0_;
+ const gchar* _tmp1_;
+#line 1218 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1219 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1219 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1220 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1220 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
g_strchomp (_tmp1_);
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1221 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
result = _result_;
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1221 "/usr/share/vala-0.36/vapi/glib-2.0.vapi"
return result;
#line 12103 "ColorTransformation.c"
}
@@ -12110,16 +12110,16 @@ static gchar* string_chomp (const gchar* self) {
ExpansionTransformation* expansion_transformation_construct_from_string (GType object_type, const gchar* encoded_transformation) {
ExpansionTransformation* self = NULL;
- const gchar* _tmp0_ = NULL;
- const gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- const gchar* _tmp4_ = NULL;
- gchar* _tmp5_ = NULL;
- gchar* _tmp6_ = NULL;
+ const gchar* _tmp0_;
+ const gchar* _tmp1_;
+ gchar* _tmp2_;
+ gchar* _tmp3_;
+ const gchar* _tmp4_;
+ gchar* _tmp5_;
+ gchar* _tmp6_;
gint num_captured = 0;
- const gchar* _tmp7_ = NULL;
- gint _tmp8_ = 0;
+ const gchar* _tmp7_;
+ gint _tmp8_;
#line 1302 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (encoded_transformation != NULL, NULL);
#line 1303 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12168,19 +12168,19 @@ ExpansionTransformation* expansion_transformation_new_from_string (const gchar*
static void expansion_transformation_build_remap_table (ExpansionTransformation* self) {
- gfloat* _tmp0_ = NULL;
- gint _tmp0__length1 = 0;
+ gfloat* _tmp0_;
+ gint _tmp0__length1;
gfloat low_kink_f = 0.0F;
- gint _tmp2_ = 0;
+ gint _tmp2_;
gfloat high_kink_f = 0.0F;
- gint _tmp3_ = 0;
+ gint _tmp3_;
gfloat slope = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
gfloat intercept = 0.0F;
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
- gfloat _tmp8_ = 0.0F;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
+ gfloat _tmp8_;
gint i = 0;
#line 1317 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (IS_EXPANSION_TRANSFORMATION (self));
@@ -12191,7 +12191,7 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation*
#line 1318 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp0_ == NULL) {
#line 12189 "ColorTransformation.c"
- gfloat* _tmp1_ = NULL;
+ gfloat* _tmp1_;
#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = g_new0 (gfloat, 256);
#line 1319 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12236,16 +12236,16 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation*
#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 12234 "ColorTransformation.c"
- gint _tmp11_ = 0;
- gint _tmp12_ = 0;
- gfloat* _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
- gint _tmp14_ = 0;
- gfloat _tmp15_ = 0.0F;
+ gint _tmp11_;
+ gint _tmp12_;
+ gfloat* _tmp13_;
+ gint _tmp13__length1;
+ gint _tmp14_;
+ gfloat _tmp15_;
#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp9_) {
#line 12243 "ColorTransformation.c"
- gint _tmp10_ = 0;
+ gint _tmp10_;
#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp10_ = i;
#line 1328 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12284,19 +12284,19 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation*
#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 12282 "ColorTransformation.c"
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- gfloat* _tmp20_ = NULL;
- gint _tmp20__length1 = 0;
- gint _tmp21_ = 0;
- gfloat _tmp22_ = 0.0F;
- gint _tmp23_ = 0;
- gfloat _tmp24_ = 0.0F;
- gfloat _tmp25_ = 0.0F;
+ gint _tmp18_;
+ gint _tmp19_;
+ gfloat* _tmp20_;
+ gint _tmp20__length1;
+ gint _tmp21_;
+ gfloat _tmp22_;
+ gint _tmp23_;
+ gfloat _tmp24_;
+ gfloat _tmp25_;
#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp16_) {
#line 12294 "ColorTransformation.c"
- gint _tmp17_ = 0;
+ gint _tmp17_;
#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp17_ = i;
#line 1331 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12341,15 +12341,15 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation*
#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 12339 "ColorTransformation.c"
- gint _tmp28_ = 0;
- gfloat* _tmp29_ = NULL;
- gint _tmp29__length1 = 0;
- gint _tmp30_ = 0;
- gfloat _tmp31_ = 0.0F;
+ gint _tmp28_;
+ gfloat* _tmp29_;
+ gint _tmp29__length1;
+ gint _tmp30_;
+ gfloat _tmp31_;
#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp26_) {
#line 12347 "ColorTransformation.c"
- gint _tmp27_ = 0;
+ gint _tmp27_;
#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp27_ = i;
#line 1334 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12385,16 +12385,16 @@ static void expansion_transformation_build_remap_table (ExpansionTransformation*
static void expansion_transformation_real_transform_pixel_hsv (PixelTransformation* base, HSVAnalyticPixel* pixel, HSVAnalyticPixel* result) {
ExpansionTransformation * self;
gint remap_index = 0;
- HSVAnalyticPixel _tmp0_ = {0};
- gfloat _tmp1_ = 0.0F;
+ HSVAnalyticPixel _tmp0_;
+ gfloat _tmp1_;
HSVAnalyticPixel _result_ = {0};
- HSVAnalyticPixel _tmp2_ = {0};
- gfloat* _tmp3_ = NULL;
- gint _tmp3__length1 = 0;
- gfloat _tmp4_ = 0.0F;
- HSVAnalyticPixel _tmp5_ = {0};
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
+ HSVAnalyticPixel _tmp2_;
+ gfloat* _tmp3_;
+ gint _tmp3__length1;
+ gfloat _tmp4_;
+ HSVAnalyticPixel _tmp5_;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
#line 1338 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12436,9 +12436,9 @@ static void expansion_transformation_real_transform_pixel_hsv (PixelTransformati
static gchar* expansion_transformation_real_to_string (PixelTransformation* base) {
ExpansionTransformation * self;
gchar* result = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- gchar* _tmp2_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ gchar* _tmp2_;
#line 1349 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
#line 1350 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12457,7 +12457,7 @@ static gchar* expansion_transformation_real_to_string (PixelTransformation* base
gint expansion_transformation_get_white_point (ExpansionTransformation* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 1353 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_EXPANSION_TRANSFORMATION (self), 0);
#line 1354 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12472,7 +12472,7 @@ gint expansion_transformation_get_white_point (ExpansionTransformation* self) {
gint expansion_transformation_get_black_point (ExpansionTransformation* self) {
gint result = 0;
- gint _tmp0_ = 0;
+ gint _tmp0_;
#line 1357 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_EXPANSION_TRANSFORMATION (self), 0);
#line 1358 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12489,7 +12489,7 @@ static gboolean expansion_transformation_real_is_identity (PixelTransformation*
ExpansionTransformation * self;
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
- gint _tmp1_ = 0;
+ gint _tmp1_;
#line 1361 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12497,7 +12497,7 @@ static gboolean expansion_transformation_real_is_identity (PixelTransformation*
#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp1_ == 0) {
#line 12495 "ColorTransformation.c"
- gint _tmp2_ = 0;
+ gint _tmp2_;
#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp2_ = self->priv->high_kink;
#line 1362 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12519,9 +12519,9 @@ static gboolean expansion_transformation_real_is_identity (PixelTransformation*
static PixelTransformation* expansion_transformation_real_copy (PixelTransformation* base) {
ExpansionTransformation * self;
PixelTransformation* result = NULL;
- gint _tmp0_ = 0;
- gint _tmp1_ = 0;
- ExpansionTransformation* _tmp2_ = NULL;
+ gint _tmp0_;
+ gint _tmp1_;
+ ExpansionTransformation* _tmp2_;
#line 1365 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
#line 1366 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12546,13 +12546,13 @@ static void expansion_transformation_class_init (ExpansionTransformationClass *
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_type_class_add_private (klass, sizeof (ExpansionTransformationPrivate));
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*)(PixelTransformation*, HSVAnalyticPixel*, HSVAnalyticPixel*)) expansion_transformation_real_transform_pixel_hsv;
+ ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*) (PixelTransformation *, HSVAnalyticPixel*, HSVAnalyticPixel*)) expansion_transformation_real_transform_pixel_hsv;
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->to_string = (gchar* (*)(PixelTransformation*)) expansion_transformation_real_to_string;
+ ((PixelTransformationClass *) klass)->to_string = (gchar* (*) (PixelTransformation *)) expansion_transformation_real_to_string;
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->is_identity = (gboolean (*)(PixelTransformation*)) expansion_transformation_real_is_identity;
+ ((PixelTransformationClass *) klass)->is_identity = (gboolean (*) (PixelTransformation *)) expansion_transformation_real_is_identity;
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*)(PixelTransformation*)) expansion_transformation_real_copy;
+ ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*) (PixelTransformation *)) expansion_transformation_real_copy;
#line 12552 "ColorTransformation.c"
}
@@ -12570,7 +12570,7 @@ static void expansion_transformation_instance_init (ExpansionTransformation * se
}
-static void expansion_transformation_finalize (PixelTransformation* obj) {
+static void expansion_transformation_finalize (PixelTransformation * obj) {
ExpansionTransformation * self;
#line 1255 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
@@ -12596,15 +12596,15 @@ GType expansion_transformation_get_type (void) {
ShadowDetailTransformation* shadow_detail_transformation_construct (GType object_type, gfloat user_intensity) {
ShadowDetailTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
gfloat intensity_adj = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
gfloat effect_shift = 0.0F;
- gfloat _tmp3_ = 0.0F;
+ gfloat _tmp3_;
HermiteGammaApproximationFunction* func = NULL;
- HermiteGammaApproximationFunction* _tmp4_ = NULL;
- gfloat* _tmp5_ = NULL;
+ HermiteGammaApproximationFunction* _tmp4_;
+ gfloat* _tmp5_;
#line 1383 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (ShadowDetailTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_SHADOWS);
#line 1385 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12648,26 +12648,26 @@ ShadowDetailTransformation* shadow_detail_transformation_construct (GType object
#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 12646 "ColorTransformation.c"
- gint _tmp8_ = 0;
+ gint _tmp8_;
gfloat x = 0.0F;
- gint _tmp9_ = 0;
+ gint _tmp9_;
gfloat weight = 0.0F;
- HermiteGammaApproximationFunction* _tmp10_ = NULL;
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
- gfloat* _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
- gint _tmp14_ = 0;
- gfloat _tmp15_ = 0.0F;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
- gfloat _tmp18_ = 0.0F;
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
+ HermiteGammaApproximationFunction* _tmp10_;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
+ gfloat* _tmp13_;
+ gint _tmp13__length1;
+ gint _tmp14_;
+ gfloat _tmp15_;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
+ gfloat _tmp18_;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp6_) {
#line 12665 "ColorTransformation.c"
- gint _tmp7_ = 0;
+ gint _tmp7_;
#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp7_ = i;
#line 1393 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12738,13 +12738,13 @@ ShadowDetailTransformation* shadow_detail_transformation_new (gfloat user_intens
static void shadow_detail_transformation_real_transform_pixel_hsv (PixelTransformation* base, HSVAnalyticPixel* pixel, HSVAnalyticPixel* result) {
ShadowDetailTransformation * self;
HSVAnalyticPixel _result_ = {0};
- HSVAnalyticPixel _tmp0_ = {0};
- gfloat* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- HSVAnalyticPixel _tmp2_ = {0};
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ HSVAnalyticPixel _tmp0_;
+ gfloat* _tmp1_;
+ gint _tmp1__length1;
+ HSVAnalyticPixel _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation);
#line 1400 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12778,8 +12778,8 @@ static void shadow_detail_transformation_real_transform_pixel_hsv (PixelTransfor
static PixelTransformation* shadow_detail_transformation_real_copy (PixelTransformation* base) {
ShadowDetailTransformation * self;
PixelTransformation* result = NULL;
- gfloat _tmp0_ = 0.0F;
- ShadowDetailTransformation* _tmp1_ = NULL;
+ gfloat _tmp0_;
+ ShadowDetailTransformation* _tmp1_;
#line 1406 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation);
#line 1407 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12797,7 +12797,7 @@ static PixelTransformation* shadow_detail_transformation_real_copy (PixelTransfo
static gboolean shadow_detail_transformation_real_is_identity (PixelTransformation* base) {
ShadowDetailTransformation * self;
gboolean result = FALSE;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 1410 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation);
#line 1411 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12812,7 +12812,7 @@ static gboolean shadow_detail_transformation_real_is_identity (PixelTransformati
gfloat shadow_detail_transformation_get_parameter (ShadowDetailTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 1414 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_SHADOW_DETAIL_TRANSFORMATION (self), 0.0F);
#line 1415 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12833,11 +12833,11 @@ static void shadow_detail_transformation_class_init (ShadowDetailTransformationC
#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_type_class_add_private (klass, sizeof (ShadowDetailTransformationPrivate));
#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*)(PixelTransformation*, HSVAnalyticPixel*, HSVAnalyticPixel*)) shadow_detail_transformation_real_transform_pixel_hsv;
+ ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*) (PixelTransformation *, HSVAnalyticPixel*, HSVAnalyticPixel*)) shadow_detail_transformation_real_transform_pixel_hsv;
#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*)(PixelTransformation*)) shadow_detail_transformation_real_copy;
+ ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*) (PixelTransformation *)) shadow_detail_transformation_real_copy;
#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->is_identity = (gboolean (*)(PixelTransformation*)) shadow_detail_transformation_real_is_identity;
+ ((PixelTransformationClass *) klass)->is_identity = (gboolean (*) (PixelTransformation *)) shadow_detail_transformation_real_is_identity;
#line 12837 "ColorTransformation.c"
}
@@ -12857,7 +12857,7 @@ static void shadow_detail_transformation_instance_init (ShadowDetailTransformati
}
-static void shadow_detail_transformation_finalize (PixelTransformation* obj) {
+static void shadow_detail_transformation_finalize (PixelTransformation * obj) {
ShadowDetailTransformation * self;
#line 1370 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation);
@@ -12883,9 +12883,9 @@ GType shadow_detail_transformation_get_type (void) {
HermiteGammaApproximationFunction* hermite_gamma_approximation_function_construct (GType object_type, gfloat user_interval_upper) {
HermiteGammaApproximationFunction* self = NULL;
- gfloat _tmp0_ = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp0_;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 1423 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (HermiteGammaApproximationFunction*) g_type_create_instance (object_type);
#line 1424 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12913,7 +12913,7 @@ HermiteGammaApproximationFunction* hermite_gamma_approximation_function_new (gfl
gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationFunction* self, gfloat x) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 1428 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_HERMITE_GAMMA_APPROXIMATION_FUNCTION (self), 0.0F);
#line 1429 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12926,8 +12926,8 @@ gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationF
return result;
#line 12923 "ColorTransformation.c"
} else {
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp1_ = x;
#line 1431 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -12941,17 +12941,17 @@ gfloat hermite_gamma_approximation_function_evaluate (HermiteGammaApproximationF
#line 12937 "ColorTransformation.c"
} else {
gfloat indep_var = 0.0F;
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
gfloat dep_var = 0.0F;
- gfloat _tmp5_ = 0.0F;
- gfloat _tmp6_ = 0.0F;
- gfloat _tmp7_ = 0.0F;
- gfloat _tmp8_ = 0.0F;
- gfloat _tmp9_ = 0.0F;
- gfloat _tmp10_ = 0.0F;
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
+ gfloat _tmp5_;
+ gfloat _tmp6_;
+ gfloat _tmp7_;
+ gfloat _tmp8_;
+ gfloat _tmp9_;
+ gfloat _tmp10_;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
#line 1434 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp3_ = self->priv->x_scale;
#line 1434 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13028,7 +13028,7 @@ static gchar* value_hermite_gamma_approximation_function_collect_value (GValue*
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (collect_values[0].v_pointer) {
#line 13026 "ColorTransformation.c"
- HermiteGammaApproximationFunction* object;
+ HermiteGammaApproximationFunction * object;
object = collect_values[0].v_pointer;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (object->parent_instance.g_class == NULL) {
@@ -13055,7 +13055,7 @@ static gchar* value_hermite_gamma_approximation_function_collect_value (GValue*
static gchar* value_hermite_gamma_approximation_function_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- HermiteGammaApproximationFunction** object_p;
+ HermiteGammaApproximationFunction ** object_p;
object_p = collect_values[0].v_pointer;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!object_p) {
@@ -13107,7 +13107,7 @@ gpointer value_get_hermite_gamma_approximation_function (const GValue* value) {
void value_set_hermite_gamma_approximation_function (GValue* value, gpointer v_object) {
- HermiteGammaApproximationFunction* old;
+ HermiteGammaApproximationFunction * old;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION));
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13138,7 +13138,7 @@ void value_set_hermite_gamma_approximation_function (GValue* value, gpointer v_o
void value_take_hermite_gamma_approximation_function (GValue* value, gpointer v_object) {
- HermiteGammaApproximationFunction* old;
+ HermiteGammaApproximationFunction * old;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION));
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13190,7 +13190,7 @@ static void hermite_gamma_approximation_function_instance_init (HermiteGammaAppr
}
-static void hermite_gamma_approximation_function_finalize (HermiteGammaApproximationFunction* obj) {
+static void hermite_gamma_approximation_function_finalize (HermiteGammaApproximationFunction * obj) {
HermiteGammaApproximationFunction * self;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HERMITE_GAMMA_APPROXIMATION_FUNCTION, HermiteGammaApproximationFunction);
@@ -13215,7 +13215,7 @@ GType hermite_gamma_approximation_function_get_type (void) {
gpointer hermite_gamma_approximation_function_ref (gpointer instance) {
- HermiteGammaApproximationFunction* self;
+ HermiteGammaApproximationFunction * self;
self = instance;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_atomic_int_inc (&self->ref_count);
@@ -13226,7 +13226,7 @@ gpointer hermite_gamma_approximation_function_ref (gpointer instance) {
void hermite_gamma_approximation_function_unref (gpointer instance) {
- HermiteGammaApproximationFunction* self;
+ HermiteGammaApproximationFunction * self;
self = instance;
#line 1419 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
@@ -13241,15 +13241,15 @@ void hermite_gamma_approximation_function_unref (gpointer instance) {
HighlightDetailTransformation* highlight_detail_transformation_construct (GType object_type, gfloat user_intensity) {
HighlightDetailTransformation* self = NULL;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
gfloat intensity_adj = 0.0F;
- gfloat _tmp1_ = 0.0F;
- gfloat _tmp2_ = 0.0F;
+ gfloat _tmp1_;
+ gfloat _tmp2_;
gfloat effect_shift = 0.0F;
- gfloat _tmp3_ = 0.0F;
+ gfloat _tmp3_;
HermiteGammaApproximationFunction* func = NULL;
- HermiteGammaApproximationFunction* _tmp4_ = NULL;
- gfloat* _tmp5_ = NULL;
+ HermiteGammaApproximationFunction* _tmp4_;
+ gfloat* _tmp5_;
#line 1457 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = (HighlightDetailTransformation*) hsv_transformation_construct (object_type, PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS);
#line 1459 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13293,26 +13293,26 @@ HighlightDetailTransformation* highlight_detail_transformation_construct (GType
#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 13291 "ColorTransformation.c"
- gint _tmp8_ = 0;
+ gint _tmp8_;
gfloat x = 0.0F;
- gint _tmp9_ = 0;
+ gint _tmp9_;
gfloat weight = 0.0F;
- HermiteGammaApproximationFunction* _tmp10_ = NULL;
- gfloat _tmp11_ = 0.0F;
- gfloat _tmp12_ = 0.0F;
- gfloat* _tmp13_ = NULL;
- gint _tmp13__length1 = 0;
- gint _tmp14_ = 0;
- gfloat _tmp15_ = 0.0F;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
- gfloat _tmp18_ = 0.0F;
- gfloat _tmp19_ = 0.0F;
- gfloat _tmp20_ = 0.0F;
+ HermiteGammaApproximationFunction* _tmp10_;
+ gfloat _tmp11_;
+ gfloat _tmp12_;
+ gfloat* _tmp13_;
+ gint _tmp13__length1;
+ gint _tmp14_;
+ gfloat _tmp15_;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
+ gfloat _tmp18_;
+ gfloat _tmp19_;
+ gfloat _tmp20_;
#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp6_) {
#line 13310 "ColorTransformation.c"
- gint _tmp7_ = 0;
+ gint _tmp7_;
#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp7_ = i;
#line 1467 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13383,13 +13383,13 @@ HighlightDetailTransformation* highlight_detail_transformation_new (gfloat user_
static void highlight_detail_transformation_real_transform_pixel_hsv (PixelTransformation* base, HSVAnalyticPixel* pixel, HSVAnalyticPixel* result) {
HighlightDetailTransformation * self;
HSVAnalyticPixel _result_ = {0};
- HSVAnalyticPixel _tmp0_ = {0};
- gfloat* _tmp1_ = NULL;
- gint _tmp1__length1 = 0;
- HSVAnalyticPixel _tmp2_ = {0};
- gfloat _tmp3_ = 0.0F;
- gfloat _tmp4_ = 0.0F;
- gfloat _tmp5_ = 0.0F;
+ HSVAnalyticPixel _tmp0_;
+ gfloat* _tmp1_;
+ gint _tmp1__length1;
+ HSVAnalyticPixel _tmp2_;
+ gfloat _tmp3_;
+ gfloat _tmp4_;
+ gfloat _tmp5_;
#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation);
#line 1474 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13423,8 +13423,8 @@ static void highlight_detail_transformation_real_transform_pixel_hsv (PixelTrans
static PixelTransformation* highlight_detail_transformation_real_copy (PixelTransformation* base) {
HighlightDetailTransformation * self;
PixelTransformation* result = NULL;
- gfloat _tmp0_ = 0.0F;
- HighlightDetailTransformation* _tmp1_ = NULL;
+ gfloat _tmp0_;
+ HighlightDetailTransformation* _tmp1_;
#line 1480 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation);
#line 1481 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13442,7 +13442,7 @@ static PixelTransformation* highlight_detail_transformation_real_copy (PixelTran
static gboolean highlight_detail_transformation_real_is_identity (PixelTransformation* base) {
HighlightDetailTransformation * self;
gboolean result = FALSE;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 1484 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation);
#line 1485 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13457,7 +13457,7 @@ static gboolean highlight_detail_transformation_real_is_identity (PixelTransform
gfloat highlight_detail_transformation_get_parameter (HighlightDetailTransformation* self) {
gfloat result = 0.0F;
- gfloat _tmp0_ = 0.0F;
+ gfloat _tmp0_;
#line 1488 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (IS_HIGHLIGHT_DETAIL_TRANSFORMATION (self), 0.0F);
#line 1489 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13478,11 +13478,11 @@ static void highlight_detail_transformation_class_init (HighlightDetailTransform
#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_type_class_add_private (klass, sizeof (HighlightDetailTransformationPrivate));
#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*)(PixelTransformation*, HSVAnalyticPixel*, HSVAnalyticPixel*)) highlight_detail_transformation_real_transform_pixel_hsv;
+ ((PixelTransformationClass *) klass)->transform_pixel_hsv = (void (*) (PixelTransformation *, HSVAnalyticPixel*, HSVAnalyticPixel*)) highlight_detail_transformation_real_transform_pixel_hsv;
#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*)(PixelTransformation*)) highlight_detail_transformation_real_copy;
+ ((PixelTransformationClass *) klass)->copy = (PixelTransformation* (*) (PixelTransformation *)) highlight_detail_transformation_real_copy;
#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
- ((PixelTransformationClass *) klass)->is_identity = (gboolean (*)(PixelTransformation*)) highlight_detail_transformation_real_is_identity;
+ ((PixelTransformationClass *) klass)->is_identity = (gboolean (*) (PixelTransformation *)) highlight_detail_transformation_real_is_identity;
#line 13482 "ColorTransformation.c"
}
@@ -13502,7 +13502,7 @@ static void highlight_detail_transformation_instance_init (HighlightDetailTransf
}
-static void highlight_detail_transformation_finalize (PixelTransformation* obj) {
+static void highlight_detail_transformation_finalize (PixelTransformation * obj) {
HighlightDetailTransformation * self;
#line 1444 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation);
@@ -13529,41 +13529,41 @@ GType highlight_detail_transformation_get_type (void) {
PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixbuf* pixbuf) {
PixelTransformationBundle* result = NULL;
PixelTransformationBundle* adjustments = NULL;
- PixelTransformationBundle* _tmp0_ = NULL;
+ PixelTransformationBundle* _tmp0_;
IntensityHistogram* analysis_histogram = NULL;
- GdkPixbuf* _tmp1_ = NULL;
- IntensityHistogram* _tmp2_ = NULL;
+ GdkPixbuf* _tmp1_;
+ IntensityHistogram* _tmp2_;
gfloat pct_in_range = 0.0F;
- IntensityHistogram* _tmp3_ = NULL;
- gfloat _tmp4_ = 0.0F;
- IntensityHistogram* _tmp5_ = NULL;
- gfloat _tmp6_ = 0.0F;
+ IntensityHistogram* _tmp3_;
+ gfloat _tmp4_;
+ IntensityHistogram* _tmp5_;
+ gfloat _tmp6_;
gfloat shadow_range_mean_prob_val = 0.0F;
- IntensityHistogram* _tmp7_ = NULL;
- gfloat _tmp8_ = 0.0F;
- IntensityHistogram* _tmp9_ = NULL;
- gfloat _tmp10_ = 0.0F;
+ IntensityHistogram* _tmp7_;
+ gfloat _tmp8_;
+ IntensityHistogram* _tmp9_;
+ gfloat _tmp10_;
gint shadow_mean_intensity = 0;
gboolean _tmp18_ = FALSE;
- gfloat _tmp19_ = 0.0F;
- PixelTransformationBundle* _tmp46_ = NULL;
- HighlightDetailTransformation* _tmp47_ = NULL;
- HighlightDetailTransformation* _tmp48_ = NULL;
- PixelTransformationBundle* _tmp49_ = NULL;
- TemperatureTransformation* _tmp50_ = NULL;
- TemperatureTransformation* _tmp51_ = NULL;
- PixelTransformationBundle* _tmp52_ = NULL;
- TintTransformation* _tmp53_ = NULL;
- TintTransformation* _tmp54_ = NULL;
- PixelTransformationBundle* _tmp55_ = NULL;
- ExposureTransformation* _tmp56_ = NULL;
- ExposureTransformation* _tmp57_ = NULL;
- PixelTransformationBundle* _tmp58_ = NULL;
- ContrastTransformation* _tmp59_ = NULL;
- ContrastTransformation* _tmp60_ = NULL;
- PixelTransformationBundle* _tmp61_ = NULL;
- SaturationTransformation* _tmp62_ = NULL;
- SaturationTransformation* _tmp63_ = NULL;
+ gfloat _tmp19_;
+ PixelTransformationBundle* _tmp46_;
+ HighlightDetailTransformation* _tmp47_;
+ HighlightDetailTransformation* _tmp48_;
+ PixelTransformationBundle* _tmp49_;
+ TemperatureTransformation* _tmp50_;
+ TemperatureTransformation* _tmp51_;
+ PixelTransformationBundle* _tmp52_;
+ TintTransformation* _tmp53_;
+ TintTransformation* _tmp54_;
+ PixelTransformationBundle* _tmp55_;
+ ExposureTransformation* _tmp56_;
+ ExposureTransformation* _tmp57_;
+ PixelTransformationBundle* _tmp58_;
+ ContrastTransformation* _tmp59_;
+ ContrastTransformation* _tmp60_;
+ PixelTransformationBundle* _tmp61_;
+ SaturationTransformation* _tmp62_;
+ SaturationTransformation* _tmp63_;
#line 1502 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
#line 1503 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13606,15 +13606,15 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb
#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 13604 "ColorTransformation.c"
- gint _tmp13_ = 0;
- IntensityHistogram* _tmp14_ = NULL;
- gint _tmp15_ = 0;
- gfloat _tmp16_ = 0.0F;
- gfloat _tmp17_ = 0.0F;
+ gint _tmp13_;
+ IntensityHistogram* _tmp14_;
+ gint _tmp15_;
+ gfloat _tmp16_;
+ gfloat _tmp17_;
#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp11_) {
#line 13612 "ColorTransformation.c"
- gint _tmp12_ = 0;
+ gint _tmp12_;
#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp12_ = shadow_mean_intensity;
#line 1518 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13656,13 +13656,13 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb
#line 13652 "ColorTransformation.c"
} else {
gboolean _tmp20_ = FALSE;
- gfloat _tmp21_ = 0.0F;
+ gfloat _tmp21_;
#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp21_ = pct_in_range;
#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (_tmp21_ > 20.0f) {
#line 13660 "ColorTransformation.c"
- gint _tmp22_ = 0;
+ gint _tmp22_;
#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp22_ = shadow_mean_intensity;
#line 1528 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13681,17 +13681,17 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb
if (_tmp18_) {
#line 13678 "ColorTransformation.c"
gfloat shadow_trans_effect_size = 0.0F;
- gint _tmp23_ = 0;
- gfloat _tmp24_ = 0.0F;
- PixelTransformationBundle* _tmp25_ = NULL;
- gfloat _tmp26_ = 0.0F;
- ShadowDetailTransformation* _tmp27_ = NULL;
- ShadowDetailTransformation* _tmp28_ = NULL;
+ gint _tmp23_;
+ gfloat _tmp24_;
+ PixelTransformationBundle* _tmp25_;
+ gfloat _tmp26_;
+ ShadowDetailTransformation* _tmp27_;
+ ShadowDetailTransformation* _tmp28_;
gint discard_point = 0;
- PixelTransformationBundle* _tmp35_ = NULL;
- gint _tmp36_ = 0;
- ExpansionTransformation* _tmp37_ = NULL;
- ExpansionTransformation* _tmp38_ = NULL;
+ PixelTransformationBundle* _tmp35_;
+ gint _tmp36_;
+ ExpansionTransformation* _tmp37_;
+ ExpansionTransformation* _tmp38_;
#line 1529 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp23_ = shadow_mean_intensity;
#line 1529 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13722,14 +13722,14 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb
#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
while (TRUE) {
#line 13720 "ColorTransformation.c"
- gint _tmp31_ = 0;
- IntensityHistogram* _tmp32_ = NULL;
- gint _tmp33_ = 0;
- gfloat _tmp34_ = 0.0F;
+ gint _tmp31_;
+ IntensityHistogram* _tmp32_;
+ gint _tmp33_;
+ gfloat _tmp34_;
#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
if (!_tmp29_) {
#line 13727 "ColorTransformation.c"
- gint _tmp30_ = 0;
+ gint _tmp30_;
#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp30_ = discard_point;
#line 1540 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
@@ -13774,13 +13774,13 @@ PixelTransformationBundle* auto_enhance_create_auto_enhance_adjustments (GdkPixb
_pixel_transformation_unref0 (_tmp38_);
#line 13771 "ColorTransformation.c"
} else {
- PixelTransformationBundle* _tmp39_ = NULL;
- IntensityHistogram* _tmp40_ = NULL;
- ExpansionTransformation* _tmp41_ = NULL;
- ExpansionTransformation* _tmp42_ = NULL;
- PixelTransformationBundle* _tmp43_ = NULL;
- ShadowDetailTransformation* _tmp44_ = NULL;
- ShadowDetailTransformation* _tmp45_ = NULL;
+ PixelTransformationBundle* _tmp39_;
+ IntensityHistogram* _tmp40_;
+ ExpansionTransformation* _tmp41_;
+ ExpansionTransformation* _tmp42_;
+ PixelTransformationBundle* _tmp43_;
+ ShadowDetailTransformation* _tmp44_;
+ ShadowDetailTransformation* _tmp45_;
#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala"
_tmp39_ = adjustments;
#line 1549 "/home/jens/Source/shotwell/src/ColorTransformation.vala"