Lines Matching refs:analyzer

101 #define GST_XCAM_INTERFACE_HEADER(from, src, device_manager, analyzer)     \  argument
106 SmartPtr<X3aAnalyzer> analyzer = device_manager->get_analyzer (); \
107 XCAM_ASSERT (analyzer.ptr ())
911 SmartPtr<X3aAnalyzer> analyzer; in gst_xcam_src_start() local
1054 analyzer = new X3aAnalyzerSimple (); in gst_xcam_src_start()
1064 analyzer = tuner_analyzer; in gst_xcam_src_start()
1072 analyzer = dynamic_loader->load_analyzer (loader); in gst_xcam_src_start()
1073 if (!analyzer.ptr ()) { in gst_xcam_src_start()
1085 analyzer = hybrid_loader->load_analyzer (loader); in gst_xcam_src_start()
1086 if (!analyzer.ptr ()) { in gst_xcam_src_start()
1099 XCAM_ASSERT (analyzer.ptr ()); in gst_xcam_src_start()
1100 if (analyzer->prepare_handlers () != XCAM_RETURN_NO_ERROR) { in gst_xcam_src_start()
1101 XCAM_LOG_ERROR ("analyzer(%s) prepare handlers failed", analyzer->get_name ()); in gst_xcam_src_start()
1107 analyzer->set_ae_exposure_time_range (80 * 1110 * 1000 / 37125, 1120 * 1110 * 1000 / 37125); in gst_xcam_src_start()
1108 analyzer->set_ae_max_analog_gain (3.98); in gst_xcam_src_start()
1110 device_manager->set_3a_analyzer (analyzer); in gst_xcam_src_start()
1387 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_white_balance_mode()
1389 return analyzer->set_awb_mode (mode); in gst_xcam_src_set_white_balance_mode()
1395 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_awb_speed()
1397 return analyzer->set_awb_speed (speed); in gst_xcam_src_set_awb_speed()
1403 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_wb_color_temperature_range()
1405 return analyzer->set_awb_color_temperature_range (cct_min, cct_max); in gst_xcam_src_set_wb_color_temperature_range()
1411 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_wb_gain()
1413 return analyzer->set_awb_manual_gain (gr, r, b, gb); in gst_xcam_src_set_manual_wb_gain()
1420 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_exposure_mode()
1422 return analyzer->set_ae_mode (mode); in gst_xcam_src_set_exposure_mode()
1428 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_ae_metering_mode()
1430 return analyzer->set_ae_metering_mode (mode); in gst_xcam_src_set_ae_metering_mode()
1436 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_exposure_window()
1438 return analyzer->set_ae_window (window, count); in gst_xcam_src_set_exposure_window()
1444 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_exposure_value_offset()
1446 return analyzer->set_ae_ev_shift (ev_offset); in gst_xcam_src_set_exposure_value_offset()
1452 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_ae_speed()
1454 return analyzer->set_ae_speed (speed); in gst_xcam_src_set_ae_speed()
1460 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_exposure_flicker_mode()
1462 return analyzer->set_ae_flicker_mode (flicker); in gst_xcam_src_set_exposure_flicker_mode()
1468 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_get_exposure_flicker_mode()
1470 return analyzer->get_ae_flicker_mode (); in gst_xcam_src_get_exposure_flicker_mode()
1476 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_get_current_exposure_time()
1478 return analyzer->get_ae_current_exposure_time (); in gst_xcam_src_get_current_exposure_time()
1484 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_get_current_analog_gain()
1486 return analyzer->get_ae_current_analog_gain (); in gst_xcam_src_get_current_analog_gain()
1492 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_exposure_time()
1494 return analyzer->set_ae_manual_exposure_time (time_in_us); in gst_xcam_src_set_manual_exposure_time()
1500 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_analog_gain()
1502 return analyzer->set_ae_manual_analog_gain (gain); in gst_xcam_src_set_manual_analog_gain()
1508 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_aperture()
1510 return analyzer->set_ae_aperture (fn); in gst_xcam_src_set_aperture()
1516 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_max_analog_gain()
1518 return analyzer->set_ae_max_analog_gain (max_gain); in gst_xcam_src_set_max_analog_gain()
1524 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_get_max_analog_gain()
1526 return analyzer->get_ae_max_analog_gain (); in gst_xcam_src_get_max_analog_gain()
1532 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_exposure_time_range()
1534 return analyzer->set_ae_exposure_time_range (min_time_in_us, max_time_in_us); in gst_xcam_src_set_exposure_time_range()
1540 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_get_exposure_time_range()
1542 return analyzer->get_ae_exposure_time_range (min_time_in_us, max_time_in_us); in gst_xcam_src_get_exposure_time_range()
1548 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_noise_reduction_level()
1550 return analyzer->set_noise_reduction_level ((level - 128) / 128.0); in gst_xcam_src_set_noise_reduction_level()
1556 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_temporal_noise_reduction_level()
1558 bool ret = analyzer->set_temporal_noise_reduction_level ((level - 128) / 128.0); in gst_xcam_src_set_temporal_noise_reduction_level()
1576 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_gamma_table()
1578 return analyzer->set_gamma_table (r_table, g_table, b_table); in gst_xcam_src_set_gamma_table()
1584 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_gbce()
1586 return analyzer->set_gbce (enable); in gst_xcam_src_set_gbce()
1592 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_brightness()
1594 return analyzer->set_manual_brightness ((value - 128) / 128.0); in gst_xcam_src_set_manual_brightness()
1600 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_contrast()
1602 return analyzer->set_manual_contrast ((value - 128) / 128.0); in gst_xcam_src_set_manual_contrast()
1608 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_hue()
1610 return analyzer->set_manual_hue ((value - 128) / 128.0); in gst_xcam_src_set_manual_hue()
1616 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_saturation()
1618 return analyzer->set_manual_saturation ((value - 128) / 128.0); in gst_xcam_src_set_manual_saturation()
1624 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_manual_sharpness()
1626 return analyzer->set_manual_sharpness ((value - 128) / 128.0); in gst_xcam_src_set_manual_sharpness()
1632 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_dvs()
1634 return analyzer->set_dvs (enable); in gst_xcam_src_set_dvs()
1640 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_night_mode()
1642 return analyzer->set_night_mode (enable); in gst_xcam_src_set_night_mode()
1648 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_hdr_mode()
1649 XCAM_UNUSED (analyzer); in gst_xcam_src_set_hdr_mode()
1668 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_denoise_mode()
1669 XCAM_UNUSED (analyzer); in gst_xcam_src_set_denoise_mode()
1689 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_gamma_mode()
1690 XCAM_UNUSED (analyzer); in gst_xcam_src_set_gamma_mode()
1707 GST_XCAM_INTERFACE_HEADER (xcam3a, src, device_manager, analyzer); in gst_xcam_src_set_dpc_mode()
1708 XCAM_UNUSED (analyzer); in gst_xcam_src_set_dpc_mode()