Home
last modified time | relevance | path

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

/hardware/qcom/display/libcopybit/
Dcopybit_priv.h32 copybit_iterator(const copybit_rect_t& rect) { in copybit_iterator()
33 mRect = rect; in copybit_iterator()
38 static int iterate(copybit_region_t const * self, copybit_rect_t* rect) { in iterate()
39 if (!self || !rect) { in iterate()
45 rect->l = me->mRect.l; in iterate()
46 rect->t = me->mRect.t; in iterate()
47 rect->r = me->mRect.r; in iterate()
48 rect->b = me->mRect.b; in iterate()
Dcopybit.h143 int (*next)(struct copybit_region_t const *region, struct copybit_rect_t *rect);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXFD.cpp401 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates()
406 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates()
411 faces[i].rect[trans_right] = faces[i].rect[trans_left] + tmp; in encodeFaceCoordinates()
416 faces[i].rect[trans_bot] = faces[i].rect[trans_top] + tmp; in encodeFaceCoordinates()
434 int centerX = (faces[i].rect[trans_left] + faces[i].rect[trans_right] ) / 2; in encodeFaceCoordinates()
435 int centerY = (faces[i].rect[trans_top] + faces[i].rect[trans_bot] ) / 2; in encodeFaceCoordinates()
437 int sizeX = (faces[i].rect[trans_right] - faces[i].rect[trans_left] ) ; in encodeFaceCoordinates()
438 int sizeY = (faces[i].rect[trans_bot] - faces[i].rect[trans_top] ) ; in encodeFaceCoordinates()
442 int tempCenterX = (faceDetectionLastOutput[j].rect[trans_left] + in encodeFaceCoordinates()
443 faceDetectionLastOutput[j].rect[trans_right] ) / 2; in encodeFaceCoordinates()
[all …]
/hardware/qcom/camera/hdr/include/
Dmorpho_rect_int.h26 #define morpho_RectInt_setRect(rect,l,t,r,b) do { \ argument
27 (rect)->sx=(l);\
28 (rect)->sy=(t);\
29 (rect)->ex=(r);\
30 (rect)->ey=(b);\
Dmorpho_easy_hdr.h640 morpho_RectInt *rect);
/hardware/qcom/display/libhwcomposer/
Dhwc_copybit.cpp45 static int iterate(copybit_region_t const * self, copybit_rect_t* rect){ in iterate()
46 if (!self || !rect) { in iterate()
54 rect->l = me->mRegion.rects[me->r.current].left; in iterate()
55 rect->t = me->mRegion.rects[me->r.current].top; in iterate()
56 rect->r = me->mRegion.rects[me->r.current].right; in iterate()
57 rect->b = me->mRegion.rects[me->r.current].bottom; in iterate()
/hardware/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c1466 sd_crop.rect.left = gsc_handle->dst_img.x; in exynos_gsc_out_config()
1467 sd_crop.rect.top = gsc_handle->dst_img.y; in exynos_gsc_out_config()
1468 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1469 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1471 sd_crop.rect.left = 0; in exynos_gsc_out_config()
1472 sd_crop.rect.top = 0; in exynos_gsc_out_config()
1473 sd_crop.rect.width = gsc_handle->dst_img.w; in exynos_gsc_out_config()
1474 sd_crop.rect.height = gsc_handle->dst_img.h; in exynos_gsc_out_config()
1509 sd_crop.rect.left = gsc_handle->dst_img.x; in exynos_gsc_out_config()
1510 sd_crop.rect.top = gsc_handle->dst_img.y; in exynos_gsc_out_config()
[all …]
/hardware/samsung_slsi/exynos5/include/
DExynosCamera.h387 bool yuv2Jpeg(ExynosBuffer *yuvBuf, ExynosBuffer *jpegBuf, ExynosRect *rect);
789 void m_setExifChangedAttribute(exif_attribute_t *exifInfo, ExynosRect *rect);
790 void m_secRect2SecRect2(ExynosRect *rect, ExynosRect2 *rect2);
791 void m_secRect22SecRect(ExynosRect2 *rect2, ExynosRect *rect);
Dv4l2-subdev.h41 struct v4l2_rect rect; member
/hardware/qcom/camera/
DQCameraHWI_Preview_7x27A.cpp274 mHalCamCtrl->mFace[idx].rect[0] = in notifyROIEvent()
277 mHalCamCtrl->mFace[idx].rect[1] = in notifyROIEvent()
280 mHalCamCtrl->mFace[idx].rect[2] = mHalCamCtrl->mFace[idx].rect[0] + in notifyROIEvent()
283 mHalCamCtrl->mFace[idx].rect[3] = mHalCamCtrl->mFace[idx].rect[1] + in notifyROIEvent()
322 mHalCamCtrl->mFace[idx].rect[0], mHalCamCtrl->mFace[idx].rect[1], in notifyROIEvent()
323 mHalCamCtrl->mFace[idx].rect[2], mHalCamCtrl->mFace[idx].rect[3], in notifyROIEvent()
DQCameraHWI_Preview.cpp444 mHalCamCtrl->mFace[idx].rect[0] = in notifyROIEvent()
447 mHalCamCtrl->mFace[idx].rect[1] = in notifyROIEvent()
450 mHalCamCtrl->mFace[idx].rect[2] = mHalCamCtrl->mFace[idx].rect[0] + in notifyROIEvent()
453 mHalCamCtrl->mFace[idx].rect[3] = mHalCamCtrl->mFace[idx].rect[1] + in notifyROIEvent()
491 mHalCamCtrl->mFace[idx].rect[0], mHalCamCtrl->mFace[idx].rect[1], in notifyROIEvent()
492 mHalCamCtrl->mFace[idx].rect[2], mHalCamCtrl->mFace[idx].rect[3], in notifyROIEvent()
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dv4l2-subdev.h62 struct v4l2_rect rect; member
/hardware/samsung_slsi/exynos5/libhwc/
Dhwc.cpp197 inline int WIDTH(const hwc_rect &rect) { return rect.right - rect.left; } in WIDTH() argument
198 inline int HEIGHT(const hwc_rect &rect) { return rect.bottom - rect.top; } in HEIGHT() argument
574 sd_crop.rect.width = dev->hdmi_w; in hdmi_enable()
575 sd_crop.rect.height = dev->hdmi_h; in hdmi_enable()
595 sd_crop.rect.width = dev->hdmi_w; in hdmi_enable()
596 sd_crop.rect.height = dev->hdmi_h; in hdmi_enable()
676 sd_crop.rect.left = cfg.x; in hdmi_output()
677 sd_crop.rect.top = cfg.y; in hdmi_output()
678 sd_crop.rect.width = cfg.w; in hdmi_output()
679 sd_crop.rect.height = cfg.h; in hdmi_output()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp1782 ExynosRect *rect) in yuv2Jpeg() argument
1801 if (jpegEnc.setSize(rect->w, rect->h)) { in yuv2Jpeg()
1806 if (jpegEnc.setColorFormat(rect->colorFormat)) { in yuv2Jpeg()
1830 m_setExifChangedAttribute(&mExifInfo, rect); in yuv2Jpeg()
3716 void ExynosCamera::m_setExifChangedAttribute(exif_attribute_t *exifInfo, ExynosRect *rect) in m_setExifChangedAttribute() argument
3720 exifInfo->width = rect->w; in m_setExifChangedAttribute()
3722 exifInfo->height = rect->h; in m_setExifChangedAttribute()
3931 void ExynosCamera::m_secRect2SecRect2(ExynosRect *rect, ExynosRect2 *rect2) in m_secRect2SecRect2() argument
3933 rect2->x1 = rect->x; in m_secRect2SecRect2()
3934 rect2->y1 = rect->y; in m_secRect2SecRect2()
[all …]
DExynosCameraHWInterface.cpp2778 …m_faces[realNumOfDetectedFaces].rect[0] = m_calibratePosition(previewW, 2000, detectedFace[i].x1) … in m_previewThreadFunc()
2779 …m_faces[realNumOfDetectedFaces].rect[1] = m_calibratePosition(previewH, 2000, detectedFace[i].y1) … in m_previewThreadFunc()
2780 …m_faces[realNumOfDetectedFaces].rect[2] = m_calibratePosition(previewW, 2000, detectedFace[i].x2) … in m_previewThreadFunc()
2781 …m_faces[realNumOfDetectedFaces].rect[3] = m_calibratePosition(previewH, 2000, detectedFace[i].y2) … in m_previewThreadFunc()
/hardware/qcom/camera/QCamera/HAL/core/src/
DQCameraHWI_Preview.cpp429 mHalCamCtrl->mFace[idx].rect[0] = in notifyROIEvent()
432 mHalCamCtrl->mFace[idx].rect[1] = in notifyROIEvent()
435 mHalCamCtrl->mFace[idx].rect[2] = mHalCamCtrl->mFace[idx].rect[0] + in notifyROIEvent()
438 mHalCamCtrl->mFace[idx].rect[3] = mHalCamCtrl->mFace[idx].rect[1] + in notifyROIEvent()
473 mHalCamCtrl->mFace[idx].rect[0], mHalCamCtrl->mFace[idx].rect[1], in notifyROIEvent()
474 mHalCamCtrl->mFace[idx].rect[2], mHalCamCtrl->mFace[idx].rect[3], in notifyROIEvent()
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.h582 ExynosRect *rect);
608 void m_setExifChangedAttribute(exif_attribute_t *exifInfo, ExynosRect *rect,
DExynosCameraHWInterface2.cpp4634 ExynosRect *rect) in yuv2Jpeg() argument
4654 if (jpegEnc.setSize(rect->w, rect->h)) { in yuv2Jpeg()
4658 ALOGV("%s : width = %d , height = %d\n", __FUNCTION__, rect->w, rect->h); in yuv2Jpeg()
4660 if (jpegEnc.setColorFormat(rect->colorFormat)) { in yuv2Jpeg()
4697 m_setExifChangedAttribute(&mExifInfo, rect, &m_jpegMetadata); in yuv2Jpeg()
5710 …d ExynosCameraHWInterface2::m_setExifChangedAttribute(exif_attribute_t *exifInfo, ExynosRect *rect, in m_setExifChangedAttribute() argument
5721 exifInfo->width = rect->w; in m_setExifChangedAttribute()
5723 exifInfo->height = rect->h; in m_setExifChangedAttribute()
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp643 metadata->faces[idx].rect[0], in my_face_callback()
644 metadata->faces[idx].rect[1], in my_face_callback()
645 metadata->faces[idx].rect[2], in my_face_callback()
646 metadata->faces[idx].rect[3]); in my_face_callback()
/hardware/ti/omap4xxx/hwc/
Dhwc.c47 #define WIDTH(rect) ((rect).right - (rect).left) argument
48 #define HEIGHT(rect) ((rect).bottom - (rect).top) argument