/external/mesa3d/src/mesa/swrast/ |
H A D | s_alpha.c | 89 * \return 0 if all pixels in the span failed the alpha test, 93 _swrast_alpha_test(const struct gl_context *ctx, SWspan *span) argument 95 const GLuint n = span->end; 96 GLubyte *mask = span->array->mask; 107 span->writeAll = GL_FALSE; 111 if (span->arrayMask & SPAN_RGBA) { 113 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 114 GLubyte (*rgba)[4] = span->array->rgba8; 119 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { 120 GLushort (*rgba)[4] = span [all...] |
H A D | s_bitmap.c | 56 SWspan span; local 72 INIT_SPAN(span, GL_BITMAP); 73 span.end = width; 74 span.arrayMask = SPAN_XY; 75 _swrast_span_default_attribs(ctx, &span); 86 span.array->x[count] = px + col; 87 span.array->y[count] = py + row; 108 span.array->x[count] = px + col; 109 span.array->y[count] = py + row; 127 /* flush the span */ [all...] |
H A D | s_logic.c | 186 * Apply the current logic operator to a span of RGBA pixels. 192 SWspan *span) 196 ASSERT(span->end < SWRAST_MAX_WIDTH); 197 ASSERT(span->arrayMask & SPAN_RGBA); 199 rbPixels = _swrast_get_dest_rgba(ctx, rb, span); 201 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 203 logicop_uint1(ctx, span->end, 204 (GLuint *) span->array->rgba8, 205 (const GLuint *) rbPixels, span->array->mask); 207 else if (span 191 _swrast_logicop_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument [all...] |
H A D | s_masking.c | 40 * Apply the color mask to a span of rgba values. 44 SWspan *span, GLuint buf) 46 const GLuint n = span->end; 50 ASSERT(span->arrayMask & SPAN_RGBA); 52 rbPixels = _swrast_get_dest_rgba(ctx, rb, span); 56 * Note that we're not using span->array->mask[] here. We could... 58 if (span->array->ChanType == GL_UNSIGNED_BYTE) { 63 GLuint *src = (GLuint *) span->array->rgba8; 69 else if (span->array->ChanType == GL_UNSIGNED_SHORT) { 77 GLushort (*src)[4] = span 43 _swrast_mask_rgba_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span, GLuint buf) argument [all...] |
H A D | s_fragprog.c | 157 * \param span the span of pixels we'll operate on 158 * \param col which element (column) of the span we'll operate on 163 const SWspan *span, GLuint col) 165 GLfloat *wpos = span->array->attribs[FRAG_ATTRIB_WPOS][col]; 181 machine->Attribs = span->array->attribs; 183 machine->DerivX = (GLfloat (*)[4]) span->attrStepX; 184 machine->DerivY = (GLfloat (*)[4]) span->attrStepY; 192 machine->Attribs[FRAG_ATTRIB_FACE][col][0] = 1.0F - span->facing; 212 * Run fragment program on the pixels in span fro 161 init_machine(struct gl_context *ctx, struct gl_program_machine *machine, const struct gl_fragment_program *program, const SWspan *span, GLuint col) argument 215 run_program(struct gl_context *ctx, SWspan *span, GLuint start, GLuint end) argument [all...] |
H A D | s_lines.c | 60 * To draw a wide line we can simply redraw the span N times, side by side. 63 draw_wide_line( struct gl_context *ctx, SWspan *span, GLboolean xMajor ) argument 70 ASSERT(span->end < SWRAST_MAX_WIDTH); 78 GLint *y = span->array->y; 83 for (i = 0; i < span->end; i++) 87 for (i = 0; i < span->end; i++) 90 _swrast_write_rgba_span(ctx, span); 94 GLint *x = span->array->x; 99 for (i = 0; i < span->end; i++) 103 for (i = 0; i < span [all...] |
H A D | s_aatritemp.h | 51 SWspan span; variable 65 INIT_SPAN(span, GL_POLYGON); 66 span.arrayMask = SPAN_COVERAGE; 110 span.facing = area * swrast->_BackfaceSign > 0.0F; 120 span.arrayMask |= SPAN_Z; 134 span.arrayMask |= SPAN_RGBA; 141 span.attrStepX[FRAG_ATTRIB_WPOS][3] = plane_dx(wPlane); 142 span.attrStepY[FRAG_ATTRIB_WPOS][3] = plane_dy(wPlane); 159 span.attrStepX[attr][c] = plane_dx(attrPlane[attr][c]); 160 span [all...] |
H A D | s_atifragshader.c | 258 const SWspan *span, GLuint column, GLuint idx) 266 span->array->attribs[FRAG_ATTRIB_TEX0 + pass_tex][column]); 278 struct atifs_setupinst *texinst, const SWspan *span, 289 span->array->attribs[FRAG_ATTRIB_TEX0 + coord_source][column]); 312 * \param span - the SWspan we're operating on 313 * \param column - which pixel [i] we're operating on in the span 317 struct atifs_machine *machine, const SWspan *span, 338 handle_pass_op(machine, texinst, span, column, j); 340 handle_sample_op(ctx, machine, texinst, span, column, j); 562 const SWspan *span, GLuin 257 handle_pass_op(struct atifs_machine *machine, struct atifs_setupinst *texinst, const SWspan *span, GLuint column, GLuint idx) argument 277 handle_sample_op(struct gl_context * ctx, struct atifs_machine *machine, struct atifs_setupinst *texinst, const SWspan *span, GLuint column, GLuint idx) argument 316 execute_shader(struct gl_context *ctx, const struct ati_fragment_shader *shader, struct atifs_machine *machine, const SWspan *span, GLuint column) argument 560 init_machine(struct gl_context * ctx, struct atifs_machine *machine, const struct ati_fragment_shader *shader, const SWspan *span, GLuint col) argument 582 _swrast_exec_fragment_shader(struct gl_context * ctx, SWspan *span) argument [all...] |
H A D | s_blend.c | 991 * Apply the blending operator to a span of pixels. 996 _swrast_blend_span(struct gl_context *ctx, struct gl_renderbuffer *rb, SWspan *span) argument 1001 ASSERT(span->end <= SWRAST_MAX_WIDTH); 1002 ASSERT(span->arrayMask & SPAN_RGBA); 1005 rbPixels = _swrast_get_dest_rgba(ctx, rb, span); 1007 swrast->BlendFunc(ctx, span->end, span->array->mask, 1008 span->array->rgba, rbPixels, span->array->ChanType);
|
/external/eigen/unsupported/Eigen/src/Splines/ |
H A D | SplineFitting.h | 130 const DenseIndex span = SplineType::Span(knot_parameters[i], degree, knots); local 133 A.row(i).segment(span-degree, degree+1) = SplineType::BasisFunctions(knot_parameters[i], degree, knots);
|
H A D | Spline.h | 182 * \brief Returns the span within the knot vector in which u is falling. 183 * \param u The site for which the span is determined. 185 DenseIndex span(Scalar u) const; 270 DenseIndex Spline<_Scalar, _Dim, _Degree>::span(Scalar u) const function in class:Eigen::Spline 280 const DenseIndex span = this->span(u); local 285 const Block<const ControlPointVectorType,Dimension,Order> ctrl_pts(ctrls(),0,span-p,Dimension,p+1); 303 const DenseIndex span = spline.span(u); local 316 const Block<const ControlPointVectorType,Dimension,Order> ctrl_pts(spline.ctrls(),0,span 361 const DenseIndex span = spline.span(u); local [all...] |
/external/mesa3d/src/glx/ |
H A D | singlepix.c | 39 GLvoid * row, GLvoid * column, GLvoid * span) 113 GLvoid * column, GLvoid * span) 123 p(target, format, type, row, column, span); 38 __indirect_glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) argument 111 gl_dispatch_stub_GetSeparableFilterEXT(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) argument
|
/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | agg_renderer_scanline.h | 51 typename Scanline::const_iterator span = sl.begin(); local 53 int x = span->x; 54 int len = span->len; 56 const typename Scanline::cover_type* covers = span->covers; 83 ++span;
|
H A D | agg_scanline_u.h | 35 struct span { struct in class:agg::scanline_u 40 typedef span* iterator; 41 typedef const span* const_iterator; 62 m_spans = FX_Alloc( span , max_len); 145 span* m_spans; 146 span* m_cur_span;
|
/external/skia/src/effects/ |
H A D | SkTransparentShader.cpp | 49 void SkTransparentShader::TransparentShaderContext::shadeSpan(int x, int y, SkPMColor span[], argument 57 if (src != span) { 58 memcpy(span, src, count * sizeof(SkPMColor)); 63 span[i] = SkAlphaMulQ(src[i], scale); 71 span[i] = SkPixel16ToPixel32(src[i]); 81 span[i] = SkPackARGB32( alpha, 93 span[i] = SkPackARGB32(src[i], 0, 0, 0); 97 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0); 108 void SkTransparentShader::TransparentShaderContext::shadeSpan16(int x, int y, uint16_t span[], argument 113 if (src != span) { [all...] |
/external/skia/src/pathops/ |
H A D | SkPathOpsSimplify.cpp | 17 SkOpSpan* span = FindSortableTop(contourList); local 18 if (!span) { 21 SkOpSegment* current = span->segment(); 22 SkOpSpanBase* start = span->next(); 23 SkOpSpanBase* end = span;
|
/external/skia/tests/ |
H A D | PathOpsTSectDebug.h | 79 SkDebugf("no span matches %d\n", id); 149 const SkTSpan<OppCurve, TCurve>* span = testBounded->fBounded; local 151 span->dumpID();
|
/external/emma/core/java12/com/vladium/emma/report/html/doc/ |
H A D | HTMLTable.java | 22 ICell setColspan (final int span); argument 90 public ICell setColspan (final int span) argument 92 getAttributes ().set (Attribute.COLSPAN, span);
|
/external/icu/icu4c/source/common/unicode/ |
H A D | uniset.h | 539 * contains() and span(). 870 int32_t span(const UChar *s, int32_t length, USetSpanCondition spanCondition) const; 874 * Same as <code>start+span(s.getBuffer()+start, s.length()-start, spanCondition)</code> 877 * @param start the start index in the string for the span operation 884 inline int32_t span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const; 910 * @param limit the exclusive-end index in the string for the span operation 1669 inline int32_t UnicodeSet::span(const UnicodeString &s, int32_t start, USetSpanCondition spanCondition) const { function in class:UnicodeSet 1676 return start+span(s.getBuffer()+start, sLength-start, spanCondition);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | BMPSet.java | 16 * Helper class for frozen UnicodeSets, implements contains() and span() optimized for BMP code points. 130 * @param outCount If not null: Receives the number of code points in the span. 131 * @return the limit (exclusive end) of the span 137 public final int span(CharSequence s, int start, SpanCondition spanCondition, method in class:BMPSet 144 // span 183 // span not 230 * Symmetrical with span(). 234 * @return The string index which starts the span (i.e. inclusive). 240 // span 280 // span no [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | convolve.c | 157 GLvoid *span) 167 GLvoid *row, GLvoid *column, GLvoid *span) 170 INT_MAX, column, span); 154 _mesa_GetnSeparableFilterARB(GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span) argument 166 _mesa_GetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) argument
|
/external/speex/include/speex/ |
H A D | speex_jitter.h | 64 spx_uint32_t span; /**< Time covered by the packet (same units as timestamp) */ member in struct:_JitterBufferPacket
|
/external/zlib/src/examples/ |
H A D | zran.c | 137 access points about every span bytes of uncompressed output -- span is 144 local int build_index(FILE *in, off_t span, struct access **built) argument 215 (totout == 0 || totout - last > span)) {
|
/external/icu/icu4c/source/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 79 "cp/span:%.3g UChar/span:%.3g B/span:%.3g B/cp:%.3g\n", 93 // not-span is counted. 100 i=span(s, length, i, tf); 105 int32_t span(const UChar *s, int32_t length, int32_t start, UBool tf) const { function in class:UnicodeSetPerformanceTest 143 // Input code points, plus one for the end of each span except the last span. 182 i+=span(set, s+i, length-i, tf); 191 static int32_t span(cons function in class:Contains [all...] |
/external/mesa3d/src/mapi/glapi/tests/ |
H A D | check_table.cpp | 1600 gl_dispatch_stub_359(GLenum target, GLenum format, GLenum type, GLvoid * row, GLvoid * column, GLvoid * span) argument 1607 (void) span;
|