Home
last modified time | relevance | path

Searched refs:cur_buf (Results 1 – 11 of 11) sorted by relevance

/third_party/mesa3d/src/virtio/vulkan/
Dvn_cs.c62 const struct vn_cs_encoder_buffer *cur_buf = in vn_cs_encoder_sanity_check() local
64 assert(cur_buf->base <= enc->cur && enc->cur <= enc->end && in vn_cs_encoder_sanity_check()
65 enc->end <= cur_buf->base + enc->current_buffer_size); in vn_cs_encoder_sanity_check()
66 if (cur_buf->committed_size) in vn_cs_encoder_sanity_check()
83 struct vn_cs_encoder_buffer *cur_buf = &enc->buffers[enc->buffer_count++]; in vn_cs_encoder_add_buffer() local
85 cur_buf->shmem = shmem; in vn_cs_encoder_add_buffer()
86 cur_buf->offset = offset; in vn_cs_encoder_add_buffer()
87 cur_buf->base = base; in vn_cs_encoder_add_buffer()
88 cur_buf->committed_size = 0; in vn_cs_encoder_add_buffer()
99 struct vn_cs_encoder_buffer *cur_buf = in vn_cs_encoder_commit_buffer() local
[all …]
Dvn_cs.h151 const struct vn_cs_encoder_buffer *cur_buf = in vn_cs_encoder_get_len() local
153 if (!cur_buf->committed_size) in vn_cs_encoder_get_len()
154 len += enc->cur - cur_buf->base; in vn_cs_encoder_get_len()
/third_party/ffmpeg/libavdevice/
Daudiotoolbox.m42 int cur_buf; field
238 ctx->cur_buf = !ctx->cur_buf;
242 pthread_mutex_lock(&ctx->buffer_lock[ctx->cur_buf]);
245 …if (!ctx->buffer[ctx->cur_buf] || ctx->buffer[ctx->cur_buf]->mAudioDataBytesCapacity != pkt->size)…
246 err = AudioQueueAllocateBuffer(ctx->queue, pkt->size, &ctx->buffer[ctx->cur_buf]);
248 pthread_mutex_unlock(&ctx->buffer_lock[ctx->cur_buf]);
253 AudioQueueBufferRef buf = ctx->buffer[ctx->cur_buf];
260 pthread_mutex_unlock(&ctx->buffer_lock[ctx->cur_buf]);
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_shader_buffer.c260 struct svga_shader_buffer *cur_buf = in svga_init_shader_buffer_functions() local
268 i++, hw_buf++, cur_buf++) { in svga_init_shader_buffer_functions()
271 cur_buf->desc.buffer = NULL; in svga_init_shader_buffer_functions()
272 cur_buf->resource = NULL; in svga_init_shader_buffer_functions()
273 cur_buf->uav_index = -1; in svga_init_shader_buffer_functions()
Dsvga_shader.c531 const struct svga_shader_buffer *cur_buf = &svga->curr.atomic_buffers[0]; in svga_init_shader_key_common() local
534 i++, cur_buf++) { in svga_init_shader_key_common()
536 if (cur_buf->resource) in svga_init_shader_key_common()
537 key->atomic_buf_uav_index[i] = cur_buf->uav_index + uav_splice_index; in svga_init_shader_key_common()
Dsvga_state_uav.c648 struct svga_shader_buffer *cur_buf = &svga->curr.atomic_buffers[i]; in svga_save_uav_state() local
652 *hw_buf = *cur_buf; in svga_save_uav_state()
/third_party/ltp/metadata/
Dmetaparse.c382 int cur_buf = 0; in look_for_array_size() local
386 if (!(token = next_token2(f, buf[cur_buf], sizeof(buf[cur_buf]), NULL))) in look_for_array_size()
400 if (strcmp(buf[cur_buf], "]") && strcmp(buf[cur_buf], "[")) { in look_for_array_size()
401 cur_buf = !cur_buf; in look_for_array_size()
/third_party/alsa-utils/seq/aplaymidi/
Darecordmidi.c46 struct buffer *cur_buf; member
274 tracks[i].cur_buf = &tracks[i].first_buf; in init_tracks()
396 track->cur_buf->next = calloc(1, sizeof(struct buffer)); in add_byte()
397 if (!track->cur_buf->next) in add_byte()
399 track->cur_buf = track->cur_buf->next; in add_byte()
403 track->cur_buf->buf[track->cur_buf_size++] = byte; in add_byte()
657 fwrite(buf->buf, 1, buf == tracks[i].cur_buf in write_file()
/third_party/gstreamer/gstplugins_base/tests/check/libs/
Daudiodecoder.c163 GstBuffer *cur_buf = buf_num == 1 || i != 0 ? buffer : tester->prev_buf; in gst_audio_decoder_tester_handle_frame() local
164 gst_buffer_map (cur_buf, &map, GST_MAP_READ); in gst_audio_decoder_tester_handle_frame()
178 gst_buffer_unmap (cur_buf, &map); in gst_audio_decoder_tester_handle_frame()
/third_party/ffmpeg/doc/
DAPIchanges3015 AVFilterLink.cur_pic -> AVFilterLink.cur_buf
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h19086 unsigned int cur_buf; member