Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp512 int crop_w = crop.right - crop.left; in calculate_crop_rects() local
551 crop_l += crop_w * leftCutRatio; in calculate_crop_rects()
553 crop_r -= crop_w * rightCutRatio; in calculate_crop_rects()
802 uint32_t crop_w = (crop.right - crop.left); in configRotator() local
805 ovutils::normalizeCrop((uint32_t&)crop.left, crop_w); in configRotator()
810 crop.right = crop.left + crop_w; in configRotator()
813 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
831 int crop_w = crop.right - crop.left; in configMdp() local
833 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
Dhwc_mdpcomp.cpp279 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension() local
283 float w_dscale = ceilf((float)crop_w / (float)dst_w); in isValidDimension()
289 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
296 if(crop_w > MAX_DISPLAY_DIM || w_dscale > downscale || in isValidDimension()
/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()
897 int crop_w = crop.right - crop.left; in configMdp() local
899 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()
1513 uint32_t crop_w = (crop.right - crop.left); in configRotator() local
1516 ovutils::normalizeCrop((uint32_t&)crop.left, crop_w); in configRotator()
1521 crop.right = crop.left + crop_w; in configRotator()
1524 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1542 int crop_w = crop.right - crop.left; in configMdp() local
1544 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.cpp347 int crop_w = rotated90 ? crop.bottom - crop.top : crop.right - crop.left; in isValidDimension() local
351 float w_scale = ((float)crop_w / (float)dst_w); in isValidDimension()
360 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
375 if(crop_w > MAX_DISPLAY_DIM || w_dscale > maxMDPDownscale || in isValidDimension()
386 if(((crop_w > MAX_DISPLAY_DIM) && !sSrcSplitEnabled) || in isValidDimension()
Dhwc_utils.cpp1037 int crop_w = crop.right - crop.left; in calculate_crop_rects() local
1076 crop_l += (int)round((double)crop_w * leftCutRatio); in calculate_crop_rects()
1078 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()
1547 int crop_w = crop.right - crop.left; in configMdp() local
1549 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.cpp1254 int crop_w = crop.right - crop.left; in calculate_crop_rects() local
1293 crop_l += (int)round((double)crop_w * leftCutRatio); in calculate_crop_rects()
1295 crop_r -= (int)round((double)crop_w * rightCutRatio); in calculate_crop_rects()
1781 int crop_w = crop.right - crop.left; in configMdp() local
1783 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()