Home
last modified time | relevance | path

Searched refs:previewWidth (Results 1 – 5 of 5) sorted by relevance

/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1454 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
1457 previewWidth = dinfo.w; in createPreviewSurface()
1459 previewWidth = width; in createPreviewSurface()
1476 previewWidth, in createPreviewSurface()
1493 dinfo.w - previewWidth, dinfo.h - previewHeight); in createPreviewSurface()
1495 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
1765 int previewWidth, previewHeight; in startPreview() local
1797 previewWidth = calculatedPreviewSize.width; in startPreview()
1800 previewWidth = currentPreviewSize.width; in startPreview()
1804 ret = createPreviewSurface(previewWidth, in startPreview()
[all …]
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp1934 int previewWidth, previewHeight; in setFocusAreas() local
1935 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1937 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1939 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
2009 int previewWidth, previewHeight; in setMeteringAreas() local
2010 this->getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
2012 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f)); in setMeteringAreas()
2014 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f)); in setMeteringAreas()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp5839 int previewWidth, previewHeight; in setFocusAreas() local
5840 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
5850 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
5852 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
5918 int previewWidth, previewHeight; in setMeteringAreas() local
5919 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
5933 … (uint32_t)(((areas[i].rect.left + areas[i].rect.width / 2) + 1000.0f) * previewWidth / 2000.0f) ; in setMeteringAreas()
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp7523 int previewWidth, previewHeight; in setFocusAreas() local
7524 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
7537 ((double)previewWidth / 2000.0)); in setFocusAreas()
7543 (double)previewWidth / 2000.0); in setFocusAreas()
7612 int previewWidth, previewHeight; in setMeteringAreas() local
7613 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
7630 (double)previewWidth / 2000.0); in setMeteringAreas()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp7523 int previewWidth, previewHeight; in setFocusAreas() local
7524 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
7537 ((double)previewWidth / 2000.0)); in setFocusAreas()
7543 (double)previewWidth / 2000.0); in setFocusAreas()
7612 int previewWidth, previewHeight; in setMeteringAreas() local
7613 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
7630 (double)previewWidth / 2000.0); in setMeteringAreas()