Home
last modified time | relevance | path

Searched refs:y1 (Results 1 – 25 of 464) sorted by relevance

12345678910>>...19

/OK3568_Linux_fs/external/xserver/test/
H A Dfixes.c79 barrier.y1 = y - 50; in fixes_pointer_barrier_direction_test()
101 int x1, y1, x2, y2; in fixes_pointer_barriers_test() local
110 barrier.y1 = y - 50; in fixes_pointer_barriers_test()
116 y1 = y; in fixes_pointer_barriers_test()
118 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
124 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
129 y1 = y + 100; in fixes_pointer_barriers_test()
131 assert(!barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
136 y1 = y + 5; in fixes_pointer_barriers_test()
138 assert(barrier_is_blocking(&barrier, x1, y1, x2, y2, &distance)); in fixes_pointer_barriers_test()
[all …]
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_transfer.c62 int y1 = MAX(boxes->y1 + dy_dst, box->y1); in glamor_upload_boxes() local
65 size_t ofs = (y1 - dy_dst + dy_src) * byte_stride; in glamor_upload_boxes()
70 if (x2 <= x1 || y2 <= y1) in glamor_upload_boxes()
76 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
77 x2 - x1, y2 - y1, in glamor_upload_boxes()
81 for (; y1 < y2; y1++, ofs += byte_stride) in glamor_upload_boxes()
83 x1 - box->x1, y1 - box->y1, in glamor_upload_boxes()
120 box.y1 = 0; in glamor_upload_pixmap()
163 int y1 = MAX(boxes->y1 + dy_src, box->y1); in glamor_download_boxes() local
165 size_t ofs = (y1 - dy_src + dy_dst) * byte_stride; in glamor_download_boxes()
[all …]
H A Dglamor_largepixmap.c55 start_y = MAX(y, extent->y1); in __glamor_compute_clipped_regions()
119 temp_box.y1 = y + j * block_h; in __glamor_compute_clipped_regions()
121 temp_box.y2 = MIN(temp_box.y1 + block_h, end_y); in __glamor_compute_clipped_regions()
188 small_box.x1 = small_box.y1 = 0; in glamor_compute_clipped_regions_ext()
222 y = box_array[clipped_regions[i].block_idx].y1; in glamor_compute_clipped_regions_ext()
274 if (pad_box.y1 < 0 && pad_box.y2 <= 0) in _glamor_convert_pad_region()
276 else if (pad_box.y1 >= h && pad_box.y2 > h) in _glamor_convert_pad_region()
277 pad_box.y1 = h - 1; in _glamor_convert_pad_region()
408 y_center_shift = extent->y1 / pixmap_height; in _glamor_compute_clipped_regions()
416 if (extent->y1 < 0) in _glamor_compute_clipped_regions()
[all …]
/OK3568_Linux_fs/kernel/arch/x86/crypto/
H A Dsha256-avx2-asm.S111 y1 = %r14d define
160 rorx $11, e, y1 # y1 = e >> 11 # S1B
168 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1
170 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1
171 rorx $6, e, y1 # y1 = (e >> 6) # S1
174 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1
175 rorx $22, a, y1 # y1 = a >> 22 # S0A
180 xor T1, y1 # y1 = (a>>22) ^ (a>>13) # S0
185 xor T1, y1 # y1 = (a>>22) ^ (a>>13) ^ (a>>2) # S0
192 add y1, h # h = k + w + h + S0 # --
[all …]
H A Dsha512-avx2-asm.S96 y1 = %r14 define
187 rorx $18, e, y1 # y1 = e >> 18 # S1B
193 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1
195 rorx $14, e, y1 # y1 = (e >> 14) # S1
198 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1
199 rorx $39, a, y1 # y1 = a >> 39 # S0A
203 xor T1, y1 # y1 = (a>>39) ^ (a>>34) # S0
207 xor T1, y1 # y1 = (a>>39) ^ (a>>34) ^ (a>>28) # S0
213 add y1, h # h = k + w + h + S0 # --
249 rorx $18, e, y1 # y1 = e >> 18 # S1B
[all …]
H A Dsha256-avx-asm.S114 y1 = %r14d define
159 mov a, y1 # y1 = a
161 MY_ROR (22-13), y1 # y1 = a >> (22-13)
165 xor a, y1 # y1 = a ^ (a >> (22-13)
170 MY_ROR (13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
173 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
176 MY_ROR 2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
188 add y1, h # h = h + S1 + CH + k + w + S0
194 mov a, y1 # y1 = a
198 MY_ROR (22-13), y1 # y1 = a >> (22-13)
[all …]
H A Dsha256-ssse3-asm.S107 y1 = %r14d define
153 mov a, y1 # y1 = a
155 ror $(22-13), y1 # y1 = a >> (22-13)
160 xor a, y1 # y1 = a ^ (a >> (22-13)
165 ror $(13-2), y1 # y1 = (a >> (13-2)) ^ (a >> (22-2))
168 xor a, y1 # y1 = a ^ (a >> (13-2)) ^ (a >> (22-2))
172 ror $2, y1 # y1 = S0 = (a>>2) ^ (a>>13) ^ (a>>22)
185 add y1, h # h = h + S1 + CH + k + w + S0
193 mov a, y1 # y1 = a
198 ror $(22-13), y1 # y1 = a >> (22-13)
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/
H A Ddrm_rect.c47 r1->y1 = max(r1->y1, r2->y1); in drm_rect_intersect()
105 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
110 src->y1 = src->y2 - new_src_h; in drm_rect_clip_scaled()
111 dst->y1 += diff; in drm_rect_clip_scaled()
126 src->y2 = src->y1 + new_src_h; in drm_rect_clip_scaled()
268 r->y1 = height - tmp.y2; in drm_rect_rotate()
269 r->y2 = height - tmp.y1; in drm_rect_rotate()
278 r->x1 = tmp.y1; in drm_rect_rotate()
280 r->y1 = width - tmp.x2; in drm_rect_rotate()
287 r->y1 = height - tmp.y2; in drm_rect_rotate()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Dregion.c155 ((r1)->y2 <= (r2)->y1) || \
156 ((r1)->y1 >= (r2)->y2) ) )
163 ((r)->y1 <= y) )
169 ((r1)->y1 <= (r2)->y1) && \
185 pNextRect->y1 = ny1; \
285 rgn->extents.x1, rgn->extents.y1, rgn->extents.x2, rgn->extents.y2); in RegionPrint()
288 rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in RegionPrint()
299 (reg->extents.y1 > reg->extents.y2)) in RegionIsValid()
304 (reg->extents.y1 == reg->extents.y2) && in RegionIsValid()
317 if ((pboxN->x1 >= pboxN->x2) || (pboxN->y1 >= pboxN->y2)) in RegionIsValid()
[all …]
/OK3568_Linux_fs/external/xserver/fb/
H A Dfbimage.c91 int x1, y1, x2, y2; in fbPutZImage() local
98 y1 = y; in fbPutZImage()
103 if (y1 < pbox->y1) in fbPutZImage()
104 y1 = pbox->y1; in fbPutZImage()
109 if (x1 >= x2 || y1 >= y2) in fbPutZImage()
111 fbBltStip(src + (y1 - y) * srcStride, in fbPutZImage()
114 dst + (y1 + dstYoff) * dstStride, in fbPutZImage()
117 (x2 - x1) * dstBpp, (y2 - y1), alu, pm, dstBpp); in fbPutZImage()
141 int x1, y1, x2, y2; in fbPutXYImage() local
168 y1 = y; in fbPutXYImage()
[all …]
H A Dfbcopy.c60 (pbox->y1 + dy + srcYoff), (pbox->x1 + dstXoff), in fbCopyNtoN()
61 (pbox->y1 + dstYoff), (pbox->x2 - pbox->x1), in fbCopyNtoN()
62 (pbox->y2 - pbox->y1))) in fbCopyNtoN()
69 fbBlt(src + (pbox->y1 + dy + srcYoff) * srcStride, in fbCopyNtoN()
72 dst + (pbox->y1 + dstYoff) * dstStride, in fbCopyNtoN()
76 (pbox->y2 - pbox->y1), alu, pm, dstBpp, reverse, upsidedown); in fbCopyNtoN()
110 fbBlt(src + (pbox->y1 + dy + srcYoff) * srcStride, in fbCopy1toN()
113 dst + (pbox->y1 + dstYoff) * dstStride, in fbCopy1toN()
117 (pbox->y2 - pbox->y1), in fbCopy1toN()
123 fbBltOne((FbStip *) (src + (pbox->y1 + dy + srcYoff) * srcStride), in fbCopy1toN()
[all …]
H A Dfbseg.c42 int axis, int x1, int y1, int e, int e1, int e3, int len) in fbBresSolid() argument
55 dst += ((y1 + dstYoff) * dstStride); in fbBresSolid()
113 int signdy, int axis, int x1, int y1, int e, int e1, int e3, int len) in fbBresDash() argument
136 dst += ((y1 + dstYoff) * dstStride); in fbBresDash()
186 int signdy, int axis, int x1, int y1, int e, int e1, int e3, int len) in fbBresFill() argument
189 fbFill(pDrawable, pGC, x1, y1, 1, 1); in fbBresFill()
195 y1 += signdy; in fbBresFill()
199 y1 += signdy; in fbBresFill()
227 int axis, int x1, int y1, int e, int e1, int e3, int len) in fbBresFillDash() argument
258 fbFill(pDrawable, pGC, x1, y1, 1, 1); in fbBresFillDash()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/selftests/
H A Dtest-drm_rect.c53 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped()
56 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped()
69 src.y1 != 0 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_not_clipped()
72 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_not_clipped()
85 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_not_clipped()
88 dst.y1 != 0 || dst.y2 != 2, in igt_drm_rect_clip_scaled_not_clipped()
109 src.y1 != 0 || src.y2 != 1 << 16, in igt_drm_rect_clip_scaled_clipped()
112 dst.y1 != 0 || dst.y2 != 1, in igt_drm_rect_clip_scaled_clipped()
125 src.y1 != 1 << 16 || src.y2 != 2 << 16, in igt_drm_rect_clip_scaled_clipped()
128 dst.y1 != 1 || dst.y2 != 2, in igt_drm_rect_clip_scaled_clipped()
[all …]
/OK3568_Linux_fs/external/rk_pcba_test/pcba_minui/
H A Dtouch_test.c41 int draw_line(int x1, int y1, int x2, int y2) in draw_line() argument
49 for(y = MIN(y1, y2); y <= MAX(y1, y2); y++) in draw_line()
51 }else if(y1 == y2){ in draw_line()
52 y = y1; in draw_line()
55 }else if(ABS(x1-x2) > ABS(y1-y2)){ in draw_line()
57 y = ((y2 - y1) * (x - x1)) / (x2 - x1) + y1; in draw_line()
61 for(y = MIN(y1, y2); y <= MAX(y1, y2); y++){ in draw_line()
62 x = ((x2 - x1) * (y - y1)) / (y2 - y1) + x1; in draw_line()
/OK3568_Linux_fs/kernel/include/drm/
H A Ddrm_rect.h44 int x1, y1, x2, y2; member
55 #define DRM_RECT_ARG(r) drm_rect_width(r), drm_rect_height(r), (r)->x1, (r)->y1
72 (r)->y1 >> 16, (((r)->y1 & 0xffff) * 15625) >> 10
86 r->y1 = y; in drm_rect_init()
106 r->y1 -= dh >> 1; in drm_rect_adjust_size()
123 r->y1 += dy; in drm_rect_translate()
139 drm_rect_translate(r, x - r->x1, y - r->y1); in drm_rect_translate_to()
153 r->y1 /= vert; in drm_rect_downscale()
179 return r->y2 - r->y1; in drm_rect_height()
206 r1->y1 == r2->y1 && r1->y2 == r2->y2; in drm_rect_equals()
/OK3568_Linux_fs/external/xserver/miext/damage/
H A Ddamage.c55 (a)->y1 == (b)->y1 && \
231 box.y1 = draw_y; in _damageRegionAppend()
248 pDamageRegion->extents.y2 - pDamageRegion->extents.y1, in _damageRegionAppend()
249 pDamageRegion->extents.x1, pDamageRegion->extents.y1, in _damageRegionAppend()
442 if(box.y1 < extents->y1) box.y1 = extents->y1; \
449 box.y1 += pDrawable->y; \
459 (((box.x2 - box.x1) > 0) && ((box.y2 - box.y1) > 0))
469 if(box.y1 < extents->y1) box.y1 = extents->y1; \
496 box.y1 = yDst + pDst->pDrawable->y; in damageComposite()
498 box.y2 = box.y1 + height; in damageComposite()
[all …]
/OK3568_Linux_fs/external/xserver/miext/rootless/
H A DrootlessGC.c434 box.y2 = box.y1 = ppt->y; in RootlessFillSpans()
443 if (box.y1 > ppt->y) in RootlessFillSpans()
444 box.y1 = ppt->y; in RootlessFillSpans()
487 box.y2 = box.y1 = ppt->y; in RootlessSetSpans()
496 if (box.y1 > ppt->y) in RootlessSetSpans()
497 box.y1 = ppt->y; in RootlessSetSpans()
530 box.y1 = y + dst->y; in RootlessPutImage()
531 box.y2 = box.y1 + h; in RootlessPutImage()
570 box.y1 = dsty + dst->y; in RootlessCopyArea()
571 box.y2 = box.y1 + h; in RootlessCopyArea()
[all …]
/OK3568_Linux_fs/external/xserver/exa/
H A Dexa_accel.c84 extentY1 = pextent->y1; in exaFillSpans()
115 if (pbox->y1 <= fullY1 && fullY1 < pbox->y2) { in exaFillSpans()
194 int y1 = y; in exaDoPutImage() local
202 if (y1 < pbox->y1) in exaDoPutImage()
203 y1 = pbox->y1; in exaDoPutImage()
208 if (x1 >= x2 || y1 >= y2) in exaDoPutImage()
211 src = bits + (y1 - y) * src_stride + (x1 - x) * (bpp / 8); in exaDoPutImage()
212 ok = pExaScr->info->UploadToScreen(pPix, x1 + xoff, y1 + yoff, in exaDoPutImage()
213 x2 - x1, y2 - y1, src, src_stride); in exaDoPutImage()
260 if (dx >= 0 && (src_off_y + pbox->y1 + dy) != pbox->y1) { in exaCopyNtoNTwoDir()
[all …]
/OK3568_Linux_fs/kernel/arch/sparc/include/asm/
H A Dsfp-machine_32.h78 #define __FP_FRAC_ADD_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
88 "rI" ((USItype)(y1)), \
93 #define __FP_FRAC_SUB_3(r2,r1,r0,x2,x1,x0,y2,y1,y0) \ argument
103 "rI" ((USItype)(y1)), \
108 #define __FP_FRAC_ADD_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
125 "rI" ((USItype)(y1)), \
133 #define __FP_FRAC_SUB_4(r3,r2,r1,r0,x3,x2,x1,x0,y3,y2,y1,y0) \ argument
150 "rI" ((USItype)(y1)), \
158 #define __FP_FRAC_DEC_3(x2,x1,x0,y2,y1,y0) __FP_FRAC_SUB_3(x2,x1,x0,x2,x1,x0,y2,y1,y0) argument
160 #define __FP_FRAC_DEC_4(x3,x2,x1,x0,y3,y2,y1,y0) __FP_FRAC_SUB_4(x3,x2,x1,x0,x3,x2,x1,x0,y3,y2,y1,y… argument
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/libtiff/tiff/
H A DCVE-2022-2869.patch24 y1 = _TIFFClampDoubleToUInt32(crop->corners[i].Y1);
49 - if (y1 < 1)
50 - crop->regionlist[i].y1 = 0;
52 - crop->regionlist[i].y1 = (uint32_t) (y1 - 1);
53 + if (y1 > image->length - 1)
54 + crop->regionlist[i].y1 = image->length - 1;
55 + else if (y1 > 0)
56 + crop->regionlist[i].y1 = (uint32_t)(y1 - 1);
65 zlength = crop->regionlist[i].y2 - crop->regionlist[i].y1 + 1;
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/src/mbgl/layout/
H A Dclip_lines.cpp9 const int16_t x1, const int16_t y1, const int16_t x2, const int16_t y2) { in clipLines() argument
31 if (p0.y < y1 && p1.y < y1) { in clipLines()
33 } else if (p0.y < y1) { in clipLines()
34 …{ static_cast<int16_t>(::round(p0.x + (p1.x - p0.x) * ((float)(y1 - p0.y) / (p1.y - p0.y)))), y1 }; in clipLines()
35 } else if (p1.y < y1) { in clipLines()
36 …{ static_cast<int16_t>(::round(p0.x + (p1.x - p0.x) * ((float)(y1 - p0.y) / (p1.y - p0.y)))), y1 }; in clipLines()
/OK3568_Linux_fs/kernel/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc1_5/
H A Dia_css_ctc1_5.host.c26 int y1, int y0, int x1, int x0) in ctc_gradient() argument
29 int dy = y1 - y0; in ctc_gradient()
47 assert(y1 >= 0 && y1 <= max_dydx); in ctc_gradient()
80 to->y1 = from->y1; in ia_css_ctc_encode()
95 from->y1, from->y0, in ia_css_ctc_encode()
100 from->y2, from->y1, in ia_css_ctc_encode()
/OK3568_Linux_fs/app/forlinx/forlinx_up4_qt/qopenglwidget/
H A Dglwidget.cpp440 qreal y1 = -0.14f; in createGeometry() local
448 quad(x1, y1, x2, y2, y2, x2, y1, x1); in createGeometry()
451 extrude(x1, y1, x2, y2); in createGeometry()
453 extrude(y2, x2, y1, x1); in createGeometry()
454 extrude(y1, x1, x1, y1); in createGeometry()
485 void GLWidget::quad(qreal x1, qreal y1, qreal x2, qreal y2, qreal x3, qreal y3, qreal x4, qreal y4) in quad() argument
487 m_vertices << QVector3D(x1, y1, -0.05f); in quad()
496 (QVector3D(x2 - x1, y2 - y1, 0.0f), QVector3D(x4 - x1, y4 - y1, 0.0f)); in quad()
508 m_vertices << QVector3D(x1, y1, 0.05f); in quad()
515 (QVector3D(x2 - x4, y2 - y4, 0.0f), QVector3D(x1 - x4, y1 - y4, 0.0f)); in quad()
[all …]
/OK3568_Linux_fs/app/forlinx/forlinx_qt/qopenglwidget/
H A Dglwidget.cpp440 qreal y1 = -0.14f; in createGeometry() local
448 quad(x1, y1, x2, y2, y2, x2, y1, x1); in createGeometry()
451 extrude(x1, y1, x2, y2); in createGeometry()
453 extrude(y2, x2, y1, x1); in createGeometry()
454 extrude(y1, x1, x1, y1); in createGeometry()
485 void GLWidget::quad(qreal x1, qreal y1, qreal x2, qreal y2, qreal x3, qreal y3, qreal x4, qreal y4) in quad() argument
487 m_vertices << QVector3D(x1, y1, -0.05f); in quad()
496 (QVector3D(x2 - x1, y2 - y1, 0.0f), QVector3D(x4 - x1, y4 - y1, 0.0f)); in quad()
508 m_vertices << QVector3D(x1, y1, 0.05f); in quad()
515 (QVector3D(x2 - x4, y2 - y4, 0.0f), QVector3D(x1 - x4, y1 - y4, 0.0f)); in quad()
[all …]
/OK3568_Linux_fs/external/xserver/render/
H A Dmitrap.c52 box->y1 = MAXSHORT; in miTrapezoidBounds()
57 INT16 x1, y1, x2, y2; in miTrapezoidBounds() local
61 y1 = xFixedToInt(traps->top); in miTrapezoidBounds()
62 if (y1 < box->y1) in miTrapezoidBounds()
63 box->y1 = y1; in miTrapezoidBounds()

12345678910>>...19