Home
last modified time | relevance | path

Searched refs:srcCrop (Results 1 – 12 of 12) sorted by relevance

/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp231 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()
DoverlayUtils.h711 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8994/liboverlay/
DoverlayUtils.cpp312 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()
DoverlayUtils.h551 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8226/liboverlay/
DoverlayUtils.cpp319 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()
DoverlayUtils.h554 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8084/liboverlay/
DoverlayUtils.cpp308 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()
DoverlayUtils.h709 void preRotateSource(const eTransform& tr, Whf& whf, Dim& srcCrop);
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp920 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/
Dhwc_utils.cpp1602 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/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp924 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()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp1069 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()