| /openbsd/src/sys/dev/pci/drm/ |
| D | drm_format_helper.c | 122 static unsigned int clip_offset(const struct drm_rect *clip, unsigned int pitch, unsigned int cpp) in clip_offset() argument 124 return clip->y1 * pitch + clip->x1 * cpp; in clip_offset() 137 const struct drm_rect *clip) in drm_fb_clip_offset() argument 139 return clip_offset(clip, pitch, format->cpp[0]); in drm_fb_clip_offset() 146 const struct drm_rect *clip, bool vaddr_cached_hint, in __drm_fb_xfrm() argument 150 unsigned long linepixels = drm_rect_width(clip); in __drm_fb_xfrm() 151 unsigned long lines = drm_rect_height(clip); in __drm_fb_xfrm() 169 dst_pitch = drm_rect_width(clip) * dst_pixsize; in __drm_fb_xfrm() 170 vaddr += clip_offset(clip, fb->pitches[0], fb->format->cpp[0]); in __drm_fb_xfrm() 188 const struct drm_rect *clip, bool vaddr_cached_hint, in __drm_fb_xfrm_toio() argument [all …]
|
| D | drm_fbdev_ttm.c | 152 struct drm_clip_rect *clip, in drm_fbdev_ttm_damage_blit_real() argument 156 size_t offset = clip->y1 * fb->pitches[0]; in drm_fbdev_ttm_damage_blit_real() 157 size_t len = clip->x2 - clip->x1; in drm_fbdev_ttm_damage_blit_real() 163 offset += clip->x1 / 8; in drm_fbdev_ttm_damage_blit_real() 164 len = DIV_ROUND_UP(len + clip->x1 % 8, 8); in drm_fbdev_ttm_damage_blit_real() 167 offset += clip->x1 / 4; in drm_fbdev_ttm_damage_blit_real() 168 len = DIV_ROUND_UP(len + clip->x1 % 4, 4); in drm_fbdev_ttm_damage_blit_real() 171 offset += clip->x1 / 2; in drm_fbdev_ttm_damage_blit_real() 172 len = DIV_ROUND_UP(len + clip->x1 % 2, 2); in drm_fbdev_ttm_damage_blit_real() 175 offset += clip->x1 * fb->format->cpp[0]; in drm_fbdev_ttm_damage_blit_real() [all …]
|
| D | drm_panic.c | 317 static void drm_panic_blit_pixel(struct drm_scanout_buffer *sb, struct drm_rect *clip, in drm_panic_blit_pixel() argument 323 for (y = 0; y < drm_rect_height(clip); y++) in drm_panic_blit_pixel() 324 for (x = 0; x < drm_rect_width(clip); x++) in drm_panic_blit_pixel() 326 sb->set_pixel(sb, clip->x1 + x, clip->y1 + y, fg_color); in drm_panic_blit_pixel() 342 static void drm_panic_blit(struct drm_scanout_buffer *sb, struct drm_rect *clip, in drm_panic_blit() argument 350 return drm_panic_blit_pixel(sb, clip, sbuf8, spitch, scale, fg_color); in drm_panic_blit() 353 iosys_map_incr(&map, clip->y1 * sb->pitch[0] + clip->x1 * sb->format->cpp[0]); in drm_panic_blit() 358 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() 362 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() 366 drm_rect_height(clip), drm_rect_width(clip), scale, fg_color); in drm_panic_blit() [all …]
|
| D | drm_rect.c | 55 static u32 clip_scaled(int src, int dst, int *clip) in clip_scaled() argument 63 *clip = min(*clip, dst); in clip_scaled() 65 tmp = mul_u32_u32(src, dst - *clip); in clip_scaled() 92 const struct drm_rect *clip) in drm_rect_clip_scaled() argument 96 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled() 104 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled() 112 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled() 120 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
|
| D | drm_damage_helper.c | 315 struct drm_rect clip; in drm_atomic_helper_damage_merged() local 324 drm_atomic_for_each_plane_damage(&iter, &clip) { in drm_atomic_helper_damage_merged() 325 rect->x1 = min(rect->x1, clip.x1); in drm_atomic_helper_damage_merged() 326 rect->y1 = min(rect->y1, clip.y1); in drm_atomic_helper_damage_merged() 327 rect->x2 = max(rect->x2, clip.x2); in drm_atomic_helper_damage_merged() 328 rect->y2 = max(rect->y2, clip.y2); in drm_atomic_helper_damage_merged()
|
| D | drm_fbdev_shmem.c | 187 struct drm_clip_rect *clip) in drm_fbdev_shmem_helper_fb_dirty() argument 193 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in drm_fbdev_shmem_helper_fb_dirty() 197 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_shmem_helper_fb_dirty()
|
| D | drm_fbdev_dma.c | 234 struct drm_clip_rect *clip) in drm_fbdev_dma_helper_fb_dirty() argument 240 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in drm_fbdev_dma_helper_fb_dirty() 244 ret = helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in drm_fbdev_dma_helper_fb_dirty()
|
| D | drm_fb_helper.c | 368 struct drm_clip_rect *clip = &helper->damage_clip; in drm_fb_helper_fb_dirty() local 377 clip_copy = *clip; in drm_fb_helper_fb_dirty() 378 clip->x1 = clip->y1 = ~0; in drm_fb_helper_fb_dirty() 379 clip->x2 = clip->y2 = 0; in drm_fb_helper_fb_dirty() 394 clip->x1 = min_t(u32, clip->x1, clip_copy.x1); in drm_fb_helper_fb_dirty() 395 clip->y1 = min_t(u32, clip->y1, clip_copy.y1); in drm_fb_helper_fb_dirty() 396 clip->x2 = max_t(u32, clip->x2, clip_copy.x2); in drm_fb_helper_fb_dirty() 397 clip->y2 = max_t(u32, clip->y2, clip_copy.y2); in drm_fb_helper_fb_dirty() 623 struct drm_clip_rect *clip = &helper->damage_clip; in drm_fb_helper_add_damage_clip() local 627 clip->x1 = min_t(u32, clip->x1, x); in drm_fb_helper_add_damage_clip() [all …]
|
| D | drm_client.c | 572 struct drm_clip_rect clip = { in drm_client_framebuffer_flush() local 580 0, 0, &clip, 1); in drm_client_framebuffer_flush()
|
| D | drm_atomic_helper.c | 877 struct drm_rect clip = {}; in drm_atomic_helper_check_plane_state() local 916 drm_mode_get_hv_timing(&crtc_state->mode, &clip.x2, &clip.y2); in drm_atomic_helper_check_plane_state() 918 plane_state->visible = drm_rect_clip_scaled(src, dst, &clip); in drm_atomic_helper_check_plane_state() 932 if (!can_position && !drm_rect_equals(dst, &clip)) { in drm_atomic_helper_check_plane_state() 936 drm_rect_debug_print("clip: ", &clip, false); in drm_atomic_helper_check_plane_state()
|
| /openbsd/src/sys/dev/pci/drm/include/drm/ |
| D | drm_format_helper.h | 71 const struct drm_rect *clip); 75 const struct drm_rect *clip); 78 const struct drm_rect *clip, bool cached, 82 const struct drm_rect *clip, struct drm_format_conv_state *state); 85 const struct drm_rect *clip, struct drm_format_conv_state *state, 89 const struct drm_rect *clip, struct drm_format_conv_state *state); 92 const struct drm_rect *clip, struct drm_format_conv_state *state); 95 const struct drm_rect *clip, struct drm_format_conv_state *state); 98 const struct drm_rect *clip, struct drm_format_conv_state *state); 101 const struct drm_rect *clip, struct drm_format_conv_state *state); [all …]
|
| D | drm_rect.h | 256 bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip); 258 const struct drm_rect *clip);
|
| D | drm_fb_helper.h | 101 int (*fb_dirty)(struct drm_fb_helper *helper, struct drm_clip_rect *clip);
|
| /openbsd/src/usr.bin/file/magdir/ |
| D | claris | 9 # .pct claris works clip art files 14 514 string \377\377\377\377\000 Claris clip art? 16 514 string \377\377\377\377\001 Claris clip art?
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
| D | 990523-1.c | 9 int clip = 0; in synth_1to1() local 27 if( ( sum ) > 32767.0) *( samples ) = 0x7fff; ( clip )++; ; in synth_1to1()
|
| /openbsd/src/sys/dev/pci/drm/i915/display/ |
| D | intel_fbdev.c | 320 static int intelfb_dirty(struct drm_fb_helper *helper, struct drm_clip_rect *clip) in intelfb_dirty() argument 322 if (!(clip->x1 < clip->x2 && clip->y1 < clip->y2)) in intelfb_dirty() 326 return helper->fb->funcs->dirty(helper->fb, NULL, 0, 0, clip, 1); in intelfb_dirty()
|
| D | intel_atomic_plane.c | 948 const struct drm_rect *clip = &crtc_state->pipe_src; in intel_atomic_plane_check_clipping() local 973 plane_state->uapi.visible = drm_rect_clip_scaled(src, dst, clip); in intel_atomic_plane_check_clipping() 978 !drm_rect_equals(dst, clip)) { in intel_atomic_plane_check_clipping() 981 drm_rect_debug_print("clip: ", clip, false); in intel_atomic_plane_check_clipping() 986 drm_rect_translate(dst, -clip->x1, -clip->y1); in intel_atomic_plane_check_clipping()
|
| D | skl_universal_plane.c | 1368 const struct drm_rect *clip; in icl_plane_update_sel_fetch_noarm() local 1375 clip = &plane_state->psr2_sel_fetch_area; in icl_plane_update_sel_fetch_noarm() 1380 y = (clip->y1 + plane_state->uapi.dst.y1); in icl_plane_update_sel_fetch_noarm() 1392 y = plane_state->view.color_plane[color_plane].y + clip->y1; in icl_plane_update_sel_fetch_noarm() 1394 y = plane_state->view.color_plane[color_plane].y + clip->y1 / 2; in icl_plane_update_sel_fetch_noarm() 1402 val = (drm_rect_height(clip) - 1) << 16; in icl_plane_update_sel_fetch_noarm()
|
| /openbsd/src/sys/dev/pci/drm/amd/display/modules/color/ |
| D | color_gamma.c | 1061 struct fixed31_32 clip = dc_fixpt_one; in build_freesync_hdr() local 1107 if (dc_fixpt_lt(scaledX, clip)) { in build_freesync_hdr() 1166 rgb->r = clip; in build_freesync_hdr() 1167 rgb->g = clip; in build_freesync_hdr() 1168 rgb->b = clip; in build_freesync_hdr()
|
| /openbsd/src/gnu/usr.bin/texinfo/doc/ |
| D | epsf.tex | 307 \def\epsfclipon{\def\epsfclipstring{ clip}}% 308 \def\epsfclipoff{\def\epsfclipstring{\ifepsfdraft\space clip\fi}}%
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/docs/html/faq/ |
| D | index.txt | 490 What follows is a verbatim clip from the "Status" section of the
|
| /openbsd/src/share/dict/ |
| D | web2a | 1690 angle clip 7428 box clip 12158 clip bond 12159 clip-clop 12160 clip-edged 12161 clip hook 12162 clip-marked 12169 clip plate 12170 clip tongs 12171 clip-winged [all …]
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/cpu/ |
| D | m32c.cpu | 2206 ; Memory reference macros that clip addresses appropriately. Refer to 7612 ; clip 7615 (define-pmacro (clip-sem mode imm1 imm2 dest) 7623 (insn-imm1-imm2-dst-Prefixed clip #x8 #x3 #xE clip-sem)
|
| /openbsd/src/gnu/usr.bin/binutils/gdb/ |
| D | ChangeLog-1992 | 2387 for time. First clip names that cannot match. Then clip any
|
| /openbsd/src/share/zoneinfo/datfiles/ |
| D | europe | 1342 # The news clip from 1981 says that "the time between 2 and 3 o'clock does not
|