Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libgscaler/
Dlibgscaler_obj.h240 unsigned int *crop_w, unsigned int *crop_h,
244 unsigned int *crop_w, unsigned int *crop_h,
Dlibgscaler_obj.cpp561 unsigned int __UNUSED__ *crop_w, unsigned int __UNUSED__ *crop_h, in m_gsc_check_src_size() argument
581 if (*crop_w < minWidth || *crop_h < minHeight) { in m_gsc_check_src_size()
583 __func__, GSC_MIN_SRC_W_SIZE,* crop_w, GSC_MIN_SRC_H_SIZE, *crop_h); in m_gsc_check_src_size()
593 unsigned int __UNUSED__ *crop_w, unsigned int __UNUSED__ *crop_h, in m_gsc_check_dst_size() argument
602 if (*crop_w < GSC_MIN_DST_W_SIZE || *crop_h < GSC_MIN_DST_H_SIZE) { in m_gsc_check_dst_size()
604 __func__, GSC_MIN_DST_W_SIZE,* crop_w, GSC_MIN_DST_H_SIZE, *crop_h); in m_gsc_check_dst_size()
/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()