Revision b3760ce0a54409c32cd388e013f0bbbc27a6c71d authored by Daniel Fort on 10 September 2017, 18:43:38 UTC, committed by Daniel Fort on 10 September 2017, 18:43:38 UTC
Raw backend: allow displaying raw previews without conflicting with LiveView info bars
1 parent 0ae8464
focus.h
#ifndef __focus_h__
#define __focus_h__
#include "lens.h"
/* returns true if the AF/MF switch is in the MF position, or you have a manual lens */
int is_manual_focus();
/* enqueue some focus steps in the focus task */
void lens_focus_enqueue_step(int dir);
/* Starts rack focusing in the given direction */
void lens_focus_start(int dir);
/* abort the current rack focus operation, if any */
void lens_focus_stop( void );
/* for rack focus menu */
int handle_rack_focus_menu_overrides(struct event * event);
void reset_override_zoom_buttons();
/* DOF info calculation */
void focus_calc_dof();
int is_follow_focus_active();
int get_follow_focus_mode();
int get_follow_focus_dir_h();
int get_follow_focus_dir_v();
/* trap focus */
int can_lv_trap_focus_be_active();
int get_lv_focus_confirmation();
int get_focus_confirmation();
/* focus stacking */
int is_focus_stack_enabled();
/* private stuff (focus stacking code tigtly coupled with HDR bracketing stuff */
void focus_stack_run(int skip_frame);
/* focus racking */
void rack_focus_start_now( void * priv, int delta );
int is_rack_focus_enabled();
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...