Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Daudio_provider_mock.cc36 const int sample_index = (start_sample + i) % wraparound; in GetAudioSamples() local
38 if ((sample_index >= yes_start) && (sample_index < yes_end)) { in GetAudioSamples()
39 sample = g_yes_1000ms_sample_data[sample_index - yes_start]; in GetAudioSamples()
40 } else if ((sample_index >= no_start) && (sample_index < no_end)) { in GetAudioSamples()
41 sample = g_no_1000ms_sample_data[sample_index - no_start]; in GetAudioSamples()
/external/mesa3d/src/mesa/state_tracker/
Dst_atom_msaa.c53 unsigned grid_width, grid_height, size, pixel, sample_index; in update_sample_locations() local
73 for (sample_index = 0; sample_index < samples; sample_index++) { in update_sample_locations()
74 int table_index = sample_index; in update_sample_locations()
78 table_index = pixel * samples + sample_index; in update_sample_locations()
88 locations[pixel * samples + sample_index] = loc; in update_sample_locations()
/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.c45 int sample_index = nir_tex_instr_src_index(instr, nir_tex_src_ms_index); in v3d_nir_lower_txf_ms_instr() local
47 nir_ssa_def *sample = instr->src[sample_index].src.ssa; in v3d_nir_lower_txf_ms_instr()
64 nir_tex_instr_remove_src(instr, sample_index); in v3d_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_txf_ms.c51 nir_ssa_def *coord = NULL, *sample_index = NULL; in vc4_nir_lower_txf_ms_instr() local
60 sample_index = txf_ms->src[i].src.ssa; in vc4_nir_lower_txf_ms_instr()
67 assert(sample_index); in vc4_nir_lower_txf_ms_instr()
113 nir_ssa_def *sample_addr = nir_ishl(b, sample_index, nir_imm_int(b, 4)); in vc4_nir_lower_txf_ms_instr()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_msaa.c123 unsigned sample_index, float *out_value) in si_get_sample_position() argument
146 out_value[0] = (GET_SX(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position()
147 out_value[1] = (GET_SY(sample_locs, sample_index) + 8) / 16.0f; in si_get_sample_position()
/external/tensorflow/tensorflow/examples/speech_commands/
Dinput_data.py553 sample_index = i
555 sample_index = np.random.randint(len(candidates))
556 sample = candidates[sample_index]
672 sample_index = i
674 sample_index = np.random.randint(len(candidates))
675 sample = candidates[sample_index]
/external/mesa3d/src/gallium/drivers/v3d/
Dv3d_context.c262 unsigned sample_count, unsigned sample_index, in v3d_get_sample_position() argument
276 xy[0] = 0.5 + xoffsets[sample_index] * .125; in v3d_get_sample_position()
277 xy[1] = .125 + sample_index * .25; in v3d_get_sample_position()
/external/mesa3d/src/compiler/glsl/
Dir_equals.cpp178 if (!lod_info.sample_index->equals(other->lod_info.sample_index, ignore)) in equals()
Dir_clone.cpp244 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()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.c350 unsigned sample_index, in zink_get_sample_position() argument
360 out_value[0] = pos[sample_index][0]; in zink_get_sample_position()
361 out_value[1] = pos[sample_index][1]; in zink_get_sample_position()
367 out_value[0] = pos[sample_index][0]; in zink_get_sample_position()
368 out_value[1] = pos[sample_index][1]; in zink_get_sample_position()
376 out_value[0] = pos[sample_index][0]; in zink_get_sample_position()
377 out_value[1] = pos[sample_index][1]; in zink_get_sample_position()
389 out_value[0] = pos[sample_index][0]; in zink_get_sample_position()
390 out_value[1] = pos[sample_index][1]; in zink_get_sample_position()
410 out_value[0] = pos[sample_index][0]; in zink_get_sample_position()
[all …]
/external/mesa3d/src/gallium/drivers/iris/
Diris_context.c156 unsigned sample_index, in iris_get_sample_position() argument
184 out_value[0] = u.a.x[sample_index]; in iris_get_sample_position()
185 out_value[1] = u.a.y[sample_index]; in iris_get_sample_position()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_context.c423 unsigned sample_count, unsigned sample_index, in nv50_context_get_sample_position() argument
458 xy[0] = ptr[sample_index][0] * 0.0625f; in nv50_context_get_sample_position()
459 xy[1] = ptr[sample_index][1] * 0.0625f; in nv50_context_get_sample_position()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c247 unsigned sample_index, in llvmpipe_get_sample_position() argument
252 out_value[0] = lp_sample_pos_4x[sample_index][0]; in llvmpipe_get_sample_position()
253 out_value[1] = lp_sample_pos_4x[sample_index][1]; in llvmpipe_get_sample_position()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_context.c583 unsigned sample_count, unsigned sample_index, in nvc0_context_get_sample_position() argument
592 xy[0] = ptr[sample_index][0] * 0.0625f; in nvc0_context_get_sample_position()
593 xy[1] = ptr[sample_index][1] * 0.0625f; in nvc0_context_get_sample_position()
/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/skia/src/core/
DSkScalerContext.cpp369 … for (int sample_index = std::max(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToLCD16() local
370 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToLCD16()
371 ; ++sample_index, ++coeff_index) in pack4xHToLCD16()
373 int sample_value = srcP[sample_index]; in pack4xHToLCD16()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.c904 unsigned sample_count, unsigned sample_index, in svga_get_sample_position() argument
970 pos_out[0] = positions[sample_index][0]; in svga_get_sample_position()
971 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/drivers/freedreno/
Dfreedreno_resource.c1372 unsigned sample_count, unsigned sample_index, in fd_get_sample_position() argument
1410 pos_out[0] = ptr[sample_index][0] / 16.0f; in fd_get_sample_position()
1411 pos_out[1] = ptr[sample_index][1] / 16.0f; in fd_get_sample_position()
/external/mesa3d/src/intel/compiler/
Dbrw_vec4.h262 src_reg sample_index,
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h885 unsigned sample_index,

12