Searched refs:scale_tbl (Results 1 – 2 of 2) sorted by relevance
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraParameters.h | 74 cam_dimension_t *scale_tbl, size_t org_cnt, 92 size_t checkScaleSizeTable(size_t scale_cnt, cam_dimension_t *scale_tbl,
|
D | QCameraParameters.cpp | 12965 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in setScaleSizeTbl() argument 12971 if(!mScaleEnabled || scale_cnt <=0 || scale_tbl == NULL || org_cnt <=0 || org_tbl == NULL){ in setScaleSizeTbl() 12977 mNeedScaleCnt = checkScaleSizeTable(scale_cnt, scale_tbl, org_cnt, org_tbl); in setScaleSizeTbl() 13282 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in checkScaleSizeTable() argument 13287 if(scale_cnt <=0 || scale_tbl == NULL || org_tbl == NULL || org_cnt <= 0) in checkScaleSizeTable() 13295 if (scale_tbl[i].width > org_tbl[0].width || in checkScaleSizeTable() 13296 (scale_tbl[i].width == org_tbl[0].width && in checkScaleSizeTable() 13297 scale_tbl[i].height > org_tbl[0].height)) { in checkScaleSizeTable() 13307 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable() 13311 mNeedScaledSizeTbl[stbl_cnt].width = scale_tbl[i].width; in checkScaleSizeTable() [all …]
|