Home
last modified time | relevance | path

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

/external/libxcam/modules/ocl/
Dcl_image_warp_handler.cpp94 CLWarpConfig warp_config = _handler->get_warp_config (); in prepare_arguments() local
95 if ((warp_config.trim_ratio > 0.5f) || (warp_config.trim_ratio < 0.0f)) { in prepare_arguments()
96 warp_config.trim_ratio = 0.0f; in prepare_arguments()
99 float sample_rate_x = (float)warp_config.width / (float)video_info_in.width; in prepare_arguments()
100 float sample_rate_y = (float)warp_config.height / (float)video_info_in.height; in prepare_arguments()
102 warp_config.proj_mat[2] = warp_config.proj_mat[2] / sample_rate_x; in prepare_arguments()
103 warp_config.proj_mat[5] = warp_config.proj_mat[5] / sample_rate_y; in prepare_arguments()
104 warp_config.proj_mat[6] = warp_config.proj_mat[6] * sample_rate_x; in prepare_arguments()
105 warp_config.proj_mat[7] = warp_config.proj_mat[7] * sample_rate_y; in prepare_arguments()
113 warp_config.proj_mat[2] = 0.5 * warp_config.proj_mat[2]; in prepare_arguments()
[all …]
Dcl_video_stabilizer.cpp150 XCamDVSResult warp_config; in prepare_parameters() local
165 warp_config.frame_id = _stabilized_frame_id; in prepare_parameters()
166 warp_config.frame_width = video_info_in.width; in prepare_parameters()
167 warp_config.frame_height = video_info_in.height; in prepare_parameters()
171 warp_config.proj_mat[i * 3 + j] = proj_inv_mat(i, j); in prepare_parameters()
175 set_warp_config (warp_config); in prepare_parameters()
/external/libxcam/cl_kernel/
Dkernel_image_warp.cl5 * \param[in] warp_config: image warping parameters
27 CLWarpConfig warp_config)
57 s_x = warp_config.proj_mat[0] * t_x +
58 warp_config.proj_mat[1] * t_y +
59 warp_config.proj_mat[2];
60 s_y = warp_config.proj_mat[3] * t_x +
61 warp_config.proj_mat[4] * t_y +
62 warp_config.proj_mat[5];
63 w = warp_config.proj_mat[6] * t_x +
64 warp_config.proj_mat[7] * t_y +
[all …]
/external/libxcam/tests/
Dtest-cl-image.cpp441 XCamDVSResult warp_config; in main() local
442 xcam_mem_clear (warp_config); in main()
443 warp_config.frame_id = 1; in main()
444 warp_config.frame_width = width; in main()
445 warp_config.frame_height = height; in main()
459 warp_config.proj_mat[0] = scale_x; in main()
460 warp_config.proj_mat[1] = shear_x; in main()
461 warp_config.proj_mat[2] = shift_x; in main()
462 warp_config.proj_mat[3] = shear_y; in main()
463 warp_config.proj_mat[4] = scale_y; in main()
[all …]
/external/u-boot/board/warp/
DREADME13 $ make warp_config