/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 101 int32_t src_x, src_y, src_w, src_h; in GetSrcProp() local 124 DISPLAY_LOGE("cat not get pane src_h prop id")); in GetSrcProp() 126 src_h = prop.value; in GetSrcProp() 128 DISPLAY_LOGE("plane %{public}d src_x %{public}d src_y %{public}d src_w %{public}d src_h %{public}d", in GetSrcProp() 129 GetId(), src_x, src_y, src_w, src_h); in GetSrcProp()
|
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 96 int32_t src_x, src_y, src_w, src_h; in GetSrcProp() local 115 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_h prop id")); in GetSrcProp() 117 src_h = prop.value; in GetSrcProp() 119 DISPLAY_LOGE("plane %{public}d src_x %{public}d src_y %{public}d src_w %{public}d src_h %{public}d", in GetSrcProp() 120 GetId(), src_x, src_y, src_w, src_h); in GetSrcProp()
|
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 96 int32_t src_x, src_y, src_w, src_h; in GetSrcProp() local 115 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_h prop id")); in GetSrcProp() 117 src_h = prop.value; in GetSrcProp() 119 DISPLAY_LOGE("plane %{public}d src_x %{public}d src_y %{public}d src_w %{public}d src_h %{public}d", in GetSrcProp() 120 GetId(), src_x, src_y, src_w, src_h); in GetSrcProp()
|
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 96 int32_t src_x, src_y, src_w, src_h; in GetSrcProp() local 115 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_h prop id")); in GetSrcProp() 117 src_h = prop.value; in GetSrcProp() 119 DISPLAY_LOGE("plane %{public}d src_x %{public}d src_y %{public}d src_w %{public}d src_h %{public}d", in GetSrcProp() 120 GetId(), src_x, src_y, src_w, src_h); in GetSrcProp()
|
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 86 int32_t src_x, src_y, src_w, src_h;
in GetSrcProp() local 105 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_h prop id"));
in GetSrcProp() 107 src_h = prop.value;
in GetSrcProp() 109 DISPLAY_LOGE("plane %{public}d src_x %{public}d src_y %{public}d src_w %{public}d src_h %{public}d",
in GetSrcProp() 110 GetId(), src_x, src_y, src_w, src_h);
in GetSrcProp()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | bridge_v30.c | 26 u32 src_h = ispdev->isp_sdev.out_crop.height; in crop_on() local 38 if (src_w == dest_w && src_h == dest_h) { in crop_on()
|
H A D | bridge.c | 329 u32 src_h = isp_sd->out_crop.height; in bridge_set_selection() local 341 crop->top = clamp_t(u32, crop->top, 0, src_h); in bridge_set_selection() 343 crop->height = clamp_t(u32, crop->height, CIF_ISP_OUTPUT_H_MIN, src_h - crop->top); in bridge_set_selection()
|
H A D | rkisp.c | 196 u32 src_h = dev->isp_sdev.in_frm.height;
in rkisp_align_sensor_resolution() local 207 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, CIF_ISP_INPUT_H_MAX_V12);
in rkisp_align_sensor_resolution() 211 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, CIF_ISP_INPUT_H_MAX_V13);
in rkisp_align_sensor_resolution() 215 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, CIF_ISP_INPUT_H_MAX_V21);
in rkisp_align_sensor_resolution() 221 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, h);
in rkisp_align_sensor_resolution() 225 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, CIF_ISP_INPUT_H_MAX);
in rkisp_align_sensor_resolution() 285 crop->height = min_t(u32, src_h, CIF_ISP_INPUT_H_MAX);
in rkisp_align_sensor_resolution() 301 crop->top = (src_h - dest_h) >> 1;
in rkisp_align_sensor_resolution()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | bridge_v30.c | 27 u32 src_h = ispdev->isp_sdev.out_crop.height; in crop_on() local 39 if (src_w == dest_w && src_h == dest_h) in crop_on()
|
H A D | bridge.c | 338 u32 src_h = isp_sd->out_crop.height; in bridge_set_selection() local 348 crop->top = clamp_t(u32, crop->top, 0, src_h); in bridge_set_selection() 352 CIF_ISP_OUTPUT_H_MIN, src_h - crop->top); in bridge_set_selection()
|
H A D | rkisp.c | 192 u32 src_h = dev->isp_sdev.in_frm.height; in rkisp_align_sensor_resolution() local 204 h = clamp_t(u32, src_h, in rkisp_align_sensor_resolution() 212 h = clamp_t(u32, src_h, in rkisp_align_sensor_resolution() 220 h = clamp_t(u32, src_h, in rkisp_align_sensor_resolution() 230 h = clamp_t(u32, src_h, CIF_ISP_INPUT_H_MIN, h); in rkisp_align_sensor_resolution() 236 h = clamp_t(u32, src_h, in rkisp_align_sensor_resolution() 303 crop->height = min_t(u32, src_h, CIF_ISP_INPUT_H_MAX); in rkisp_align_sensor_resolution() 319 crop->top = (src_h - dest_h) >> 1; in rkisp_align_sensor_resolution()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop.c | 757 static void scl_vop_cal_scl_fac(struct vop *vop, const struct vop_win *win, uint32_t src_w, uint32_t src_h, in scl_vop_cal_scl_fac() argument 768 uint16_t cbcr_src_h = src_h / vsub; in scl_vop_cal_scl_fac() 780 if (is_alpha_support(pixel_format) && (src_w != dst_w || src_h != dst_h)) { in scl_vop_cal_scl_fac() 791 VOP_SCL_SET(vop, win, scale_yrgb_y, scl_cal_scale2(src_h, dst_h)); in scl_vop_cal_scl_fac() 800 yrgb_ver_scl_mode = scl_get_scl_mode(src_h, dst_h); in scl_vop_cal_scl_fac() 837 val = scl_vop_cal_scale(yrgb_ver_scl_mode, src_h, dst_h, false, vsu_mode, &vskiplines); in scl_vop_cal_scl_fac() 1665 src->y2 = state->src_y + state->src_h; in vop_plane_atomic_check() 1690 if (state->src_w >> 0x10 < 0x4 || state->src_h >> 0x10 < 0x4 || state->crtc_w < 0x4 || state->crtc_h < 0x4) { in vop_plane_atomic_check() 1691 DRM_ERROR("Invalid size: %dx%d->%dx%d, min size is 4x4\n", state->src_w >> 0x10, state->src_h >> 0x10, in vop_plane_atomic_check() 2004 * @src_h 2012 rockchip_atomic_helper_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) rockchip_atomic_helper_update_plane() argument [all...] |
H A D | rockchip_drm_vop.h | 1255 static inline uint16_t scl_get_bili_dn_vskip(int src_h, int dst_h, int vskiplines) in scl_get_bili_dn_vskip() argument 1259 act_height = (src_h + vskiplines - 1) / vskiplines; in scl_get_bili_dn_vskip() 1262 return GET_SCL_FT_BILI_DN(src_h, dst_h) / vskiplines; in scl_get_bili_dn_vskip()
|
H A D | rockchip_drm_vop2.c | 2139 static void vop2_setup_scale(struct vop2 *vop2, const struct vop2_win *win, uint32_t src_w, uint32_t src_h, in vop2_setup_scale() argument 2148 uint16_t cbcr_src_h = src_h / vsub; in vop2_setup_scale() 2156 if (src_h >= (0x4 * dst_h)) { in vop2_setup_scale() 2158 } else if (src_h >= (0x2 * dst_h)) { in vop2_setup_scale() 2163 src_h >>= 0x2; in vop2_setup_scale() 2165 src_h >>= 1; in vop2_setup_scale() 2169 yrgb_ver_scl_mode = scl_get_scl_mode(src_h, dst_h); in vop2_setup_scale() 2196 val = vop2_scale_factor(yrgb_ver_scl_mode, vscl_filter_mode, src_h, dst_h); in vop2_setup_scale() 3625 state->src_x >> 0x10, state->src_y >> 0x10, state->src_w >> 0x10, state->src_h >> 0x10, state->crtc_x, in vop2_plane_atomic_check() 3735 offset += fb->pitches[1] * ((state->src_h >> in vop2_plane_atomic_check() 4263 rockchip_atomic_helper_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) rockchip_atomic_helper_update_plane() argument [all...] |
H A D | rockchip_drm_logo.c | 732 primary_state->src_h = fb_height << 0x10; in setup_initial_state()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 536 state->src_h = val; in drm_atomic_plane_set_property() 595 *val = state->src_h; in drm_atomic_plane_get_property()
|
H A D | drm_atomic_helper.c | 2916 * @src_h: height of source rectangle in @fb 2926 uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) in drm_atomic_helper_update_plane() 2956 plane_state->src_h = src_h; in drm_atomic_helper_update_plane() 2924 drm_atomic_helper_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) drm_atomic_helper_update_plane() argument
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/drv/hi3516cv500/ |
H A D | hifb_reg.h | 1512 unsigned int src_h : 16; /* [31..16] */ member
|
H A D | hifb_graphic_hal.c | 881 gfx_src_reso.bits.src_h = rect->h - 1; in fb_hal_layer_set_src_resolution()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_vop2.c | 2138 uint32_t src_w, uint32_t src_h, uint32_t dst_w, in vop2_setup_scale() 2147 uint16_t cbcr_src_h = src_h / vsub; in vop2_setup_scale() 2155 if (src_h >= (4 * dst_h)) in vop2_setup_scale() 2157 else if (src_h >= (2 * dst_h)) in vop2_setup_scale() 2161 src_h >>= 2; in vop2_setup_scale() 2163 src_h >>= 1; in vop2_setup_scale() 2166 yrgb_ver_scl_mode = scl_get_scl_mode(src_h, dst_h); in vop2_setup_scale() 2193 src_h, dst_h); in vop2_setup_scale() 3632 state->src_h >> 16, state->crtc_x, state->crtc_y, state->crtc_w, in vop2_plane_atomic_check() 3745 offset += fb->pitches[1] * ((state->src_h >> 1 in vop2_plane_atomic_check() 2137 vop2_setup_scale(struct vop2 *vop2, const struct vop2_win *win, uint32_t src_w, uint32_t src_h, uint32_t dst_w, uint32_t dst_h, uint32_t pixel_format) vop2_setup_scale() argument 4262 rockchip_atomic_helper_update_plane(struct drm_plane *plane, struct drm_crtc *crtc, struct drm_framebuffer *fb, int crtc_x, int crtc_y, unsigned int crtc_w, unsigned int crtc_h, uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, struct drm_modeset_acquire_ctx *ctx) rockchip_atomic_helper_update_plane() argument [all...] |
H A D | rockchip_drm_logo.c | 700 primary_state->src_h = fb_height << 16; in setup_initial_state()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/include/ |
H A D | vou_reg.h | 7152 unsigned int src_h : 16; /* [31..16] */ member 7514 unsigned int src_h : 16; /* [31..16] */ member
|