/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayUtils.cpp | 312 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 314 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 317 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 320 int tmp = srcCrop.x; in preRotateSource() 321 srcCrop.x = compute(whf.h, in preRotateSource() 322 srcCrop.y, in preRotateSource() 323 srcCrop.h); in preRotateSource() 324 srcCrop.y = tmp; in preRotateSource() 326 swap(srcCrop.w, srcCrop.h); in preRotateSource()
|
D | overlayUtils.h | 551 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8960/liboverlay/ |
D | overlayUtils.cpp | 231 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 233 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 236 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 239 int tmp = srcCrop.x; in preRotateSource() 240 srcCrop.x = compute(whf.h, in preRotateSource() 241 srcCrop.y, in preRotateSource() 242 srcCrop.h); in preRotateSource() 243 srcCrop.y = tmp; in preRotateSource() 245 swap(srcCrop.w, srcCrop.h); in preRotateSource()
|
D | overlayUtils.h | 711 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayUtils.cpp | 319 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 321 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 324 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 327 int tmp = srcCrop.x; in preRotateSource() 328 srcCrop.x = compute(whf.h, in preRotateSource() 329 srcCrop.y, in preRotateSource() 330 srcCrop.h); in preRotateSource() 331 srcCrop.y = tmp; in preRotateSource() 333 swap(srcCrop.w, srcCrop.h); in preRotateSource()
|
D | overlayUtils.h | 554 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8084/liboverlay/ |
D | overlayUtils.cpp | 308 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop) { in preRotateSource() argument 310 srcCrop.x = compute(whf.w, srcCrop.x, srcCrop.w); in preRotateSource() 313 srcCrop.y = compute(whf.h, srcCrop.y, srcCrop.h); in preRotateSource() 316 int tmp = srcCrop.x; in preRotateSource() 317 srcCrop.x = compute(whf.h, in preRotateSource() 318 srcCrop.y, in preRotateSource() 319 srcCrop.h); in preRotateSource() 320 srcCrop.y = tmp; in preRotateSource() 322 swap(srcCrop.w, srcCrop.h); in preRotateSource()
|
D | overlayUtils.h | 709 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 920 Dim srcCrop(crop.left, crop.top, in updateSource() local 926 preRotateSource(orient, whf, srcCrop); in updateSource() 927 crop.left = srcCrop.x; in updateSource() 928 crop.top = srcCrop.y; in updateSource() 929 crop.right = srcCrop.x + srcCrop.w; in updateSource() 930 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 1602 Dim srcCrop(crop.left, crop.top, in updateSource() local 1606 preRotateSource(orient, whf, srcCrop); in updateSource() 1612 crop.right = srcCrop.w; in updateSource() 1613 crop.bottom = srcCrop.h; in updateSource() 1615 whf.w = srcCrop.w; in updateSource() 1616 whf.h = srcCrop.h; in updateSource() 1618 crop.left = srcCrop.x; in updateSource() 1619 crop.top = srcCrop.y; in updateSource() 1620 crop.right = srcCrop.x + srcCrop.w; in updateSource() 1621 crop.bottom = srcCrop.y + srcCrop.h; in updateSource()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 1915 Dim srcCrop(crop.left, crop.top, in updateCropAIVVideoMode() local 1921 if(srcCrop.w * extH < extW * srcCrop.h) { in updateCropAIVVideoMode() 1922 int offset = (srcCrop.h - ((srcCrop.w * extH) / extW)) / 2; in updateCropAIVVideoMode() 1926 int offset = (srcCrop.w - ((extW * srcCrop.h) / extH)) / 2; in updateCropAIVVideoMode() 1940 Dim srcCrop(crop.left, crop.top, in updateDestAIVVideoMode() local 1949 float videoAspectRatio = ((float)srcCrop.w / (float)srcCrop.h); in updateDestAIVVideoMode()
|
D | hwc_mdpcomp.cpp | 1069 hwc_rect_t srcCrop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local 1072 qhwc::calculate_crop_rects(srcCrop, layer->displayFrame, destRect, in fullMDPCompWithPTOR() 1074 layer->sourceCropf.left = (float)srcCrop.left; in fullMDPCompWithPTOR() 1075 layer->sourceCropf.top = (float)srcCrop.top; in fullMDPCompWithPTOR() 1076 layer->sourceCropf.right = (float)srcCrop.right; in fullMDPCompWithPTOR() 1077 layer->sourceCropf.bottom = (float)srcCrop.bottom; in fullMDPCompWithPTOR()
|
/hardware/qcom/display/msm8226/libhwcomposer/ |
D | hwc_mdpcomp.cpp | 924 hwc_rect_t srcCrop = integerizeSourceCrop(layer->sourceCropf); in fullMDPCompWithPTOR() local 927 qhwc::calculate_crop_rects(srcCrop, layer->displayFrame, destRect, in fullMDPCompWithPTOR() 929 layer->sourceCropf.left = (float)srcCrop.left; in fullMDPCompWithPTOR() 930 layer->sourceCropf.top = (float)srcCrop.top; in fullMDPCompWithPTOR() 931 layer->sourceCropf.right = (float)srcCrop.right; in fullMDPCompWithPTOR() 932 layer->sourceCropf.bottom = (float)srcCrop.bottom; in fullMDPCompWithPTOR()
|