• Home
  • Raw
  • Download

Lines Matching refs:camera

548   self->camera = NULL;  in gst_ahc_src_init()
589 if (self->camera) { in gst_ahc_src_set_property()
592 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_property()
596 gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_property()
719 if (self->camera) { in gst_ahc_src_get_property()
722 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
731 if (self->camera) { in gst_ahc_src_get_property()
734 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
743 if (self->camera) { in gst_ahc_src_get_property()
746 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
755 if (self->camera) { in gst_ahc_src_get_property()
758 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_property()
1013 if (self->camera) { in gst_ahc_src_get_ev_compensation()
1016 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_ev_compensation()
1045 if (self->camera) { in gst_ahc_src_get_white_balance_mode()
1048 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_white_balance_mode()
1074 if (self->camera) { in gst_ahc_src_get_colour_tone_mode()
1077 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_colour_tone_mode()
1103 if (scene_mode && self->camera) { in gst_ahc_src_get_scene_mode()
1106 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_scene_mode()
1132 if (self->camera) { in gst_ahc_src_get_flash_mode()
1135 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_flash_mode()
1160 if (self->camera) { in gst_ahc_src_get_zoom()
1163 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_zoom()
1195 if (self->camera) { in gst_ahc_src_get_flicker_mode()
1198 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_flicker_mode()
1225 if (self->camera) { in gst_ahc_src_get_focus_mode()
1228 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_focus_mode()
1254 if (self->camera) { in gst_ahc_src_set_ev_compensation()
1257 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_ev_compensation()
1271 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_ev_compensation()
1288 if (self->camera) { in gst_ahc_src_set_white_balance_mode()
1291 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_white_balance_mode()
1327 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_white_balance_mode()
1343 if (self->camera) { in gst_ahc_src_set_colour_tone_mode()
1346 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_colour_tone_mode()
1392 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_colour_tone_mode()
1408 if (self->camera) { in gst_ahc_src_set_scene_mode()
1411 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_scene_mode()
1473 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_scene_mode()
1489 if (self->camera) { in gst_ahc_src_set_flash_mode()
1492 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_flash_mode()
1519 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_flash_mode()
1534 if (self->camera) { in gst_ahc_src_set_zoom()
1537 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_zoom()
1559 gst_ah_camera_stop_smooth_zoom (self->camera); in gst_ahc_src_set_zoom()
1560 ret = gst_ah_camera_start_smooth_zoom (self->camera, zoom_idx); in gst_ahc_src_set_zoom()
1563 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_zoom()
1582 if (self->camera) { in gst_ahc_src_set_flicker_mode()
1585 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_flicker_mode()
1609 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_flicker_mode()
1625 if (self->camera) { in gst_ahc_src_set_focus_mode()
1628 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_set_focus_mode()
1662 ret = gst_ah_camera_set_parameters (self->camera, params); in gst_ahc_src_set_focus_mode()
1681 if (self->camera) { in gst_ahc_src_get_capabilities()
1684 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_get_capabilities()
1710 if (self->camera) { in gst_ahc_src_set_autofocus()
1712 gst_ah_camera_auto_focus (self->camera, gst_ahc_src_on_auto_focus, self); in gst_ahc_src_set_autofocus()
1714 gst_ah_camera_cancel_auto_focus (self->camera); in gst_ahc_src_set_autofocus()
1761 if (self->camera) { in gst_ahc_src_getcaps()
1765 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_getcaps()
1900 if (!self->camera) { in gst_ahc_src_setcaps()
1905 params = gst_ah_camera_get_parameters (self->camera); in gst_ahc_src_setcaps()
1987 if (!gst_ah_camera_set_parameters (self->camera, params)) { in gst_ahc_src_setcaps()
2006 gst_ah_camera_add_callback_buffer (self->camera, array); in gst_ahc_src_setcaps()
2025 ret = gst_ah_camera_start_preview (self->camera); in gst_ahc_src_setcaps()
2028 gst_ah_camera_set_preview_callback_with_buffer (self->camera, in gst_ahc_src_setcaps()
2030 gst_ah_camera_set_error_callback (self->camera, gst_ahc_src_on_error, in gst_ahc_src_setcaps()
2057 if (self->camera) in gst_ahc_src_buffer_free_func()
2058 gst_ah_camera_add_callback_buffer (self->camera, data->array); in gst_ahc_src_buffer_free_func()
2111 gst_ah_camera_add_callback_buffer (self->camera, array); in gst_ahc_src_on_preview_frame()
2117 gst_ah_camera_add_callback_buffer (self->camera, array); in gst_ahc_src_on_preview_frame()
2175 self->camera = gst_ah_camera_open (self->device); in gst_ahc_src_open()
2177 if (self->camera) { in gst_ahc_src_open()
2187 gst_ah_camera_set_preview_texture (self->camera, self->texture); in gst_ahc_src_open()
2203 return (self->camera != NULL); in gst_ahc_src_open()
2206 gst_ah_camera_release (self->camera); in gst_ahc_src_open()
2207 gst_ah_camera_free (self->camera); in gst_ahc_src_open()
2208 self->camera = NULL; in gst_ahc_src_open()
2218 if (self->camera) { in gst_ahc_src_close()
2219 gst_ah_camera_set_error_callback (self->camera, NULL, NULL); in gst_ahc_src_close()
2220 gst_ah_camera_set_preview_callback_with_buffer (self->camera, NULL, NULL); in gst_ahc_src_close()
2221 gst_ah_camera_release (self->camera); in gst_ahc_src_close()
2222 gst_ah_camera_free (self->camera); in gst_ahc_src_close()
2224 self->camera = NULL; in gst_ahc_src_close()
2271 if (self->camera) { in gst_ahc_src_start()
2289 if (self->camera) { in gst_ahc_src_stop()
2292 gst_ah_camera_set_error_callback (self->camera, NULL, NULL); in gst_ahc_src_stop()
2293 return gst_ah_camera_stop_preview (self->camera); in gst_ahc_src_stop()