Home
last modified time | relevance | path

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

/device/asus/flo/camera/QCamera2/HAL/test/
Dqcamera_test.cpp330 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
333 previewWidth = dinfo.w; in createPreviewSurface()
335 previewWidth = width; in createPreviewSurface()
352 previewWidth, in createPreviewSurface()
366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
522 int previewWidth, previewHeight; in startPreview() local
532 previewWidth = currentPreviewSize.width; in startPreview()
535 ret = createPreviewSurface(previewWidth, in startPreview()
543 mParams.setPreviewSize(previewWidth, previewHeight); in startPreview()
/device/lge/hammerhead/camera/QCamera2/HAL/test/
Dqcamera_test.cpp330 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
333 previewWidth = dinfo.w; in createPreviewSurface()
335 previewWidth = width; in createPreviewSurface()
352 previewWidth, in createPreviewSurface()
366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); in createPreviewSurface()
522 int previewWidth, previewHeight; in startPreview() local
532 previewWidth = currentPreviewSize.width; in startPreview()
535 ret = createPreviewSurface(previewWidth, in startPreview()
543 mParams.setPreviewSize(previewWidth, previewHeight); in startPreview()
/device/lge/mako/camera/
DQualcommCameraHardware.cpp2803 int CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); in runFrameThread()
2841 previewWidth%32 != 0 ) in runFrameThread()
2848 int mBufferSize = previewWidth * previewHeight * 3/2; in runFrameThread()
2849 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); in runFrameThread()
3064 if(previewWidth%32){ in runPreviewThread()
3068 in_buf.dx = out_buf.dx = previewWidth; in runPreviewThread()
3075 in_buf.dx = previewWidth; in runPreviewThread()
3089 previewBufSize = previewWidth * previewHeight * 3/2; in runPreviewThread()
3391 int mBufferSize = previewWidth * previewHeight * 3/2; in runHFRThread()
3392 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); in runHFRThread()
[all …]
DQCameraHWI_Parm.cpp1899 int previewWidth, previewHeight; in setFocusAreas() local
1900 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1902 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1904 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1926 int previewWidth, previewHeight; in setFocusAreas()
1927 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1931 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1933 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
2004 int previewWidth, previewHeight; in setMeteringAreas() local
2005 this->getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
[all …]
DQualcommCameraHardware.h596 int previewWidth, previewHeight; variable
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.cpp1449 unsigned int previewWidth, previewHeight; in createPreviewSurface() local
1452 previewWidth = dinfo.w; in createPreviewSurface()
1454 previewWidth = width; in createPreviewSurface()
1471 previewWidth, 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
1792 previewWidth = calculatedPreviewSize.width; in startPreview()
1795 previewWidth = currentPreviewSize.width; in startPreview()
1799 ret = createPreviewSurface(previewWidth, in startPreview()
[all …]
/device/lge/mako/camera/QCamera/HAL/core/src/
DQCameraHWI_Parm.cpp1855 int previewWidth, previewHeight; in setFocusAreas() local
1856 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1858 x1 = (uint16_t)((areas[0].x1 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1860 x2 = (uint16_t)((areas[0].x2 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1882 int previewWidth, previewHeight; in setFocusAreas()
1883 this->getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
1887 x1 = (uint16_t)((areas[i].x1 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1889 x2 = (uint16_t)((areas[i].x2 + 1000.0f)*(previewWidth/2000.0f)); in setFocusAreas()
1960 int previewWidth, previewHeight; in setMeteringAreas() local
1961 this->getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
[all …]
DQCameraHWI_Preview.cpp1101 int previewWidth, previewHeight; in processPreviewFrameWithOutDisplay() local
1102 mHalCamCtrl->mParameters.getPreviewSize(&previewWidth, &previewHeight); in processPreviewFrameWithOutDisplay()
1128 previewBufSize = previewWidth * previewHeight * 3/2; in processPreviewFrameWithOutDisplay()
/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/asus/flo/camera/QCamera2/HAL/
DQCameraParameters.cpp4299 int previewWidth, previewHeight; in setFocusAreas() local
4300 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
4310 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
4312 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
4378 int previewWidth, previewHeight; in setMeteringAreas() local
4379 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
4393 … (uint32_t)(((areas[i].rect.left + areas[i].rect.width / 2) + 1000.0f) * previewWidth / 2000.0f) ; in setMeteringAreas()
/device/lge/hammerhead/camera/QCamera2/HAL/
DQCameraParameters.cpp4299 int previewWidth, previewHeight; in setFocusAreas() local
4300 getPreviewSize(&previewWidth, &previewHeight); in setFocusAreas()
4310 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
4312 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
4378 int previewWidth, previewHeight; in setMeteringAreas() local
4379 getPreviewSize(&previewWidth, &previewHeight); in setMeteringAreas()
4393 … (uint32_t)(((areas[i].rect.left + areas[i].rect.width / 2) + 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()