/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 118 DISPLAY_LOGE("cat not get pane src_w prop id")); in GetSrcProp() 120 src_w = 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 110 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_w prop id")); in GetSrcProp() 112 src_w = 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 110 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_w prop id")); in GetSrcProp() 112 src_w = 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 110 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_w prop id")); in GetSrcProp() 112 src_w = 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 100 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane src_w prop id"));
in GetSrcProp() 102 src_w = 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 | 25 u32 src_w = ispdev->isp_sdev.out_crop.width; in crop_on() local 38 if (src_w == dest_w && src_h == dest_h) { in crop_on()
|
H A D | bridge.c | 328 u32 src_w = isp_sd->out_crop.width; in bridge_set_selection() local 340 crop->left = clamp_t(u32, crop->left, 0, src_w); in bridge_set_selection() 342 crop->width = clamp_t(u32, crop->width, CIF_ISP_OUTPUT_W_MIN, src_w - crop->left); in bridge_set_selection()
|
H A D | rkisp.c | 195 u32 src_w = dev->isp_sdev.in_frm.width;
in rkisp_align_sensor_resolution() local 206 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, CIF_ISP_INPUT_W_MAX_V12);
in rkisp_align_sensor_resolution() 210 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, CIF_ISP_INPUT_W_MAX_V13);
in rkisp_align_sensor_resolution() 214 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, CIF_ISP_INPUT_W_MAX_V21);
in rkisp_align_sensor_resolution() 219 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, w);
in rkisp_align_sensor_resolution() 224 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, CIF_ISP_INPUT_W_MAX);
in rkisp_align_sensor_resolution() 284 crop->width = min_t(u32, src_w, CIF_ISP_INPUT_W_MAX);
in rkisp_align_sensor_resolution() 300 crop->left = ALIGN_DOWN((src_w - dest_w) >> 1, 0x04);
in rkisp_align_sensor_resolution()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | bridge_v30.c | 26 u32 src_w = ispdev->isp_sdev.out_crop.width; in crop_on() local 39 if (src_w == dest_w && src_h == dest_h) in crop_on()
|
H A D | bridge.c | 337 u32 src_w = isp_sd->out_crop.width; in bridge_set_selection() local 347 crop->left = clamp_t(u32, crop->left, 0, src_w); in bridge_set_selection() 350 CIF_ISP_OUTPUT_W_MIN, src_w - crop->left); in bridge_set_selection()
|
H A D | rkisp.c | 191 u32 src_w = dev->isp_sdev.in_frm.width; in rkisp_align_sensor_resolution() local 201 w = clamp_t(u32, src_w, in rkisp_align_sensor_resolution() 209 w = clamp_t(u32, src_w, in rkisp_align_sensor_resolution() 217 w = clamp_t(u32, src_w, in rkisp_align_sensor_resolution() 227 w = clamp_t(u32, src_w, CIF_ISP_INPUT_W_MIN, w); in rkisp_align_sensor_resolution() 233 w = clamp_t(u32, src_w, in rkisp_align_sensor_resolution() 302 crop->width = min_t(u32, src_w, CIF_ISP_INPUT_W_MAX); in rkisp_align_sensor_resolution() 318 crop->left = ALIGN_DOWN((src_w - dest_w) >> 1, 4); 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 767 uint16_t cbcr_src_w = src_w / hsub; 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() 790 VOP_SCL_SET(vop, win, scale_yrgb_x, scl_cal_scale2(src_w, dst_w)); in scl_vop_cal_scl_fac() 799 yrgb_hor_scl_mode = scl_get_scl_mode(src_w, dst_w); in scl_vop_cal_scl_fac() 814 lb_mode = scl_vop_cal_lb_mode(src_w, false); in scl_vop_cal_scl_fac() 835 val = scl_vop_cal_scale(yrgb_hor_scl_mode, src_w, dst_w, true, 0, NULL); in scl_vop_cal_scl_fac() 1664 src->x2 = state->src_x + state->src_w; 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 >> in vop_plane_atomic_check() 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_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 2147 uint16_t cbcr_src_w = src_w / hsub; in vop2_setup_scale() 2168 yrgb_hor_scl_mode = scl_get_scl_mode(src_w, dst_w); in vop2_setup_scale() 2194 val = vop2_scale_factor(yrgb_hor_scl_mode, hscl_filter_mode, src_w, dst_w); 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() 3838 int src_w = drm_rect_width(src) >> 0x10; in vop2_calc_drm_rect_for_splice() local 3848 left_src_w = src_w; in vop2_calc_drm_rect_for_splice() 4254 * @src_w: width of source rectangle in @fb 4266 uint32_t src_y, uint32_t src_w, uint32_t src_h, in rockchip_atomic_helper_update_plane() 4299 pstate->src_w in rockchip_atomic_helper_update_plane() 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 | 731 primary_state->src_w = fb_width << 0x10; in setup_initial_state()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 534 state->src_w = val; in drm_atomic_plane_set_property() 593 *val = state->src_w; in drm_atomic_plane_get_property()
|
H A D | drm_atomic_helper.c | 2915 * @src_w: width 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() 2955 plane_state->src_w = src_w; 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 | 1511 unsigned int src_w : 16; /* [15..0] */ member
|
H A D | hifb_graphic_hal.c | 880 gfx_src_reso.bits.src_w = rect->w - 1; in fb_hal_layer_set_src_resolution()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_logo.c | 699 primary_state->src_w = fb_width << 16; in setup_initial_state()
|
H A D | rockchip_drm_vop2.c | 2138 uint32_t src_w, uint32_t src_h, uint32_t dst_w, in vop2_setup_scale() 2146 uint16_t cbcr_src_w = src_w / hsub; in vop2_setup_scale() 2165 yrgb_hor_scl_mode = scl_get_scl_mode(src_w, dst_w); in vop2_setup_scale() 2190 src_w, dst_w); in vop2_setup_scale() 3509 DRM_ERROR("%s src_w: %d dst_w %d dst(%d %d) must scale down at center in splice mode\n", in vop2_cluter_splice_scale_check() 3631 plane->name, state->src_x >> 16, state->src_y >> 16, state->src_w >> 16, in vop2_plane_atomic_check() 3845 int src_w = drm_rect_width(src) >> 16; in vop2_calc_drm_rect_for_splice() local 3854 left_src_w = src_w; in vop2_calc_drm_rect_for_splice() 4252 * @src_w: width of source rectangle in @fb 4268 uint32_t src_w, uint32_ in rockchip_atomic_helper_update_plane() 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...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/vo/vo_dev/arch/hi3516cv500/include/ |
H A D | vou_reg.h | 7151 unsigned int src_w : 16; /* [15..0] */ member 7513 unsigned int src_w : 16; /* [15..0] */ member
|