Home
last modified time | relevance | path

Searched refs:num_buffers (Results 1 – 25 of 69) sorted by relevance

123

/external/libaom/libaom/test/
Dexternal_frame_buffer_test.cc49 bool CreateBufferList(int num_buffers) { in CreateBufferList() argument
50 if (num_buffers < 0) return false; in CreateBufferList()
52 num_buffers_ = num_buffers; in CreateBufferList()
289 void set_num_buffers(int num_buffers) { num_buffers_ = num_buffers; } in set_num_buffers() argument
290 int num_buffers() const { return num_buffers_; } in num_buffers() function in __anonc59549680111::ExternalFrameBufferMD5Test
327 int num_buffers, aom_get_frame_buffer_cb_fn_t cb_get, in SetFrameBufferFunctions() argument
329 if (num_buffers > 0) { in SetFrameBufferFunctions()
330 num_buffers_ = num_buffers; in SetFrameBufferFunctions()
404 const int num_buffers = in TEST_P() local
406 set_num_buffers(num_buffers); in TEST_P()
[all …]
/external/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc49 bool CreateBufferList(int num_buffers) { in CreateBufferList() argument
50 if (num_buffers < 0) return false; in CreateBufferList()
52 num_buffers_ = num_buffers; in CreateBufferList()
273 void set_num_buffers(int num_buffers) { num_buffers_ = num_buffers; } in set_num_buffers() argument
274 int num_buffers() const { return num_buffers_; } in num_buffers() function in __anon8f3eb60a0111::ExternalFrameBufferMD5Test
311 int num_buffers, vpx_get_frame_buffer_cb_fn_t cb_get, in SetFrameBufferFunctions() argument
313 if (num_buffers > 0) { in SetFrameBufferFunctions()
314 num_buffers_ = num_buffers; in SetFrameBufferFunctions()
386 const int num_buffers = in TEST_P() local
388 set_num_buffers(num_buffers); in TEST_P()
[all …]
/external/mesa3d/src/compiler/glsl/
Dlink_atomics.cpp101 unsigned *num_buffers, int *offset, in process_atomic_variable() argument
115 var, buffers, num_buffers, offset, in process_atomic_variable()
127 (*num_buffers)++; in process_atomic_variable()
150 unsigned *num_buffers) in find_active_atomic_counters() argument
155 *num_buffers = 0; in find_active_atomic_counters()
169 var, buffers, num_buffers, &offset, i); in find_active_atomic_counters()
205 unsigned num_buffers; in link_assign_atomic_counter_resources() local
208 find_active_atomic_counters(ctx, prog, &num_buffers); in link_assign_atomic_counter_resources()
211 num_buffers); in link_assign_atomic_counter_resources()
212 prog->data->NumAtomicBuffers = num_buffers; in link_assign_atomic_counter_resources()
[all …]
/external/webrtc/webrtc/base/
Dsec_buffer.h99 template <int num_buffers,
107 desc_.cBuffers = num_buffers; in CSecBufferBundle()
128 ASSERT(num < num_buffers); // "Buffer index out of bounds"
134 ASSERT(num < num_buffers); // "Buffer index out of bounds"
141 for ( size_t i = 0; i < num_buffers; ++i ) { in Release()
151 CSecBuffer<pfnFreeBuffer> buffers_[num_buffers];
/external/mesa3d/src/gallium/state_trackers/nine/
Dnine_buffer_upload.c68 unsigned num_buffers; member
129 unsigned num_buffers) in nine_upload_create() argument
149 upload->num_buffers = num_buffers; in nine_upload_create()
151 upload->buffers = CALLOC(num_buffers, sizeof(struct nine_buffer_group)); in nine_upload_create()
155 for (i = 0; i < num_buffers; i++) in nine_upload_create()
173 for (i = 0; i < upload->num_buffers; i++) in nine_upload_destroy()
193 for (i = 0; i < upload->num_buffers; i++) { in nine_upload_create_buffer()
200 if (i == upload->num_buffers) { in nine_upload_create_buffer()
Dnine_buffer_upload.h39 unsigned num_buffers);
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dbuffer_allocations.cc43 const int64 num_buffers = buffer_assignment->Allocations().size(); in Build() local
45 num_buffers, device_ordinal, memory_allocator, buffer_assignment)); in Build()
47 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in Build()
109 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in Build()
133 const int64 num_buffers = buffer_assignment_->Allocations().size(); in TearDown() local
134 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in TearDown()
/external/mesa3d/src/gallium/state_trackers/va/
Dpicture.c293 unsigned num_buffers = 0; in handleVASliceDataBufferType() local
306 buffers[num_buffers] = (void *const)&start_code_h264; in handleVASliceDataBufferType()
307 sizes[num_buffers++] = sizeof(start_code_h264); in handleVASliceDataBufferType()
313 buffers[num_buffers] = (void *const)&start_code_h265; in handleVASliceDataBufferType()
314 sizes[num_buffers++] = sizeof(start_code_h265); in handleVASliceDataBufferType()
323 buffers[num_buffers] = (void *const)&start_code_vc1; in handleVASliceDataBufferType()
324 sizes[num_buffers++] = sizeof(start_code_vc1); in handleVASliceDataBufferType()
332 buffers[num_buffers] = (void *)context->mpeg4.start_code; in handleVASliceDataBufferType()
333 sizes[num_buffers++] = context->mpeg4.start_code_size; in handleVASliceDataBufferType()
341 buffers[num_buffers] = buf->data; in handleVASliceDataBufferType()
[all …]
/external/u-boot/drivers/net/fsl-mc/dpio/
Dqbman_portal.c544 const uint64_t *buffers, unsigned int num_buffers) in qbman_swp_release() argument
552 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_release()
557 u64_to_le32_copy(&p[2], buffers, num_buffers); in qbman_swp_release()
561 p[0] = cl[0] | RAR_VB(rar) | num_buffers; in qbman_swp_release()
578 unsigned int num_buffers) in qbman_swp_acquire() argument
583 BUG_ON(!num_buffers || (num_buffers > 7)); in qbman_swp_acquire()
593 qb_attr_code_encode(&code_acquire_num, p, num_buffers); in qbman_swp_acquire()
610 BUG_ON(num > num_buffers); in qbman_swp_acquire()
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.c46 assert(mgr->num_buffers); in destroy_buffer_locked()
47 --mgr->num_buffers; in destroy_buffer_locked()
108 ++mgr->num_buffers; in pb_cache_add_buffer()
210 --mgr->num_buffers; in pb_cache_reclaim_buffer()
287 mgr->num_buffers = 0; in pb_cache_init()
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/
Dradv_amdgpu_cs.c50 unsigned num_buffers; member
391 for (unsigned i = 0; i < cs->num_buffers; ++i) { in radv_amdgpu_cs_reset()
402 cs->num_buffers = 0; in radv_amdgpu_cs_reset()
439 for (unsigned i = 0; i < cs->num_buffers; ++i) { in radv_amdgpu_cs_find_buffer()
461 if (cs->num_buffers == cs->max_num_buffers) { in radv_amdgpu_cs_add_buffer_internal()
468 cs->handles[cs->num_buffers] = bo; in radv_amdgpu_cs_add_buffer_internal()
469 cs->priorities[cs->num_buffers] = priority; in radv_amdgpu_cs_add_buffer_internal()
472 cs->buffer_hash_table[hash] = cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal()
474 ++cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal()
544 for (unsigned i = 0; i < child->num_buffers; ++i) { in radv_amdgpu_cs_execute_secondary()
[all …]
Dradv_amdgpu_winsys.h50 unsigned num_buffers; member
/external/u-boot/include/fsl-mc/
Dfsl_qbman_portal.h166 const uint64_t *buffers, unsigned int num_buffers);
173 unsigned int num_buffers);
/external/kernel-headers/original/uapi/linux/
Dvirtio_net.h118 __virtio16 num_buffers; /* Number of merged rx buffers */ member
141 __virtio16 num_buffers; /* Number of merged rx buffers */ member
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv98_video_bsp.c37 unsigned comm_seq, unsigned num_buffers, in nv98_decoder_bsp() argument
64 for (i = 0; i < num_buffers; i++) in nv98_decoder_bsp()
105 nouveau_vp3_bsp_next(dec, num_buffers, data, num_bytes); in nv98_decoder_bsp()
Dnv98_video.h35 unsigned comm_seq, unsigned num_buffers,
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_video_bsp.c53 unsigned comm_seq, unsigned num_buffers, in nvc0_decoder_bsp_next() argument
63 for (i = 0; i < num_buffers; i++) in nvc0_decoder_bsp_next()
127 nouveau_vp3_bsp_next(dec, num_buffers, data, num_bytes); in nvc0_decoder_bsp_next()
Dnvc0_video.h37 unsigned comm_seq, unsigned num_buffers,
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compiled_cpu_function.h267 size_t num_buffers) { in set_static_data_num_buffers() argument
268 static_data->num_buffers_ = num_buffers; in set_static_data_num_buffers()
/external/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.c377 int num_buffers; in amdgpu_lookup_buffer() local
381 num_buffers = cs->num_real_buffers; in amdgpu_lookup_buffer()
384 num_buffers = cs->num_slab_buffers; in amdgpu_lookup_buffer()
387 num_buffers = cs->num_sparse_buffers; in amdgpu_lookup_buffer()
391 if (i < 0 || (i < num_buffers && buffers[i].bo == bo)) in amdgpu_lookup_buffer()
395 for (i = num_buffers - 1; i >= 0; i--) { in amdgpu_lookup_buffer()
1144 unsigned num_buffers, in amdgpu_add_fence_dependencies_bo_list() argument
1147 for (unsigned i = 0; i < num_buffers; i++) { in amdgpu_add_fence_dependencies_bo_list()
1226 handles = malloc(sizeof(handles[0]) * ws->num_buffers); in amdgpu_cs_submit_ib()
1235 assert(num < ws->num_buffers); in amdgpu_cs_submit_ib()
[all …]
/external/mesa3d/src/gallium/drivers/ddebug/
Ddd_context.c527 unsigned start, unsigned num_buffers, in dd_context_set_shader_buffers() argument
534 sizeof(buffers[0]) * num_buffers); in dd_context_set_shader_buffers()
535 pipe->set_shader_buffers(pipe, shader, start, num_buffers, buffers); in dd_context_set_shader_buffers()
540 unsigned start, unsigned num_buffers, in dd_context_set_vertex_buffers() argument
547 sizeof(buffers[0]) * num_buffers); in dd_context_set_vertex_buffers()
548 pipe->set_vertex_buffers(pipe, start, num_buffers, buffers); in dd_context_set_vertex_buffers()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_mpeg12_bitstream.h52 unsigned num_buffers,
/external/mesa3d/src/gallium/state_trackers/dri/
Ddri2.c361 int num_buffers; in dri2_drawable_get_buffers() local
439 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
445 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers()
449 *count = num_buffers; in dri2_drawable_get_buffers()
634 unsigned num_buffers = statts_count; in dri2_allocate_textures() local
643 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures()
644 if (!buffers || (drawable->old_num == num_buffers && in dri2_allocate_textures()
648 sizeof(__DRIbuffer) * num_buffers) == 0)) in dri2_allocate_textures()
739 for (i = 0; i < num_buffers; i++) { in dri2_allocate_textures()
884 drawable->old_num = num_buffers; in dri2_allocate_textures()
[all …]
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_clear.c219 int num_buffers = ctx->Extensions.EXT_draw_buffers2 ? in clear_with_quad() local
223 blend.independent_blend_enable = num_buffers > 1; in clear_with_quad()
225 for (i = 0; i < num_buffers; i++) { in clear_with_quad()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c193 unsigned num_buffers; in radeon_lookup_buffer() local
198 num_buffers = csc->num_relocs; in radeon_lookup_buffer()
201 num_buffers = csc->num_slab_buffers; in radeon_lookup_buffer()
205 if (i == -1 || (i < num_buffers && buffers[i].bo == bo)) in radeon_lookup_buffer()
209 for (i = num_buffers - 1; i >= 0; i--) { in radeon_lookup_buffer()

123