Home
last modified time | relevance | path

Searched refs:from_idx (Results 1 – 3 of 3) sorted by relevance

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channel-mixer.c303 gint * from_idx, gint * to_idx, gfloat ratio) in gst_audio_channel_mixer_fill_one_other() argument
307 if (from_idx[1] != -1 && to_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
308 matrix[from_idx[1]][to_idx[1]] = ratio; in gst_audio_channel_mixer_fill_one_other()
312 if (from_idx[0] != -1 && to_idx[0] != -1) { in gst_audio_channel_mixer_fill_one_other()
313 matrix[from_idx[0]][to_idx[0]] = ratio; in gst_audio_channel_mixer_fill_one_other()
317 if (from_idx[2] != -1 && to_idx[2] != -1) { in gst_audio_channel_mixer_fill_one_other()
318 matrix[from_idx[2]][to_idx[2]] = ratio; in gst_audio_channel_mixer_fill_one_other()
322 if (from_idx[0] != -1 && to_idx[1] != -1 && from_idx[1] != -1) { in gst_audio_channel_mixer_fill_one_other()
323 matrix[from_idx[0]][to_idx[1]] = 0.5 * ratio; in gst_audio_channel_mixer_fill_one_other()
324 } else if (from_idx[0] != -1 && to_idx[1] != -1 && from_idx[1] == -1) { in gst_audio_channel_mixer_fill_one_other()
[all …]
/third_party/mesa3d/src/util/perf/
Du_trace.c487 uint32_t from_idx = begin_it.event_idx; in u_trace_clone_append() local
489 while (from_chunk != end_it.chunk || from_idx != end_it.event_idx) { in u_trace_clone_append()
493 from_chunk->num_traces - from_idx); in u_trace_clone_append()
495 to_copy = MIN2(to_copy, end_it.event_idx - from_idx); in u_trace_clone_append()
498 from_chunk->timestamps, from_idx, in u_trace_clone_append()
503 &from_chunk->traces[from_idx], in u_trace_clone_append()
518 from_idx += to_copy; in u_trace_clone_append()
520 assert(from_idx <= from_chunk->num_traces); in u_trace_clone_append()
521 if (from_idx == from_chunk->num_traces) { in u_trace_clone_append()
525 from_idx = 0; in u_trace_clone_append()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-prototype.c1680 uint32_t from_idx = (uint32_t) from_idx_num; in ecma_builtin_array_prototype_object_index_of() local
1697 while (from_idx < len) in ecma_builtin_array_prototype_object_index_of()
1699 if (ecma_op_strict_equality_compare (args[0], buffer_p[from_idx])) in ecma_builtin_array_prototype_object_index_of()
1701 return ecma_make_uint32_value (from_idx); in ecma_builtin_array_prototype_object_index_of()
1704 from_idx++; in ecma_builtin_array_prototype_object_index_of()
1712 while (from_idx < len) in ecma_builtin_array_prototype_object_index_of()
1715 ecma_value_t get_value = ecma_op_object_find_by_uint32_index (obj_p, from_idx); in ecma_builtin_array_prototype_object_index_of()
1727 return ecma_make_uint32_value (from_idx); in ecma_builtin_array_prototype_object_index_of()
1730 from_idx++; in ecma_builtin_array_prototype_object_index_of()
1769 uint32_t from_idx; in ecma_builtin_array_prototype_object_last_index_of() local
[all …]