Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_utils.cpp1052 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local
1091 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
1093 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
1516 uint32_t crop_h = (crop.bottom - crop.top); in configRotator() local
1519 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator()
1521 if ((mdpFlags & ovutils::OV_MDP_DEINTERLACE) && (crop_h % 4)) in configRotator()
1522 crop_h = ovutils::aligndown(crop_h, 4); in configRotator()
1524 crop.bottom = crop.top + crop_h; in configRotator()
1526 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator()
1545 int crop_h = crop.bottom - crop.top; in configMdp() local
[all …]
Dhwc_mdpcomp.cpp330 int crop_h = crop.bottom - crop.top; in isValidDimension() local
334 float h_scale = ((float)crop_h / (float)dst_h); in isValidDimension()
343 (crop_w < 5 or crop_h < 5)) in isValidDimension()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp562 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local
601 crop_t += crop_h * topCutRatio; in calculate_crop_rects()
603 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects()
900 int crop_h = crop.bottom - crop.top; in configMdp() local
901 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
Dhwc_mdpcomp.cpp286 int crop_h = crop.bottom - crop.top; in isValidDimension() local
290 float h_dscale = ceilf((float)crop_h / (float)dst_h); in isValidDimension()
295 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_utils.cpp1039 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local
1078 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
1080 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
1551 int crop_h = crop.bottom - crop.top; in configMdp() local
1552 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
Dhwc_mdpcomp.cpp356 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension() local
360 float h_scale = ((float)crop_h / (float)dst_h); in isValidDimension()
368 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_utils.cpp1257 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local
1296 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects()
1298 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects()
1786 int crop_h = crop.bottom - crop.top; in configMdp() local
1787 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
Dhwc_mdpcomp.cpp414 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension() local
418 float h_scale = ((float)crop_h / (float)dst_h); in isValidDimension()
427 if(mdpHw.hasMinCropWidthLimitation() and (crop_w < 5 or crop_h < 5)) in isValidDimension()