Lines Matching refs:scale_tbl
8629 int32_t QCameraReprocScaleParam::setScaleSizeTbl(uint8_t scale_cnt, cam_dimension_t *scale_tbl, uin… in setScaleSizeTbl() argument
8635 if(!mScaleEnabled || scale_cnt <=0 || scale_tbl == NULL || org_cnt <=0 || org_tbl == NULL){ in setScaleSizeTbl()
8641 mNeedScaleCnt = checkScaleSizeTable(scale_cnt, scale_tbl, org_cnt, org_tbl); in setScaleSizeTbl()
8939 uint8_t QCameraReprocScaleParam::checkScaleSizeTable(uint8_t scale_cnt, cam_dimension_t *scale_tbl,… in checkScaleSizeTable() argument
8944 if(scale_cnt <=0 || scale_tbl == NULL || org_tbl == NULL || org_cnt <= 0) in checkScaleSizeTable()
8952 if(scale_tbl[i].width > org_tbl[0].width || in checkScaleSizeTable()
8953 (scale_tbl[i].width == org_tbl[0].width && in checkScaleSizeTable()
8954 scale_tbl[i].height > org_tbl[0].height)){ in checkScaleSizeTable()
8964 double cur_ratio = (double)scale_tbl[i].width/ (double)scale_tbl[i].height; in checkScaleSizeTable()
8968 mNeedScaledSizeTbl[stbl_cnt].width = scale_tbl[i].width; in checkScaleSizeTable()
8969 mNeedScaledSizeTbl[stbl_cnt].height= scale_tbl[i].height; in checkScaleSizeTable()