/third_party/backends/backend/genesys/ |
H A D | low.h | 327 const SensorExposure& exposure); 333 inline SensorExposure sanei_genesys_fixup_exposure(SensorExposure exposure) in sanei_genesys_fixup_exposure() argument 335 exposure.red = std::max<std::uint16_t>(1, exposure.red); in sanei_genesys_fixup_exposure() 336 exposure.green = std::max<std::uint16_t>(1, exposure.green); in sanei_genesys_fixup_exposure() 337 exposure.blue = std::max<std::uint16_t>(1, exposure.blue); in sanei_genesys_fixup_exposure() 338 return exposure; in sanei_genesys_fixup_exposure() 357 unsigned exposure, [all...] |
H A D | sensor.cpp | 93 std::ostream& operator<<(std::ostream& out, const SensorExposure& exposure) in operator <<() argument 96 << " red: " << exposure.red << '\n' in operator <<() 97 << " green: " << exposure.green << '\n' in operator <<() 98 << " blue: " << exposure.blue << '\n' in operator <<() 122 << " exposure: " << format_indent_braced_list(4, sensor.exposure) << '\n' in operator <<()
|
H A D | low.cpp | 575 sanei_genesys_fixup_exposure(sensor.exposure)); in sanei_genesys_set_lamp_power() 580 regs_set_exposure(dev->model->asic_type, regs, sensor.exposure); in sanei_genesys_set_lamp_power() 1531 const SensorExposure& exposure) in regs_set_exposure() 1535 regs.set24(gl124::REG_EXPR, exposure.red); in regs_set_exposure() 1536 regs.set24(gl124::REG_EXPG, exposure.green); in regs_set_exposure() 1537 regs.set24(gl124::REG_EXPB, exposure.blue); in regs_set_exposure() 1541 regs.set16(gl646::REG_EXPR, exposure.red); in regs_set_exposure() 1542 regs.set16(gl646::REG_EXPG, exposure.green); in regs_set_exposure() 1543 regs.set16(gl646::REG_EXPB, exposure.blue); in regs_set_exposure() 1547 regs.set16(gl841::REG_EXPR, exposure in regs_set_exposure() 1530 regs_set_exposure(AsicType asic_type, Genesys_Register_Set& regs, const SensorExposure& exposure) regs_set_exposure() argument 1687 get_motor_profile_ptr(const std::vector<MotorProfile>& profiles, unsigned exposure, const ScanSession& session) get_motor_profile_ptr() argument 1727 get_motor_profile(const std::vector<MotorProfile>& profiles, unsigned exposure, const ScanSession& session) get_motor_profile() argument 1739 create_slope_table(AsicType asic_type, const Genesys_Motor& motor, unsigned ydpi, unsigned exposure, unsigned step_multiplier, const MotorProfile& motor_profile) create_slope_table() argument [all...] |
H A D | sensor.h | 223 std::ostream& operator<<(std::ostream& out, const SensorExposure& exposure); 285 // red, green and blue initial exposure values 286 SensorExposure exposure; member 358 exposure == other.exposure && in operator ==() 388 serialize(str, x.exposure.blue); in serialize() 389 serialize(str, x.exposure.green); in serialize() 390 serialize(str, x.exposure.red); in serialize()
|
H A D | gl842.cpp | 74 dev.reg.init_reg(0x10, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 75 dev.reg.init_reg(0x11, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 76 dev.reg.init_reg(0x12, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 77 dev.reg.init_reg(0x13, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 78 dev.reg.init_reg(0x14, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 79 dev.reg.init_reg(0x15, 0x00); // exposure, overwritten in scanner_setup_sensor() below in gl842_init_registers() 272 unsigned int exposure, in gl842_init_motor_regs_scan() 279 DBG_HELPER_ARGS(dbg, "exposure=%d, scan_yres=%d, step_type=%d, scan_lines=%d, scan_dummy=%d, " in gl842_init_motor_regs_scan() 281 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl842_init_motor_regs_scan() 327 auto scan_table = create_slope_table(dev->model->asic_type, dev->motor, scan_yres, exposure, in gl842_init_motor_regs_scan() 267 gl842_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int exposure, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl842_init_motor_regs_scan() argument 410 gl842_init_optical_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, Genesys_Register_Set* reg, unsigned int exposure, const ScanSession& session) gl842_init_optical_regs_scan() argument 550 int exposure = sensor.exposure_lperiod; init_regs_for_scan_session() local [all...] |
H A D | tables_sensor.cpp | 43 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 85 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 125 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 167 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 288 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 380 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in genesys_init_sensor_tables() 455 sensor.exposure = { 0x0400, 0x0400, 0x0400 }; in genesys_init_sensor_tables() 503 sensor.exposure = { 0x0400, 0x0400, 0x0400 }; in genesys_init_sensor_tables() 572 SensorExposure exposure; in genesys_init_sensor_tables() member 597 sensor.exposure in genesys_init_sensor_tables() 629 SensorExposure exposure; genesys_init_sensor_tables() member 1029 SensorExposure exposure; genesys_init_sensor_tables() member 1165 SensorExposure exposure; genesys_init_sensor_tables() member 1309 SensorExposure exposure; genesys_init_sensor_tables() member 1892 SensorExposure exposure; genesys_init_sensor_tables() member 2423 SensorExposure exposure; genesys_init_sensor_tables() member 2600 SensorExposure exposure; genesys_init_sensor_tables() member 2777 SensorExposure exposure; genesys_init_sensor_tables() member 2979 SensorExposure exposure; genesys_init_sensor_tables() member [all...] |
H A D | gl843.cpp | 267 // LPERIOD: Line period or exposure time for CCD or CIS. in gl843_init_registers() 669 unsigned int exposure, in gl843_init_motor_regs_scan() 676 DBG_HELPER_ARGS(dbg, "exposure=%d, scan_yres=%d, step_type=%d, scan_lines=%d, scan_dummy=%d, " in gl843_init_motor_regs_scan() 678 exposure, scan_yres, static_cast<unsigned>(motor_profile.step_type), in gl843_init_motor_regs_scan() 728 auto scan_table = create_slope_table(dev->model->asic_type, dev->motor, scan_yres, exposure, in gl843_init_motor_regs_scan() 785 exposure, in gl843_init_motor_regs_scan() 848 * @param exposure exposure time to use 859 Genesys_Register_Set* reg, unsigned int exposure, in gl843_init_optical_regs_scan() 862 DBG_HELPER_ARGS(dbg, "exposure in gl843_init_optical_regs_scan() 664 gl843_init_motor_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, const ScanSession& session, Genesys_Register_Set* reg, const MotorProfile& motor_profile, unsigned int exposure, unsigned scan_yres, unsigned int scan_lines, unsigned int scan_dummy, unsigned int feed_steps, ScanFlag flags) gl843_init_motor_regs_scan() argument 858 gl843_init_optical_regs_scan(Genesys_Device* dev, const Genesys_Sensor& sensor, Genesys_Register_Set* reg, unsigned int exposure, const ScanSession& session) gl843_init_optical_regs_scan() argument 1003 int exposure; init_regs_for_scan_session() local [all...] |
H A D | gl646.cpp | 285 /* vfinal=(exposure/(1200/dpi))/step_type */ 975 dev->reg.find_reg(0x38).value = 0x2a; // line period (exposure time = 11000 pixels) */ in gl646_init_regs() 1938 adjust exposure times in led_calibration() 1940 expr = sensor.exposure.red; in led_calibration() 1941 expg = sensor.exposure.green; in led_calibration() 1942 expb = sensor.exposure.blue; in led_calibration() 1950 calib_sensor.exposure.red = expr; in led_calibration() 1951 calib_sensor.exposure.green = expg; in led_calibration() 1952 calib_sensor.exposure.blue = expb; in led_calibration() 1960 return calib_sensor.exposure; in led_calibration() [all...] |
H A D | genesys.cpp | 365 line exposure needed for conversion and led exposure time. 378 int exposure = exposure_by_ccd; in sanei_genesys_exposure_time2() local 380 if (exposure < exposure_by_motor) { in sanei_genesys_exposure_time2() 381 exposure = exposure_by_motor; in sanei_genesys_exposure_time2() 384 if (exposure < exposure_by_led && dev->model->is_cis) { in sanei_genesys_exposure_time2() 385 exposure = exposure_by_led; in sanei_genesys_exposure_time2() 388 return exposure; in sanei_genesys_exposure_time2() 659 regs_set_exposure(dev.model->asic_type, regs, sensor.exposure); in scanner_setup_sensor() 2015 exp[0] = calib_sensor.exposure in scanner_led_calibration() [all...] |
H A D | gl841.cpp | 660 /*TODO: what should we do here?? go back to exposure calculation?*/ in gl841_init_motor_regs_scan() 876 /** @brief compute exposure time 877 * Compute exposure time for the device and the given scan resolution 887 unsigned max_sensor_exposure = std::max({sensor.exposure.red, sensor.exposure.green, in gl841_exposure_time() 888 sensor.exposure.blue}); in gl841_exposure_time()
|
/third_party/ffmpeg/libavfilter/ |
H A D | vf_exposure.c | 33 float exposure; member 71 s->scale = 1.f / (exp2f(-s->exposure) - s->black); in filter_frame() 109 { "exposure", "set the exposure correction", OFFSET(exposure), AV_OPT_TYPE_FLOAT, {.dbl=0}, -3, 3, VF }, 114 AVFILTER_DEFINE_CLASS(exposure); variable 117 .name = "exposure", 118 .description = NULL_IF_CONFIG_SMALL("Adjust exposure of the video stream."),
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_render.h | 33 /// \brief Curve for pre-exposure-compensation adjustment based on noise floor, 79 dng_function_exposure_tone (real64 exposure); 187 /// Set exposure compensation. 188 /// \param exposure Compensation value in stops, positive or negative. 190 void SetExposure (real64 exposure) in SetExposure() argument 192 fExposure = exposure; in SetExposure() 195 /// Get exposure compensation.
|
H A D | dng_render.cpp | 82 dng_function_exposure_tone::dng_function_exposure_tone (real64 exposure) in dng_function_exposure_tone() argument 84 : fIsNOP (exposure >= 0.0) in dng_function_exposure_tone() 99 fSlope = pow (2.0, exposure); in dng_function_exposure_tone() 911 // Compute exposure/shadows ramp. in Start() 913 real64 exposure = fParams.Exposure () + in Start() local 919 real64 white = 1.0 / pow (2.0, Max_real64 (0.0, exposure)); in Start() 940 // If there is any negative exposure compenation to perform in Start() 941 // (beyond what the camera provides for with its baseline exposure), in Start() 944 dng_function_exposure_tone exposureTone (exposure); in Start() 1090 // Apply exposure curv in ProcessArea() [all...] |
H A D | dng_negative.h | 631 // Zero point for the exposure compensation slider. This reflects how 1384 void SetBaselineExposure (real64 exposure) in SetBaselineExposure() argument 1386 fBaselineExposure.Set_real64 (exposure, 100); in SetBaselineExposure() 1403 /// Compute total baseline exposure (sum of negative's BaselineExposure and
|
/third_party/backends/backend/ |
H A D | gt68xx_low.c | 383 dev->exposure = malloc (sizeof (*dev->exposure)); in gt68xx_device_activate() 384 if (!dev->afe || !dev->exposure) in gt68xx_device_activate() 387 memcpy (dev->exposure, &dev->model->exposure, sizeof (*dev->exposure)); in gt68xx_device_activate() 414 if (dev->exposure) in gt68xx_device_deactivate() 415 free (dev->exposure); in gt68xx_device_deactivate() 416 dev->exposure = 0; in gt68xx_device_deactivate()
|
H A D | gt68xx_high.c | 566 scanner->dev->exposure); in gt68xx_scanner_start_scan_extended() 698 GT68xx_Exposure_Parameters *exposure = scanner->dev->exposure; in gt68xx_scanner_calibrate() local 724 DBG (3, "exposure 0x%02x 0x%02x 0x%02x\n", exposure->r_time, in gt68xx_scanner_calibrate() 725 exposure->g_time, exposure->b_time); in gt68xx_scanner_calibrate() 1698 "%5s: white = %3d, total_white=%5d (exposure too low) --> exposure += %d (=0x%03x)\n", in gt68xx_afe_cis_adjust_exposure() 1707 "%5s: white = %3d, total_white=%5d (exposure to in gt68xx_afe_cis_adjust_exposure() 1843 GT68xx_Exposure_Parameters *exposure = scanner->dev->exposure; gt68xx_afe_cis_auto() local [all...] |
H A D | agfafocus.h | 111 SANE_Int exposure; member
|
H A D | rts8891.c | 5454 int exposure=0; in setup_shading_calibration() local 5489 exposure=221; in setup_shading_calibration() 5531 exposure=443; in setup_shading_calibration() 5544 exposure=443; in setup_shading_calibration() 5587 exposure=228; in setup_shading_calibration() 5616 exposure=228; in setup_shading_calibration() 5648 exposure=457; in setup_shading_calibration() 5684 exposure=915; in setup_shading_calibration() 5724 exposure=457; in setup_shading_calibration() 5758 exposure in setup_shading_calibration() 6556 int exposure=0; setup_scan_registers() local [all...] |
H A D | tamarack.h | 200 unsigned char exposure; member
|
H A D | coolscan2.c | 59 0.1.7, 22/08/2002, andras: added exposure correction option 267 double exposure, exposure_r, exposure_g, exposure_b; member 558 o.name = "exposure"; in sane_open() 578 o.name = "red-exposure"; in sane_open() 579 o.title = "Red exposure time"; in sane_open() 598 o.name = "green-exposure"; in sane_open() 599 o.title = "Green exposure time"; in sane_open() 618 o.name = "blue-exposure"; in sane_open() 619 o.title = "Blue exposure time"; in sane_open() 998 o.title = "Auto-exposure sca in sane_open() [all...] |
H A D | gt68xx_low.h | 185 /** GT68xx exposure time parameters. 189 SANE_Int r_time; /**< Red exposure time */ 190 SANE_Int g_time; /**< Red exposure time */ 191 SANE_Int b_time; /**< Red exposure time */ 484 GT68xx_Exposure_Parameters exposure; /* Default exposure parameters */ member 515 GT68xx_Exposure_Parameters *exposure; member
|
H A D | coolscan3.c | 232 double exposure, exposure_r, exposure_g, exposure_b; member 518 o.name = "exposure"; in sane_open() 538 o.name = "red-exposure"; in sane_open() 539 o.title = "Red exposure time"; in sane_open() 558 o.name = "green-exposure"; in sane_open() 559 o.title = "Green exposure time"; in sane_open() 578 o.name = "blue-exposure"; in sane_open() 579 o.title = "Blue exposure time"; in sane_open() 988 o.title = "Auto-exposure"; in sane_open() 989 o.desc = "Perform auto-exposure befor in sane_open() [all...] |
H A D | microtek.h | 321 SANE_Byte exposure, contrast; member
|
H A D | agfafocus.c | 495 Byte exposure[2]; in set_window() member 565 set_size (cmd.wd.exposure, 2, s->exposure); in set_window() 577 s->exposure, cmd.wd.red_att, cmd.wd.blue_att, cmd.wd.green_att, s->edge); in set_window() 1135 /* exposure */ in init_options() 1136 s->opt[OPT_EXPOSURE].name = "exposure"; in init_options() 1138 s->opt[OPT_EXPOSURE].desc = "Analog exposure control."; in init_options() 1672 s->exposure = ((s->val[OPT_EXPOSURE].w * (255.0f - 80.0f)) / 100.0f) + 80.0f; in sane_get_parameters()
|
/third_party/backends/testsuite/backend/genesys/ |
H A D | tests_calibration.cpp | 72 sensor.exposure = { 0x0000, 0x0000, 0x0000 }; in create_fake_calibration_entry()
|