Searched refs:scale_tbl (Results 1 – 2 of 2) sorted by relevance
/device/google/marlin/camera/QCamera2/HAL/ |
D | QCameraParameters.h | 73 cam_dimension_t *scale_tbl, size_t org_cnt, 91 size_t checkScaleSizeTable(size_t scale_cnt, cam_dimension_t *scale_tbl,
|
D | QCameraParameters.cpp | 12176 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in setScaleSizeTbl() argument 12182 if(!mScaleEnabled || scale_cnt <=0 || scale_tbl == NULL || org_cnt <=0 || org_tbl == NULL){ in setScaleSizeTbl() 12188 mNeedScaleCnt = checkScaleSizeTable(scale_cnt, scale_tbl, org_cnt, org_tbl); in setScaleSizeTbl() 12493 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in checkScaleSizeTable() argument 12498 if(scale_cnt <=0 || scale_tbl == NULL || org_tbl == NULL || org_cnt <= 0) in checkScaleSizeTable() 12506 if (scale_tbl[i].width > org_tbl[0].width || in checkScaleSizeTable() 12507 (scale_tbl[i].width == org_tbl[0].width && in checkScaleSizeTable() 12508 scale_tbl[i].height > org_tbl[0].height)) { in checkScaleSizeTable() 12518 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable() 12522 mNeedScaledSizeTbl[stbl_cnt].width = scale_tbl[i].width; in checkScaleSizeTable() [all …]
|