Home
last modified time | relevance | path

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

/external/libxcam/modules/soft/
Dsoft_stitcher.cpp144 const Stitcher::RoundViewSlice &view_slice,
243 const Stitcher::RoundViewSlice &view_slice, in set_dewarp_geo_table() argument
251 table_width = view_slice.width / MAP_FACTOR_X; in set_dewarp_geo_table()
253 table_height = view_slice.height / MAP_FACTOR_Y; in set_dewarp_geo_table()
258 view_slice.width, view_slice.height, bowl); in set_dewarp_geo_table()
292 Stitcher::RoundViewSlice view_slice = in init_fisheye() local
297 V4L2_PIX_FMT_NV12, view_slice.width, view_slice.height, in init_fisheye()
298 XCAM_ALIGN_UP (view_slice.width, SOFT_STITCHER_ALIGNMENT_X), in init_fisheye()
299 XCAM_ALIGN_UP (view_slice.height, SOFT_STITCHER_ALIGNMENT_Y)); in init_fisheye()
427 Stitcher::RoundViewSlice view_slice = _stitcher->get_round_view_slice (i); in fisheye_dewarp_to_table() local
[all …]
/external/libxcam/xcore/interface/
Dstitcher.cpp200 RoundViewSlice &view_slice = _round_view_slices[i]; in estimate_round_slices() local
202 view_slice.width = cam_info.angle_range / 360.0f * (float)_output_width; in estimate_round_slices()
203 view_slice.width = XCAM_ALIGN_UP (view_slice.width, _alignment_x); in estimate_round_slices()
204 view_slice.height = _output_height; in estimate_round_slices()
205 view_slice.hori_angle_range = view_slice.width * 360.0f / (float)_output_width; in estimate_round_slices()
211view_slice.hori_angle_start = format_angle((float)aligned_start / (float)_output_width * 360.0f); in estimate_round_slices()
212 if (XCAM_DOUBLE_EQUAL_AROUND (view_slice.hori_angle_start, 0.0001f)) in estimate_round_slices()
213 view_slice.hori_angle_start = 0.0f; in estimate_round_slices()
215 cam_info.round_angle_start = view_slice.hori_angle_start; in estimate_round_slices()
216 cam_info.angle_range = view_slice.hori_angle_range; in estimate_round_slices()