Home
last modified time | relevance | path

Searched refs:sample_stride (Results 1 – 25 of 26) sorted by relevance

12

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_sampler.c301 unsigned sample_stride = 0; in prepare_shader_sampling() local
316 sample_stride = lp_tex->sample_stride; in prepare_shader_sampling()
367 num_samples, sample_stride, in prepare_shader_sampling()
456 uint32_t sample_stride; in prepare_shader_images() local
505 sample_stride = lp_img->sample_stride; in prepare_shader_images()
514 sample_stride = 0; in prepare_shader_images()
527 sample_stride = 0; in prepare_shader_images()
536 num_samples, sample_stride); in prepare_shader_images()
Dlp_rast_priv.h238 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_quads_all() local
248 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_quads_all()
254 sample_stride[i] = 0; in lp_rast_shade_quads_all()
261 depth_sample_stride = scene->zsbuf.sample_stride; in lp_rast_shade_quads_all()
292 sample_stride, in lp_rast_shade_quads_all()
Dlp_rast.c160 void *map = (char *)scene->cbufs[cbuf].map + scene->cbufs[cbuf].sample_stride * s; in lp_rast_clear_color()
211 uint8_t *dst_layer = task->depth_tile + (s * scene->zsbuf.sample_stride); in lp_rast_clear_zstencil()
333 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_tile() local
343 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_tile()
349 sample_stride[i] = 0; in lp_rast_shade_tile()
359 depth_sample_stride = scene->zsbuf.sample_stride; in lp_rast_shade_tile()
384 sample_stride, in lp_rast_shade_tile()
429 unsigned sample_stride[PIPE_MAX_COLOR_BUFS]; in lp_rast_shade_quads_mask_sample() local
450 sample_stride[i] = scene->cbufs[i].sample_stride; in lp_rast_shade_quads_mask_sample()
456 sample_stride[i] = 0; in lp_rast_shade_quads_mask_sample()
[all …]
Dlp_texture.h97 unsigned sample_stride; member
222 return lpr->sample_stride; in llvmpipe_sample_stride()
Dlp_state_fs_fastpath.c157 unsigned *sample_stride, in red() argument
184 unsigned *sample_stride, in green() argument
Dlp_tex_sample.c186 LP_LLVM_TEXTURE_MEMBER(sample_stride, LP_JIT_TEXTURE_SAMPLE_STRIDE, TRUE) in LP_LLVM_TEXTURE_MEMBER()
335 LP_LLVM_IMAGE_MEMBER(sample_stride, LP_JIT_IMAGE_SAMPLE_STRIDE, TRUE) in LP_LLVM_IMAGE_MEMBER()
445 sampler->dynamic_state.base.sample_stride = lp_llvm_texture_sample_stride; in lp_llvm_sampler_soa_create()
539 image->dynamic_state.base.sample_stride = lp_llvm_image_sample_stride; in lp_llvm_image_soa_create()
Dlp_scene.c161 ssurf->sample_stride = 0; in init_scene_texture()
172 ssurf->sample_stride = llvmpipe_sample_stride(psurf->texture); in init_scene_texture()
186 ssurf->sample_stride = 0; in init_scene_texture()
Dlp_jit.h64 uint32_t sample_stride; member
94 uint32_t sample_stride; member
Dlp_setup.c761 jit_image->sample_stride = lp_res->sample_stride; in lp_setup_set_fs_images()
1015 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
1024 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
1033 jit_tex->sample_stride = lp_tex->sample_stride; in lp_setup_set_fragment_sampler_views()
1088 jit_tex->sample_stride = 0; in lp_setup_set_fragment_sampler_views()
Dlp_state_cs.c966 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
975 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
983 jit_tex->sample_stride = lp_tex->sample_stride; in lp_csctx_set_sampler_views()
1038 jit_tex->sample_stride = 0; in lp_csctx_set_sampler_views()
1179 jit_image->sample_stride = lp_res->sample_stride; in lp_csctx_set_cs_images()
Dlp_jit.c99 LP_CHECK_MEMBER_OFFSET(struct lp_jit_texture, sample_stride, in create_jit_texture_type()
181 LP_CHECK_MEMBER_OFFSET(struct lp_jit_image, sample_stride, in create_jit_image_type()
Dlp_scene.h128 unsigned sample_stride; member
Dlp_texture.c162 lpr->sample_stride = total_size; in llvmpipe_texture_layout()
778 map += sample * lpr->sample_stride; in llvmpipe_transfer_map_ms()
Dlp_state_fs.c514 LLVMValueRef sample_stride = LLVMBuildLoad(builder, in fs_fb_fetch() local
517 LLVMValueRef sample_offset = LLVMBuildMul(builder, sample_stride, fs_iface->sample_id, ""); in fs_fb_fetch()
3334 LLVMValueRef sample_stride = NULL; in generate_fragment() local
3352 sample_stride = LLVMBuildLoad(builder, in generate_fragment()
3361 if (sample_stride) { in generate_fragment()
3362 …LLVMValueRef sample_offset = LLVMBuildMul(builder, sample_stride, lp_build_const_int32(gallivm, s)… in generate_fragment()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_llvm_sample.c274 DRAW_LLVM_TEXTURE_MEMBER(sample_stride, DRAW_JIT_TEXTURE_SAMPLE_STRIDE, TRUE) in DRAW_LLVM_TEXTURE_MEMBER()
314 DRAW_LLVM_IMAGE_MEMBER(sample_stride, DRAW_JIT_IMAGE_SAMPLE_STRIDE, TRUE)
404 sampler->dynamic_state.base.sample_stride = draw_llvm_texture_sample_stride; in draw_llvm_sampler_soa_create()
490 image->dynamic_state.base.sample_stride = draw_llvm_image_sample_stride; in draw_llvm_image_soa_create()
Ddraw_llvm.h62 uint32_t sample_stride; member
102 uint32_t sample_stride; member
941 uint32_t sample_stride,
956 uint32_t sample_stride);
Ddraw_context.h205 uint32_t sample_stride,
220 uint32_t sample_stride);
Ddraw_context.c1171 uint32_t sample_stride, in draw_set_mapped_texture() argument
1183 last_level, num_samples, sample_stride, base_ptr, in draw_set_mapped_texture()
1197 uint32_t sample_stride) in draw_set_mapped_image() argument
1207 num_samples, sample_stride); in draw_set_mapped_image()
Ddraw_llvm.c200 LP_CHECK_MEMBER_OFFSET(struct draw_jit_texture, sample_stride, in create_jit_texture_type()
298 LP_CHECK_MEMBER_OFFSET(struct draw_jit_image, sample_stride, in create_jit_image_type()
2512 uint32_t sample_stride, in draw_llvm_set_mapped_texture() argument
2550 jit_tex->sample_stride = sample_stride; in draw_llvm_set_mapped_texture()
2568 uint32_t sample_stride) in draw_llvm_set_mapped_image() argument
2602 jit_image->sample_stride = sample_stride; in draw_llvm_set_mapped_image()
/third_party/mesa3d/src/gallium/drivers/swr/
Dswr_tex_sample.cpp192 SWR_TEXTURE_MEMBER(sample_stride, TRUE) in SWR_TEXTURE_MEMBER()
365 sampler->dynamic_state.base.sample_stride = swr_texture_sample_stride; in swr_sampler_soa_create()
Dswr_context.h81 uint32_t sample_stride;
Dswr_state.cpp907 jit_tex->sample_stride = 0; in swr_update_texture_state()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_sample.h296 (*sample_stride)(const struct lp_sampler_dynamic_state *state, member
444 LLVMValueRef sample_stride; member
Dlp_bld_sample_soa.c3184 lp_build_mul(int_coord_bld, bld->sample_stride, ms_index)); in lp_build_fetch_texel()
3541 …bld.sample_stride = lp_build_broadcast_scalar(&bld.int_coord_bld, dynamic_state->sample_stride(dyn… in lp_build_sample_soa_code()
4634 LLVMValueRef num_samples = NULL, sample_stride = NULL; in lp_build_img_op_soa() local
4638 sample_stride = dynamic_state->sample_stride(dynamic_state, gallivm, in lp_build_img_op_soa()
4677 … lp_build_mul(&int_coord_bld, lp_build_broadcast_scalar(&int_coord_bld, sample_stride), in lp_build_img_op_soa()
/third_party/ffmpeg/libavcodec/
Dmpegaudiodec_template.c1528 int sample_stride; in mp_decode_frame() local
1531 sample_stride = 1; in mp_decode_frame()
1534 sample_stride = s->nb_channels; in mp_decode_frame()
1541 sample_stride, s->sb_samples[ch][i]); in mp_decode_frame()
1542 samples_ptr += 32 * sample_stride; in mp_decode_frame()

12