/hardware/samsung_slsi/exynos5/librotator/ |
D | exynos_rotator.c | 203 unsigned int *crop_w, unsigned int *crop_h, in m_exynos_rotator_check_src_size() argument 212 if (*crop_w < ROTATOR_MIN_W_SIZE || *crop_h < ROTATOR_MIN_H_SIZE) { in m_exynos_rotator_check_src_size() 214 __func__, ROTATOR_MIN_W_SIZE,* crop_w, ROTATOR_MIN_H_SIZE, *crop_h); in m_exynos_rotator_check_src_size() 253 *crop_h = m_exynos_rotator_multiple_of_n(*crop_h, 4); in m_exynos_rotator_check_src_size() 261 unsigned int *crop_w, unsigned int *crop_h, in m_exynos_rotator_check_dst_size() argument 273 new_crop_w = crop_h; in m_exynos_rotator_check_dst_size() 279 new_crop_h = crop_h; in m_exynos_rotator_check_dst_size() 288 if (*crop_w < ROTATOR_MIN_W_SIZE || *crop_h < ROTATOR_MIN_H_SIZE) { in m_exynos_rotator_check_dst_size() 290 __func__, ROTATOR_MIN_W_SIZE,* crop_w, ROTATOR_MIN_H_SIZE, *crop_h); in m_exynos_rotator_check_dst_size()
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
D | hwc_utils.cpp | 513 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 554 crop_t += crop_h * topCutRatio; in calculate_crop_rects() 556 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects() 806 uint32_t crop_h = (crop.bottom - crop.top); in configRotator() local 809 ovutils::normalizeCrop((uint32_t&)crop.top, crop_h); in configRotator() 811 if ((mdpFlags & ovutils::OV_MDP_DEINTERLACE) && (crop_h % 4)) in configRotator() 812 crop_h = ovutils::aligndown(crop_h, 4); in configRotator() 814 crop.bottom = crop.top + crop_h; in configRotator() 816 Dim rotCrop(crop.left, crop.top, crop_w, crop_h); in configRotator() 835 int crop_h = crop.bottom - crop.top; in configMdp() local [all …]
|
D | hwc_mdpcomp.cpp | 279 int crop_h = crop.bottom - crop.top; in isValidDimension() local 283 float h_dscale = ceilf((float)crop_h / (float)dst_h); in isValidDimension() 288 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
|
/hardware/samsung_slsi/exynos5/libgscaler/ |
D | exynos_gscaler.c | 180 unsigned int *crop_w, unsigned int *crop_h, in m_exynos_gsc_check_src_size() argument 189 if (*crop_w < GSC_MIN_W_SIZE || *crop_h < GSC_MIN_H_SIZE) { in m_exynos_gsc_check_src_size() 191 __func__, GSC_MIN_W_SIZE,* crop_w, GSC_MIN_H_SIZE, *crop_h); in m_exynos_gsc_check_src_size() 208 *crop_h = m_exynos_gsc_multiple_of_n(*crop_h, 4); in m_exynos_gsc_check_src_size() 220 *crop_h = m_exynos_gsc_multiple_of_n(*crop_h, 2); in m_exynos_gsc_check_src_size() 233 *crop_h = m_exynos_gsc_multiple_of_n(*crop_h, 2); in m_exynos_gsc_check_src_size() 243 unsigned int *crop_w, unsigned int *crop_h, in m_exynos_gsc_check_dst_size() argument 255 new_crop_h = crop_h; in m_exynos_gsc_check_dst_size() 263 if (*crop_w < GSC_MIN_W_SIZE || *crop_h < GSC_MIN_H_SIZE) { in m_exynos_gsc_check_dst_size() 265 __func__, GSC_MIN_W_SIZE,* crop_w, GSC_MIN_H_SIZE, *crop_h); in m_exynos_gsc_check_dst_size()
|
/hardware/samsung_slsi/exynos5/libcamera/ |
D | ExynosCamera.cpp | 3531 unsigned int crop_h = 0; in m_setCrop() local 3543 &crop_w, &crop_h, in m_setCrop() 3549 cropcap.defrect.height = crop_h; in m_setCrop() 3580 unsigned int *crop_w, unsigned int *crop_h, in m_getCropRect() argument 3588 *crop_h = src_h; in m_getCropRect() 3605 *crop_h = src_w / dst_ratio; in m_getCropRect() 3609 *crop_h = src_h; in m_getCropRect() 3620 (*crop_h - (*crop_h >> DEFAULT_ZOOM_RATIO_SHIFT)) / max_zoom; in m_getCropRect() 3622 *crop_h = *crop_h - (zoom_h_step * zoom); in m_getCropRect() 3638 unsigned int h_align = (*crop_h & (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - 1)); in m_getCropRect() [all …]
|
D | ExynosCameraHWInterface.cpp | 4037 int *crop_w, int *crop_h, in m_getRatioSize() argument 4041 *crop_h = src_h; in m_getRatioSize() 4059 *crop_h = src_w / dst_ratio; in m_getRatioSize() 4063 *crop_h = dst_h; in m_getRatioSize() 4069 *crop_h = src_w / dst_ratio; in m_getRatioSize() 4073 *crop_h = src_h; in m_getRatioSize() 4080 *crop_h = (int)((float)*crop_h / zoomLevel); in m_getRatioSize() 4097 unsigned int h_align = (*crop_h & (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - 1)); in m_getRatioSize() 4100 && *crop_h + (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align) <= dst_h) { in m_getRatioSize() 4101 *crop_h += (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align); in m_getRatioSize() [all …]
|
D | ExynosCameraHWInterface.h | 220 int *crop_w, int *crop_h,
|
/hardware/qcom/display/msm8960/libhwcomposer/ |
D | hwc_utils.cpp | 552 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 593 crop_t += crop_h * topCutRatio; in calculate_crop_rects() 595 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects() 893 int crop_h = crop.bottom - crop.top; in configMdp() local 894 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
|
D | hwc_mdpcomp.cpp | 287 int crop_h = crop.bottom - crop.top; in isValidDimension() local 291 float h_dscale = ceilf((float)crop_h / (float)dst_h); in isValidDimension() 296 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
D | hwc_utils.cpp | 512 int crop_h = crop.bottom - crop.top; in calculate_crop_rects() local 553 crop_t += crop_h * topCutRatio; in calculate_crop_rects() 555 crop_b -= crop_h * bottomCutRatio; in calculate_crop_rects() 853 int crop_h = crop.bottom - crop.top; in configMdp() local 854 Dim dcrop(crop.left, crop.top, crop_w, crop_h); in configMdp()
|
D | hwc_mdpcomp.cpp | 282 int crop_h = crop.bottom - crop.top; in isValidDimension() local 286 float h_dscale = ceilf((float)crop_h / (float)dst_h); in isValidDimension() 291 if((crop_w < 5)||(crop_h < 5)) in isValidDimension()
|
/hardware/samsung_slsi/exynos5/include/ |
D | ExynosCamera.h | 785 unsigned int *crop_w, unsigned int *crop_h,
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | ExynosCameraHWInterface2.cpp | 2495 int *crop_w, int *crop_h, in m_getRatioSize() argument 2499 *crop_h = src_h; in m_getRatioSize() 2516 *crop_h = src_h; in m_getRatioSize() 2520 *crop_h = src_w / dst_ratio; in m_getRatioSize() 2526 *crop_h = src_h; in m_getRatioSize() 2530 *crop_h = src_w / dst_ratio; in m_getRatioSize() 2538 *crop_h = (int)((float)*crop_h / zoomLevel); in m_getRatioSize() 2553 unsigned int h_align = (*crop_h & (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - 1)); in m_getRatioSize() 2556 && *crop_h + (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align) <= dst_h) { in m_getRatioSize() 2557 *crop_h += (CAMERA_CROP_HEIGHT_RESTRAIN_NUM - h_align); in m_getRatioSize() [all …]
|
D | ExynosCameraHWInterface2.h | 572 int *crop_w, int *crop_h,
|