Home
last modified time | relevance | path

Searched refs:rect (Results 1 – 19 of 19) sorted by relevance

/device/generic/goldfish/camera/
DPreviewWindow.cpp160 const Rect rect(mPreviewFrameWidth, mPreviewFrameHeight); in onNextFrameAvailable() local
162 res = grbuffer_mapper.lock(*buffer, GRALLOC_USAGE_SW_WRITE_OFTEN, rect, &img); in onNextFrameAvailable()
DEmulatedFakeCamera2.cpp1061 const Rect rect(s.width, s.height); in getBuffers() local
1065 rect, (void**)&(b.img) ); in getBuffers()
1089 const Rect rect(s.width, s.height); in getBuffers() local
1093 rect, (void**)&(b.img) ); in getBuffers()
DEmulatedFakeCamera3.cpp890 const Rect rect(destBuf.width, destBuf.height); in processCaptureRequest() local
896 GRALLOC_USAGE_HW_CAMERA_WRITE, rect, in processCaptureRequest()
908 GRALLOC_USAGE_HW_CAMERA_WRITE, rect, in processCaptureRequest()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp365 mHalCamCtrl->mFace[idx].rect[0] = in notifyROIEvent()
368 mHalCamCtrl->mFace[idx].rect[1] = in notifyROIEvent()
371 mHalCamCtrl->mFace[idx].rect[2] = mHalCamCtrl->mFace[idx].rect[0] + in notifyROIEvent()
374 mHalCamCtrl->mFace[idx].rect[3] = mHalCamCtrl->mFace[idx].rect[1] + in notifyROIEvent()
412 mHalCamCtrl->mFace[idx].rect[0], mHalCamCtrl->mFace[idx].rect[1], in notifyROIEvent()
413 mHalCamCtrl->mFace[idx].rect[2], mHalCamCtrl->mFace[idx].rect[3], in notifyROIEvent()
/device/moto/shamu/camera/QCamera2/HAL/
DQCameraParameters.cpp5831 areas[0].rect.left == 0 && in setFocusAreas()
5832 areas[0].rect.top == 0 && in setFocusAreas()
5833 areas[0].rect.width == 0 && in setFocusAreas()
5834 areas[0].rect.height == 0 && in setFocusAreas()
5846 __func__, i, (areas[i].rect.top), (areas[i].rect.left), in setFocusAreas()
5847 (areas[i].rect.width), (areas[i].rect.height)); in setFocusAreas()
5850 … af_roi_value.roi[i].left = (int32_t)((areas[i].rect.left + 1000.0f) * (previewWidth / 2000.0f)); in setFocusAreas()
5851 … af_roi_value.roi[i].top = (int32_t)((areas[i].rect.top + 1000.0f) * (previewHeight / 2000.0f)); in setFocusAreas()
5852 af_roi_value.roi[i].width = (int32_t)(areas[i].rect.width * previewWidth / 2000.0f); in setFocusAreas()
5853 af_roi_value.roi[i].height = (int32_t)(areas[i].rect.height * previewHeight / 2000.0f); in setFocusAreas()
[all …]
DQCamera2HWI.cpp5136 faces[i].rect[0] = in processFaceDetectionResult()
5140 faces[i].rect[1] = in processFaceDetectionResult()
5144 faces[i].rect[2] = faces[i].rect[0] + in processFaceDetectionResult()
5148 faces[i].rect[3] = faces[i].rect[1] + in processFaceDetectionResult()
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.cpp4465 cam_rect_t& rect = faceDetectionInfo->faces[i].face_boundary; in translateFromHalMetadata() local
4466 mCropRegionMapper.toActiveArray(rect.left, rect.top, in translateFromHalMetadata()
4467 rect.width, rect.height); in translateFromHalMetadata()
4775 mCropRegionMapper.toActiveArray(hAeRegions->rect.left, hAeRegions->rect.top, in translateFromHalMetadata()
4776 hAeRegions->rect.width, hAeRegions->rect.height); in translateFromHalMetadata()
4778 convertToRegions(hAeRegions->rect, aeRegions, hAeRegions->weight); in translateFromHalMetadata()
4783 hAeRegions->rect.left, hAeRegions->rect.top, hAeRegions->rect.width, in translateFromHalMetadata()
4784 hAeRegions->rect.height); in translateFromHalMetadata()
4811 mCropRegionMapper.toActiveArray(hAfRegions->rect.left, hAfRegions->rect.top, in translateFromHalMetadata()
4812 hAfRegions->rect.width, hAfRegions->rect.height); in translateFromHalMetadata()
[all …]
DQCamera3HWI.h143 static void convertToRegions(cam_rect_t rect, int32_t* region, int weight);
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.cpp4462 cam_rect_t& rect = faceDetectionInfo->faces[i].face_boundary; in translateFromHalMetadata() local
4463 mCropRegionMapper.toActiveArray(rect.left, rect.top, in translateFromHalMetadata()
4464 rect.width, rect.height); in translateFromHalMetadata()
4772 mCropRegionMapper.toActiveArray(hAeRegions->rect.left, hAeRegions->rect.top, in translateFromHalMetadata()
4773 hAeRegions->rect.width, hAeRegions->rect.height); in translateFromHalMetadata()
4775 convertToRegions(hAeRegions->rect, aeRegions, hAeRegions->weight); in translateFromHalMetadata()
4780 hAeRegions->rect.left, hAeRegions->rect.top, hAeRegions->rect.width, in translateFromHalMetadata()
4781 hAeRegions->rect.height); in translateFromHalMetadata()
4808 mCropRegionMapper.toActiveArray(hAfRegions->rect.left, hAfRegions->rect.top, in translateFromHalMetadata()
4809 hAfRegions->rect.width, hAfRegions->rect.height); in translateFromHalMetadata()
[all …]
DQCamera3HWI.h143 static void convertToRegions(cam_rect_t rect, int32_t* region, int weight);
/device/lge/bullhead/camera/QCamera2/HAL/
DQCameraParameters.cpp7515 areas[0].rect.left == 0 && in setFocusAreas()
7516 areas[0].rect.top == 0 && in setFocusAreas()
7517 areas[0].rect.width == 0 && in setFocusAreas()
7518 areas[0].rect.height == 0 && in setFocusAreas()
7530 __func__, i, (areas[i].rect.top), (areas[i].rect.left), in setFocusAreas()
7531 (areas[i].rect.width), (areas[i].rect.height)); in setFocusAreas()
7536 (int32_t)(((double)areas[i].rect.left + 1000.0) * in setFocusAreas()
7539 (int32_t)(((double)areas[i].rect.top + 1000.0) * in setFocusAreas()
7542 (int32_t)((double)areas[i].rect.width * in setFocusAreas()
7545 (int32_t)((double)areas[i].rect.height * in setFocusAreas()
[all …]
DQCamera2HWI.cpp6425 faces[i].rect[0] = in processFaceDetectionResult()
6429 faces[i].rect[1] = in processFaceDetectionResult()
6433 faces[i].rect[2] = faces[i].rect[0] + in processFaceDetectionResult()
6437 faces[i].rect[3] = faces[i].rect[1] + in processFaceDetectionResult()
/device/huawei/angler/camera/QCamera2/HAL/
DQCameraParameters.cpp7515 areas[0].rect.left == 0 && in setFocusAreas()
7516 areas[0].rect.top == 0 && in setFocusAreas()
7517 areas[0].rect.width == 0 && in setFocusAreas()
7518 areas[0].rect.height == 0 && in setFocusAreas()
7530 __func__, i, (areas[i].rect.top), (areas[i].rect.left), in setFocusAreas()
7531 (areas[i].rect.width), (areas[i].rect.height)); in setFocusAreas()
7536 (int32_t)(((double)areas[i].rect.left + 1000.0) * in setFocusAreas()
7539 (int32_t)(((double)areas[i].rect.top + 1000.0) * in setFocusAreas()
7542 (int32_t)((double)areas[i].rect.width * in setFocusAreas()
7545 (int32_t)((double)areas[i].rect.height * in setFocusAreas()
[all …]
DQCamera2HWI.cpp6425 faces[i].rect[0] = in processFaceDetectionResult()
6429 faces[i].rect[1] = in processFaceDetectionResult()
6433 faces[i].rect[2] = faces[i].rect[0] + in processFaceDetectionResult()
6437 faces[i].rect[3] = faces[i].rect[1] + in processFaceDetectionResult()
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.cpp3426 convertToRegions(hAeRegions->rect, aeRegions, hAeRegions->weight); in translateFromHalMetadata()
3430 hAeRegions->rect.left, hAeRegions->rect.top, hAeRegions->rect.width, in translateFromHalMetadata()
3431 hAeRegions->rect.height); in translateFromHalMetadata()
3439 convertToRegions(hAfRegions->rect, afRegions, hAfRegions->weight); in translateFromHalMetadata()
3443 hAfRegions->rect.left, hAfRegions->rect.top, hAfRegions->rect.width, in translateFromHalMetadata()
3444 hAfRegions->rect.height); in translateFromHalMetadata()
3946 void QCamera3HardwareInterface::convertToRegions(cam_rect_t rect, int32_t* region, int weight){ in convertToRegions() argument
3947 region[0] = rect.left; in convertToRegions()
3948 region[1] = rect.top; in convertToRegions()
3949 region[2] = rect.left + rect.width; in convertToRegions()
[all …]
DQCamera3HWI.h131 static void convertToRegions(cam_rect_t rect, int32_t* region, int weight);
/device/moto/shamu/camera/QCamera2/stack/common/
Dcam_types.h665 cam_rect_t rect; member
/device/lge/bullhead/camera/QCamera2/stack/common/
Dcam_types.h790 cam_rect_t rect; member
/device/huawei/angler/camera/QCamera2/stack/common/
Dcam_types.h790 cam_rect_t rect; member