Searched refs:crop (Results 26 - 50 of 53) sorted by relevance

123

/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayRotator.h72 virtual void setCrop(const utils::Dim& crop) = 0;
112 virtual void setCrop(const utils::Dim& crop);
171 virtual void setCrop(const utils::Dim& crop);
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_ad.cpp157 const hwc_rect_t& crop,
213 hwc_rect_t dst = crop; //input same as output
215 if(configMdp(ctx->mOverlay, parg, OVERLAY_TRANSFORM_0, crop, dst, NULL,
156 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
H A Dhwc_mdpcomp.cpp271 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
276 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform);
280 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left;
281 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop
569 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
[all...]
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayRotator.h86 virtual void setCrop(const utils::Dim& crop) = 0;
121 virtual void setCrop(const utils::Dim& crop);
178 virtual void setCrop(const utils::Dim& crop);
H A DoverlayMdpRot.cpp97 void MdpRot::setCrop(const utils::Dim& crop) { argument
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_mdpcomp.cpp344 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
347 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left;
348 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top;
383 * 1. Src crop > MAX_DISPLAY_DI
839 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
2233 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
2304 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
[all...]
H A Dhwc_utils.h165 static void setBwc(const hwc_rect_t& crop,
252 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
345 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags,
349 const ovutils::eTransform& orient, const hwc_rect_t& crop,
358 hwc_rect_t& crop, overlay::Rotator *rot);
H A Dhwc_copybit.cpp669 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
670 qhwc::calculate_crop_rects(crop, dispFrame, iRect,
674 copybit_rect_t srcRect = {crop.left, crop.top, crop.right,
675 crop.bottom};
932 // copy new src and src rect crop
/hardware/intel/common/libmix/videoencoder/
H A DVideoEncoderAVC.cpp43 mVideoParamsAVC.crop.LeftOffset = 0;
44 mVideoParamsAVC.crop.RightOffset = 0;
45 mVideoParamsAVC.crop.TopOffset = 0;
46 mVideoParamsAVC.crop.BottomOffset = 0;
1011 if (mVideoParamsAVC.crop.LeftOffset ||
1012 mVideoParamsAVC.crop.RightOffset ||
1013 mVideoParamsAVC.crop.TopOffset ||
1014 mVideoParamsAVC.crop.BottomOffset) {
1016 avcSeqParams.frame_crop_left_offset = mVideoParamsAVC.crop.LeftOffset;
1017 avcSeqParams.frame_crop_right_offset = mVideoParamsAVC.crop
[all...]
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp219 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;
365 /* GSC's dst crop size should be aligned 128Bytes */
1320 unsigned int crop local
218 align_crop_and_center(T &w, T &h, hwc_rect_t *crop, size_t alignment) argument
1331 unsigned int crop = displayFrame.right - pdev->xres; local
1338 unsigned int crop = -displayFrame.top; local
1349 int crop = displayFrame.bottom - pdev->yres; local
[all...]
/hardware/ti/omap4-aah/test/CameraHal/
H A Dcamera_test_surfacetexture.h163 Rect crop = getCrop(graphic_buffer, mtx); local
165 mDeferThread->add(graphic_buffer, crop, mCounter++);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.h144 static void setBwc(const hwc_rect_t& crop,
236 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
327 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags,
331 const ovutils::eTransform& orient, const hwc_rect_t& crop,
340 hwc_rect_t& crop);
H A Dhwc_mdpcomp.cpp335 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);
337 int crop_w = crop.right - crop.left;
338 int crop_h = crop.bottom - crop.top;
374 * 1. Src crop > MAX_DISPLAY_DIM on nonsplit MDPComp
2020 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
2042 a) Layer's crop width is > 2048 or
2053 int cropWidth = has90Transform(layer) ? crop.bottom - crop
2092 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
[all...]
/hardware/samsung_slsi/exynos5/libgscaler/
H A Dexynos_gscaler.c644 info->crop.type = info->buf_type;
645 info->crop.c.left = info->crop_left;
646 info->crop.c.top = info->crop_top;
647 info->crop.c.width = info->crop_width;
648 info->crop.c.height = info->crop_height;
650 if (exynos_v4l2_s_crop(fd, &info->crop) < 0) {
1401 struct v4l2_crop crop; local
1477 /* set crop: src crop of GSC sub-dev*/
1492 ALOGE("%s::GSC subdev set crop faile
[all...]
/hardware/intel/common/libva/va/
H A Dva_vpp.h907 float crop; member in struct:_VAProcFilterParameterBufferImageStabilization
916 /** \brief Vertical crop. */
920 /** \brief Non-linear crop. */
961 /** \brief Range of supported values for crop ratio. */
971 /** \brief Range of supported values for the vertical crop. */
975 /** \brief Range of supported values for the non-linear crop. */
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.h162 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
189 //Trims a layer's source crop which is outside of screen boundary.
191 hwc_rect_t& crop, hwc_rect_t& dst);
H A Dhwc_mdpcomp.cpp279 hwc_rect_t crop = layer->sourceCrop; local
284 qhwc::calculate_crop_rects(crop, dst, scissor, layer->transform);
287 int crop_w = crop.right - crop.left;
288 int crop_h = crop.bottom - crop.top;
/hardware/intel/img/hwcomposer/ips/anniedale/
H A DAnnOverlayPlane.cpp674 int crop = (mSrcCrop.w - 4 * mPosition.w)/2 + 1; local
675 mSrcCrop.x += crop;
676 mSrcCrop.w -= 2 * crop;
680 int crop = (mSrcCrop.h - 4 * mPosition.h)/2 + 1; local
681 mSrcCrop.y += crop;
682 mSrcCrop.h -= 2 * crop;
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/
H A DOMX_VPP.c692 /* 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/qcom/msm8960/original-kernel-headers/media/
H A Dmsm_isp.h344 struct msm_pp_crop crop; member in struct:msm_mctl_pp_frame_cmd
/hardware/ti/omap4-aah/kernel-headers-ti/video/
H A Ddsscomp.h226 struct dss2_rect_t crop; member in struct:dss2_ovl_cfg
/hardware/samsung_slsi/exynos5/exynos_omx/codecs/exynos_codecs/video/exynos5/mfc_v4l2/dec/src/
H A DExynosVideoDecoder.c789 struct v4l2_crop crop; local
804 memset(&crop, 0, sizeof(crop));
812 crop.type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE;
813 if (exynos_v4l2_g_crop(pCtx->hDec, &crop) != 0) {
821 bufferConf->cropRect.nTop = crop.c.top;
822 bufferConf->cropRect.nLeft = crop.c.left;
823 bufferConf->cropRect.nWidth = crop.c.width;
824 bufferConf->cropRect.nHeight = crop.c.height;
/hardware/libhardware/tests/camera2/
H A Dcamera2_utils.cpp554 android_native_rect_t crop = { left, top, right, bottom }; local
555 return native_window_set_crop(a, &crop);
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
H A DOMX_JpegEncoder.c1522 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 DExynosCamera.cpp3527 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) {

Completed in 2831 milliseconds

123