Searched refs:src_w (Results 1 – 10 of 10) sorted by relevance
/hardware/qcom/display/libhwcomposer/ |
D | hwc_utils.cpp | 115 int dst_w, dst_h, src_w, src_h; in isAlphaScaled() local 123 src_w = sourceCrop.right - sourceCrop.left; in isAlphaScaled() 126 if(((src_w != dst_w) || (src_h != dst_h))) { in isAlphaScaled()
|
D | hwc_mdpcomp.cpp | 131 const int src_w = sourceCrop.right - sourceCrop.left; in prepare() local
|
/hardware/ti/omap4xxx/hwc/ |
D | hwc.c | 717 static int omap4_hwc_can_scale(__u32 src_w, __u32 src_h, __u32 dst_w, __u32 dst_h, int is_2d, in omap4_hwc_can_scale() argument 722 __u32 min_src_w = DIV_ROUND_UP(src_w, is_2d ? limits->max_xdecim_2d : limits->max_xdecim_1d); in omap4_hwc_can_scale() 745 if (dst_w * 4 < src_w) in omap4_hwc_can_scale() 752 if (src_w < limits->integer_scale_ratio_limit) in omap4_hwc_can_scale() 762 int src_w = WIDTH(layer->sourceCrop); in omap4_hwc_can_scale_layer() local 769 swap(src_w, src_h); in omap4_hwc_can_scale_layer() 773 … return omap4_hwc_can_scale(src_w, src_h, dst_w, dst_h, is_NV12(handle), &hwc_dev->fb_dis, &limits, in omap4_hwc_can_scale_layer()
|
/hardware/samsung_slsi/exynos5/libcamera/ |
D | ExynosCameraHWInterface.h | 217 bool m_getRatioSize(int src_w, int src_h,
|
D | ExynosCameraHWInterface.cpp | 4034 bool ExynosCameraHWInterface::m_getRatioSize(int src_w, int src_h, in m_getRatioSize() argument 4040 *crop_w = src_w; in m_getRatioSize() 4043 if ( src_w != dst_w in m_getRatioSize() 4049 src_ratio = (float)src_w / (float)src_h; in m_getRatioSize() 4055 if (dst_w * dst_h < src_w * src_h) { in m_getRatioSize() 4058 *crop_w = src_w; in m_getRatioSize() 4059 *crop_h = src_w / dst_ratio; in m_getRatioSize() 4068 *crop_w = src_w; in m_getRatioSize() 4069 *crop_h = src_w / dst_ratio; in m_getRatioSize() 4107 *crop_x = (src_w - *crop_w) >> 1; in m_getRatioSize()
|
D | ExynosCamera.cpp | 3577 bool ExynosCamera::m_getCropRect(unsigned int src_w, unsigned int src_h, in m_getCropRect() argument 3587 *crop_w = src_w; in m_getCropRect() 3590 if ( src_w != dst_w in m_getCropRect() 3596 src_ratio = (float)src_w / (float)src_h; in m_getCropRect() 3604 *crop_w = src_w; in m_getCropRect() 3605 *crop_h = src_w / dst_ratio; in m_getCropRect() 3648 *crop_x = (src_w - *crop_w) >> 1; in m_getCropRect()
|
/hardware/samsung_slsi/exynos5/include/ |
D | ExynosCamera.h | 782 bool m_getCropRect(unsigned int src_w, unsigned int src_h,
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
D | ExynosCameraHWInterface2.h | 565 bool m_getRatioSize(int src_w, int src_h,
|
D | ExynosCameraHWInterface2.cpp | 2450 bool ExynosCameraHWInterface2::m_getRatioSize(int src_w, int src_h, in m_getRatioSize() argument 2456 *crop_w = src_w; in m_getRatioSize() 2459 if ( src_w != dst_w in m_getRatioSize() 2465 src_ratio = (float)src_w / (float)src_h; in m_getRatioSize() 2470 if (dst_w * dst_h < src_w * src_h) { in m_getRatioSize() 2477 *crop_w = src_w; in m_getRatioSize() 2478 *crop_h = src_w / dst_ratio; in m_getRatioSize() 2487 *crop_w = src_w; in m_getRatioSize() 2488 *crop_h = src_w / dst_ratio; in m_getRatioSize() 2521 *crop_x = (src_w - *crop_w) >> 1; in m_getRatioSize()
|
/hardware/samsung_slsi/exynos5/libhwc/ |
D | hwc.cpp | 373 int src_w = WIDTH(layer.sourceCrop), src_h = HEIGHT(layer.sourceCrop); in exynos5_supports_gscaler() local 394 src_w <= dest_w * max_downscale && in exynos5_supports_gscaler() 395 dest_w <= src_w * max_upscale && in exynos5_supports_gscaler()
|