• Home
  • Raw
  • Download

Lines Matching refs:focus

125 static gboolean _focus_modes_to_enum (const gchar * focus,
641 GstPhotographyFocusMode focus = g_value_get_enum (value); in gst_ahc_src_set_property() local
643 gst_ahc_src_set_focus_mode (GST_PHOTOGRAPHY (self), focus); in gst_ahc_src_set_property()
819 GstPhotographyFocusMode focus; in gst_ahc_src_get_property() local
821 if (gst_ahc_src_get_focus_mode (GST_PHOTOGRAPHY (self), &focus)) in gst_ahc_src_get_property()
822 g_value_set_enum (value, focus); in gst_ahc_src_get_property()
985 _focus_modes_to_enum (const gchar * focus, GstPhotographyFocusMode * mode) in _focus_modes_to_enum() argument
987 if (focus == Parameters_FOCUS_MODE_AUTO) in _focus_modes_to_enum()
989 else if (focus == Parameters_FOCUS_MODE_INFINITY) in _focus_modes_to_enum()
991 else if (focus == Parameters_FOCUS_MODE_MACRO) in _focus_modes_to_enum()
993 else if (focus == Parameters_FOCUS_MODE_FIXED) in _focus_modes_to_enum()
995 else if (focus == Parameters_FOCUS_MODE_EDOF) in _focus_modes_to_enum()
997 else if (focus == Parameters_FOCUS_MODE_CONTINUOUS_VIDEO) in _focus_modes_to_enum()
999 else if (focus == Parameters_FOCUS_MODE_CONTINUOUS_PICTURE) in _focus_modes_to_enum()
1230 const gchar *focus = gst_ahc_parameters_get_focus_mode (params); in gst_ahc_src_get_focus_mode() local
1233 if (_focus_modes_to_enum (focus, &mode)) { in gst_ahc_src_get_focus_mode()
1630 const gchar *focus = NULL; in gst_ahc_src_set_focus_mode() local
1634 focus = Parameters_FOCUS_MODE_AUTO; in gst_ahc_src_set_focus_mode()
1637 focus = Parameters_FOCUS_MODE_MACRO; in gst_ahc_src_set_focus_mode()
1640 focus = Parameters_FOCUS_MODE_INFINITY; in gst_ahc_src_set_focus_mode()
1643 focus = Parameters_FOCUS_MODE_FIXED; in gst_ahc_src_set_focus_mode()
1646 focus = Parameters_FOCUS_MODE_CONTINUOUS_PICTURE; in gst_ahc_src_set_focus_mode()
1649 focus = Parameters_FOCUS_MODE_CONTINUOUS_VIDEO; in gst_ahc_src_set_focus_mode()
1652 focus = Parameters_FOCUS_MODE_EDOF; in gst_ahc_src_set_focus_mode()
1656 focus = NULL; in gst_ahc_src_set_focus_mode()
1660 if (focus) { in gst_ahc_src_set_focus_mode()
1661 gst_ahc_parameters_set_focus_mode (params, focus); in gst_ahc_src_set_focus_mode()