Home
last modified time | relevance | path

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

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