/device/asus/flo/camera/QCamera2/HAL/test/ |
H A D | qcamera_test.cpp | 330 unsigned int previewWidth, previewHeight; local 339 previewHeight = dinfo.h; 341 previewHeight = height; 353 previewHeight, 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 522 int previewWidth, previewHeight; local 533 previewHeight = currentPreviewSize.height; 536 previewHeight, 543 mParams.setPreviewSize(previewWidth, previewHeight);
|
/device/lge/hammerhead/camera/QCamera2/HAL/test/ |
H A D | qcamera_test.cpp | 330 unsigned int previewWidth, previewHeight; local 339 previewHeight = dinfo.h; 341 previewHeight = height; 353 previewHeight, 366 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 522 int previewWidth, previewHeight; local 533 previewHeight = currentPreviewSize.height; 536 previewHeight, 543 mParams.setPreviewSize(previewWidth, previewHeight);
|
/device/lge/mako/camera/ |
H A D | QualcommCameraHardware.cpp | 2803 int CbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); 2848 int mBufferSize = previewWidth * previewHeight * 3/2; 2849 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); 3069 in_buf.dy = in_buf.dy = previewHeight; 3076 in_buf.dy = previewHeight; 3087 'previewWidth * previewHeight * 3/2'. Needed when gralloc allocated extra memory.*/ 3089 previewBufSize = previewWidth * previewHeight * 3/2; 3391 int mBufferSize = previewWidth * previewHeight * 3/2; 3392 int mCbCrOffset = PAD_TO_WORD(previewWidth * previewHeight); 3715 mParameters.getPreviewSize(&previewWidth, &previewHeight); 7969 int previewWidth, previewHeight; local [all...] |
H A D | QCameraHWI_Parm.cpp | 1899 int previewWidth, previewHeight; local 1900 this->getPreviewSize(&previewWidth, &previewHeight); 1901 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 1903 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); 1905 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); 1926 int previewWidth, previewHeight; 1927 this->getPreviewSize(&previewWidth, &previewHeight); 1930 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 1932 y1 = (uint16_t)((areas[i].y1 + 1000.0f)*(previewHeight/2000.0f)); 1934 y2 = (uint16_t)((areas[i].y2 + 1000.0f)*(previewHeight/2000. 2004 int previewWidth, previewHeight; local [all...] |
H A D | QualcommCameraHardware.h | 596 int previewWidth, previewHeight; member in class:android::QualcommCameraHardware
|
/device/moto/shamu/camera/QCamera2/HAL/test/ |
H A D | qcamera_test.cpp | 1449 unsigned int previewWidth, previewHeight; local 1458 previewHeight = dinfo.h; 1460 previewHeight = height; 1472 previewHeight, 1488 dinfo.w - previewWidth, dinfo.h - previewHeight); 1490 ret |= mSurfaceControl->setSize(previewWidth, previewHeight); 1760 int previewWidth, previewHeight; local 1793 previewHeight = calculatedPreviewSize.height; 1796 previewHeight = currentPreviewSize.height; 1800 previewHeight, [all...] |
/device/lge/mako/camera/QCamera/HAL/core/src/ |
H A D | QCameraHWI_Parm.cpp | 1855 int previewWidth, previewHeight; local 1856 this->getPreviewSize(&previewWidth, &previewHeight); 1857 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 1859 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); 1861 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); 1882 int previewWidth, previewHeight; 1883 this->getPreviewSize(&previewWidth, &previewHeight); 1886 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 1888 y1 = (uint16_t)((areas[i].y1 + 1000.0f)*(previewHeight/2000.0f)); 1890 y2 = (uint16_t)((areas[i].y2 + 1000.0f)*(previewHeight/2000. 1960 int previewWidth, previewHeight; local [all...] |
H A D | QCameraHWI_Preview.cpp | 977 * As all preview formats we support, use 12 bits per pixel, buffer size = previewWidth * previewHeight * 3/2. 1101 int previewWidth, previewHeight; local 1102 mHalCamCtrl->mParameters.getPreviewSize(&previewWidth, &previewHeight); 1124 'previewWidth * previewHeight * 3/2'. 1128 previewBufSize = previewWidth * previewHeight * 3/2;
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
H A D | QCameraHWI_Parm.cpp | 1934 int previewWidth, previewHeight; local 1935 this->getPreviewSize(&previewWidth, &previewHeight); 1936 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 1938 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); 1940 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000.0f)); 2009 int previewWidth, previewHeight; local 2010 this->getPreviewSize(&previewWidth, &previewHeight); 2011 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 2013 y1 = (uint16_t)((areas[0].y1 + 1000.0f)*(previewHeight/2000.0f)); 2015 y2 = (uint16_t)((areas[0].y2 + 1000.0f)*(previewHeight/2000. [all...] |
/device/asus/flo/camera/QCamera2/HAL/ |
H A D | QCameraParameters.cpp | 4299 int previewWidth, previewHeight; local 4300 getPreviewSize(&previewWidth, &previewHeight); 4309 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 4311 af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); 4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); 4378 int previewWidth, previewHeight; local 4379 getPreviewSize(&previewWidth, &previewHeight); 4391 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 4395 (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ;
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
H A D | QCameraParameters.cpp | 4299 int previewWidth, previewHeight; local 4300 getPreviewSize(&previewWidth, &previewHeight); 4309 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 4311 af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); 4313 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); 4378 int previewWidth, previewHeight; local 4379 getPreviewSize(&previewWidth, &previewHeight); 4391 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 4395 (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ;
|
/device/moto/shamu/camera/QCamera2/HAL/ |
H A D | QCameraParameters.cpp | 5839 int previewWidth, previewHeight; local 5840 getPreviewSize(&previewWidth, &previewHeight); 5849 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 5851 af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); 5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); 5918 int previewWidth, previewHeight; local 5919 getPreviewSize(&previewWidth, &previewHeight); 5931 //transform the coords from (-1000, 1000) to (0, previewWidth or previewHeight) 5935 (uint32_t)(((areas[i].rect.top + areas[i].rect.height / 2) + 1000.0f) * previewHeight / 2000.0f) ;
|