Home
last modified time | relevance | path

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

/hardware/samsung_slsi/exynos5/librotator/
Dexynos_rotator.c203 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()
252 *crop_w = m_exynos_rotator_multiple_of_n(*crop_w, 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
274 new_crop_h = crop_w; in m_exynos_rotator_check_dst_size()
278 new_crop_w = crop_w; 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/samsung_slsi/exynos5/libgscaler/
Dexynos_gscaler.c180 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()
207 *crop_w = m_exynos_gsc_multiple_of_n(*crop_w, 4); in m_exynos_gsc_check_src_size()
219 *crop_w = m_exynos_gsc_multiple_of_n(*crop_w, 4); in m_exynos_gsc_check_src_size()
232 *crop_w = m_exynos_gsc_multiple_of_n(*crop_w, 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
254 new_crop_w = crop_w; 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/qcom/display/libhwcomposer/
Dhwc_utils.cpp200 int crop_w = crop.right - crop.left; in calculate_crop_rects() local
231 crop_l += crop_w * leftCutRatio; in calculate_crop_rects()
233 crop_r -= crop_w * rightCutRatio; in calculate_crop_rects()
Dhwc_mdpcomp.cpp135 int crop_w = crop.right - crop.left; in prepare() local
149 crop_w = crop.right - crop.left; in prepare()
224 ovutils::Dim dcrop(crop.left, crop.top, crop_w, crop_h); in prepare()
/hardware/samsung_slsi/exynos5/libcamera/
DExynosCamera.cpp3530 unsigned int crop_w = 0; in m_setCrop() local
3543 &crop_w, &crop_h, in m_setCrop()
3548 cropcap.defrect.width = crop_w; in m_setCrop()
3580 unsigned int *crop_w, unsigned int *crop_h, in m_getCropRect() argument
3587 *crop_w = src_w; in m_getCropRect()
3604 *crop_w = src_w; in m_getCropRect()
3608 *crop_w = src_h * dst_ratio; in m_getCropRect()
3615 (*crop_w - (*crop_w >> DEFAULT_ZOOM_RATIO_SHIFT)) / max_zoom; in m_getCropRect()
3617 *crop_w = *crop_w - (zoom_w_step * zoom); in m_getCropRect()
3627 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getCropRect()
[all …]
DExynosCameraHWInterface.cpp4037 int *crop_w, int *crop_h, in m_getRatioSize() argument
4040 *crop_w = src_w; in m_getRatioSize()
4058 *crop_w = src_w; in m_getRatioSize()
4062 *crop_w = dst_h * dst_ratio; in m_getRatioSize()
4068 *crop_w = src_w; in m_getRatioSize()
4072 *crop_w = src_h * dst_ratio; in m_getRatioSize()
4079 *crop_w = (int)((float)*crop_w / zoomLevel); in m_getRatioSize()
4086 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getRatioSize()
4089 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()
4090 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align); in m_getRatioSize()
[all …]
DExynosCameraHWInterface.h220 int *crop_w, int *crop_h,
/hardware/samsung_slsi/exynos5/libcamera2/
DExynosCameraHWInterface2.cpp2453 int *crop_w, int *crop_h, in m_getRatioSize() argument
2456 *crop_w = src_w; in m_getRatioSize()
2473 *crop_w = src_h * dst_ratio; in m_getRatioSize()
2477 *crop_w = src_w; in m_getRatioSize()
2483 *crop_w = src_h * dst_ratio; in m_getRatioSize()
2487 *crop_w = src_w; in m_getRatioSize()
2495 *crop_w = (int)((float)*crop_w / zoomLevel); in m_getRatioSize()
2500 unsigned int w_align = (*crop_w & (CAMERA_CROP_WIDTH_RESTRAIN_NUM - 1)); in m_getRatioSize()
2503 && *crop_w + (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align) <= dst_w) { in m_getRatioSize()
2504 *crop_w += (CAMERA_CROP_WIDTH_RESTRAIN_NUM - w_align); in m_getRatioSize()
[all …]
DExynosCameraHWInterface2.h568 int *crop_w, int *crop_h,
/hardware/samsung_slsi/exynos5/include/
DExynosCamera.h785 unsigned int *crop_w, unsigned int *crop_h,