Home
last modified time | relevance | path

Searched refs:dst_w (Results 1 – 9 of 9) sorted by relevance

/hardware/qcom/display/libhwcomposer/
Dhwc_utils.cpp115 int dst_w, dst_h, src_w, src_h; in isAlphaScaled() local
120 dst_w = displayFrame.right - displayFrame.left; in isAlphaScaled()
126 if(((src_w != dst_w) || (src_h != dst_h))) { in isAlphaScaled()
207 int dst_w = abs(dst.right - dst.left); in calculate_crop_rects() local
214 leftCutRatio = (float)(0.0f - dst_l) / (float)dst_w; in calculate_crop_rects()
218 rightCutRatio = (float)(dst_r - fbWidth) / (float)dst_w; in calculate_crop_rects()
Dhwc_mdpcomp.cpp139 int dst_w = dst.right - dst.left; in prepare() local
152 dst_w = dst.right - dst.left; in prepare()
156 if( (dst_w > hw_w)|| (dst_h > hw_h)) { in prepare()
159 dst_w = hw_w; in prepare()
227 ovutils::Dim dim(dst.left, dst.top, dst_w, dst_h); in prepare()
/hardware/ti/omap4xxx/hwc/
Dhwc.c717 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
727 if (dis->channel != OMAP_DSS_CHANNEL_DIGIT && dst_w < limits->min_width) in omap4_hwc_can_scale()
742 return !(dst_w * limits->max_downscale < min_src_w); in omap4_hwc_can_scale()
745 if (dst_w * 4 < src_w) in omap4_hwc_can_scale()
754 if ((__u32) dst_w * fclk < min_src_w * pclk) in omap4_hwc_can_scale()
764 int dst_w = WIDTH(layer->displayFrame); in omap4_hwc_can_scale_layer() local
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/
DExynosCameraHWInterface.h218 int dst_w, int dst_h,
DExynosCameraHWInterface.cpp4035 int dst_w, int dst_h, in m_getRatioSize() argument
4043 if ( src_w != dst_w in m_getRatioSize()
4052 dst_ratio = (float)dst_w / (float)dst_h; in m_getRatioSize()
4055 if (dst_w * dst_h < src_w * src_h) { in m_getRatioSize()
4089 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()
DExynosCamera.cpp3578 unsigned int dst_w, unsigned int dst_h, in m_getCropRect() argument
3590 if ( src_w != dst_w in m_getCropRect()
3599 dst_ratio = (float)dst_w / (float)dst_h; in m_getCropRect()
3630 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getCropRect()
/hardware/samsung_slsi/exynos5/include/
DExynosCamera.h783 unsigned int dst_w, unsigned int dst_h,
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.h566 int dst_w, int dst_h,
DExynosCameraHWInterface2.cpp2451 int dst_w, int dst_h, in m_getRatioSize() argument
2459 if ( src_w != dst_w in m_getRatioSize()
2468 dst_ratio = (float)dst_w / (float)dst_h; in m_getRatioSize()
2470 if (dst_w * dst_h < src_w * src_h) { in m_getRatioSize()
2503 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()