Home
last modified time | relevance | path

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

/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc_utils.cpp513 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 …]
Dhwc_mdpcomp.cpp280 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/
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()
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 …]
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()
898 int crop_h = crop.bottom - crop.top; in configMdp() local
899 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.cpp1038 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()
Dhwc_mdpcomp.cpp348 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/
Dhwc_utils.cpp1255 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()
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()