Searched refs:samp (Results 1 - 25 of 64) sorted by relevance

123

/external/libjpeg-turbo/
H A Dtjbenchtest.in86 for samp in GRAY 420 422 444; do
87 runme $EXEDIR/djpeg -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_default_djpeg.${EXT} $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
88 runme $EXEDIR/djpeg -dct fast -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.${EXT} $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
89 runme $EXEDIR/djpeg -dct int -rgb $NSARG $BMPARG -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.${EXT} $OUTDIR/${basename}_${samp}_accurate_cjpeg.jpg
91 for samp in 420 422; do
92 runme $EXEDIR/djpeg -nosmooth $BMPARG -outfile $OUTDIR/${basename}_${samp}_default_nosmooth_djpeg.${EXT} $OUTDIR/${basename}_${samp}_fast_cjpe
[all...]
H A Dtjexampletest.in47 for samp in GRAY 420 422 444; do
48 runme $EXEDIR/djpeg -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_default_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
49 runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
50 runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OUTDIR/${basename}_${samp}_accurate_cjpeg.jpg
52 for samp in 420 422; do
53 runme $EXEDIR/djpeg -nosmooth -bmp -outfile $OUTDIR/${basename}_${samp}_default_nosmooth_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpe
[all...]
H A Dtjbenchtest.java.in76 for samp in GRAY 420 422 444; do
77 runme $EXEDIR/djpeg -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_default_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
78 runme $EXEDIR/djpeg -dct fast -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_fast_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpeg.jpg
79 runme $EXEDIR/djpeg -dct int -rgb -bmp -outfile $OUTDIR/${basename}_${samp}_accurate_djpeg.bmp $OUTDIR/${basename}_${samp}_accurate_cjpeg.jpg
81 for samp in 420 422; do
82 runme $EXEDIR/djpeg -nosmooth -bmp -outfile $OUTDIR/${basename}_${samp}_default_nosmooth_djpeg.bmp $OUTDIR/${basename}_${samp}_fast_cjpe
[all...]
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
H A Dfd2_texture.h46 fd2_sampler_stateobj(struct pipe_sampler_state *samp) argument
48 return (struct fd2_sampler_stateobj *)samp;
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
H A Dfd3_texture.h48 fd3_sampler_stateobj(struct pipe_sampler_state *samp) argument
50 return (struct fd3_sampler_stateobj *)samp;
H A Dfd3_query.c51 struct fd_hw_sample *samp = local
54 /* Set RB_SAMPLE_COUNT_ADDR to samp->offset plus value of
60 OUT_RING(ring, samp->offset);
83 return samp;
/external/mesa3d/src/mesa/swrast/
H A Ds_texfilter.c505 nearest_texcoord(const struct gl_sampler_object *samp, argument
518 *i = clamp_rect_coord_nearest(samp->WrapS, texcoord[0], width);
519 *j = clamp_rect_coord_nearest(samp->WrapT, texcoord[1], height);
523 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
528 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
529 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]);
533 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
538 *i = nearest_texel_location(samp->WrapS, img, width, texcoord[0]);
539 *j = nearest_texel_location(samp->WrapT, img, height, texcoord[1]);
554 linear_texcoord(const struct gl_sampler_object *samp, argument
664 compute_min_mag_ranges(const struct gl_sampler_object *samp, GLuint n, const GLfloat lambda[], GLuint *minStart, GLuint *minEnd, GLuint *magStart, GLuint *magEnd) argument
773 get_border_color(const struct gl_sampler_object *samp, const struct gl_texture_image *img, GLfloat rgba[4]) argument
850 sample_1d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
875 sample_1d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
917 sample_1d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
933 sample_1d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
949 sample_1d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
975 sample_1d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1002 sample_nearest_1d( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
1019 sample_linear_1d( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
1036 sample_lambda_1d( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
1116 sample_2d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1150 sample_2d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1215 sample_2d_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[]) argument
1248 sample_2d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1263 sample_2d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1279 sample_2d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1305 sample_2d_linear_mipmap_linear( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
1331 sample_2d_linear_mipmap_linear_repeat(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1362 sample_nearest_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1379 sample_linear_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1414 opt_sample_rgb_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1459 opt_sample_rgba_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1497 sample_lambda_2d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
1646 sample_2d_ewa(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
1773 sample_2d_footprint(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, const GLfloat texcoord[4], const GLfloat dudx, const GLfloat dvdx, const GLfloat dudy, const GLfloat dvdy, const GLint lod, GLfloat rgba[]) argument
1864 sample_lambda_2d_aniso(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda_iso[], GLfloat rgba[][4]) argument
2018 sample_3d_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2051 sample_3d_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2146 sample_3d_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4] ) argument
2161 sample_3d_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2177 sample_3d_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2203 sample_3d_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2230 sample_nearest_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2247 sample_linear_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2264 sample_lambda_3d(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2420 sample_nearest_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2444 sample_linear_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2468 sample_cube_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2503 sample_cube_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2528 sample_cube_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2563 sample_cube_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2599 sample_lambda_cube(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2676 sample_nearest_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2711 sample_linear_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2778 sample_lambda_rect(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2823 sample_2d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2857 sample_2d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
2928 sample_2d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2944 sample_2d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2961 sample_2d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
2989 sample_2d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3018 sample_nearest_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3036 sample_linear_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3053 sample_lambda_2d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3142 sample_1d_array_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3173 sample_1d_array_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_image *img, const GLfloat texcoord[4], GLfloat rgba[4]) argument
3223 sample_1d_array_nearest_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3239 sample_1d_array_linear_mipmap_nearest(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3256 sample_1d_array_nearest_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3282 sample_1d_array_linear_mipmap_linear(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoord[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3309 sample_nearest_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3326 sample_linear_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3343 sample_lambda_1d_array(struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
3517 choose_depth_texture_level(const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLfloat lambda) argument
3542 sample_depth_texture( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat texel[][4] ) argument
3686 null_sample_func( struct gl_context *ctx, const struct gl_sampler_object *samp, const struct gl_texture_object *tObj, GLuint n, const GLfloat texcoords[][4], const GLfloat lambda[], GLfloat rgba[][4]) argument
[all...]
H A Ds_fragprog.c88 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
90 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod);
92 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
123 const struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
136 lambda += lodBias + texUnit->LodBias + samp->LodBias;
138 lambda = CLAMP(lambda, samp->MinLod, samp->MaxLod);
140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.h48 etna_sampler_state(struct pipe_sampler_state *samp) argument
50 return (struct etna_sampler_state *)samp;
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
H A Dfd4_texture.h48 fd4_sampler_stateobj(struct pipe_sampler_state *samp) argument
50 return (struct fd4_sampler_stateobj *)samp;
H A Dfd4_query.c53 struct fd_hw_sample *samp = local
59 debug_assert((samp->offset & 0x3) == 0);
61 /* Set RB_SAMPLE_COUNT_ADDR to samp->offset plus value of
68 samp->offset);
78 return samp;
128 struct fd_hw_sample *samp = fd_hw_sample_init(batch, sizeof(uint64_t)); local
186 OUT_RING(ring, samp->offset);
214 return samp;
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
H A Dfd5_texture.h46 fd5_sampler_stateobj(struct pipe_sampler_state *samp) argument
48 return (struct fd5_sampler_stateobj *)samp;
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_query_hw.h145 void __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp);
159 struct fd_hw_sample **ptr, struct fd_hw_sample *samp)
163 if (pipe_reference(&(*ptr)->reference, &samp->reference))
165 *ptr = samp;
158 fd_hw_sample_reference(struct fd_context *ctx, struct fd_hw_sample **ptr, struct fd_hw_sample *samp) argument
H A Dfreedreno_query_hw.c68 struct fd_hw_sample *samp = NULL; local
81 fd_hw_sample_reference(ctx, &samp, batch->sample_cache[idx]);
83 return samp;
210 static void * sampptr(struct fd_hw_sample *samp, uint32_t n, void *ptr) argument
212 return ((char *)ptr) + (samp->tile_stride * n) + samp->offset;
342 struct fd_hw_sample *samp = slab_alloc_st(&batch->ctx->sample_pool); local
343 pipe_reference_init(&samp->reference, 1);
344 samp->size = size;
347 samp
376 __fd_hw_sample_destroy(struct fd_context *ctx, struct fd_hw_sample *samp) argument
396 struct fd_hw_sample *samp = local
[all...]
/external/mesa3d/src/mesa/main/
H A Dsamplerobj.h52 _mesa_is_mipmap_filter(const struct gl_sampler_object *samp) argument
54 return samp->MinFilter != GL_NEAREST && samp->MinFilter != GL_LINEAR;
61 struct gl_sampler_object *samp);
66 struct gl_sampler_object *samp)
68 if (*ptr != samp)
69 _mesa_reference_sampler_object_(ctx, ptr, samp);
82 _mesa_set_sampler_wrap(struct gl_context *ctx, struct gl_sampler_object *samp,
87 struct gl_sampler_object *samp,
92 struct gl_sampler_object *samp, GLenu
64 _mesa_reference_sampler_object(struct gl_context *ctx, struct gl_sampler_object **ptr, struct gl_sampler_object *samp) argument
[all...]
H A Dsamplerobj.c99 struct gl_sampler_object *samp)
101 assert(*ptr != samp); /* The inline wrapper should prevent no-op calls */
121 if (samp) {
123 mtx_lock(&samp->Mutex);
124 if (samp->RefCount == 0) {
131 samp->RefCount++;
132 *ptr = samp;
134 mtx_unlock(&samp->Mutex);
467 _mesa_set_sampler_wrap(struct gl_context *ctx, struct gl_sampler_object *samp, argument
474 if (samp
97 _mesa_reference_sampler_object_(struct gl_context *ctx, struct gl_sampler_object **ptr, struct gl_sampler_object *samp) argument
488 set_sampler_wrap_s(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
503 set_sampler_wrap_t(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
518 set_sampler_wrap_r(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
532 _mesa_set_sampler_filters(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum min_filter, GLenum mag_filter) argument
554 set_sampler_min_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
577 set_sampler_mag_filter(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
596 set_sampler_lod_bias(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
609 set_sampler_border_colorf(struct gl_context *ctx, struct gl_sampler_object *samp, const GLfloat params[4]) argument
623 set_sampler_border_colori(struct gl_context *ctx, struct gl_sampler_object *samp, const GLint params[4]) argument
637 set_sampler_border_colorui(struct gl_context *ctx, struct gl_sampler_object *samp, const GLuint params[4]) argument
651 set_sampler_min_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
664 set_sampler_max_lod(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
677 set_sampler_compare_mode(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
702 set_sampler_compare_func(struct gl_context *ctx, struct gl_sampler_object *samp, GLint param) argument
734 set_sampler_max_anisotropy(struct gl_context *ctx, struct gl_sampler_object *samp, GLfloat param) argument
754 set_sampler_cube_map_seamless(struct gl_context *ctx, struct gl_sampler_object *samp, GLboolean param) argument
773 _mesa_set_sampler_srgb_decode(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum param) argument
783 set_sampler_srgb_decode(struct gl_context *ctx, struct gl_sampler_object *samp, GLenum param) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dnine_pipe.c207 struct pipe_sampler_state samp; local
213 memset(&samp, 0, sizeof(samp)); /* memcmp safety */
216 samp.lod_bias = asfloat(ss[D3DSAMP_MIPMAPLODBIAS]);
217 samp.min_lod = ss[NINED3DSAMP_MINLOD];
218 samp.min_mip_filter = (ss[D3DSAMP_MIPFILTER] == D3DTEXF_POINT) ? PIPE_TEX_FILTER_NEAREST : PIPE_TEX_FILTER_LINEAR;
220 samp.min_mip_filter = PIPE_TEX_MIPFILTER_NONE;
222 samp.max_lod = 15.0f;
226 samp.wrap_s = PIPE_TEX_WRAP_CLAMP_TO_EDGE;
227 samp
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_tex.c314 struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
317 radeonSetTexMaxAnisotropy(t , samp->MaxAnisotropy);
318 radeonSetTexFilter(t, samp->MinFilter, samp->MagFilter);
319 radeonSetTexWrap(t, samp->WrapS, samp->WrapT);
320 radeonSetTexBorderColor(t, samp->BorderColor.f);
432 struct gl_sampler_object *samp = _mesa_new_sampler_object(ctx, name); local
433 if (samp)
434 samp
[all...]
H A Dradeon_texture.h50 struct gl_sampler_object *samp,
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_tex.c363 struct gl_sampler_object *samp = _mesa_get_samplerobj(ctx, unit); local
366 r200SetTexMaxAnisotropy(t , samp->MaxAnisotropy);
367 r200SetTexFilter(t, samp->MinFilter, samp->MagFilter);
368 r200SetTexWrap(t, samp->WrapS, samp->WrapT, samp->WrapR);
369 r200SetTexBorderColor(t, samp->BorderColor.f);
492 struct gl_sampler_object *samp = _mesa_new_sampler_object(ctx, name); local
493 if (samp)
[all...]
H A Dradeon_texture.h50 struct gl_sampler_object *samp,
/external/mesa3d/src/mesa/state_tracker/
H A Dst_sampler_view.h79 const struct gl_sampler_object *samp,
H A Dst_atom_texture.c61 const struct gl_sampler_object *samp; local
66 samp = _mesa_get_samplerobj(ctx, texUnit);
72 samp = &texObj->Sampler;
86 stObj->prev_sRGBDecode != samp->sRGBDecode) {
91 stObj->prev_sRGBDecode = samp->sRGBDecode;
95 st_get_texture_sampler_view_from_stobj(st, stObj, samp, glsl_version);
H A Dst_tgsi_lower_yuv.c99 tex_instruction(unsigned samp) argument
110 inst.Src[1].Register.Index = samp;
169 emit_samp(struct tgsi_transform_context *tctx, unsigned samp) argument
171 tgsi_transform_sampler_decl(tctx, samp);
172 tgsi_transform_sampler_view_decl(tctx, samp, PIPE_TEXTURE_2D,
306 unsigned samp = originst->Src[1].Register.Index; local
309 * TEX tempA.x, coord, texture[samp], 2D;
311 inst = tex_instruction(samp);
317 * TEX tempB.xy, coord, texture[sampler_map[samp][0]], 2D;
320 inst = tex_instruction(ctx->sampler_map[samp][
341 unsigned samp = originst->Src[1].Register.Index; local
397 unsigned samp = inst->Src[1].Register.Index; local
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_state_dump.c385 uint32_t *samp = brw->batch.bo->virtual + offset; local
396 samp += 4;
404 const uint32_t *samp = brw->batch.bo->virtual + offset; local
411 GET_BITS(samp[0], 31, 31) ? "yes" : "no",
412 GET_BITS(samp[0], 26, 23),
413 GET_BITS(samp[0], 22, 22),
414 sampler_mip_filter[GET_FIELD(samp[0], BRW_SAMPLER_MIP_FILTER)],
415 sampler_mag_filter[GET_FIELD(samp[0], BRW_SAMPLER_MAG_FILTER)],
417 sampler_mag_filter[GET_FIELD(samp[0], BRW_SAMPLER_MIN_FILTER)],
418 GET_BITS(samp[
[all...]

Completed in 561 milliseconds

123