Searched refs:crop_h (Results 1 – 10 of 10) sorted by relevance
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.cpp | 513 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 552 crop_t += crop_h * topCutRatio; in calculate_crop_rects() 554 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects() 803 uint32_t crop_h = (crop.bottom - crop.top); in configRotator() local 806 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator() 808 if ((mdpFlags & ovutils::OV_MDP_DEINTERLACE) && (crop_h % 4)) in configRotator() 809 crop_h = ovutils::aligndown(crop_h, 4); in configRotator() 811 crop.bottom = crop.top + crop_h; in configRotator() 813 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator() 832 int crop_h = crop.bottom - crop.top; in configMdp() local [all …]
|
D | hwc_mdpcomp.cpp | 280 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension() local 284 float h_dscale = ceilf((float)crop_h / (float)dst_h); in isValidDimension() 289 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
|
/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() 1514 uint32_t crop_h = (crop.bottom - crop.top); in configRotator() local 1517 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator() 1519 if ((mdpFlags & ovutils::OV_MDP_DEINTERLACE) && (crop_h % 4)) in configRotator() 1520 crop_h = ovutils::aligndown(crop_h, 4); in configRotator() 1522 crop.bottom = crop.top + crop_h; in configRotator() 1524 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator() 1543 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() 898 int crop_h = crop.bottom - crop.top; in configMdp() local 899 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 | 1038 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 1077 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects() 1079 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects() 1548 int crop_h = crop.bottom - crop.top; in configMdp() local 1549 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
|
D | hwc_mdpcomp.cpp | 348 int crop_h = rotated90 ? crop.right - crop.left : crop.bottom - crop.top; in isValidDimension() local 352 float h_scale = ((float)crop_h / (float)dst_h); in isValidDimension() 360 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
|
/hardware/qcom/display/msm8994/libhwcomposer/ |
D | hwc_utils.cpp | 1255 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 1294 crop_t += (int)round((double)crop_h * topCutRatio); in calculate_crop_rects() 1296 crop_b -= (int)round((double)crop_h * bottomCutRatio); in calculate_crop_rects() 1782 int crop_h = crop.bottom - crop.top; in configMdp() local 1783 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()
|