Searched refs:crop_h (Results 1 – 8 of 8) sorted by relevance
/hardware/qcom/display/msm8084/libhwcomposer/ |
D | hwc_utils.cpp | 1052 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 …]
|
D | hwc_mdpcomp.cpp | 330 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/ |
D | hwc_utils.cpp | 562 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()
|
D | hwc_mdpcomp.cpp | 286 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/ |
D | hwc_utils.cpp | 1039 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()
|
D | hwc_mdpcomp.cpp | 356 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/ |
D | hwc_utils.cpp | 1257 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()
|
D | hwc_mdpcomp.cpp | 414 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()
|