/dports/graphics/rawstudio/rawstudio-2.0/plugins/meta-tiff/ |
H A D | tiff-meta.c | 288 meta->cam_mul[3] = meta->cam_mul[1]; in makernote_canon() 359 meta->cam_mul[1] = 1.0; in makernote_leica() 360 meta->cam_mul[3] = 1.0; in makernote_leica() 375 meta->cam_mul[0] = ifd.value; in makernote_leica() 378 meta->cam_mul[1] = ifd.value; in makernote_leica() 379 meta->cam_mul[3] = ifd.value; in makernote_leica() 382 meta->cam_mul[2] = ifd.value; in makernote_leica() 660 meta->cam_mul[i] = ushort_temp1; in makernote_nikon() 1073 meta->cam_mul[0] = ifd.value_offset; in ifd_panasonic() 1076 meta->cam_mul[1] = ifd.value_offset; in ifd_panasonic() [all …]
|
/dports/graphics/libraw/LibRaw-0.20.2/src/metadata/ |
H A D | nikon.cpp | 303 cam_mul[0] = getreal(type); in parseNikonMakernote() 304 cam_mul[2] = getreal(type); in parseNikonMakernote() 305 cam_mul[1] = getreal(type); in parseNikonMakernote() 306 cam_mul[3] = getreal(type); in parseNikonMakernote() 334 cam_mul[1] = cam_mul[3] = 1.0; in parseNikonMakernote() 374 cam_mul[0] = cam_mul[1] = cam_mul[2] = cam_mul[3] = 1.0; in parseNikonMakernote() 385 cam_mul[1] = get4(); in parseNikonMakernote() 386 cam_mul[3] = get4(); in parseNikonMakernote() 602 FORC4 cam_mul[c] = get2(); in parseNikonMakernote() local 795 cam_mul[0] = un.dbl; in parseNikonMakernote() [all …]
|
H A D | ciff.cpp | 175 FORC4 cam_mul[BG2RG1_2_RGBG(c)] = get2(); in parse_ciff() local 181 FORC4 cam_mul[GRBG_2_RGBG(c)] = get2(); in parse_ciff() local 182 if (cam_mul[0] > 0.001f) Got_AsShotWB = 1; in parse_ciff() 210 FORC4 cam_mul[c] = icWBC[LIBRAW_WBI_Auto][c]; in parse_ciff() local 216 FORC4 cam_mul[c] = icWBC[Canon_wbi2std[wbi]][c]; in parse_ciff() local 220 FORC4 cam_mul[c] = icWBC[LIBRAW_WBI_Auto][c]; in parse_ciff() local 229 FORC4 cam_mul[c] = icWBC[Canon_wbi2std[wbi]][c]; in parse_ciff() local 233 FORC4 cam_mul[c] = icWBC[LIBRAW_WBI_Auto][c]; in parse_ciff() local 289 cam_mul[RGGB_2_RGBG(c)] = 1024.0 / MAX(1, q); in parse_ciff() 292 cam_mul[0] = -1; // use my auto white balance in parse_ciff() [all …]
|
H A D | exif_gps.cpp | 230 cam_mul[0] = atof(pos + 7); in parse_exif() 233 cam_mul[2] = atof(pos + 7); in parse_exif() 234 if ((cam_mul[0] > 0.001f) && (cam_mul[2] > 0.001f)) in parse_exif() 235 cam_mul[1] = cam_mul[3] = 1.0f; in parse_exif() 237 cam_mul[0] = cam_mul[2] = 0.0f; in parse_exif()
|
H A D | canon.cpp | 604 FORC4 cam_mul[c] = icWBC[LIBRAW_WBI_Auto][c]; in parseCanonMakernotes() local 712 FORC3 cam_mul[c] = get2(); in parseCanonMakernotes() local 763 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 784 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 804 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 841 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 880 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 924 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 949 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local 984 FORC4 cam_mul[RGGB_2_RGBG(c)] = (float)get2(); in parseCanonMakernotes() local [all …]
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/src/metadata/ |
H A D | nikon.cpp | 318 cam_mul[0] = getreal(type); in parseNikonMakernote() 319 cam_mul[2] = getreal(type); in parseNikonMakernote() 320 cam_mul[1] = getreal(type); in parseNikonMakernote() 321 cam_mul[3] = getreal(type); in parseNikonMakernote() 349 cam_mul[1] = cam_mul[3] = 1.0; in parseNikonMakernote() 389 cam_mul[0] = cam_mul[1] = cam_mul[2] = cam_mul[3] = 1.0; in parseNikonMakernote() 400 cam_mul[1] = get4(); in parseNikonMakernote() 401 cam_mul[3] = get4(); in parseNikonMakernote() 646 FORC4 cam_mul[c] = get2(); in parseNikonMakernote() local 938 cam_mul[0] = un.dbl; in parseNikonMakernote() [all …]
|
H A D | ciff.cpp | 175 FORC4 cam_mul[BG2RG1_2_RGBG(c)] = get2(); in parse_ciff() local 181 FORC4 cam_mul[GRBG_2_RGBG(c)] = get2(); in parse_ciff() local 182 if (cam_mul[0] > 0.001f) Got_AsShotWB = 1; in parse_ciff() 210 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 216 FORC4 cam_mul[c] = float(icWBC[Canon_wbi2std[wbi]][c]); in parse_ciff() local 220 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 229 FORC4 cam_mul[c] = float(icWBC[Canon_wbi2std[wbi]][c]); in parse_ciff() local 233 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 289 cam_mul[RGGB_2_RGBG(c)] = 1024.f / float(MAX(1, q)); in parse_ciff() 292 cam_mul[0] = -1; // use my auto white balance in parse_ciff() [all …]
|
H A D | exif_gps.cpp | 243 cam_mul[0] = atof(pos + 7); in parse_exif() 246 cam_mul[2] = atof(pos + 7); in parse_exif() 247 if ((cam_mul[0] > 0.001f) && (cam_mul[2] > 0.001f)) in parse_exif() 248 cam_mul[1] = cam_mul[3] = 1.0f; in parse_exif() 250 cam_mul[0] = cam_mul[2] = 0.0f; in parse_exif()
|
H A D | epson.cpp | 86 cam_mul[0] = get2() * 567.0 / 0x10000; in parseEpsonMakernote() 87 cam_mul[2] = get2() * 431.0 / 0x10000; in parseEpsonMakernote()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/src/metadata/ |
H A D | nikon.cpp | 318 cam_mul[0] = getreal(type); in parseNikonMakernote() 319 cam_mul[2] = getreal(type); in parseNikonMakernote() 320 cam_mul[1] = getreal(type); in parseNikonMakernote() 321 cam_mul[3] = getreal(type); in parseNikonMakernote() 349 cam_mul[1] = cam_mul[3] = 1.0; in parseNikonMakernote() 389 cam_mul[0] = cam_mul[1] = cam_mul[2] = cam_mul[3] = 1.0; in parseNikonMakernote() 400 cam_mul[1] = get4(); in parseNikonMakernote() 401 cam_mul[3] = get4(); in parseNikonMakernote() 646 FORC4 cam_mul[c] = get2(); in parseNikonMakernote() local 938 cam_mul[0] = un.dbl; in parseNikonMakernote() [all …]
|
H A D | ciff.cpp | 175 FORC4 cam_mul[BG2RG1_2_RGBG(c)] = get2(); in parse_ciff() local 181 FORC4 cam_mul[GRBG_2_RGBG(c)] = get2(); in parse_ciff() local 182 if (cam_mul[0] > 0.001f) Got_AsShotWB = 1; in parse_ciff() 210 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 216 FORC4 cam_mul[c] = float(icWBC[Canon_wbi2std[wbi]][c]); in parse_ciff() local 220 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 229 FORC4 cam_mul[c] = float(icWBC[Canon_wbi2std[wbi]][c]); in parse_ciff() local 233 FORC4 cam_mul[c] = float(icWBC[LIBRAW_WBI_Auto][c]); in parse_ciff() local 289 cam_mul[RGGB_2_RGBG(c)] = 1024.f / float(MAX(1, q)); in parse_ciff() 292 cam_mul[0] = -1; // use my auto white balance in parse_ciff() [all …]
|
H A D | exif_gps.cpp | 243 cam_mul[0] = atof(pos + 7); in parse_exif() 246 cam_mul[2] = atof(pos + 7); in parse_exif() 247 if ((cam_mul[0] > 0.001f) && (cam_mul[2] > 0.001f)) in parse_exif() 248 cam_mul[1] = cam_mul[3] = 1.0f; in parse_exif() 250 cam_mul[0] = cam_mul[2] = 0.0f; in parse_exif()
|
/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/ |
H A D | rs-metadata.c | 94 metadata->cam_mul[0] = -1.0; in rs_metadata_init() 100 metadata->cam_mul[i] = 1.0f; in rs_metadata_init() 164 if (metadata->cam_mul[0] > 0.0) in rs_metadata_cache_save() 165 …AST "cam_mul", "%f %f %f %f", metadata->cam_mul[0], metadata->cam_mul[1], metadata->cam_mul[2], me… in rs_metadata_cache_save() 308 metadata->cam_mul[0] = rs_atof((gchar *) vals[0]); in rs_metadata_cache_load() 516 if ((metadata->cam_mul[1]+metadata->cam_mul[3])!=0.0) in rs_metadata_normalize_wb() 518 div = 2/(metadata->cam_mul[1]+metadata->cam_mul[3]); in rs_metadata_normalize_wb() 519 metadata->cam_mul[0] *= div; in rs_metadata_normalize_wb() 520 metadata->cam_mul[1] = 1.0; in rs_metadata_normalize_wb() 521 metadata->cam_mul[2] *= div; in rs_metadata_normalize_wb() [all …]
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/src/postprocessing/ |
H A D | postprocessing_utils_dcrdefs.cpp | 121 (cam_mul[0] < -0.5 // LibRaw 0.19 and older: fallback to auto only if cam_mul[0] is set to -1 in scale_colors() 122 … || (cam_mul[0] <= 0.00001f // New default: fallback to auto if no cam_mul parsed from metadata in scale_colors() 158 if (use_camera_wb && cam_mul[0] > 0.00001f) in scale_colors() 176 else if (cam_mul[0] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 177 memcpy(pre_mul, cam_mul, sizeof pre_mul); in scale_colors() 185 cam_mul[0] > 0.00001f && cam_mul[1] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 188 pre_mul[c] /= cam_mul[c]; in scale_colors()
|
/dports/graphics/libraw/LibRaw-0.20.2/src/postprocessing/ |
H A D | postprocessing_utils_dcrdefs.cpp | 119 (cam_mul[0] < -0.5 // LibRaw 0.19 and older: fallback to auto only if cam_mul[0] is set to -1 in scale_colors() 120 … || (cam_mul[0] <= 0.00001f // New default: fallback to auto if no cam_mul parsed from metadata in scale_colors() 156 if (use_camera_wb && cam_mul[0] > 0.00001f) in scale_colors() 174 else if (cam_mul[0] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 175 memcpy(pre_mul, cam_mul, sizeof pre_mul); in scale_colors() 183 cam_mul[0] > 0.00001f && cam_mul[1] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 186 pre_mul[c] /= cam_mul[c]; in scale_colors()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/src/postprocessing/ |
H A D | postprocessing_utils_dcrdefs.cpp | 121 (cam_mul[0] < -0.5 // LibRaw 0.19 and older: fallback to auto only if cam_mul[0] is set to -1 in scale_colors() 122 … || (cam_mul[0] <= 0.00001f // New default: fallback to auto if no cam_mul parsed from metadata in scale_colors() 158 if (use_camera_wb && cam_mul[0] > 0.00001f) in scale_colors() 176 else if (cam_mul[0] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 177 memcpy(pre_mul, cam_mul, sizeof pre_mul); in scale_colors() 185 cam_mul[0] > 0.00001f && cam_mul[1] > 0.00001f && cam_mul[2] > 0.00001f) in scale_colors() 188 pre_mul[c] /= cam_mul[c]; in scale_colors()
|
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/cameratopam/ |
H A D | global_variables.h | 46 extern float cam_mul[4]; 47 #define camera_red cam_mul[0] 48 #define camera_blue cam_mul[2]
|
/dports/graphics/rawstudio/rawstudio-2.0/plugins/meta-raf/ |
H A D | raf-meta.c | 57 meta->cam_mul[G] = temp; in rs_raf_load_meta() 59 meta->cam_mul[R] = temp; in rs_raf_load_meta() 61 meta->cam_mul[G2] = temp; in rs_raf_load_meta() 63 meta->cam_mul[B] = temp; in rs_raf_load_meta()
|
/dports/graphics/rawstudio/rawstudio-2.0/plugins/meta-mrw/ |
H A D | mrw-meta.c | 52 meta->cam_mul[0] = (gdouble) ushort_temp1; in raw_mrw_walker() 54 meta->cam_mul[1] = (gdouble) ushort_temp1; in raw_mrw_walker() 56 meta->cam_mul[3] = (gdouble) ushort_temp1; in raw_mrw_walker() 58 meta->cam_mul[2] = (gdouble) ushort_temp1; in raw_mrw_walker()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/operations/ |
H A D | white_balance.cc | 124 def_red = (idata != NULL) ? idata->color.cam_mul[0] : 1; in init_wb_coefficients() 125 def_green = (idata != NULL) ? idata->color.cam_mul[1] : 1; in init_wb_coefficients() 126 def_blue = (idata != NULL) ? idata->color.cam_mul[2] : 1; in init_wb_coefficients() 279 …:build(): CAM WB="<<image_data->color.cam_mul[0]<<","<<image_data->color.cam_mul[1]<<","<<image_da… in build()
|
/dports/graphics/darktable38/darktable-3.8.0/src/external/LibRaw/samples/ |
H A D | raw-identify.cpp | 565 if ((C.cam_mul[0] > 0) && (C.cam_mul[1] > 0)) in print_verbose() 567 …utfile, "\n %-23s %g %g %g %g %5.2f %5.2f %5.2f %5.2f", "As shot", C.cam_mul[0], C.cam_mul[1], in print_verbose() 568 … C.cam_mul[2], C.cam_mul[3], roundf(log2(C.cam_mul[0] / C.cam_mul[1]) * 100.0f) / 100.0f, 0.0f, in print_verbose() 569 roundf(log2(C.cam_mul[2] / C.cam_mul[1]) * 100.0f) / 100.0f, in print_verbose() 570 C.cam_mul[3] ? roundf(log2(C.cam_mul[3] / C.cam_mul[1]) * 100.0f) / 100.0f : 0.0f); in print_verbose()
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/rawengine/libraw/samples/ |
H A D | raw-identify.cpp | 565 if ((C.cam_mul[0] > 0) && (C.cam_mul[1] > 0)) in print_verbose() 567 …utfile, "\n %-23s %g %g %g %g %5.2f %5.2f %5.2f %5.2f", "As shot", C.cam_mul[0], C.cam_mul[1], in print_verbose() 568 … C.cam_mul[2], C.cam_mul[3], roundf(log2(C.cam_mul[0] / C.cam_mul[1]) * 100.0f) / 100.0f, 0.0f, in print_verbose() 569 roundf(log2(C.cam_mul[2] / C.cam_mul[1]) * 100.0f) / 100.0f, in print_verbose() 570 C.cam_mul[3] ? roundf(log2(C.cam_mul[3] / C.cam_mul[1]) * 100.0f) / 100.0f : 0.0f); in print_verbose()
|
/dports/graphics/rawstudio/rawstudio-2.0/plugins/meta-ciff/ |
H A D | ciff-meta.c | 175 meta->cam_mul[0] = ushort_temp1; in raw_crw_walker() 177 meta->cam_mul[1] = ushort_temp1; in raw_crw_walker() 179 meta->cam_mul[3] = ushort_temp1; in raw_crw_walker() 181 meta->cam_mul[2] = ushort_temp1; in raw_crw_walker()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/legacy/operations/ |
H A D | raw_preprocessor.cc | 120 wb_red_current = image_data->color.cam_mul[0]; in build() 121 wb_green_current = image_data->color.cam_mul[1]; in build() 122 wb_blue_current = image_data->color.cam_mul[2]; in build()
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/gui/operations/ |
H A D | white_balance_config.cc | 414 double cam_mul[3]; in temp_tint_changed() local 415 temp2mul( temp, tint, cam_mul ); in temp_tint_changed() 416 double min_mul = MIN3(cam_mul[0], cam_mul[1], cam_mul[2]); in temp_tint_changed() 417 for( int i = 0; i < 3; i++ ) cam_mul[i] /= min_mul; in temp_tint_changed() 419 <<" mul="<<cam_mul[0]<<","<<cam_mul[1]<<","<<cam_mul[2]<<std::endl; in temp_tint_changed() 422 wbRedSliders[wb_id]->get_adjustment()->set_value(cam_mul[0]); in temp_tint_changed() 426 wbGreenSliders[wb_id]->get_adjustment()->set_value(cam_mul[1]); in temp_tint_changed() 430 wbBlueSliders[wb_id]->get_adjustment()->set_value(cam_mul[2]); in temp_tint_changed()
|