Home
last modified time | relevance | path

Searched refs:sample_index (Results 1 – 25 of 40) sorted by relevance

12

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Daudio_provider_mock.cc38 const int sample_index = (start_sample + i) % wraparound; in GetAudioSamples() local
40 if ((sample_index >= yes_start) && (sample_index < yes_end)) { in GetAudioSamples()
41 sample = g_yes_1000ms_sample_data[sample_index - yes_start]; in GetAudioSamples()
42 } else if ((sample_index >= no_start) && (sample_index < no_end)) { in GetAudioSamples()
43 sample = g_no_1000ms_sample_data[sample_index - no_start]; in GetAudioSamples()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c84 unsigned sample_index, float *out_value) in si_get_sample_position() argument
97 offset = 4 * (sample_index * 2); in si_get_sample_position()
104 offset = 4 * (sample_index * 2); in si_get_sample_position()
111 offset = 4 * (sample_index % 4 * 2); in si_get_sample_position()
112 index = (sample_index / 4) * 4; in si_get_sample_position()
119 offset = 4 * (sample_index % 4 * 2); in si_get_sample_position()
120 index = (sample_index / 4) * 4; in si_get_sample_position()
/external/mesa3d/src/gallium/drivers/r600/
Dcayman_msaa.c83 unsigned sample_index, float *out_value) in cayman_get_sample_position() argument
95 offset = 4 * (sample_index * 2); in cayman_get_sample_position()
102 offset = 4 * (sample_index * 2); in cayman_get_sample_position()
109 offset = 4 * (sample_index % 4 * 2); in cayman_get_sample_position()
110 index = (sample_index / 4) * 4; in cayman_get_sample_position()
117 offset = 4 * (sample_index % 4 * 2); in cayman_get_sample_position()
118 index = (sample_index / 4) * 4; in cayman_get_sample_position()
/external/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_txf_ms.c47 int sample_index = nir_tex_instr_src_index(instr, nir_tex_src_ms_index); in vc4_nir_lower_txf_ms_instr() local
49 nir_ssa_def *sample = instr->src[sample_index].src.ssa; in vc4_nir_lower_txf_ms_instr()
64 nir_tex_instr_remove_src(instr, sample_index); in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c55 nir_ssa_def *coord = NULL, *sample_index = NULL; in vc4_nir_lower_txf_ms_instr() local
64 sample_index = txf_ms->src[i].src.ssa; in vc4_nir_lower_txf_ms_instr()
71 assert(sample_index); in vc4_nir_lower_txf_ms_instr()
117 nir_ssa_def *sample_addr = nir_ishl(b, sample_index, nir_imm_int(b, 4)); in vc4_nir_lower_txf_ms_instr()
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py549 sample_index = i
551 sample_index = np.random.randint(len(candidates))
552 sample = candidates[sample_index]
668 sample_index = i
670 sample_index = np.random.randint(len(candidates))
671 sample = candidates[sample_index]
/external/mesa3d/src/compiler/glsl/
Dir_equals.cpp178 if (!lod_info.sample_index->equals(other->lod_info.sample_index, ignore)) in equals()
Dir_clone.cpp237 new_tex->lod_info.sample_index = this->lod_info.sample_index->clone(mem_ctx, ht); in clone()
Dir_rvalue_visitor.cpp73 handle_rvalue(&ir->lod_info.sample_index); in rvalue_visit()
Dopt_tree_grafting.cpp291 if (do_graft(&ir->lod_info.sample_index)) in visit_enter()
Dir_hv_accept.cpp213 s = this->lod_info.sample_index->accept(v); in accept()
Dir_reader.cpp1080 tex->lod_info.sample_index = read_rvalue(s_sample_index); in read_texture()
1081 if (tex->lod_info.sample_index == NULL) { in read_texture()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c414 unsigned sample_count, unsigned sample_index, in nv50_context_get_sample_position() argument
449 xy[0] = ptr[sample_index][0] * 0.0625f; in nv50_context_get_sample_position()
450 xy[1] = ptr[sample_index][1] * 0.0625f; in nv50_context_get_sample_position()
/external/mesa3d/src/amd/vulkan/
Dsi_cmd_buffer.c1535 unsigned sample_index, float *out_value) in radv_cayman_get_sample_position() argument
1547 offset = 4 * (sample_index * 2); in radv_cayman_get_sample_position()
1554 offset = 4 * (sample_index * 2); in radv_cayman_get_sample_position()
1561 offset = 4 * (sample_index % 4 * 2); in radv_cayman_get_sample_position()
1562 index = (sample_index / 4) * 4; in radv_cayman_get_sample_position()
1569 offset = 4 * (sample_index % 4 * 2); in radv_cayman_get_sample_position()
1570 index = (sample_index / 4) * 4; in radv_cayman_get_sample_position()
/external/mesa3d/src/mesa/drivers/common/
Dmeta_blit.c360 char *sample_index; in setup_glsl_msaa_blit_shader() local
364 sample_index = "gl_SampleID"; in setup_glsl_msaa_blit_shader()
382 sample_index = "0"; in setup_glsl_msaa_blit_shader()
416 sample_index); in setup_glsl_msaa_blit_shader()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c557 unsigned sample_count, unsigned sample_index, in nvc0_context_get_sample_position() argument
566 xy[0] = ptr[sample_index][0] * 0.0625f; in nvc0_context_get_sample_position()
567 xy[1] = ptr[sample_index][1] * 0.0625f; in nvc0_context_get_sample_position()
/external/skia/src/core/
DSkScalerContext.cpp343 … for (int sample_index = SkMax32(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16() local
344 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
345 ; ++sample_index, ++coeff_index) in pack4xHToLCD16()
347 int sample_value = srcP[sample_index]; in pack4xHToLCD16()
/external/skqp/src/core/
DSkScalerContext.cpp311 … for (int sample_index = SkMax32(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16() local
312 ; sample_index < SkMin32(sample_x + 8, sample_width) in pack4xHToLCD16()
313 ; ++sample_index, ++coeff_index) in pack4xHToLCD16()
315 int sample_value = srcP[sample_index]; in pack4xHToLCD16()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.c845 unsigned sample_count, unsigned sample_index, in svga_get_sample_position() argument
904 pos_out[0] = positions[sample_index][0]; in svga_get_sample_position()
905 pos_out[1] = positions[sample_index][1]; in svga_get_sample_position()
/external/virglrenderer/src/gallium/include/pipe/
Dp_context.h524 unsigned sample_index,
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h724 unsigned sample_index,
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_context.c642 unsigned sample_count, unsigned sample_index, in dd_context_get_sample_position() argument
647 return pipe->get_sample_position(pipe, sample_count, sample_index, in dd_context_get_sample_position()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4.h271 src_reg sample_index,
Dbrw_vec4_visitor.cpp914 src_reg sample_index, in emit_texture() argument
1026 emit(MOV(dst_reg(MRF, param_base + 1, sample_index.type, WRITEMASK_X), in emit_texture()
1027 sample_index)); in emit_texture()
/external/mesa3d/src/amd/common/
Dac_nir_to_llvm.c3468 LLVMValueRef sample_index, in adjust_sample_index_using_fmask() argument
3500 LLVMBuildMul(ctx->builder, sample_index, four, ""); in adjust_sample_index_using_fmask()
3522 sample_index = in adjust_sample_index_using_fmask()
3524 final_sample, sample_index, ""); in adjust_sample_index_using_fmask()
3525 return sample_index; in adjust_sample_index_using_fmask()
3540 LLVMValueRef sample_index = ac_llvm_extract_elem(&ctx->ac, get_src(ctx, instr->src[1]), 0); in get_image_coords() local
3570 sample_index = adjust_sample_index_using_fmask(&ctx->ac, in get_image_coords()
3574 sample_index, in get_image_coords()
3607 coords[count] = sample_index; in get_image_coords()
4838 LLVMValueRef res_ptr, samp_ptr, fmask_ptr = NULL, sample_index = NULL; in visit_tex() local
[all …]

12