Home
last modified time | relevance | path

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

/external/libxcam/xcore/
Dsurview_fisheye_dewarp.cpp39 SurViewFisheyeDewarp::set_intrinsic_param(const IntrinsicParameter &intrinsic_param) in set_intrinsic_param() argument
41 _intrinsic_param = intrinsic_param; in set_intrinsic_param()
161 IntrinsicParameter intrinsic_param = get_intrinsic_param(); in cal_image_coord() local
164 for (uint32_t i = 0; i < intrinsic_param.poly_length; i++) { in cal_image_coord()
165 poly_sum += intrinsic_param.poly_coeff[i] * p; in cal_image_coord()
172 … image_coord.x = image_x * intrinsic_param.c + image_y * intrinsic_param.d + intrinsic_param.xc; in cal_image_coord()
173 image_coord.y = image_x * intrinsic_param.e + image_y + intrinsic_param.yc; in cal_image_coord()
175 image_coord.x = intrinsic_param.xc; in cal_image_coord()
176 image_coord.y = intrinsic_param.yc; in cal_image_coord()
Dcalibration_parser.cpp37 CalibrationParser::parse_intrinsic_param(char *file_body, IntrinsicParameter &intrinsic_param) in parse_intrinsic_param() argument
64 intrinsic_param.poly_length = strtol(tok_str, NULL, 10); in parse_intrinsic_param()
67 ERROR, intrinsic_param.poly_length <= XCAM_INTRINSIC_MAX_POLY_SIZE, in parse_intrinsic_param()
70 intrinsic_param.poly_length, XCAM_INTRINSIC_MAX_POLY_SIZE); in parse_intrinsic_param()
72 for(uint32_t i = 0; i < intrinsic_param.poly_length; i++) { in parse_intrinsic_param()
75 intrinsic_param.poly_coeff[i] = (strtof(tok_str, NULL)); in parse_intrinsic_param()
86 intrinsic_param.yc = strtof(tok_str, NULL); in parse_intrinsic_param()
90 intrinsic_param.xc = strtof(tok_str, NULL); in parse_intrinsic_param()
100 intrinsic_param.c = strtof(tok_str, NULL); in parse_intrinsic_param()
104 intrinsic_param.d = strtof(tok_str, NULL); in parse_intrinsic_param()
[all …]
Dcalibration_parser.h34 XCamReturn parse_intrinsic_param(char *file_body, IntrinsicParameter &intrinsic_param);
38 XCamReturn parse_intrinsic_file(const char *file_path, IntrinsicParameter &intrinsic_param);
Dsurview_fisheye_dewarp.h41 void set_intrinsic_param(const IntrinsicParameter &intrinsic_param);
/external/libxcam/tests/
Dtest-image-stitching.cpp58 IntrinsicParameter intrinsic_param[], in parse_calibration_params() argument
92 calib_parser.parse_intrinsic_file (intrinsic_path, intrinsic_param[index]))) { in parse_calibration_params()
193 IntrinsicParameter intrinsic_param[XCAM_STITCH_FISHEYE_MAX_NUM]; in main() local
416 parse_calibration_params (intrinsic_param, extrinsic_param, fisheye_num); in main()
419 image_360->set_fisheye_intrinsic (intrinsic_param[i], i); in main()
/external/libxcam/modules/ocl/
Dcl_fisheye_handler.h75 void set_intrinsic_param(const IntrinsicParameter intrinsic_param) { in set_intrinsic_param() argument
76 _intrinsic_param = intrinsic_param; in set_intrinsic_param()
Dcl_image_360_stitch.h79 void set_fisheye_intrinsic (IntrinsicParameter intrinsic_param, int index);
Dcl_fisheye_handler.cpp380 IntrinsicParameter intrinsic_param = get_intrinsic_param(); in generate_fisheye_table() local
385 fd.set_intrinsic_param(intrinsic_param); in generate_fisheye_table()
Dcl_image_360_stitch.cpp346 CLImage360Stitch::set_fisheye_intrinsic (IntrinsicParameter intrinsic_param, int index) in set_fisheye_intrinsic() argument
348 _fisheye[index].handler->set_intrinsic_param(intrinsic_param); in set_fisheye_intrinsic()