/external/libvpx/libvpx/test/ |
D | external_frame_buffer_test.cc | 48 bool CreateBufferList(int num_buffers) { in CreateBufferList() argument 49 if (num_buffers < 0) return false; in CreateBufferList() 51 num_buffers_ = num_buffers; in CreateBufferList() 272 void set_num_buffers(int num_buffers) { num_buffers_ = num_buffers; } in set_num_buffers() argument 273 int num_buffers() const { return num_buffers_; } in num_buffers() function in __anon257b7cfe0111::ExternalFrameBufferMD5Test 310 int num_buffers, vpx_get_frame_buffer_cb_fn_t cb_get, in SetFrameBufferFunctions() argument 312 if (num_buffers > 0) { in SetFrameBufferFunctions() 313 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/ |
D | link_atomics.cpp | 101 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 …]
|
D | link_varyings.cpp | 1111 unsigned num_buffers = 0; in store_tfeedback_info() local 1119 num_buffers, num_buffers, num_outputs, in store_tfeedback_info() 1123 buffers |= 1 << num_buffers; in store_tfeedback_info() 1124 num_buffers++; in store_tfeedback_info() 1151 num_buffers++; in store_tfeedback_info() 1157 buffer, num_buffers, num_outputs, in store_tfeedback_info() 1160 num_buffers++; in store_tfeedback_info() 1185 buffer = num_buffers; in store_tfeedback_info() 1191 buffer, num_buffers, num_outputs, in store_tfeedback_info()
|
/external/webrtc/webrtc/base/ |
D | sec_buffer.h | 99 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/ |
D | nine_buffer_upload.c | 68 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()
|
D | nine_buffer_upload.h | 39 unsigned num_buffers);
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | buffer_allocations.cc | 44 const int64 num_buffers = buffer_assignment.Allocations().size(); in Build() local 46 new BufferAllocations(num_buffers, device_ordinal, memory_allocator)); in Build() 48 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in Build() 102 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in Build() 116 const int64 num_buffers = buffer_assignment.Allocations().size(); in TearDown() local 117 for (BufferAllocation::Index i = 0; i < num_buffers; ++i) { in TearDown()
|
/external/mesa3d/src/gallium/state_trackers/va/ |
D | picture.c | 264 unsigned num_buffers = 0; in handleVASliceDataBufferType() local 277 buffers[num_buffers] = (void *const)&start_code_h264; in handleVASliceDataBufferType() 278 sizes[num_buffers++] = sizeof(start_code_h264); in handleVASliceDataBufferType() 284 buffers[num_buffers] = (void *const)&start_code_h265; in handleVASliceDataBufferType() 285 sizes[num_buffers++] = sizeof(start_code_h265); in handleVASliceDataBufferType() 294 buffers[num_buffers] = (void *const)&start_code_vc1; in handleVASliceDataBufferType() 295 sizes[num_buffers++] = sizeof(start_code_vc1); in handleVASliceDataBufferType() 303 buffers[num_buffers] = (void *)context->mpeg4.start_code; in handleVASliceDataBufferType() 304 sizes[num_buffers++] = context->mpeg4.start_code_size; in handleVASliceDataBufferType() 309 buffers[num_buffers] = buf->data; in handleVASliceDataBufferType() [all …]
|
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
D | radv_amdgpu_cs.c | 46 unsigned num_buffers; member 312 for (unsigned i = 0; i < cs->num_buffers; ++i) { in radv_amdgpu_cs_reset() 318 cs->num_buffers = 0; in radv_amdgpu_cs_reset() 345 for (unsigned i = 0; i < cs->num_buffers; ++i) { in radv_amdgpu_cs_find_buffer() 367 if (cs->num_buffers == cs->max_num_buffers) { in radv_amdgpu_cs_add_buffer_internal() 374 cs->handles[cs->num_buffers] = bo; in radv_amdgpu_cs_add_buffer_internal() 375 cs->priorities[cs->num_buffers] = priority; in radv_amdgpu_cs_add_buffer_internal() 378 cs->buffer_hash_table[hash] = cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal() 380 ++cs->num_buffers; in radv_amdgpu_cs_add_buffer_internal() 399 for (unsigned i = 0; i < child->num_buffers; ++i) { in radv_amdgpu_cs_execute_secondary() [all …]
|
D | radv_amdgpu_winsys.h | 50 unsigned num_buffers; member
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_cache.c | 46 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()
|
D | pb_cache.h | 59 unsigned num_buffers; member
|
/external/mesa3d/src/gallium/winsys/amdgpu/drm/ |
D | amdgpu_cs.c | 276 int num_buffers; in amdgpu_lookup_buffer() local 280 num_buffers = cs->num_real_buffers; in amdgpu_lookup_buffer() 283 num_buffers = cs->num_slab_buffers; in amdgpu_lookup_buffer() 287 if (i < 0 || (i < num_buffers && buffers[i].bo == bo)) in amdgpu_lookup_buffer() 291 for (i = num_buffers - 1; i >= 0; i--) { in amdgpu_lookup_buffer() 1002 handles = malloc(sizeof(handles[0]) * ws->num_buffers); in amdgpu_cs_submit_ib() 1011 assert(num < ws->num_buffers); in amdgpu_cs_submit_ib() 1015 r = amdgpu_bo_list_create(ws->dev, ws->num_buffers, in amdgpu_cs_submit_ib() 1132 unsigned i, num_buffers; in amdgpu_cs_flush() local 1169 num_buffers = cur->num_real_buffers; in amdgpu_cs_flush() [all …]
|
D | amdgpu_winsys.h | 82 unsigned num_buffers; member
|
/external/kernel-headers/original/uapi/linux/ |
D | virtio_net.h | 102 __virtio16 num_buffers; /* Number of merged rx buffers */ member 125 __virtio16 num_buffers; /* Number of merged rx buffers */ member
|
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
D | nv98_video_bsp.c | 37 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()
|
D | nv98_video.h | 35 unsigned comm_seq, unsigned num_buffers,
|
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
D | nvc0_video_bsp.c | 53 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()
|
D | nvc0_video.h | 37 unsigned comm_seq, unsigned num_buffers,
|
/external/mesa3d/src/gallium/state_trackers/dri/ |
D | dri2.c | 216 int num_buffers; in dri2_drawable_get_buffers() local 288 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers() 294 &num_buffers, dri_drawable->loaderPrivate); in dri2_drawable_get_buffers() 298 *count = num_buffers; in dri2_drawable_get_buffers() 471 unsigned num_buffers = statts_count; in dri2_allocate_textures() local 480 buffers = dri2_drawable_get_buffers(drawable, statts, &num_buffers); in dri2_allocate_textures() 481 if (!buffers || (drawable->old_num == num_buffers && in dri2_allocate_textures() 485 sizeof(__DRIbuffer) * num_buffers) == 0)) in dri2_allocate_textures() 576 for (i = 0; i < num_buffers; i++) { in dri2_allocate_textures() 719 drawable->old_num = num_buffers; in dri2_allocate_textures() [all …]
|
/external/mesa3d/src/egl/drivers/dri2/ |
D | platform_android.c | 842 int num_buffers = 0, i; in droid_get_buffers_parse_attachments() local 848 assert(num_buffers < ARRAY_SIZE(dri2_surf->buffers)); in droid_get_buffers_parse_attachments() 849 buf = &dri2_surf->buffers[num_buffers]; in droid_get_buffers_parse_attachments() 861 num_buffers++; in droid_get_buffers_parse_attachments() 876 num_buffers++; in droid_get_buffers_parse_attachments() 890 return num_buffers; in droid_get_buffers_parse_attachments()
|
/external/mesa3d/src/gallium/drivers/ddebug/ |
D | dd_context.c | 539 unsigned start, unsigned num_buffers, in dd_context_set_shader_buffers() argument 546 sizeof(buffers[0]) * num_buffers); in dd_context_set_shader_buffers() 547 pipe->set_shader_buffers(pipe, shader, start, num_buffers, buffers); in dd_context_set_shader_buffers() 552 unsigned start, unsigned num_buffers, in dd_context_set_vertex_buffers() argument 559 sizeof(buffers[0]) * num_buffers); in dd_context_set_vertex_buffers() 560 pipe->set_vertex_buffers(pipe, start, num_buffers, buffers); in dd_context_set_vertex_buffers()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_mpeg12_bitstream.h | 52 unsigned num_buffers,
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_cb_clear.c | 217 int num_buffers = ctx->Extensions.EXT_draw_buffers2 ? in clear_with_quad() local 221 blend.independent_blend_enable = num_buffers > 1; in clear_with_quad() 223 for (i = 0; i < num_buffers; i++) { in clear_with_quad()
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 202 unsigned num_buffers; in radeon_lookup_buffer() local 207 num_buffers = csc->num_relocs; in radeon_lookup_buffer() 210 num_buffers = csc->num_slab_buffers; in radeon_lookup_buffer() 214 if (i == -1 || (i < num_buffers && buffers[i].bo == bo)) in radeon_lookup_buffer() 218 for (i = num_buffers - 1; i >= 0; i--) { in radeon_lookup_buffer()
|