Home | History | Annotate | Download | only in libcamera

Lines Matching refs:rect2s

1075         ExynosRect2 *rect2s  = new ExynosRect2[maxNumMeteringAreas];
1078 int validMeteringAreas = m_bracketsStr2Ints((char *)newMeteringAreas, maxNumMeteringAreas, rect2s, weights);
1081 rect2s[i].x1 = m_calibratePosition(2000, newPreviewW, rect2s[i].x1 + 1000);
1082 rect2s[i].y1 = m_calibratePosition(2000, newPreviewH, rect2s[i].y1 + 1000);
1083 rect2s[i].x2 = m_calibratePosition(2000, newPreviewW, rect2s[i].x2 + 1000);
1084 rect2s[i].y2 = m_calibratePosition(2000, newPreviewH, rect2s[i].y2 + 1000);
1087 if (m_secCamera->setMeteringAreas(validMeteringAreas, rect2s, weights) == false) {
1096 delete [] rect2s;
1314 ExynosRect2 *rect2s = new ExynosRect2[maxNumFocusAreas];
1317 int validFocusedAreas = m_bracketsStr2Ints((char *)newFocusAreas, maxNumFocusAreas, rect2s, weights);
1325 && rect2s[0].x1 == 0 && rect2s[0].y1 == 0 && rect2s[0].x2 == 0 && rect2s[0].y2 == 0) {
1326 rect2s[0].x1 = 0;
1327 rect2s[0].y1 = 0;
1328 rect2s[0].x2 = newPreviewW;
1329 rect2s[0].y2 = newPreviewH;
1332 rect2s[i].x1 = (rect2s[i].x1 + 1000) * 1023 / 2000;
1333 rect2s[i].y1 = (rect2s[i].y1 + 1000) * 1023 / 2000;
1334 rect2s[i].x2 = (rect2s[i].x2 + 1000) * 1023 / 2000;
1335 rect2s[i].y2 = (rect2s[i].y2 + 1000) * 1023 / 2000;
1338 if (m_secCamera->setFocusAreas(validFocusedAreas, rect2s, weights) == false) {
1347 delete [] rect2s;
3939 int ExynosCameraHWInterface::m_bracketsStr2Ints(char *str, int num, ExynosRect2 *rect2s, int *weights)
3969 rect2s[i].x1 = tempArray[0];
3970 rect2s[i].y1 = tempArray[1];
3971 rect2s[i].x2 = tempArray[2];
3972 rect2s[i].y2 = tempArray[3];