/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_utils.cpp | 519 // 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 1501 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument 1537 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 1600 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument 1642 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1749 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1894 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local 2154 setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument [all...] |
H A D | hwc_ad.h | 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_utils.cpp | 554 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, argument 557 int& crop_l = crop.left; 558 int& crop_t = crop.top; 559 int& crop_r = crop.right; 560 int& crop_b = crop.bottom; 561 int crop_w = crop.right - crop.left; 562 int crop_h = crop.bottom - crop.top; 780 hwc_rect_t& crop, hwc_rect_ 779 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/qcom/display/msm8909/liboverlay/ |
H A D | overlayMdssRot.cpp | 121 void MdssRot::setCrop(const utils::Dim& crop) { argument 122 mRotInfo.src_rect.x = crop.x; 123 mRotInfo.src_rect.y = crop.y; 124 mRotInfo.src_rect.w = crop.w; 125 mRotInfo.src_rect.h = crop.h; 385 Dim crop(0, 0, srcW, srcH); 386 Dim adjCrop = getFormatAdjustedCrop(crop, mdpFormat, 410 Dim MdssRot::getFormatAdjustedCrop(const Dim& crop, argument 412 Dim adjCrop = crop; 416 // For interlaced, crop 423 getDownscaleAdjustedCrop(const Dim& crop, const uint32_t& downscale) argument [all...] |
H A D | overlayRotator.h | 72 virtual void setCrop(const utils::Dim& crop) = 0; 136 virtual void setCrop(const utils::Dim& crop); 208 virtual void setCrop(const utils::Dim& crop); 260 static utils::Dim getFormatAdjustedCrop(const utils::Dim& crop, 263 static utils::Dim getDownscaleAdjustedCrop(const utils::Dim& crop,
|
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | overlayMdssRot.cpp | 121 void MdssRot::setCrop(const utils::Dim& crop) { argument 122 mRotInfo.src_rect.x = crop.x; 123 mRotInfo.src_rect.y = crop.y; 124 mRotInfo.src_rect.w = crop.w; 125 mRotInfo.src_rect.h = crop.h; 385 Dim crop(0, 0, srcW, srcH); 386 Dim adjCrop = getFormatAdjustedCrop(crop, mdpFormat, 410 Dim MdssRot::getFormatAdjustedCrop(const Dim& crop, argument 412 Dim adjCrop = crop; 416 // For interlaced, crop 423 getDownscaleAdjustedCrop(const Dim& crop, const uint32_t& downscale) argument [all...] |
H A D | overlayRotator.h | 72 virtual void setCrop(const utils::Dim& crop) = 0; 136 virtual void setCrop(const utils::Dim& crop); 208 virtual void setCrop(const utils::Dim& crop); 260 static utils::Dim getFormatAdjustedCrop(const utils::Dim& crop, 263 static utils::Dim getDownscaleAdjustedCrop(const utils::Dim& crop,
|
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_utils.cpp | 734 // For sidesync, the dest fb will be in portrait orientation, and the crop 836 // be in portrait orientation, so update the crop to not show the 1044 hwc_rect_t& crop, hwc_rect_t& dst) { 1051 qhwc::calculate_crop_rects(crop, dst, scissor, transform); 1059 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1064 (hwc_rect_t&)crop, 1066 layer->sourceCropf.left = (float)crop.left; 1067 layer->sourceCropf.right = (float)crop.right; 1068 layer->sourceCropf.top = (float)crop.top; 1069 layer->sourceCropf.bottom = (float)crop 1043 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 1316 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument 1832 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument 1858 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 1921 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop, Rotator *rot) argument 1951 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1986 isZoomModeEnabled(hwc_rect_t crop) argument 1991 updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy) argument 2016 updateDestAIVVideoMode(hwc_context_t *ctx, hwc_rect_t crop, hwc_rect_t& dst, int dpy) argument 2045 updateCoordinates(hwc_context_t *ctx, hwc_rect_t& crop, hwc_rect_t& dst, int dpy) argument 2068 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 2165 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 2313 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local 2617 setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform,const int& downscale, ovutils::eMdpFlags& mdpFlags) argument [all...] |
H A D | hwc_ad.h | 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
|
H A D | hwc_utils.h | 185 static void setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, 278 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 392 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags, 396 const ovutils::eTransform& orient, const hwc_rect_t& crop, 405 hwc_rect_t& crop, overlay::Rotator *rot); 407 bool isZoomModeEnabled(hwc_rect_t crop); 408 void updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy); 410 void updateCoordinates(hwc_context_t *ctx, hwc_rect_t& crop,
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
H A D | hwc_utils.cpp | 667 // For sidesync, the dest fb will be in portrait orientation, and the crop 769 // be in portrait orientation, so update the crop to not show the 970 hwc_rect_t& crop, hwc_rect_t& dst) { 977 qhwc::calculate_crop_rects(crop, dst, scissor, transform); 985 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 990 (hwc_rect_t&)crop, 992 layer->sourceCropf.left = (float)crop.left; 993 layer->sourceCropf.right = (float)crop.right; 994 layer->sourceCropf.top = (float)crop.top; 995 layer->sourceCropf.bottom = (float)crop 969 trimLayer(hwc_context_t *ctx, const int& dpy, const int& transform, hwc_rect_t& crop, hwc_rect_t& dst) argument 1249 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument 1752 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument 1778 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 1841 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop, Rotator *rot) argument 1871 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1906 isZoomModeEnabled(hwc_rect_t crop) argument 1911 updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy) argument 1936 updateDestAIVVideoMode(hwc_context_t *ctx, hwc_rect_t crop, hwc_rect_t& dst, int dpy) argument 1965 updateCoordinates(hwc_context_t *ctx, hwc_rect_t& crop, hwc_rect_t& dst, int dpy) argument 1988 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 2084 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 2232 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local 2536 setBwc(const hwc_context_t *ctx, const int& dpy, const private_handle_t *hnd, const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform,const int& downscale, ovutils::eMdpFlags& mdpFlags) argument [all...] |
H A D | hwc_ad.h | 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
|
H A D | hwc_utils.h | 181 const hwc_rect_t& crop, const hwc_rect_t& dst, 306 void calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, 416 hwc_rect_t& crop, const ovutils::eMdpFlags& mdpFlags, 420 const ovutils::eTransform& orient, const hwc_rect_t& crop, 429 hwc_rect_t& crop, overlay::Rotator *rot); 431 bool isZoomModeEnabled(hwc_rect_t crop); 432 void updateCropAIVVideoMode(hwc_context_t *ctx, hwc_rect_t& crop, int dpy); 434 void updateCoordinates(hwc_context_t *ctx, hwc_rect_t& crop,
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_utils.cpp | 506 // 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 1031 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument 1517 configRotator(Rotator *rot, Whf& whf, hwc_rect_t& crop, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument 1543 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 1606 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop, Rotator *rot) argument 1647 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1754 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf); local 1898 hwc_rect_t crop = integerizeSourceCrop(layer->sourceCropf);; local 2172 setBwc(const hwc_rect_t& crop, const hwc_rect_t& dst, const int& transform, ovutils::eMdpFlags& mdpFlags) argument [all...] |
H A D | hwc_ad.h | 44 bool prepare(hwc_context_t *ctx, const hwc_rect_t& crop,
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | overlayMdssRot.cpp | 84 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;
|
/hardware/qcom/display/msm8996/sdm/libs/core/ |
H A D | resource_default.cpp | 565 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, argument 567 float &crop_left = crop->left; 568 float &crop_top = crop->top; 569 float &crop_right = crop->right; 570 float &crop_bottom = crop->bottom; 571 float crop_width = crop->right - crop->left; 572 float crop_height = crop->bottom - crop->top; 620 Normalize(1, 1, crop); 657 ValidateDimensions(const LayerRect &crop, const LayerRect &dst) argument 702 ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, bool ubwc_tiled, bool use_rotator_downscale) argument 772 GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, float *scale_y) argument [all...] |
H A D | resource_default.h | 58 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, 116 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 118 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 122 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/display/msm8998/sdm/libs/core/ |
H A D | resource_default.cpp | 602 bool ResourceDefault::CalculateCropRects(const LayerRect &scissor, LayerRect *crop, argument 604 float &crop_left = crop->left; 605 float &crop_top = crop->top; 606 float &crop_right = crop->right; 607 float &crop_bottom = crop->bottom; 608 float crop_width = crop->right - crop->left; 609 float crop_height = crop->bottom - crop->top; 657 Normalize(1, 1, crop); 694 ValidateDimensions(const LayerRect &crop, const LayerRect &dst) argument 740 ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, BufferLayout layout, bool use_rotator_downscale) argument 810 GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x, float *scale_y) argument [all...] |
H A D | resource_default.h | 60 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst, bool rotate90, 121 bool CalculateCropRects(const LayerRect &scissor, LayerRect *crop, LayerRect *dst); 123 DisplayError ValidateDimensions(const LayerRect &crop, const LayerRect &dst); 127 DisplayError GetScaleFactor(const LayerRect &crop, const LayerRect &dst, float *scale_x,
|
/hardware/qcom/display/msm8996/sdm/include/private/ |
H A D | resource_interface.h | 52 virtual DisplayError ValidateScaling(const LayerRect &crop, const LayerRect &dst,
|
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | overlayMdssRot.cpp | 99 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 D | VideoEncoderDef.h | 421 Cropping crop; member in struct:VideoParamsAVC 452 this->crop.LeftOffset = other.crop.LeftOffset; 453 this->crop.RightOffset = other.crop.RightOffset; 454 this->crop.TopOffset = other.crop.TopOffset; 455 this->crop.BottomOffset = other.crop.BottomOffset;
|
/hardware/intel/img/hwcomposer/merrifield/include/ |
H A D | DataBuffer.h | 24 typedef struct crop { struct in namespace:android::intel
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/ |
H A D | DataBuffer.h | 24 typedef struct crop { struct in namespace:android::intel
|