Home
last modified time | relevance | path

Searched refs:unify_factor (Results 1 – 1 of 1) sorted by relevance

/external/libxcam/modules/soft/
Dsoft_stitcher.cpp218 Factor unify_factor, last_left_factor, last_right_factor; in init_dewarp_factors() local
219 _fisheye[idx].dewarp->get_factors (unify_factor.x, unify_factor.y); in init_dewarp_factors()
220 last_left_factor = last_right_factor = unify_factor; in init_dewarp_factors()
221 if (XCAM_DOUBLE_EQUAL_AROUND (unify_factor.x, 0.0f) || in init_dewarp_factors()
222 XCAM_DOUBLE_EQUAL_AROUND (unify_factor.y, 0.0f)) { // not started. in init_dewarp_factors()
232 unify_factor.x = (cur_left.x + cur_right.x) / 2.0f; in init_dewarp_factors()
233 unify_factor.y = (cur_left.y + cur_right.y) / 2.0f; in init_dewarp_factors()
234 _fisheye[idx].dewarp->set_factors (unify_factor.x, unify_factor.y); in init_dewarp_factors()