/hardware/qcom/display/libhwcomposer/ |
H A D | hwc_utils.cpp | 544 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, argument 547 int& crop_l = crop.left; 548 int& crop_t = crop.top; 549 int& crop_r = crop.right; 550 int& crop_b = crop.bottom; 551 int crop_w = crop.right - crop.left; 552 int crop_h = crop.bottom - crop.top; 772 hwc_rect_t& crop, hwc_rect_ 771 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 884 configMdp(Overlay *ov, const PipeArgs& parg, const eTransform& orient, const hwc_rect_t& crop, const hwc_rect_t& pos, const MetaData_t *metadata, const eDest& dest) argument 910 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument 937 hwc_rect_t crop = layer->sourceCrop; local 1004 hwc_rect_t crop = layer->sourceCrop; local [all...] |
H A D | hwc_utils.h | 163 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 190 //Trims a layer's source crop which is outside of screen boundary. 192 hwc_rect_t& crop, hwc_rect_t& dst);
|
H A D | hwc_mdpcomp.cpp | 273 hwc_rect_t crop = layer->sourceCrop; local 278 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform); 281 int crop_w = crop.right - crop.left; 282 int crop_h = crop.bottom - crop.top;
|
/hardware/samsung_slsi/exynos5/include/ |
H A D | exynos_v4l2.h | 80 int exynos_v4l2_cropcap(int fd, struct v4l2_cropcap *crop); 82 int exynos_v4l2_g_crop(int fd, struct v4l2_crop *crop); 84 int exynos_v4l2_s_crop(int fd, struct v4l2_crop *crop); 112 int exynos_subdev_g_crop(int fd, struct v4l2_subdev_crop *crop); 114 int exynos_subdev_s_crop(int fd, struct v4l2_subdev_crop *crop);
|
/hardware/ti/omap4xxx/hwc/ |
H A D | hwc.c | 219 c->width, c->height, c->crop.x, c->crop.y, 220 c->crop.w, c->crop.h, 444 oc->crop.w = oc->win.w = width; 445 oc->crop.h = oc->win.h = height; 483 /* crop */ 484 oc->crop.x = layer->sourceCrop.left; 485 oc->crop.y = layer->sourceCrop.top; 486 oc->crop 597 } crop, win; local [all...] |
/hardware/samsung_slsi/exynos5/libv4l2/ |
H A D | exynos_subdev.c | 216 * @brief Retrieve the crop rectangle on a pad. 219 int exynos_subdev_g_crop(int fd, struct v4l2_subdev_crop *crop) argument 228 if (!crop) { 229 ALOGE("%s: crop is NULL", __func__); 233 ret = ioctl(fd, VIDIOC_SUBDEV_G_CROP, crop); 243 * @brief Set the crop rectangle on a pad. 246 int exynos_subdev_s_crop(int fd, struct v4l2_subdev_crop *crop) argument 255 if (!crop) { 256 ALOGE("%s: crop is NULL", __func__); 260 ret = ioctl(fd, VIDIOC_SUBDEV_S_CROP, crop); [all...] |
H A D | exynos_v4l2.c | 607 int exynos_v4l2_cropcap(int fd, struct v4l2_cropcap *crop) argument 618 if (!crop) { 619 ALOGE("%s: crop is NULL", __func__); 623 if (__v4l2_check_buf_type(crop->type) == false) { 628 ret = ioctl(fd, VIDIOC_CROPCAP, crop); 639 int exynos_v4l2_g_crop(int fd, struct v4l2_crop *crop) argument 650 if (!crop) { 651 ALOGE("%s: crop is NULL", __func__); 655 if (__v4l2_check_buf_type(crop->type) == false) { 660 ret = ioctl(fd, VIDIOC_G_CROP, crop); 671 exynos_v4l2_s_crop(int fd, struct v4l2_crop *crop) argument [all...] |
/hardware/samsung_slsi/exynos5/librotator/ |
H A D | exynos_rotator.c | 80 struct v4l2_crop crop; member in struct:rotator_info 461 // crop 463 info->crop.type = info->buf_type; 464 if (exynos_v4l2_g_crop(fd, &info->crop) < 0) { 469 if (info->crop_left != info->crop.c.left || 470 info->crop_top != info->crop.c.top || 471 info->crop_width != info->crop.c.width || 472 info->crop_height != info->crop.c.height) { 473 ALOGV("%s::crop is different..", __func__); 493 ALOGV("%s::fmt, crop i [all...] |
/hardware/samsung_slsi/exynos5/libgscaler/ |
H A D | exynos_gsc_utils.h | 116 struct v4l2_crop crop; member in struct:gsc_info
|
H A D | exynos_gscaler.c | 639 info->crop.type = info->buf_type; 640 info->crop.c.left = info->crop_left; 641 info->crop.c.top = info->crop_top; 642 info->crop.c.width = info->crop_width; 643 info->crop.c.height = info->crop_height; 645 if (exynos_v4l2_s_crop(fd, &info->crop) < 0) { 1386 struct v4l2_crop crop; local 1462 /* set crop: src crop of GSC sub-dev*/ 1477 ALOGE("%s::GSC subdev set crop faile [all...] |
/hardware/samsung_slsi/exynos5/libhwc/ |
H A D | hwc.cpp | 219 hwc_rect_t *crop, size_t alignment) 226 if (crop) { 227 crop->left = (w - w_orig) / 2; 228 crop->top = (h - h_orig) / 2; 229 crop->right = crop->left + w_orig; 230 crop->bottom = crop->top + h_orig; 371 /* GSC's dst crop size should be aligned 128Bytes */ 1326 unsigned int crop local 218 align_crop_and_center(T &w, T &h, hwc_rect_t *crop, size_t alignment) argument 1337 unsigned int crop = displayFrame.right - pdev->xres; local 1344 unsigned int crop = -displayFrame.top; local 1355 int crop = displayFrame.bottom - pdev->yres; local [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
H A D | OMX_VPP.c | 692 /* crop */ 1507 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local 1508 crop->nLeft = pComponentPrivate->pCrop->nLeft; 1509 crop->nWidth = pComponentPrivate->pCrop->nWidth; 1510 crop->nTop = pComponentPrivate->pCrop->nTop; 1511 crop->nHeight = pComponentPrivate->pCrop->nHeight; 1643 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local 1644 ((VPP_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pIpFrameStatus->ulInXstart = crop->nLeft; 1645 ((VPP_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pIpFrameStatus->ulInXsize = crop->nWidth; 1646 ((VPP_COMPONENT_PRIVATE*) pHandle->pComponentPrivate)->pIpFrameStatus->ulInYstart = crop [all...] |
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/ |
H A D | ExynosVideoDecoder.c | 751 struct v4l2_crop crop; local 766 memset(&crop, 0, sizeof(crop)); 774 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE; 775 if (exynos_v4l2_g_crop(pCtx->hDec, &crop) != 0) { 783 bufferConf->cropRect.nTop = crop.c.top; 784 bufferConf->cropRect.nLeft = crop.c.left; 785 bufferConf->cropRect.nWidth = crop.c.width; 786 bufferConf->cropRect.nHeight = crop.c.height;
|
/hardware/qcom/msm8960/original-kernel-headers/media/ |
H A D | msm_isp.h | 344 struct msm_pp_crop crop; member in struct:msm_mctl_pp_frame_cmd
|
/hardware/libhardware/tests/camera2/ |
H A D | camera2_utils.cpp | 555 android_native_rect_t crop = { left, top, right, bottom }; local 556 return native_window_set_crop(a, &crop);
|
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/ |
H A D | OMX_JpegEncoder.c | 1522 OMX_CONFIG_RECTTYPE *crop = (OMX_CONFIG_RECTTYPE*)ComponentConfigStructure; local 1523 if ((crop->nTop != 0) || (crop->nLeft != 0)) 1528 pComponentPrivate->pCrop->nWidth = crop->nWidth; 1529 pComponentPrivate->pCrop->nHeight = crop->nHeight;
|
/hardware/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosCamera.cpp | 3527 v4l2_crop crop; local 3550 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; 3551 crop.c = cropcap.defrect; 3553 if (exynos_v4l2_s_crop(fd, &crop) < 0) {
|
/hardware/qcom/msm8960/kernel-headers/media/ |
H A D | msm_camera.h | 269 struct msm_pp_crop crop; member in struct:msm_mctl_pp_frame_cmd
|