Home
last modified time | relevance | path

Searched refs:buffer_count (Results 1 – 25 of 58) sorted by relevance

123

/third_party/mesa3d/src/virtio/vulkan/
Dvn_cs.c14 assert(enc->buffer_count <= enc->buffer_max); in vn_cs_encoder_sanity_check()
17 for (uint32_t i = 0; i < enc->buffer_count; i++) in vn_cs_encoder_sanity_check()
21 if (enc->buffer_count) { in vn_cs_encoder_sanity_check()
23 &enc->buffers[enc->buffer_count - 1]; in vn_cs_encoder_sanity_check()
42 assert(enc->buffer_count < enc->buffer_max); in vn_cs_encoder_add_buffer()
43 struct vn_cs_encoder_buffer *cur_buf = &enc->buffers[enc->buffer_count++]; in vn_cs_encoder_add_buffer()
58 assert(enc->buffer_count); in vn_cs_encoder_commit_buffer()
60 &enc->buffers[enc->buffer_count - 1]; in vn_cs_encoder_commit_buffer()
74 assert(enc->buffer_count); in vn_cs_encoder_gc_buffers()
76 &enc->buffers[enc->buffer_count - 1]; in vn_cs_encoder_gc_buffers()
[all …]
Dvn_cs.h19 .buffer_count = 1, .buffer_max = 1, .current_buffer_size = size, \
26 .buffers = (buf), .buffer_count = 1, .buffer_max = 1, \
52 uint32_t buffer_count; member
101 return !enc->buffer_count || enc->cur == enc->buffers[0].base; in vn_cs_encoder_is_empty()
107 if (unlikely(!enc->buffer_count)) in vn_cs_encoder_get_len()
112 &enc->buffers[enc->buffer_count - 1]; in vn_cs_encoder_get_len()
Dvn_instance.c358 if (cs->buffer_count > ARRAY_SIZE(local_descs)) { in vn_instance_submission_get_cs()
360 malloc(sizeof(VkCommandStreamDescriptionMESA) * cs->buffer_count); in vn_instance_submission_get_cs()
366 for (uint32_t i = 0; i < cs->buffer_count; i++) { in vn_instance_submission_get_cs()
409 (direct ? 0 : cs->buffer_count) + (extra_shmem ? 1 : 0); in vn_instance_submission_get_ring_submit()
416 for (uint32_t i = 0; i < cs->buffer_count; i++) { in vn_instance_submission_get_ring_submit()
472 assert(!cs->indirect && cs->buffer_count == 1); in vn_instance_ring_cs_upload_locked()
/third_party/boost/tools/quickbook/src/
Dnative_text.cpp28 int buffer_count = in to_utf8() local
31 if (!buffer_count) in to_utf8()
35 boost::scoped_array<char> buffer(new char[buffer_count]); in to_utf8()
38 CP_UTF8, 0, x.c_str(), -1, buffer.get(), buffer_count, 0, in to_utf8()
49 int buffer_count = in from_utf8() local
52 if (!buffer_count) in from_utf8()
56 boost::scoped_array<wchar_t> buffer(new wchar_t[buffer_count]); in from_utf8()
59 CP_UTF8, 0, x.c_str(), -1, buffer.get(), buffer_count)) in from_utf8()
/third_party/gstreamer/gstreamer/tests/check/elements/
Dconcat.c29 static guint buffer_count; variable
41 (buffer_count % N_BUFFERS) * 25 * GST_MSECOND); in output_chain_time()
45 (buffer_count % N_BUFFERS) * 25 * GST_MSECOND); in output_chain_time()
51 fail_unless_equals_int64 (timestamp, buffer_count * 25 * GST_MSECOND); in output_chain_time()
54 fail_unless_equals_int (b, buffer_count % N_BUFFERS); in output_chain_time()
56 buffer_count++; in output_chain_time()
117 buffer_count = 0; in GST_START_TEST()
153 fail_unless_equals_int (buffer_count, 3 * N_BUFFERS); in GST_START_TEST()
178 (buffer_count / N_BUFFERS) * 1000 * N_BUFFERS); in output_chain_bytes()
181 fail_unless_equals_int (b, buffer_count % N_BUFFERS); in output_chain_bytes()
[all …]
/third_party/gstreamer/gstplugins_base/tests/check/pipelines/
Dcapsfilter-renegotiation.c37 int buffer_count = 0; variable
49 buffer_count++; in buffer_probe()
50 if (buffer_count == 50) { in buffer_probe()
53 } else if (buffer_count == 100) { in buffer_probe()
56 } else if (buffer_count == 150) { in buffer_probe()
105 buffer_count = 0; in run_capsfilter_renegotiation()
/third_party/gstreamer/gstplugins_good/sys/waveform/
Dgstwaveformsink.c171 wfsink->buffer_count = BUFFER_COUNT; in gst_waveform_sink_init()
173 wfsink->free_buffers_count = wfsink->buffer_count; in gst_waveform_sink_init()
374 wfsink->free_buffers_count = wfsink->buffer_count; in gst_waveform_sink_prepare()
377 wfsink->wave_buffers = (WAVEHDR *) g_new0 (WAVEHDR, wfsink->buffer_count); in gst_waveform_sink_prepare()
381 wfsink->buffer_count), (NULL)); in gst_waveform_sink_prepare()
384 memset (wfsink->wave_buffers, 0, sizeof (WAVEHDR) * wfsink->buffer_count); in gst_waveform_sink_prepare()
387 for (index = 0; index < wfsink->buffer_count; index++) { in gst_waveform_sink_prepare()
404 for (index = 0; index < wfsink->buffer_count; index++) { in gst_waveform_sink_unprepare()
505 wfsink->write_buffer %= wfsink->buffer_count; in gst_waveform_sink_write()
523 (wfsink->buffer_count - wfsink->free_buffers_count) * wfsink->buffer_size; in gst_waveform_sink_delay()
Dgstwaveformsink.h88 guint buffer_count; member
/third_party/ffmpeg/libavcodec/
Ddxva2.c894 unsigned buffer_count = 0; in ff_dxva2_common_end_frame() local
941 buffer = &buffer11[buffer_count]; in ff_dxva2_common_end_frame()
947 buffer = &buffer2[buffer_count]; in ff_dxva2_common_end_frame()
959 buffer_count++; in ff_dxva2_common_end_frame()
964 buffer = &buffer11[buffer_count]; in ff_dxva2_common_end_frame()
970 buffer = &buffer2[buffer_count]; in ff_dxva2_common_end_frame()
982 buffer_count++; in ff_dxva2_common_end_frame()
987 buffer = &buffer11[buffer_count + 0]; in ff_dxva2_common_end_frame()
988 buffer_slice = &buffer11[buffer_count + 1]; in ff_dxva2_common_end_frame()
993 buffer = &buffer2[buffer_count + 0]; in ff_dxva2_common_end_frame()
[all …]
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbaseparse.c36 static gint buffer_count = 0; variable
388 fail_unless (buffer_count == num); in _sink_chain()
390 gst_util_uint64_scale_round (buffer_count, GST_SECOND * TEST_VIDEO_FPS_D, in _sink_chain()
397 buffer_count++; in _sink_chain()
439 buffer_count = 0; in _src_getrange()
518 buffer_count++; in _sink_chain_pull_short_read()
574 buffer_count = 0; in GST_START_TEST()
593 fail_unless (buffer_pull_count <= buffer_count); in GST_START_TEST()
620 buffer_count++; in _sink_chain_pull_frame_growth()
652 buffer_count = 0; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c256 sink->buffer_count = 0; in gst_openal_sink_init()
833 sink->buffer_count = spec->segtotal; in gst_openal_sink_parse_spec()
897 sink->buffers = g_malloc (sink->buffer_count * sizeof (*sink->buffers)); in gst_openal_sink_prepare()
904 alGenBuffers (sink->buffer_count, sink->buffers); in gst_openal_sink_prepare()
907 ("Unable to generate %d buffers", sink->buffer_count)); in gst_openal_sink_prepare()
923 sink->buffer_count = 0; in gst_openal_sink_prepare()
950 alDeleteBuffers (sink->buffer_count, sink->buffers); in gst_openal_sink_unprepare()
954 sink->buffer_count = 0; in gst_openal_sink_unprepare()
992 if (processed > 0 || queued < sink->buffer_count) in gst_openal_sink_write()
1022 sink->buffer_idx = (sink->buffer_idx + 1) % sink->buffer_count; in gst_openal_sink_write()
[all …]
Dgstopenalsink.h88 ALuint buffer_count; member
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_link_uniform_blocks.c433 unsigned buffer_count = aoa_size == 0 ? 1 : aoa_size; in allocate_uniform_blocks() local
435 *num_blocks += buffer_count; in allocate_uniform_blocks()
440 *num_variables += block_variables * buffer_count; in allocate_uniform_blocks()
572 unsigned buffer_count = aoa_size == 0 ? 1 : aoa_size; in link_linked_shader_uniform_blocks() local
574 for (unsigned array_index = 0; array_index < buffer_count; array_index++) { in link_linked_shader_uniform_blocks()
/third_party/libuv/src/win/
Dwinsock.c271 DWORD buffer_count, DWORD* bytes, DWORD* flags, WSAOVERLAPPED *overlapped, in uv__wsarecv_workaround() argument
285 info.BufferCount = buffer_count; in uv__wsarecv_workaround()
365 DWORD buffer_count, DWORD* bytes, DWORD* flags, struct sockaddr* addr, in uv__wsarecvfrom_workaround() argument
381 info.BufferCount = buffer_count; in uv__wsarecvfrom_workaround()
Dinternal.h310 DWORD buffer_count, DWORD* bytes, DWORD* flags, WSAOVERLAPPED *overlapped,
313 DWORD buffer_count, DWORD* bytes, DWORD* flags, struct sockaddr* addr,
/third_party/mesa3d/src/intel/tools/
Dintel_dump_gpu.c240 for (uint32_t i = 0; i < execbuffer2->buffer_count; i++) { in dump_execbuffer2()
271 for (uint32_t i = 0; i < execbuffer2->buffer_count; i++) { in dump_execbuffer2()
290 current_frame_id, execbuffer2->buffer_count); in dump_execbuffer2()
306 for (uint32_t i = 0; i < execbuffer2->buffer_count; i++) { in dump_execbuffer2()
323 execbuffer2->buffer_count - 1; in dump_execbuffer2()
325 for (uint32_t i = 0; i < execbuffer2->buffer_count; i++) { in dump_execbuffer2()
Dintel_sanitize_gpu.c255 objects[exec->buffer_count - 1].handle; in exec_and_check_padding()
267 for (int i = 0; i < exec->buffer_count; i++) { in exec_and_check_padding()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.c178 uint32_t buffer_count = 0; in radv_CreateDescriptorSetLayout() local
273 set_layout->binding[b].buffer_offset = buffer_count; in radv_CreateDescriptorSetLayout()
323 buffer_count += descriptor_count * binding_buffer_count; in radv_CreateDescriptorSetLayout()
330 set_layout->buffer_count = buffer_count; in radv_CreateDescriptorSetLayout()
553 uint32_t buffer_count = layout->buffer_count; in radv_descriptor_set_create() local
560 buffer_count = in radv_descriptor_set_create()
564 sizeof(struct radv_descriptor_set_header) + sizeof(struct radeon_winsys_bo *) * buffer_count; in radv_descriptor_set_create()
575 memset(set->descriptors, 0, sizeof(struct radeon_winsys_bo *) * buffer_count); in radv_descriptor_set_create()
593 set->header.buffer_count = buffer_count; in radv_descriptor_set_create()
Dradv_descriptor_set.h73 uint32_t buffer_count; member
/third_party/boost/libs/asio/include/boost/asio/detail/impl/
Dwin_iocp_socket_service_base.ipp387 WSABUF* buffers, std::size_t buffer_count,
401 static_cast<DWORD>(buffer_count), &bytes_transferred, flags, op, 0);
414 WSABUF* buffers, std::size_t buffer_count,
427 static_cast<DWORD>(buffer_count),
441 WSABUF* buffers, std::size_t buffer_count,
456 static_cast<DWORD>(buffer_count),
492 WSABUF* buffers, std::size_t buffer_count, socket_addr_type* addr,
505 static_cast<DWORD>(buffer_count),
/third_party/boost/boost/asio/detail/impl/
Dwin_iocp_socket_service_base.ipp387 WSABUF* buffers, std::size_t buffer_count,
401 static_cast<DWORD>(buffer_count), &bytes_transferred, flags, op, 0);
414 WSABUF* buffers, std::size_t buffer_count,
427 static_cast<DWORD>(buffer_count),
441 WSABUF* buffers, std::size_t buffer_count,
456 static_cast<DWORD>(buffer_count),
492 WSABUF* buffers, std::size_t buffer_count, socket_addr_type* addr,
505 static_cast<DWORD>(buffer_count),
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dprogressreport.h53 gint64 buffer_count; member
Dprogressreport.c259 cur = filter->buffer_count; in gst_progress_report_do_query()
418 filter->buffer_count++; in gst_progress_report_transform_ip()
440 filter->buffer_count = 0; in gst_progress_report_start()
/third_party/boost/boost/asio/detail/
Dwin_iocp_socket_service_base.hpp484 WSABUF* buffers, std::size_t buffer_count,
489 WSABUF* buffers, std::size_t buffer_count,
495 WSABUF* buffers, std::size_t buffer_count,
505 WSABUF* buffers, std::size_t buffer_count, socket_addr_type* addr,
/third_party/boost/libs/asio/include/boost/asio/detail/
Dwin_iocp_socket_service_base.hpp484 WSABUF* buffers, std::size_t buffer_count,
489 WSABUF* buffers, std::size_t buffer_count,
495 WSABUF* buffers, std::size_t buffer_count,
505 WSABUF* buffers, std::size_t buffer_count, socket_addr_type* addr,

123