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