Searched refs:crop_w (Results 1 - 8 of 8) sorted by relevance

/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc_utils.cpp561 int crop_w = crop.right - crop.left; local
600 crop_l += crop_w * leftCutRatio;
602 crop_r -= crop_w * rightCutRatio;
899 int crop_w = crop.right - crop.left; local
901 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
H A Dhwc_mdpcomp.cpp285 int crop_w = crop.right - crop.left; local
289 float w_dscale = ceilf((float)crop_w / (float)dst_w);
295 if((crop_w < 5)||(crop_h < 5))
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_utils.cpp1051 int crop_w = crop.right - crop.left; local
1090 crop_l += (int)round((double)crop_w * leftCutRatio);
1092 crop_r -= (int)round((double)crop_w * rightCutRatio);
1515 uint32_t crop_w = (crop.right - crop.left); local
1518 ovutils::normalizeCrop((uint32_t&)crop.left, crop_w);
1523 crop.right = crop.left + crop_w;
1526 Dim rotCrop(crop.left, crop.top, crop_w, crop_h);
1544 int crop_w = crop.right - crop.left; local
1546 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
H A Dhwc_mdpcomp.cpp329 int crop_w = crop.right - crop.left; local
333 float w_scale = ((float)crop_w / (float)dst_w);
343 (crop_w < 5 or crop_h < 5))
358 if(crop_w > MAX_DISPLAY_DIM || w_dscale > maxMDPDownscale ||
369 if(((crop_w > MAX_DISPLAY_DIM) && !sSrcSplitEnabled) ||
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_mdpcomp.cpp355 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; local
359 float w_scale = ((float)crop_w / (float)dst_w);
368 if((crop_w < 5)||(crop_h < 5))
383 if(crop_w > MAX_DISPLAY_DIM || w_dscale > maxMDPDownscale ||
394 if(((crop_w > MAX_DISPLAY_DIM) && !sSrcSplitEnabled) ||
H A Dhwc_utils.cpp1038 int crop_w = crop.right - crop.left; local
1077 crop_l += (int)round((double)crop_w * leftCutRatio);
1079 crop_r -= (int)round((double)crop_w * rightCutRatio);
1550 int crop_w = crop.right - crop.left; local
1552 Dim dcrop(crop.left, crop.top, crop_w, crop_h);
/hardware/qcom/display/msm8994/libhwcomposer/
H A Dhwc_mdpcomp.cpp413 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; local
417 float w_scale = ((float)crop_w / (float)dst_w);
427 if(mdpHw.hasMinCropWidthLimitation() and (crop_w < 5 or crop_h < 5))
441 if(crop_w > (int) mdpHw.getMaxPipeWidth() ||
452 if(((crop_w > (int) mdpHw.getMaxPipeWidth()) &&
H A Dhwc_utils.cpp1256 int crop_w = crop.right - crop.left; local
1295 crop_l += (int)round((double)crop_w * leftCutRatio);
1297 crop_r -= (int)round((double)crop_w * rightCutRatio);
1785 int crop_w = crop.right - crop.left; local
1787 Dim dcrop(crop.left, crop.top, crop_w, crop_h);

Completed in 594 milliseconds