Searched defs:sampler (Results 1 - 25 of 308) sorted by last modified time

1234567891011>>

/external/zxing/core/
H A Dcore.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/zxing/ com/google/zxing/aztec/ ...
/external/skia/src/gpu/effects/
H A DGrTextureDomain.cpp46 const GrGLEffect::TextureSampler sampler,
53 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler,
75 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, clampedCoords.c_str());
92 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
108 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, inCoords.c_str());
42 sampleTexture(GrGLShaderBuilder* builder, const GrTextureDomain& textureDomain, const char* outColor, const SkString& inCoords, const GrGLEffect::TextureSampler sampler, const char* inModulateColor) argument
/external/skia/src/gpu/gl/
H A DGrGLShaderBuilder.cpp363 const GrGLShaderBuilder::TextureSampler& sampler,
368 this->getUniformCStr(sampler.samplerUniform()),
370 sampler.configComponentMask(),
371 sampler.swizzle(),
375 void GrGLShaderBuilder::fsAppendTextureLookup(const GrGLShaderBuilder::TextureSampler& sampler, argument
378 this->appendTextureLookup(&fFSCode, sampler, coordName, varyingType);
383 const GrGLShaderBuilder::TextureSampler& sampler,
387 this->appendTextureLookup(&lookup, sampler, coordName, varyingType);
362 appendTextureLookup(SkString* out, const GrGLShaderBuilder::TextureSampler& sampler, const char* coordName, GrSLType varyingType) const argument
381 fsAppendTextureLookupAndModulate( const char* modulation, const GrGLShaderBuilder::TextureSampler& sampler, const char* coordName, GrSLType varyingType) argument
/external/skia/src/effects/
H A DSkBlurMaskFilter.cpp628 const GrGLShaderBuilder::TextureSampler& sampler,
638 builder->fsAppendTextureLookup(sampler, "vec2(coord,0.5)");
627 OutputRectBlurProfileLookup(GrGLShaderBuilder* builder, const GrGLShaderBuilder::TextureSampler& sampler, const char *output, const char *profileSize, const char *loc, const char *blurred_width, const char *sharp_width) argument
H A DSkMatrixConvolutionImageFilter.cpp445 const GrGLShaderBuilder::TextureSampler& sampler,
463 builder->fsAppendTextureLookup(sampler, coord);
444 appendTextureLookup(GrGLShaderBuilder* builder, const GrGLShaderBuilder::TextureSampler& sampler, const char* coord, const char* bounds, SkMatrixConvolutionImageFilter::TileMode tileMode) argument
/external/mesa3d/include/CL/
H A Dcl.hpp1056 static cl_int retain(cl_sampler sampler) argument
1057 { return ::clRetainSampler(sampler); }
1058 static cl_int release(cl_sampler sampler) argument
1059 { return ::clReleaseSampler(sampler); }
2170 Sampler(const Sampler& sampler) : detail::Wrapper<cl_type>(sampler) { } argument
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_llvm.c440 struct lp_build_sampler_soa *sampler = 0; local
447 sampler = draw_sampler;
458 sampler,
1085 struct lp_build_sampler_soa *sampler = 0; local
1179 sampler = draw_llvm_sampler_soa_create(
1256 sampler,
1301 sampler->destroy(sampler);
1317 struct lp_sampler_static_state *sampler; local
1340 * sampler arra
[all...]
H A Ddraw_llvm_sample.c51 * This provides the bridge between the sampler state store in
52 * lp_jit_context and lp_jit_texture and the sampler code
54 * the texture sampler code generator in terms of the state stored in
68 * This is the bridge between our sampler and the TGSI translator.
127 * fetch the members of lp_jit_texture to fulfill the sampler code
131 * sampler code generator a reusable module without dependencies to
159 draw_llvm_sampler_soa_destroy(struct lp_build_sampler_soa *sampler) argument
161 FREE(sampler);
181 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local
186 &sampler
208 struct draw_llvm_sampler_soa *sampler = (struct draw_llvm_sampler_soa *)base; local
225 struct draw_llvm_sampler_soa *sampler; local
[all...]
H A Ddraw_pipe_aaline.c109 void *sampler[PIPE_MAX_SAMPLERS]; member in struct:aaline_stage::__anon26276
140 int freeSampler; /** an available sampler for the pstipple */
149 * Look for a free sampler, a free input attrib, and two free temp regs.
216 /* find free sampler */
249 /* declare new sampler */
492 * Create the sampler CSO that'll be used for antialiasing.
499 struct pipe_sampler_state sampler; local
502 memset(&sampler, 0, sizeof(sampler));
503 sampler
895 aaline_bind_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument
[all...]
H A Ddraw_pipe_pstipple.c127 int freeSampler; /** an available sampler for the pstipple */
136 * Look for a free sampler, a free input attrib, and two free temp regs.
211 /* find free sampler */
247 /* declare new sampler */
303 /* TEX texTemp, texTemp, sampler; */
468 * Create the sampler CSO that'll be used for stippling.
473 struct pipe_sampler_state sampler; local
476 memset(&sampler, 0, sizeof(sampler));
477 sampler
706 pstip_bind_sampler_states(struct pipe_context *pipe, unsigned num, void **sampler) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample.c90 * Initialize lp_sampler_static_state object with the gallium sampler
97 const struct pipe_sampler_state *sampler)
103 if (!sampler || !view || !view->texture)
109 * We don't copy sampler state over unless it is actually enabled, to avoid
110 * spurious recompiles, as the sampler static state is part of the shader
131 state->wrap_s = sampler->wrap_s;
132 state->wrap_t = sampler->wrap_t;
133 state->wrap_r = sampler->wrap_r;
134 state->min_img_filter = sampler->min_img_filter;
135 state->mag_img_filter = sampler
95 lp_sampler_static_state(struct lp_sampler_static_state *state, const struct pipe_sampler_view *view, const struct pipe_sampler_state *sampler) argument
[all...]
H A Dlp_bld_tgsi.h99 * Describe a texture sampler interpolator.
169 (*destroy)( struct lp_build_sampler_soa *sampler );
172 (*emit_fetch_texel)( const struct lp_build_sampler_soa *sampler,
184 (*emit_size_query)( const struct lp_build_sampler_soa *sampler,
196 (*emit_fetch_texel)( struct lp_build_sampler_aos *sampler,
221 struct lp_build_sampler_soa *sampler,
233 struct lp_build_sampler_aos *sampler,
368 const struct lp_build_sampler_soa *sampler; member in struct:lp_build_tgsi_soa_context
454 struct lp_build_sampler_aos *sampler; member in struct:lp_build_tgsi_aos_context
H A Dlp_bld_tgsi_aos.c369 if (!bld->sampler) {
370 _debug_printf("warning: found texture instruction but no sampler generator supplied\n");
394 return bld->sampler->emit_fetch_texel(bld->sampler,
990 struct lp_build_sampler_aos *sampler,
1014 bld.sampler = sampler;
983 lp_build_tgsi_aos(struct gallivm_state *gallivm, const struct tgsi_token *tokens, struct lp_type type, const unsigned char swizzles[4], LLVMValueRef consts_ptr, const LLVMValueRef *inputs, LLVMValueRef *outputs, struct lp_build_sampler_aos *sampler, const struct tgsi_shader_info *info) argument
H A Dlp_bld_tgsi_soa.c1155 if (!bld->sampler) {
1156 _debug_printf("warning: found texture instruction but no sampler generator supplied\n");
1288 bld->sampler->emit_fetch_texel(bld->sampler,
1352 if (!bld->sampler) {
1353 _debug_printf("warning: found texture query instruction but no sampler generator supplied\n");
1364 bld->sampler->emit_size_query(bld->sampler,
2061 struct lp_build_sampler_soa *sampler,
2085 bld.sampler
2052 lp_build_tgsi_soa(struct gallivm_state *gallivm, const struct tgsi_token *tokens, struct lp_type type, struct lp_build_mask_context *mask, LLVMValueRef consts_ptr, const struct lp_bld_tgsi_system_values *system_values, const LLVMValueRef *pos, const LLVMValueRef (*inputs)[TGSI_NUM_CHANNELS], LLVMValueRef (*outputs)[TGSI_NUM_CHANNELS], struct lp_build_sampler_soa *sampler, const struct tgsi_shader_info *info) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/postprocess/
H A Dpp_program.h46 struct pipe_sampler_state sampler; /* bilinear */ member in struct:program
/external/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_exec.c1717 fetch_texel( struct tgsi_sampler *sampler, argument
1731 sampler->get_samples(sampler, s->f, t->f, p->f, c0->f, control, rgba);
1998 struct tgsi_sampler *sampler; local
2047 sampler = mach->Samplers[unit];
2048 sampler->get_texel(sampler, r[0].i, r[1].i, r[2].i, r[3].i,
2069 struct tgsi_sampler *sampler; local
2077 sampler = mach->Samplers[unit];
2079 sampler
[all...]
H A Dtgsi_ureg.c141 struct ureg_src sampler[PIPE_MAX_SAMPLERS]; member in struct:ureg_program
603 /* Allocate a new sampler.
611 if (ureg->sampler[i].Index == nr)
612 return ureg->sampler[i];
615 ureg->sampler[i] = ureg_src_register( TGSI_FILE_SAMPLER, nr );
617 return ureg->sampler[i];
621 return ureg->sampler[0];
625 * Allocate a new shader sampler view.
1499 ureg->sampler[i].Index, 1 );
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_blit.c65 struct pipe_sampler_state sampler; member in struct:blit_state
125 ctx->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
126 ctx->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
127 ctx->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
128 ctx->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
129 ctx->sampler.min_img_filter = 0; /* set later */
130 ctx->sampler.mag_img_filter = 0; /* set later */
681 /* default sampler state */
682 ctx->sampler.normalized_coords = normalized;
683 ctx->sampler
[all...]
H A Du_gen_mipmap.c65 struct pipe_sampler_state sampler; member in struct:gen_mipmap_state
1295 /* sampler state */
1296 memset(&ctx->sampler, 0, sizeof(ctx->sampler));
1297 ctx->sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
1298 ctx->sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
1299 ctx->sampler.wrap_r = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
1300 ctx->sampler.min_mip_filter = PIPE_TEX_MIPFILTER_NEAREST;
1301 ctx->sampler.normalized_coords = 1;
1507 * \param psv the sampler vie
[all...]
H A Du_simple_shaders.c120 struct ureg_src sampler; local
131 sampler = ureg_DECL_sampler( ureg, 0 );
149 tex_target, tex, sampler );
182 struct ureg_src sampler; local
191 sampler = ureg_DECL_sampler( ureg, 0 );
211 tex_target, tex, sampler );
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_compositor.c133 struct ureg_src sampler[3]; local
145 sampler[i] = ureg_DECL_sampler(shader, i);
151 * texel.xyz = tex(tc, sampler[i])
155 ureg_TEX(shader, ureg_writemask(texel, TGSI_WRITEMASK_X << i), TGSI_TEXTURE_3D, tc, sampler[i]);
176 struct ureg_src sampler[3]; local
191 sampler[i] = ureg_DECL_sampler(shader, i);
228 TGSI_TEXTURE_3D, src, sampler[j]);
268 struct ureg_src sampler; local
282 sampler = ureg_DECL_sampler(shader, 0);
289 * texel = tex(tc, sampler)
315 struct ureg_src tc, color, sampler; local
398 struct pipe_sampler_state sampler; local
[all...]
H A Dvl_idct.c116 struct ureg_src sampler, bool resource3d)
118 ureg_TEX(shader, m[0], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[0], sampler);
119 ureg_TEX(shader, m[1], resource3d ? TGSI_TEXTURE_3D : TGSI_TEXTURE_2D, addr[1], sampler);
512 struct pipe_sampler_state sampler; local
545 memset(&sampler, 0, sizeof(sampler));
546 sampler.wrap_s = PIPE_TEX_WRAP_REPEAT;
547 sampler.wrap_t = PIPE_TEX_WRAP_REPEAT;
548 sampler.wrap_r = PIPE_TEX_WRAP_REPEAT;
549 sampler
115 fetch_four(struct ureg_program *shader, struct ureg_dst m[2], struct ureg_src addr[2], struct ureg_src sampler, bool resource3d) argument
[all...]
H A Dvl_matrix_filter.c83 struct ureg_src sampler; local
97 sampler = ureg_DECL_sampler(shader, 0);
107 * t_array[0..*] = tex(t_array[0..*], sampler)
123 ureg_TEX(shader, t_array[i], TGSI_TEXTURE_2D, src, sampler);
158 struct pipe_sampler_state sampler; local
190 memset(&sampler, 0, sizeof(sampler));
191 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
192 sampler.wrap_t = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
193 sampler
[all...]
H A Dvl_matrix_filter.h43 void *sampler; member in struct:vl_matrix_filter
H A Dvl_mc.c163 struct ureg_src tc[2], sampler; local
175 sampler = ureg_DECL_sampler(shader, 0);
192 * fragment.xyz = tex(ref, sampler[0])
214 ureg_TEX(shader, ureg_writemask(fragment, TGSI_WRITEMASK_XYZ), TGSI_TEXTURE_2D, ureg_src(ref), sampler);
333 * fragment.xyz = tex(tc, sampler) * scale + tc.z
374 struct pipe_sampler_state sampler; local
381 memset(&sampler, 0, sizeof(sampler));
382 sampler.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
383 sampler
[all...]

Completed in 371 milliseconds

1234567891011>>