Home
last modified time | relevance | path

Searched refs:avail_count (Results 1 – 7 of 7) sorted by relevance

/third_party/alsa-utils/axfer/
Dxfer-libasound-irq-rw.c58 unsigned int avail_count, struct mapper_context *mapper, in read_frames() argument
67 if (*frame_count < avail_count) in read_frames()
68 avail_count = *frame_count; in read_frames()
71 if (avail_count > frame_cache_get_count(&closure->cache)) { in read_frames()
72 avail_count -= frame_cache_get_count(&closure->cache); in read_frames()
79 avail_count); in read_frames()
83 avail_count); in read_frames()
90 avail_count = frame_cache_get_count(&closure->cache); in read_frames()
94 consumed_count = avail_count; in read_frames()
114 snd_pcm_uframes_t avail_count; in r_process_frames_blocking() local
[all …]
Dxfer-libffado.c180 unsigned int avail_count; in r_process_frames() local
186 avail_count = state->frames_per_period; in r_process_frames()
187 if (*frame_count < avail_count) in r_process_frames()
188 avail_count = *frame_count; in r_process_frames()
191 if (avail_count > frame_cache_get_count(&state->cache)) { in r_process_frames()
243 unsigned int avail_count; in w_process_frames() local
251 avail_count = state->frames_per_period; in w_process_frames()
252 if (*frame_count < avail_count) in w_process_frames()
253 avail_count = *frame_count; in w_process_frames()
256 if (avail_count > frame_cache_get_count(&state->cache)) { in w_process_frames()
[all …]
Dxfer-libasound-timer-mmap.c127 snd_pcm_uframes_t avail_count; in timer_mmap_process_frames() local
142 avail_count = (snd_pcm_uframes_t)avail; in timer_mmap_process_frames()
144 &avail_count); in timer_mmap_process_frames()
158 if (avail_count < planned_count) { in timer_mmap_process_frames()
165 timeout_msec = ((planned_count - avail_count) * 1000 + in timer_mmap_process_frames()
341 snd_pcm_uframes_t avail_count; in fill_buffer_with_zero_samples() local
347 &avail_count); in fill_buffer_with_zero_samples()
352 &avail_count); in fill_buffer_with_zero_samples()
361 layout->samples_per_frame, avail_count, in fill_buffer_with_zero_samples()
367 avail_count); in fill_buffer_with_zero_samples()
[all …]
Dxfer-libasound-irq-mmap.c79 unsigned int avail_count; in irq_mmap_process_frames() local
142 avail_count = *frame_count; in irq_mmap_process_frames()
144 avail_count = (unsigned int)avail; in irq_mmap_process_frames()
163 err = mapper_context_process_frames(mapper, frame_buf, &avail_count, in irq_mmap_process_frames()
167 if (avail_count == 0) { in irq_mmap_process_frames()
173 avail_count); in irq_mmap_process_frames()
176 if (consumed_count != avail_count) in irq_mmap_process_frames()
/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dir2.c221 unsigned avail_count = 0; in sched_next() local
285 if (avail_count && instr->pred != avail[0]->pred) in sched_next()
291 avail[avail_count++] = instr; in sched_next()
294 if (!avail_count) { in sched_next()
Dir2_private.h256 it = *__instrp, __instrp != &avail[avail_count]; __instrp++)
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_vulkan.cpp1109 uint32_t avail_count; in ImGui_ImplVulkanH_SelectSurfaceFormat() local
1110 vkGetPhysicalDeviceSurfaceFormatsKHR(physical_device, surface, &avail_count, NULL); in ImGui_ImplVulkanH_SelectSurfaceFormat()
1112 avail_format.resize((int)avail_count); in ImGui_ImplVulkanH_SelectSurfaceFormat()
1113 vkGetPhysicalDeviceSurfaceFormatsKHR(physical_device, surface, &avail_count, avail_format.Data); in ImGui_ImplVulkanH_SelectSurfaceFormat()
1116 if (avail_count == 1) in ImGui_ImplVulkanH_SelectSurfaceFormat()
1135 for (uint32_t avail_i = 0; avail_i < avail_count; avail_i++) in ImGui_ImplVulkanH_SelectSurfaceFormat()
1151 uint32_t avail_count = 0; in ImGui_ImplVulkanH_SelectPresentMode() local
1152 vkGetPhysicalDeviceSurfacePresentModesKHR(physical_device, surface, &avail_count, NULL); in ImGui_ImplVulkanH_SelectPresentMode()
1154 avail_modes.resize((int)avail_count); in ImGui_ImplVulkanH_SelectPresentMode()
1155 …vkGetPhysicalDeviceSurfacePresentModesKHR(physical_device, surface, &avail_count, avail_modes.Data… in ImGui_ImplVulkanH_SelectPresentMode()
[all …]