Searched refs:crop (Results 1 - 25 of 53) sorted by relevance

123

/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc_utils.cpp505 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, argument
508 int& crop_l = crop.left;
509 int& crop_t = crop.top;
510 int& crop_r = crop.right;
511 int& crop_b = crop.bottom;
512 int crop_w = crop.right - crop.left;
513 int crop_h = crop.bottom - crop.top;
739 hwc_rect_t& crop, hwc_rect_
738 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument
798 configRotator(Rotator *rot, const Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument
827 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
853 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument
891 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
983 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
1161 setBwc(hwc_context_t *ctx, const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument
[all...]
H A Dhwc_ad.h44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
H A Dhwc_utils.h115 static void setBwc(hwc_context_t *ctx, const hwc_rect_t& crop,
183 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst,
209 //Trims a layer's source crop which is outside of screen boundary.
211 hwc_rect_t& crop, hwc_rect_t& dst);
219 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags,
223 const ovutils::eTransform& orient, const hwc_rect_t& crop,
228 hwc_rect_t& crop);
/hardware/ti/omap4-aah/test/CameraHal/
H A Dcamera_test_surfacetexture.cpp152 const Rect &crop,
160 if (!buffer || !crop.isValid()) {
176 unsigned int height = crop.height();
177 unsigned int width = crop.width();
207 const Rect &crop,
219 int height = crop.height();
220 int width = crop.width();
239 const Rect &crop,
252 uvoffset = strideSrc * crop.height();
258 int height = crop
148 writeCroppedNV12(unsigned int offset, unsigned int stride, unsigned int bufWidth, unsigned int bufHeight, const Rect &crop, int fd, unsigned char *buffer) argument
203 writeCroppedUYVY(unsigned int offset, unsigned int stride, unsigned int bufWidth, unsigned int bufHeight, const Rect &crop, int fd, unsigned char *buffer) argument
234 copyCroppedNV12(unsigned int offset, unsigned int strideSrc, unsigned int strideDst, unsigned int bufWidth, unsigned int bufHeight, const Rect &crop, void *bufferSrc, void *bufferDst) argument
284 copyCroppedPacked16(unsigned int offset, unsigned int stride, unsigned int bufWidth, unsigned int bufHeight, const Rect &crop, void *bufferSrc, void *bufferDst) argument
622 handleBuffer(sp<GraphicBuffer> &graphic_buffer, uint8_t *buffer, unsigned int count, const Rect &crop) argument
[all...]
H A Dcamera_test.h222 Rect crop; member in struct:buffer_info
326 Rect crop; member in struct:BufferSourceThread::Defer::DeferContainer
359 defer.count, defer.crop);
367 void add(sp<GraphicBuffer> &gbuf, const Rect &crop, argument
374 defer.crop = crop;
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp519 // For sidesync, the dest fb will be in portrait orientation, and the crop
616 // be in portrait orientation, so update the crop to not show the
805 hwc_rect_t& crop, hwc_rect_t& dst) {
812 qhwc::calculate_crop_rects(crop, dst, scissor, transform);
820 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
823 (hwc_rect_t&)crop,
825 layer->sourceCropf.left = (float)crop.left;
826 layer->sourceCropf.right = (float)crop.right;
827 layer->sourceCropf.top = (float)crop.top;
828 layer->sourceCropf.bottom = (float)crop
804 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument
1044 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument
1493 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument
1529 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
1592 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument
1634 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
1741 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
1886 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local
2146 setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument
[all...]
H A Dhwc_ad.h44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
H A Dhwc_ad.cpp172 const hwc_rect_t& crop,
239 hwc_rect_t dst = crop; //input same as output
241 if(configMdp(ctx->mOverlay, parg, OVERLAY_TRANSFORM_0, crop, dst, NULL,
171 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp551 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, argument
554 int& crop_l = crop.left;
555 int& crop_t = crop.top;
556 int& crop_r = crop.right;
557 int& crop_b = crop.bottom;
558 int crop_w = crop.right - crop.left;
559 int crop_h = crop.bottom - crop.top;
779 hwc_rect_t& crop, hwc_rect_
778 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument
892 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
918 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument
945 hwc_rect_t crop = layer->sourceCrop; local
1026 hwc_rect_t crop = layer->sourceCrop; local
[all...]
/hardware/samsung_slsi/exynos5/include/
H A Dexynos_v4l2.h80 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/qcom/display/msm8226/libhwcomposer/
H A Dhwc_utils.cpp506 // For sidesync, the dest fb will be in portrait orientation, and the crop
603 // be in portrait orientation, so update the crop to not show the
792 hwc_rect_t& crop, hwc_rect_t& dst) {
799 qhwc::calculate_crop_rects(crop, dst, scissor, transform);
807 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
810 (hwc_rect_t&)crop,
812 layer->sourceCropf.left = (float)crop.left;
813 layer->sourceCropf.right = (float)crop.right;
814 layer->sourceCropf.top = (float)crop.top;
815 layer->sourceCropf.bottom = (float)crop
791 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument
1030 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument
1514 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument
1540 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
1603 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop, Rotator *rot) argument
1644 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
1751 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local
1895 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local
2169 setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument
[all...]
H A Dhwc_ad.h44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
H A Dhwc_ad.cpp151 const hwc_rect_t& crop,
214 hwc_rect_t dst = crop; //input same as output
216 if(configMdp(ctx->mOverlay, parg, OVERLAY_TRANSFORM_0, crop, dst, NULL,
150 prepare(hwc_context_t *ctx, const hwc_rect_t& crop, const Whf& whf, const private_handle_t *hnd) argument
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayMdssRot.cpp84 void MdssRot::setCrop(const utils::Dim& crop) { argument
86 mRotInfo.src_rect.x = crop.x;
87 mRotInfo.src_rect.y = crop.y;
88 mRotInfo.src_rect.w = crop.w;
89 mRotInfo.src_rect.h = crop.h;
93 mRotInfo.dst_rect.w = crop.w;
94 mRotInfo.dst_rect.h = crop.h;
H A DoverlayRotator.h72 virtual void setCrop(const utils::Dim& crop) = 0;
107 virtual void setCrop(const utils::Dim& crop);
164 virtual void setCrop(const utils::Dim& crop);
/hardware/ti/omap4xxx/hwc/
H A Dhwc.c219 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 Dexynos_subdev.c216 * @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 Dexynos_v4l2.c607 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/qcom/display/msm8974/liboverlay/
H A DoverlayMdssRot.cpp83 void MdssRot::setCrop(const utils::Dim& crop) { argument
85 mRotInfo.src_rect.x = crop.x;
86 mRotInfo.src_rect.y = crop.y;
87 mRotInfo.src_rect.w = crop.w;
88 mRotInfo.src_rect.h = crop.h;
92 mRotInfo.dst_rect.w = crop.w;
93 mRotInfo.dst_rect.h = crop.h;
/hardware/ti/omap4-aah/hwc/
H A Dhwc.c308 c->width, c->height, c->crop.x, c->crop.y,
309 c->crop.w, c->crop.h,
633 oc->crop.w = oc->win.w = width;
634 oc->crop.h = oc->win.h = height;
672 /* crop */
673 oc->crop.x = layer->sourceCrop.left;
674 oc->crop.y = layer->sourceCrop.top;
675 oc->crop
786 } crop, win; local
[all...]
/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayMdssRot.cpp99 void MdssRot::setCrop(const utils::Dim& crop) { argument
100 mRotInfo.src_rect.x = crop.x;
101 mRotInfo.src_rect.y = crop.y;
102 mRotInfo.src_rect.w = crop.w;
103 mRotInfo.src_rect.h = crop.h;
134 // For interlaced, crop.h should be 4-aligned
/hardware/intel/common/libmix/videoencoder/
H A DVideoEncoderDef.h423 Cropping crop; member in struct:VideoParamsAVC
454 this->crop.LeftOffset = other.crop.LeftOffset;
455 this->crop.RightOffset = other.crop.RightOffset;
456 this->crop.TopOffset = other.crop.TopOffset;
457 this->crop.BottomOffset = other.crop.BottomOffset;
/hardware/samsung_slsi/exynos5/librotator/
H A Dexynos_rotator.c80 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/intel/img/hwcomposer/include/
H A DDataBuffer.h24 typedef struct crop { struct in namespace:android::intel
/hardware/samsung_slsi/exynos5/libgscaler/
H A Dexynos_gsc_utils.h116 struct v4l2_crop crop; member in struct:gsc_info

Completed in 420 milliseconds

123