Home
last modified time | relevance | path

Searched refs:src_y (Results 1 – 25 of 74) sorted by relevance

123

/linux/drivers/video/fbdev/sis/
H A Dsis_accel.c105 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument
109 if(src_y >= 2048) { in SiS300SubsequentScreenToScreenCopy()
110 srcbase = ivideo->video_linelength * src_y; in SiS300SubsequentScreenToScreenCopy()
111 src_y = 0; in SiS300SubsequentScreenToScreenCopy()
126 src_y += height-1; in SiS300SubsequentScreenToScreenCopy()
130 SiS300SetupSRCXY(src_x, src_y) in SiS300SubsequentScreenToScreenCopy()
191 SiS310SubsequentScreenToScreenCopy(struct sis_video_info *ivideo, int src_x, int src_y, in SiS310SubsequentScreenToScreenCopy() argument
195 int mymin = min(src_y, dst_y); in SiS310SubsequentScreenToScreenCopy()
196 int mymax = max(src_y, dst_y); in SiS310SubsequentScreenToScreenCopy()
209 if((src_y >= 2048) || (dst_y >= 2048)) { in SiS310SubsequentScreenToScreenCopy()
[all …]
/linux/drivers/gpu/drm/armada/
H A Darmada_trace.h34 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h),
35 TP_ARGS(plane, crtc, fb, crtc_x, crtc_y, crtc_w, crtc_h, src_x, src_y, src_w, src_h),
45 __field(u32, src_y)
58 __entry->src_y = src_y;
66 __entry->src_x >> 16, __entry->src_y >> 16,
/linux/drivers/video/fbdev/via/
H A Daccel.c41 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_1() argument
58 if (src_y < dst_y) { in hw_bitblt_1()
60 src_y += height - 1; in hw_bitblt_1()
85 || src_y & 0xFFFFF000) { in hw_bitblt_1()
87 "x/y %d %d\n", src_x, src_y); in hw_bitblt_1()
90 tmp = src_x | (src_y << 16); in hw_bitblt_1()
174 u32 *src_mem, u32 src_addr, u32 src_pitch, u32 src_x, u32 src_y, in hw_bitblt_2() argument
191 if (src_y < dst_y) { in hw_bitblt_2()
193 src_y += height - 1; in hw_bitblt_2()
254 || src_y & 0xFFFFF000) { in hw_bitblt_2()
[all …]
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-resizer.c209 const struct v4l2_area *src_y, in rkisp1_rsz_config_regs() argument
228 if (sink_y->width != src_y->width) { in rkisp1_rsz_config_regs()
230 if (sink_y->width < src_y->width) in rkisp1_rsz_config_regs()
232 ratio = rkisp1_rsz_calc_ratio(sink_y->width, src_y->width); in rkisp1_rsz_config_regs()
245 if (sink_y->height != src_y->height) { in rkisp1_rsz_config_regs()
247 if (sink_y->height < src_y->height) in rkisp1_rsz_config_regs()
249 ratio = rkisp1_rsz_calc_ratio(sink_y->height, src_y->height); in rkisp1_rsz_config_regs()
273 struct v4l2_area src_y, src_c; in rkisp1_rsz_config() local
295 src_y.width = src_fmt->width; in rkisp1_rsz_config()
296 src_y.height = src_fmt->height; in rkisp1_rsz_config()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_plane_helper.c111 .src_y = src->y1, in drm_plane_helper_check_update()
168 uint32_t src_x, uint32_t src_y, in drm_plane_helper_update_primary() argument
177 .y = src_y >> 16, in drm_plane_helper_update_primary()
181 .y1 = src_y, in drm_plane_helper_update_primary()
183 .y2 = src_y + src_h, in drm_plane_helper_update_primary()
H A Ddrm_plane.c925 uint32_t src_x, uint32_t src_y, in __setplane_check() argument
953 ret = drm_framebuffer_check_src_coords(src_x, src_y, src_w, src_h, fb); in __setplane_check()
997 uint32_t src_x, uint32_t src_y, in __setplane_internal() argument
1020 src_x, src_y, src_w, src_h); in __setplane_internal()
1027 src_x, src_y, src_w, src_h, ctx); in __setplane_internal()
1049 uint32_t src_x, uint32_t src_y, in __setplane_atomic() argument
1070 src_x, src_y, src_w, src_h); in __setplane_atomic()
1076 src_x, src_y, src_w, src_h, ctx); in __setplane_atomic()
1085 uint32_t src_x, uint32_t src_y, in setplane_internal() argument
1097 src_x, src_y, src_w, src_h, &ctx); in setplane_internal()
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.c209 u32 src_x, u32 src_y, u32 src_w, u32 src_h) in komeda_fb_check_src_coords() argument
216 if ((src_x + src_w > fb->width) || (src_y + src_h > fb->height)) { in komeda_fb_check_src_coords()
222 (src_y % info->vsub) || (src_h % info->vsub)) { in komeda_fb_check_src_coords()
224 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
229 (src_y % block_h) || (src_h % block_h)) { in komeda_fb_check_src_coords()
231 src_x, src_y, src_w, src_h, info->format); in komeda_fb_check_src_coords()
H A Dkomeda_framebuffer.h42 u32 src_x, u32 src_y, u32 src_w, u32 src_h);
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Doverlay.c94 uint32_t src_x, uint32_t src_y, uint32_t src_w, uint32_t src_h, in verify_scaling() argument
103 if (src_x != 0 || src_y != 0) { in verify_scaling()
105 src_x, src_y); in verify_scaling()
116 uint32_t src_x, uint32_t src_y, in nv10_update_plane() argument
136 src_y >>= 16; in nv10_update_plane()
157 nvif_wr32(dev, NV_PVIDEO_POINT_IN(flip), src_y << 16 | src_x); in nv10_update_plane()
367 uint32_t src_x, uint32_t src_y, in nv04_update_plane() argument
382 src_y >>= 16; in nv04_update_plane()
386 ret = verify_scaling(fb, 0, src_x, src_y, src_w, src_h, crtc_w, crtc_h); in nv04_update_plane()
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_plane.c47 uint32_t src_x, uint32_t src_y,
126 new_state->src_x, new_state->src_y, in mdp4_plane_atomic_update()
198 uint32_t src_x, uint32_t src_y, in mdp4_plane_mode_set() argument
220 src_y = src_y >> 16; in mdp4_plane_mode_set()
225 fb->base.id, src_x, src_y, src_w, src_h, in mdp4_plane_mode_set()
289 MDP4_PIPE_SRC_XY_Y(src_y)); in mdp4_plane_mode_set()
/linux/drivers/gpu/drm/exynos/
H A Dexynos_drm_plane.c65 unsigned int src_x, src_y; in exynos_plane_mode_set() local
82 src_y = state->src_y >> 16; in exynos_plane_mode_set()
102 src_y += ((-crtc_y) * exynos_state->v_ratio) >> 16; in exynos_plane_mode_set()
108 exynos_state->src.y = src_y; in exynos_plane_mode_set()
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c340 unsigned int src_x, src_y; in vimc_scaler_fill_src_frame() local
344 for (src_y = 0; src_y < src_fmt->height; src_y++) { in vimc_scaler_fill_src_frame()
347 snk_y = (src_y * r->height) / src_fmt->height + r->top; in vimc_scaler_fill_src_frame()
/linux/include/drm/
H A Ddrm_plane.h116 uint32_t src_y; member
270 .y1 = state->src_y, in drm_plane_state_src()
272 .y2 = state->src_y + state->src_h, in drm_plane_state_src()
323 uint32_t src_x, uint32_t src_y,
H A Ddrm_plane_helper.h38 uint32_t src_x, uint32_t src_y,
/linux/drivers/media/pci/ivtv/
H A Divtv-yuv.c40 y_decode_height = uv_decode_height = f->src_h + f->src_y; in ivtv_yuv_prep_user_dma()
396 f->tru_h, f->src_h, f->dst_h, f->src_y, f->dst_y); in ivtv_yuv_handle_vertical()
411 if (f->src_y < 8) { in ivtv_yuv_handle_vertical()
412 src_minor_uv = f->src_y; in ivtv_yuv_handle_vertical()
416 src_major_uv = f->src_y - 8; in ivtv_yuv_handle_vertical()
668 if (f->src_y < 0) in ivtv_yuv_window_setup()
669 f->src_y = 0; in ivtv_yuv_window_setup()
687 f->src_y += osd_crop / 2; in ivtv_yuv_window_setup()
705 f->src_y += (osd_scale * osd_crop) >> 16; in ivtv_yuv_window_setup()
757 f->src_h += f->src_y & 1; in ivtv_yuv_window_setup()
[all …]
/linux/drivers/video/
H A Dsticore.c197 sti_set(struct sti_struct *sti, int src_y, int src_x, in sti_set() argument
205 .src_y = src_y, in sti_set()
207 .dest_y = src_y, in sti_set()
230 sti_clear(struct sti_struct *sti, int src_y, int src_x, in sti_clear() argument
238 .src_y = src_y * font->height, in sti_clear()
240 .dest_y = src_y * font->height, in sti_clear()
267 sti_bmove(struct sti_struct *sti, int src_y, int src_x, in sti_bmove() argument
274 .src_y = src_y * font->height, in sti_bmove()
/linux/include/video/
H A Dsticore.h296 s16 src_y; /* source upper left pixel y location */ member
398 void sti_set(struct sti_struct *sti, int src_y, int src_x,
400 void sti_clear(struct sti_struct *sti, int src_y, int src_x,
402 void sti_bmove(struct sti_struct *sti, int src_y, int src_x,
/linux/drivers/gpu/drm/virtio/
H A Dvirtgpu_plane.c207 plane->state->src_y != old_state->src_y || in virtio_gpu_primary_plane_update()
217 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
226 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
233 plane->state->src_y >> 16); in virtio_gpu_primary_plane_update()
/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_plane.c432 plane->state->src_y = new_state->src_y; in mdp5_plane_atomic_async_update()
758 u32 src_x, u32 src_y, in mdp5_hwpipe_mode_set() argument
776 MDP5_PIPE_SRC_XY_Y(src_y)); in mdp5_hwpipe_mode_set()
865 uint32_t src_x, src_y; in mdp5_plane_mode_set() local
880 src_y = src->y1; in mdp5_plane_mode_set()
891 src_y = src_y >> 16; in mdp5_plane_mode_set()
899 fb->base.id, src_x, src_y, src_w, src_h, in mdp5_plane_mode_set()
947 src_x, src_y, src_w, src_h); in mdp5_plane_mode_set()
953 src_x + src_w, src_y, src_w, src_h); in mdp5_plane_mode_set()
/linux/drivers/gpu/drm/sti/
H A Dsti_hqvdp.c1033 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_check() local
1050 src_y = new_plane_state->src_y >> 16; in sti_hqvdp_atomic_check()
1111 src_w, src_h, src_x, src_y); in sti_hqvdp_atomic_check()
1129 int src_x, src_y, src_w, src_h; in sti_hqvdp_atomic_update() local
1144 (oldstate->src_y == newstate->src_y) && in sti_hqvdp_atomic_update()
1160 src_y = newstate->src_y >> 16; in sti_hqvdp_atomic_update()
1208 cmd->top.input_viewport_ori = src_y << 16 | src_x; in sti_hqvdp_atomic_update()
/linux/drivers/video/fbdev/
H A Defifb.c148 u32 bmp_width, bmp_height, bmp_pitch, dst_x, y, src_y; in efifb_show_boot_graphics() local
223 src_y = y - bgrt_tab.image_offset_y; in efifb_show_boot_graphics()
226 src_y = (bmp_height - 1) - src_y; in efifb_show_boot_graphics()
231 src_y * bmp_pitch, in efifb_show_boot_graphics()
/linux/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c69 mock->src_y = params->src.y; in drm_plane_helper_init()
83 unsigned int src_x, unsigned int src_y, in check_src_eq() argument
86 struct drm_rect expected = DRM_RECT_INIT(src_x, src_y, src_w, src_h); in check_src_eq()
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c53 uint32_t src_y; member
727 hstate->src_y = s->src.y1; in atmel_hlcdc_plane_atomic_check()
735 if ((hstate->src_x | hstate->src_y | hstate->src_w | hstate->src_h) & in atmel_hlcdc_plane_atomic_check()
740 hstate->src_y >>= 16; in atmel_hlcdc_plane_atomic_check()
759 offset = (hstate->src_y / ydiv) * in atmel_hlcdc_plane_atomic_check()
769 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
778 offset = ((hstate->src_y + hstate->src_h - 1) / in atmel_hlcdc_plane_atomic_check()
787 offset = (hstate->src_y / ydiv) * fb->pitches[i]; in atmel_hlcdc_plane_atomic_check()
/linux/drivers/gpu/drm/arm/
H A Dmalidp_planes.c534 if ((new_plane_state->src_x >> 16) % block_w || (new_plane_state->src_y >> 16) % block_h) { in malidp_de_plane_check()
742 u32 src_w, src_h, val = 0, src_x, src_y; in malidp_de_set_plane_afbc() local
760 src_y = plane->state->src_y >> 16; in malidp_de_set_plane_afbc()
767 val = ((fb->height - (src_y + src_h)) << MALIDP_AD_CROP_BOTTOM_OFFSET) | in malidp_de_set_plane_afbc()
768 src_y; in malidp_de_set_plane_afbc()
/linux/drivers/gpu/drm/tidss/
H A Dtidss_plane.c81 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
84 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()

123