Home
last modified time | relevance | path

Searched refs:previewHeight (Results 1 – 7 of 7) sorted by relevance

/device/lge/hammerhead/camera/QCamera2/HAL/test/
Dqcamera_test.cpp330 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
339 previewHeight = dinfo.h; in createPreviewSurface()
341 previewHeight = height; in createPreviewSurface()
353 previewHeight, in createPreviewSurface()
366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
522 int previewWidth, previewHeight; in startPreview() local
533 previewHeight = currentPreviewSize.height; in startPreview()
536 previewHeight, in startPreview()
543 mParams.setPreviewSize(previewWidth, previewHeight); in startPreview()
/device/asus/flo/camera/QCamera2/HAL/test/
Dqcamera_test.cpp330 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
339 previewHeight = dinfo.h; in createPreviewSurface()
341 previewHeight = height; in createPreviewSurface()
353 previewHeight, in createPreviewSurface()
366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
522 int previewWidth, previewHeight; in startPreview() local
533 previewHeight = currentPreviewSize.height; in startPreview()
536 previewHeight, in startPreview()
543 mParams.setPreviewSize(previewWidth, previewHeight); in startPreview()
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1449 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
1458 previewHeight = dinfo.h; in createPreviewSurface()
1460 previewHeight = height; in createPreviewSurface()
1472 previewHeight, in createPreviewSurface()
1488 dinfo.w - previewWidth, dinfo.h - previewHeight); in createPreviewSurface()
1490 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
1760 int previewWidth, previewHeight; in startPreview() local
1793 previewHeight = calculatedPreviewSize.height; in startPreview()
1796 previewHeight = currentPreviewSize.height; in startPreview()
1800 previewHeight, 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()
1938 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); in setFocusAreas()
1940 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); in setFocusAreas()
2009 int previewWidth, previewHeight; in setMeteringAreas() local
2010 this->getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
2013 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); in setMeteringAreas()
2015 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); in setMeteringAreas()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraParameters.cpp4299 int previewWidth, previewHeight; in setFocusAreas() local
4300 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
4311 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
4378 int previewWidth, previewHeight; in setMeteringAreas() local
4379 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
4395 … (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ; in setMeteringAreas()
/device/asus/flo/camera/QCamera2/HAL/
DQCameraParameters.cpp4299 int previewWidth, previewHeight; in setFocusAreas() local
4300 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
4311 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
4378 int previewWidth, previewHeight; in setMeteringAreas() local
4379 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
4395 … (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ; in setMeteringAreas()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp5839 int previewWidth, previewHeight; in setFocusAreas() local
5840 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
5851 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
5918 int previewWidth, previewHeight; in setMeteringAreas() local
5919 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
5935 … (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ; in setMeteringAreas()