Lines Matching refs:capsMainCam

100         cam_capability_t *capsMainCam,  in create()  argument
105 if (capsMainCam && capsAuxCam) { in create()
111 if (pFovControl->validateAndExtractParameters(capsMainCam, capsAuxCam)) { in create()
178 cam_capability_t *capsMainCam, in consolidateCapabilities() argument
184 if ((capsMainCam != NULL) && in consolidateCapabilities()
187 memcpy(&capsConsolidated, capsMainCam, sizeof(cam_capability_t)); in consolidateCapabilities()
190 uint32_t previewSizesTblCntMain = capsMainCam->preview_sizes_tbl_cnt; in consolidateCapabilities()
196 if ((capsMainCam->preview_sizes_tbl[i].width == in consolidateCapabilities()
198 (capsMainCam->preview_sizes_tbl[i].height == in consolidateCapabilities()
204 capsMainCam->preview_sizes_tbl[j].height; in consolidateCapabilities()
214 uint32_t videoSizesTblCntMain = capsMainCam->video_sizes_tbl_cnt; in consolidateCapabilities()
220 if ((capsMainCam->video_sizes_tbl[i].width == in consolidateCapabilities()
222 (capsMainCam->video_sizes_tbl[i].height == in consolidateCapabilities()
228 capsMainCam->video_sizes_tbl[j].height; in consolidateCapabilities()
238 uint32_t livesnapshotSizesTblCntMain = capsMainCam->livesnapshot_sizes_tbl_cnt; in consolidateCapabilities()
244 if ((capsMainCam->livesnapshot_sizes_tbl[i].width == in consolidateCapabilities()
246 (capsMainCam->livesnapshot_sizes_tbl[i].height == in consolidateCapabilities()
252 capsMainCam->livesnapshot_sizes_tbl[j].height; in consolidateCapabilities()
267 for(uint32_t i = 0; i < (capsMainCam->picture_sizes_tbl_cnt - 1); ++i) { in consolidateCapabilities()
269 (capsMainCam->picture_sizes_tbl[i].width * in consolidateCapabilities()
270 capsMainCam->picture_sizes_tbl[i].height)) { in consolidateCapabilities()
271 maxPicDimMain.width = capsMainCam->picture_sizes_tbl[i].width; in consolidateCapabilities()
272 maxPicDimMain.height = capsMainCam->picture_sizes_tbl[i].height; in consolidateCapabilities()
304 uint32_t supportedPreviewFmtCntMain = capsMainCam->supported_preview_fmt_cnt; in consolidateCapabilities()
309 if (capsMainCam->supported_preview_fmts[i] == in consolidateCapabilities()
323 uint32_t supportedPictureFmtCntMain = capsMainCam->supported_picture_fmt_cnt; in consolidateCapabilities()
328 if (capsMainCam->supported_picture_fmts[i] == in consolidateCapabilities()
1450 cam_capability_t *capsMainCam, in validateAndExtractParameters() argument
1454 if (capsMainCam && capsAuxCam) { in validateAndExtractParameters()
1462 capsMainCam->related_cam_calibration.main_cam_specific_calibration.\ in validateAndExtractParameters()
1465 capsMainCam->related_cam_calibration.main_cam_specific_calibration.\ in validateAndExtractParameters()
1469 capsMainCam->related_cam_calibration.aux_cam_specific_calibration.\ in validateAndExtractParameters()
1472 capsMainCam->related_cam_calibration.aux_cam_specific_calibration.\ in validateAndExtractParameters()
1475 mDualCamParams.paramsMain.focalLengthMm = capsMainCam->focal_length; in validateAndExtractParameters()
1478 mDualCamParams.paramsMain.pixelPitchUm = capsMainCam->pixel_pitch_um; in validateAndExtractParameters()
1481 if ((capsMainCam->min_focus_distance > 0) && in validateAndExtractParameters()
1485 uint32_t minFocusDistCmMain = (100.0f / capsMainCam->min_focus_distance); in validateAndExtractParameters()
1491 if (capsMainCam->related_cam_calibration.relative_position_flag == 0) { in validateAndExtractParameters()
1497 if ((capsMainCam->avail_spatial_align_solns & CAM_SPATIAL_ALIGN_QTI) || in validateAndExtractParameters()
1498 (capsMainCam->avail_spatial_align_solns & CAM_SPATIAL_ALIGN_OEM)) { in validateAndExtractParameters()
1500 capsMainCam->avail_spatial_align_solns; in validateAndExtractParameters()
1505 if (capsMainCam->zoom_supported > 0) { in validateAndExtractParameters()
1506 mFovControlData.zoomRatioTable = capsMainCam->zoom_ratio_tbl; in validateAndExtractParameters()
1507 mFovControlData.zoomRatioTableCount = capsMainCam->zoom_ratio_tbl_cnt; in validateAndExtractParameters()