Home
last modified time | relevance | path

Searched refs:scale_tbl (Results 1 – 6 of 6) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.h69 …virtual int32_t setScaleSizeTbl(uint8_t scale_cnt, cam_dimension_t *scale_tbl, uint8_t org_cnt, ca…
87 …uint8_t checkScaleSizeTable(uint8_t scale_cnt, cam_dimension_t *scale_tbl, uint8_t org_cnt, cam_di…
DQCameraParameters.cpp8629 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()
[all …]
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.h65 cam_dimension_t *scale_tbl, size_t org_cnt,
84 size_t checkScaleSizeTable(size_t scale_cnt, cam_dimension_t *scale_tbl,
DQCameraParameters.cpp10657 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in setScaleSizeTbl() argument
10663 if(!mScaleEnabled || scale_cnt <=0 || scale_tbl == NULL || org_cnt <=0 || org_tbl == NULL){ in setScaleSizeTbl()
10669 mNeedScaleCnt = checkScaleSizeTable(scale_cnt, scale_tbl, org_cnt, org_tbl); in setScaleSizeTbl()
10974 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in checkScaleSizeTable() argument
10979 if(scale_cnt <=0 || scale_tbl == NULL || org_tbl == NULL || org_cnt <= 0) in checkScaleSizeTable()
10987 if (scale_tbl[i].width > org_tbl[0].width || in checkScaleSizeTable()
10988 (scale_tbl[i].width == org_tbl[0].width && in checkScaleSizeTable()
10989 scale_tbl[i].height > org_tbl[0].height)) { in checkScaleSizeTable()
10999 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable()
11003 mNeedScaledSizeTbl[stbl_cnt].width = scale_tbl[i].width; in checkScaleSizeTable()
[all …]
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.h65 cam_dimension_t *scale_tbl, size_t org_cnt,
84 size_t checkScaleSizeTable(size_t scale_cnt, cam_dimension_t *scale_tbl,
DQCameraParameters.cpp10657 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in setScaleSizeTbl() argument
10663 if(!mScaleEnabled || scale_cnt <=0 || scale_tbl == NULL || org_cnt <=0 || org_tbl == NULL){ in setScaleSizeTbl()
10669 mNeedScaleCnt = checkScaleSizeTable(scale_cnt, scale_tbl, org_cnt, org_tbl); in setScaleSizeTbl()
10974 cam_dimension_t *scale_tbl, size_t org_cnt, cam_dimension_t *org_tbl) in checkScaleSizeTable() argument
10979 if(scale_cnt <=0 || scale_tbl == NULL || org_tbl == NULL || org_cnt <= 0) in checkScaleSizeTable()
10987 if (scale_tbl[i].width > org_tbl[0].width || in checkScaleSizeTable()
10988 (scale_tbl[i].width == org_tbl[0].width && in checkScaleSizeTable()
10989 scale_tbl[i].height > org_tbl[0].height)) { in checkScaleSizeTable()
10999 double cur_ratio = (double)scale_tbl[i].width / (double)scale_tbl[i].height; in checkScaleSizeTable()
11003 mNeedScaledSizeTbl[stbl_cnt].width = scale_tbl[i].width; in checkScaleSizeTable()
[all …]