Home
last modified time | relevance | path

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

123

/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/webrtc/modules/audio_processing/aec3/
Dblock_delay_buffer_unittest.cc24 float SampleValue(size_t sample_index) { in SampleValue() argument
25 return sample_index % 32768; in SampleValue()
91 size_t sample_index = first_sample_index; in TEST_P() local
92 for (size_t i = 0; i < subband_frame_length; ++i, ++sample_index) { in TEST_P()
93 if (sample_index < delay) { in TEST_P()
96 EXPECT_EQ(SampleValue(sample_index - delay), in TEST_P()
Dblock_framer_unittest.cc40 size_t sample_index, in ComputeSampleValue() argument
43 sample_index + channel) + in ComputeSampleValue()
Dframe_blocker_unittest.cc28 size_t sample_index, in ComputeSampleValue() argument
31 static_cast<int>(chunk_counter * chunk_size + sample_index + channel) + in ComputeSampleValue()
/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.py548 sample_index = i
550 sample_index = np.random.randint(len(candidates))
551 sample = candidates[sample_index]
667 sample_index = i
669 sample_index = np.random.randint(len(candidates))
670 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()
/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/cronet/net/cert/
Dmulti_log_ct_verifier_unittest.cc136 int sample_index) { in GetValueFromHistogram() argument
145 return samples->GetCount(sample_index); in GetValueFromHistogram()
/external/cronet/components/metrics/
Dcall_stack_profile_metadata_unittest.cc27 int sample_index, in ExpectMetadataApplied() argument
31 base::StrCat({"at sample_index ", base::NumberToString(sample_index), in ExpectMetadataApplied()
38 ASSERT_LT(sample_index, samples.size()) << index_info; in ExpectMetadataApplied()
39 const CallStackProfile::StackSample& sample = samples[sample_index]; in ExpectMetadataApplied()
57 int sample_index, in ExpectMetadataUnapplied() argument
61 base::StrCat({"at sample_index ", base::NumberToString(sample_index), in ExpectMetadataUnapplied()
68 ASSERT_LT(sample_index, samples.size()) << index_info; in ExpectMetadataUnapplied()
69 const CallStackProfile::StackSample& sample = samples[sample_index]; in ExpectMetadataUnapplied()
/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/skia/src/core/
DSkScalerContext.cpp369 … for (int sample_index = std::max(0, sample_x - 4), coeff_index = sample_index - (sample_x - 4) in pack4xHToMask() local
370 ; sample_index < std::min(sample_x + 8, sample_width) in pack4xHToMask()
371 ; ++sample_index, ++coeff_index) in pack4xHToMask()
373 int sample_value = srcP[sample_index]; in pack4xHToMask()
/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/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,

123