Searched refs:y0 (Results 1 - 25 of 276) sorted by relevance

1234567891011>>

/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_rect.h41 int y0, y1; member in struct:u_rect
53 a->y1 < b->y0 ||
54 b->y1 < a->y0 ||
56 a->y1 < a->y0 ||
58 b->y1 < b->y0));
71 if (b->y0 < a->y0) b->y0 = a->y0;
79 return (r->x1 - r->x0) * (r->y1 - r->y0);
[all...]
H A Du_format_yuv.c492 uint8_t y0, y1, u, v; local in function:util_format_uyvy_unpack_rgba_float
498 y0 = (value >> 8) & 0xff;
502 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);
515 y0 = (value >> 8) & 0xff;
519 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);
540 uint8_t y0, y1, u, v; local in function:util_format_uyvy_unpack_rgba_8unorm
546 y0 = (value >> 8) & 0xff;
550 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]);
563 y0 = (value >> 8) & 0xff;
567 util_format_yuv_to_rgb_8unorm(y0,
587 uint8_t y0, y1, u, v; local in function:util_format_uyvy_pack_rgba_float
591 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_uyvy_pack_rgba_float
640 uint8_t y0, y1, u, v; local in function:util_format_uyvy_pack_rgba_8unorm
644 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_uyvy_pack_rgba_8unorm
713 uint8_t y0, y1, u, v; local in function:util_format_yuyv_unpack_rgba_float
761 uint8_t y0, y1, u, v; local in function:util_format_yuyv_unpack_rgba_8unorm
808 uint8_t y0, y1, u, v; local in function:util_format_yuyv_pack_rgba_float
812 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_yuyv_pack_rgba_float
861 uint8_t y0, y1, u, v; local in function:util_format_yuyv_pack_rgba_8unorm
865 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_yuyv_pack_rgba_8unorm
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_rect.h41 int y0, y1; member in struct:u_rect
53 a->y1 < b->y0 ||
54 b->y1 < a->y0 ||
56 a->y1 < a->y0 ||
58 b->y1 < b->y0));
71 if (b->y0 < a->y0) b->y0 = a->y0;
79 return (r->x1 - r->x0) * (r->y1 - r->y0);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_stipple.c32 const int y0 = quad->input.y0; local in function:stipple_quad
33 const int y1 = y0 + 1;
34 const uint stipple0 = softpipe->poly_stipple.stipple[y0 % 32];
H A Dsp_quad.h64 int x0, y0; /**< quad window pos, always even */ member in struct:quad_header_input
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/softpipe/
H A Dsp_quad_stipple.c32 const int y0 = quad->input.y0; local in function:stipple_quad
33 const int y1 = y0 + 1;
34 const uint stipple0 = softpipe->poly_stipple.stipple[y0 % 32];
H A Dsp_quad.h64 int x0, y0; /**< quad window pos, always even */ member in struct:quad_header_input
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c123 float y0 = info->v0[0][1] - setup->pixel_offset; local in function:texcoord_coef
127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0);
139 float y0 = info->v0[0][1] - setup->pixel_offset; local in function:texcoord_coef
147 info->a0[slot][1] = 0.5 - (dadx * x0 + dady * y0);
371 int x0, y0; local in function:try_setup_point
378 y0 = subpixel_snap(v0[0][1] - setup->pixel_offset) - fixed_width/2;
382 bbox.y0 = (y0 + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
383 bbox.y1 = (y0 + fixed_width + (FIXED_ONE-1) + adj) >> FIXED_ORDER;
400 const int y0 local in function:try_setup_point
[all...]
/xsrc/external/mit/MesaLib/dist/src/util/format/
H A Du_format_yuv.c496 uint8_t y0, y1, u, v; local in function:util_format_uyvy_unpack_rgba_float
502 y0 = (value >> 8) & 0xff;
506 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);
519 y0 = (value >> 8) & 0xff;
523 util_format_yuv_to_rgb_float(y0, u, v, &dst[0], &dst[1], &dst[2]);
544 uint8_t y0, y1, u, v; local in function:util_format_uyvy_unpack_rgba_8unorm
550 y0 = (value >> 8) & 0xff;
554 util_format_yuv_to_rgb_8unorm(y0, u, v, &dst[0], &dst[1], &dst[2]);
567 y0 = (value >> 8) & 0xff;
571 util_format_yuv_to_rgb_8unorm(y0,
591 uint8_t y0, y1, u, v; local in function:util_format_uyvy_pack_rgba_float
595 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_uyvy_pack_rgba_float
644 uint8_t y0, y1, u, v; local in function:util_format_uyvy_pack_rgba_8unorm
648 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_uyvy_pack_rgba_8unorm
718 uint8_t y0, y1, u, v; local in function:util_format_yuyv_unpack_rgba_float
766 uint8_t y0, y1, u, v; local in function:util_format_yuyv_unpack_rgba_8unorm
813 uint8_t y0, y1, u, v; local in function:util_format_yuyv_pack_rgba_float
817 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_yuyv_pack_rgba_float
866 uint8_t y0, y1, u, v; local in function:util_format_yuyv_pack_rgba_8unorm
870 uint8_t y0, y1, u0, u1, v0, v1, u, v; local in function:util_format_yuyv_pack_rgba_8unorm
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/program/
H A Dprog_noise.c257 float y0 = y - Y0; local in function:_mesa_noise2
266 if (x0 > y0) {
280 y1 = y0 - j1 + G2;
282 y2 = y0 - 1.0f + 2.0f * G2;
289 t0 = 0.5f - x0 * x0 - y0 * y0;
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
343 float y0 = y - Y0; local in function:_mesa_noise3
356 if (x0 >= y0) {
357 if (y0 >
504 float y0 = y - Y0; local in function:_mesa_noise4
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/program/
H A Dprog_noise.c257 float y0 = y - Y0; local in function:_mesa_noise2
266 if (x0 > y0) {
280 y1 = y0 - j1 + G2;
282 y2 = y0 - 1.0f + 2.0f * G2;
289 t0 = 0.5f - x0 * x0 - y0 * y0;
294 n0 = t0 * t0 * grad2(perm[ii + perm[jj]], x0, y0);
343 float y0 = y - Y0; local in function:_mesa_noise3
356 if (x0 >= y0) {
357 if (y0 >
504 float y0 = y - Y0; local in function:_mesa_noise4
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/intel/isl/
H A Disl_tiled_memcpy.c222 * Each row from y0 to y1 is copied in three parts: [x0,x1), [x1,x2), [x2,x3).
228 * address to copy from, though copying begins at (x0, y0).
234 uint32_t y0, uint32_t y1,
253 uint32_t y0, uint32_t y1,
265 src += (ptrdiff_t)y0 * src_pitch;
267 for (yo = y0 * xtile_width; yo < y1 * xtile_width; yo += xtile_width) {
295 uint32_t y0, uint32_t y3,
314 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4));
330 src += (ptrdiff_t)y0 * src_pitch;
332 if (y0 !
252 linear_to_xtiled(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
294 linear_to_ytiled(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y3,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
416 xtiled_to_linear(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
458 ytiled_to_linear(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y3,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
630 linear_to_xtiled_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
675 linear_to_ytiled_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
719 xtiled_to_linear_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
775 ytiled_to_linear_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
880 uint32_t y0 = MAX2(yt1, yt); local in function:intel_linear_to_tiled
980 uint32_t y0 = MAX2(yt1, yt); local in function:intel_tiled_to_linear
[all...]
/xsrc/external/mit/MesaLib/dist/src/intel/isl/
H A Disl_tiled_memcpy.c220 * Each row from y0 to y1 is copied in three parts: [x0,x1), [x1,x2), [x2,x3).
226 * address to copy from, though copying begins at (x0, y0).
232 uint32_t y0, uint32_t y1,
251 uint32_t y0, uint32_t y1,
263 src += (ptrdiff_t)y0 * src_pitch;
265 for (yo = y0 * xtile_width; yo < y1 * xtile_width; yo += xtile_width) {
293 uint32_t y0, uint32_t y3,
312 uint32_t y1 = MIN2(y3, ALIGN_UP(y0, 4));
328 src += (ptrdiff_t)y0 * src_pitch;
330 if (y0 !
250 linear_to_xtiled(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
292 linear_to_ytiled(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y3,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
414 xtiled_to_linear(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
456 ytiled_to_linear(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y3,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_mem_copy_fn mem_copy,isl_mem_copy_fn mem_copy_align16) argument
628 linear_to_xtiled_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
673 linear_to_ytiled_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t src_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
717 xtiled_to_linear_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
773 ytiled_to_linear_faster(uint32_t x0,uint32_t x1,uint32_t x2,uint32_t x3,uint32_t y0,uint32_t y1,char * dst,const char * src,int32_t dst_pitch,uint32_t swizzle_bit,isl_memcpy_type copy_type) argument
878 uint32_t y0 = MAX2(yt1, yt); local in function:linear_to_tiled
978 uint32_t y0 = MAX2(yt1, yt); local in function:tiled_to_linear
[all...]
/xsrc/external/mit/mesa-demos/dist/src/tests/
H A Dsubtexrate.c78 int x0 = 0, y0 = 0; local in function:DoCopyTex
81 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x0, y0, x0, y0, w, h);
82 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x1, y0, x1, y0, w, h);
87 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x0, y0, x1, y1, w, h);
88 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x1, y0, x0, y1, w, h);
89 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x0, y1, x1, y0, w, h);
90 glCopyTexSubImage2D(GL_TEXTURE_2D, 0, x1, y1, x0, y0, w, h);
109 int x0 = 0, y0 local in function:SubTex
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/swrast/
H A Ds_linetemp.h73 GLint y0 = (GLint) vert0->attrib[VARYING_SLOT_POS][1]; local in function:NAME
142 if ((y0==h) | (y1==h)) {
143 if ((y0==h) & (y1==h))
145 y0 -= y0==h;
152 dy = y1 - y0;
169 zPtr = (DEPTH_TYPE *) _swrast_pixel_address(zrb, x0, y0);
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0);
313 PLOT( x0, y0 );
316 span.array->y[i] = y0;
[all...]
H A Ds_aaline.c46 GLfloat x0, y0; /* start */ member in struct:LineInfo
81 * Input: (x0, y0) and (x1,y1) are the endpoints of the line.
91 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, argument
97 const GLfloat py = y1 - y0;
105 const GLfloat d = -(a * x0 + b * y0 + c * z0);
113 const GLfloat py = y1 - y0;
118 const GLfloat d = -(a * x0 + b * y0 + c * z0);
346 const GLfloat y0 = line->y0 + t0 * line->dy; local in function:segment
348 const GLfloat y1 = line->y0
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/swrast/
H A Ds_linetemp.h73 GLint y0 = (GLint) vert0->attrib[VARYING_SLOT_POS][1]; local in function:NAME
142 if ((y0==h) | (y1==h)) {
143 if ((y0==h) & (y1==h))
145 y0 -= y0==h;
152 dy = y1 - y0;
169 zPtr = (DEPTH_TYPE *) _swrast_pixel_address(zrb, x0, y0);
172 pixelPtr = (PIXEL_TYPE *) PIXEL_ADDRESS(x0,y0);
313 PLOT( x0, y0 );
316 span.array->y[i] = y0;
[all...]
H A Ds_aaline.c45 GLfloat x0, y0; /* start */ member in struct:LineInfo
80 * Input: (x0, y0) and (x1,y1) are the endpoints of the line.
90 compute_plane(GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, argument
96 const GLfloat py = y1 - y0;
104 const GLfloat d = -(a * x0 + b * y0 + c * z0);
112 const GLfloat py = y1 - y0;
117 const GLfloat d = -(a * x0 + b * y0 + c * z0);
345 const GLfloat y0 = line->y0 + t0 * line->dy; local in function:segment
347 const GLfloat y1 = line->y0
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_draw.h78 float x0, float y0, float x1, float y1, float z,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_transfer.h16 unsigned y0; member in struct:nv30_rect
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/nv30/
H A Dnv30_transfer.h16 unsigned y0; member in struct:nv30_rect
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_draw.h80 float x0, float y0, float x1, float y1, float z,
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/llvmpipe/
H A Dlp_setup_point.c123 float y0 = info->v0[0][1] - setup->pixel_offset; local in function:texcoord_coef
127 info->a0[slot][0] = 0.5 - (dadx * x0 + dady * y0);
139 float y0 = info->v0[0][1] - setup->pixel_offset; local in function:texcoord_coef
147 info->a0[slot][1] = 0.5 - (dadx * x0 + dady * y0);
379 int x0, y0; local in function:try_setup_point
386 y0 = subpixel_snap(v0[0][1] - pixel_offset) - fixed_width/2;
390 y[0] = y0;
391 y[1] = y0 + fixed_width;
394 bbox.y0 = (y[0] + adj) >> FIXED_ORDER;
412 const int y0 local in function:try_setup_point
[all...]
/xsrc/external/mit/mesa-demos/dist/src/samples/
H A Doverlay.c139 float x0, y0, x1, y1, width; local in function:StarPoint
143 y0 = stars[n].y[0] * windH / stars[n].z[0];
144 RotatePoint(&x0, &y0, stars[n].rotation);
146 y0 += windH / 2.0;
148 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) {
158 if (fabs(x0-x1) < 1.0 && fabs(y0-y1) < 1.0) {
160 glVertex2f(x0, y0);
164 glVertex2f(x0, y0);
174 float y = y0
[all...]
H A Dstar.c147 float x0, y0, x1, y1, width; local in function:StarPoint
151 y0 = stars[n].y[0] * windH / stars[n].z[0];
152 RotatePoint(&x0, &y0, stars[n].rotation);
154 y0 += windH / 2.0;
156 if (x0 >= 0.0 && x0 < windW && y0 >= 0.0 && y0 < windH) {
166 if (fabs(x0-x1) < 1.0 && fabs(y0-y1) < 1.0) {
168 glVertex2f(x0, y0);
172 glVertex2f(x0, y0);
182 float y = y0
[all...]

Completed in 47 milliseconds

1234567891011>>