/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec.c | 76 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 80 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 84 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 88 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 92 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 96 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 100 comp->name_specific[3] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 104 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 108 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 112 comp->role_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() [all …]
|
D | vid_enc.c | 85 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 89 comp->name_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 93 comp->role_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 97 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 101 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 134 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType)); in vid_enc_Constructor() 185 priv->ports = CALLOC(2, sizeof(omx_base_PortType *)); in vid_enc_Constructor() 190 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType)); in vid_enc_Constructor() 723 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private)); in vid_enc_AllocateOutBuffer()
|
/third_party/mesa3d/src/util/ |
D | u_memory.h | 48 #define CALLOC(_count, _size) os_calloc(_count, _size) macro 56 #define CALLOC_STRUCT(T) (struct T *) CALLOC(1, sizeof(struct T)) 58 #define CALLOC_VARIANT_LENGTH_STRUCT(T,more_size) ((struct T *) CALLOC(1, sizeof(struct T) + more…
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_perfmon.c | 76 stm->active_counters = CALLOC(num_active_counters, in init_perf_monitor() 82 batch = CALLOC(max_batch_counters, sizeof(*batch)); in init_perf_monitor() 115 stm->batch_result = CALLOC(num_batch_counters, sizeof(stm->batch_result->batch[0])); in init_perf_monitor() 358 groups = CALLOC(num_groups, sizeof(*groups)); in st_InitPerfMonitorGroups() 362 stgroups = CALLOC(num_groups, sizeof(*stgroups)); in st_InitPerfMonitorGroups() 380 counters = CALLOC(group_info.num_queries, sizeof(*counters)); in st_InitPerfMonitorGroups() 385 stcounters = CALLOC(group_info.num_queries, sizeof(*stcounters)); in st_InitPerfMonitorGroups()
|
/third_party/mesa3d/src/gallium/auxiliary/postprocess/ |
D | pp_init.c | 59 ppq = CALLOC(1, sizeof(struct pp_queue_t)); in pp_init() 66 ppq->pp_queue = CALLOC(num_filters, sizeof(pp_func)); in pp_init() 72 ppq->shaders = CALLOC(num_filters, sizeof(void *)); in pp_init() 73 ppq->filters = CALLOC(num_filters, sizeof(unsigned int)); in pp_init() 97 CALLOC(pp_filters[i].shaders + 1, sizeof(void *)); in pp_init()
|
D | pp_program.c | 52 p = CALLOC(1, sizeof(struct pp_program)); in pp_init_prog()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_shader.c | 594 variant = CALLOC(1, sizeof(struct svga_fs_variant)); in svga_new_shader_variant() 597 variant = CALLOC(1, sizeof(struct svga_gs_variant)); in svga_new_shader_variant() 600 variant = CALLOC(1, sizeof(struct svga_vs_variant)); in svga_new_shader_variant() 603 variant = CALLOC(1, sizeof(struct svga_tes_variant)); in svga_new_shader_variant() 606 variant = CALLOC(1, sizeof(struct svga_tcs_variant)); in svga_new_shader_variant()
|
D | svga_resource_texture.c | 897 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 904 tex->rendered_to = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 910 tex->dirty = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 1169 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_from_handle() 1184 tex->rendered_to = CALLOC(1, sizeof(tex->rendered_to[0])); in svga_texture_from_handle() 1188 tex->dirty = CALLOC(1, sizeof(tex->dirty[0])); in svga_texture_from_handle()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | compute_memory_pool.c | 76 CALLOC(sizeof(struct compute_memory_pool), 1); in compute_memory_pool_new() 84 CALLOC(sizeof(struct list_head), 1); in compute_memory_pool_new() 86 CALLOC(sizeof(struct list_head), 1); in compute_memory_pool_new() 571 CALLOC(sizeof(struct compute_memory_item), 1); in compute_memory_alloc()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | device.c | 58 dev = CALLOC(1, sizeof(vlVdpDevice)); in vdp_imp_device_create_x11() 173 pqt = CALLOC(1, sizeof(vlVdpPresentationQueueTarget)); in vlVdpPresentationQueueTargetCreateX11()
|
D | bitmap.c | 66 vlsurface = CALLOC(1, sizeof(vlVdpBitmapSurface)); in vlVdpBitmapSurfaceCreate()
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_compute.c | 190 local_mem = CALLOC(1, cs->shader.req_local_mem); in softpipe_launch_grid() 193 machines = CALLOC(sizeof(struct tgsi_exec_machine *), num_threads_in_group); in softpipe_launch_grid()
|
D | sp_tile_cache.c | 195 tc->transfer = CALLOC(tc->num_maps, sizeof(struct pipe_transfer *)); in sp_tile_cache_set_surface() 196 tc->transfer_map = CALLOC(tc->num_maps, sizeof(void *)); in sp_tile_cache_set_surface() 199 tc->clear_flags = CALLOC(1, tc->clear_flags_size); in sp_tile_cache_set_surface()
|
/third_party/mesa3d/src/gallium/frontends/nine/ |
D | vertexdeclaration9.c | 195 This->decls = CALLOC(This->nelems+1, sizeof(D3DVERTEXELEMENT9)); in NineVertexDeclaration9_ctor() 196 This->elems = CALLOC(This->nelems, sizeof(struct pipe_vertex_element)); in NineVertexDeclaration9_ctor() 197 This->usage_map = CALLOC(This->nelems, sizeof(uint16_t)); in NineVertexDeclaration9_ctor()
|
D | device9.c | 293 This->swapchains = CALLOC(This->nswapchains, in NineDevice9_ctor() 464 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 465 This->context.vs_const_f_swvp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 468 This->state.vs_lconstf_temp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 469 This->context.vs_lconstf_temp = CALLOC(NINE_MAX_CONST_F_SWVP * sizeof(float[4]),1); in NineDevice9_ctor() 470 This->state.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor() 471 This->context.vs_const_i = CALLOC(NINE_MAX_CONST_I_SWVP * sizeof(int[4]), 1); in NineDevice9_ctor() 472 This->state.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor() 473 This->context.vs_const_b = CALLOC(NINE_MAX_CONST_B_SWVP * sizeof(BOOL), 1); in NineDevice9_ctor() 475 This->state.vs_const_f = CALLOC(NINE_MAX_CONST_F * sizeof(float[4]), 1); in NineDevice9_ctor() [all …]
|
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/ |
D | h264eoutport.c | 70 (*buf)->pOutputPortPrivate = CALLOC(1, sizeof(struct output_buf_private)); in h264e_outport_AllocateBuffer()
|
/third_party/mesa3d/src/gallium/frontends/va/ |
D | context.c | 119 drv = CALLOC(1, sizeof(vlVaDriver)); in VA_DRIVER_INIT_FUNC() 239 context = CALLOC(1, sizeof(vlVaContext)); in vlVaCreateContext()
|
D | image.c | 118 img = CALLOC(1, sizeof(VAImage)); in vlVaCreateImage() 260 img = CALLOC(1, sizeof(VAImage)); in vlVaDeriveImage() 365 img_buf = CALLOC(1, sizeof(vlVaBuffer)); in vlVaDeriveImage()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_validate.c | 196 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry)); in pb_validate_create()
|
D | pb_bufmgr_slab.c | 326 slab->buffers = CALLOC(numBuffers, sizeof(*slab->buffers)); in pb_slab_create() 561 mgr->buckets = CALLOC(mgr->numBuckets, sizeof(*mgr->buckets)); in pb_slab_range_manager_create()
|
D | pb_slab.c | 241 slabs->groups = CALLOC(num_groups, sizeof(*slabs->groups)); in pb_slabs_init()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_handle_table.c | 70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); in handle_table_create()
|
D | u_bitmask.c | 73 CALLOC(UTIL_BITMASK_INITIAL_WORDS, sizeof(util_bitmask_word)); in util_bitmask_create()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_bo.c | 264 bo = CALLOC(1, sizeof(struct zink_bo) + init_pb_cache * sizeof(struct pb_cache_entry)); in bo_create_internal() 335 best_backing->chunks = CALLOC(best_backing->max_chunks, in sparse_backing_alloc() 512 bo->u.sparse.commitments = CALLOC(bo->u.sparse.num_va_pages, in bo_sparse_create() 876 slab->entries = CALLOC(slab->base.num_entries, sizeof(*slab->entries)); in bo_slab_alloc()
|
/third_party/mesa3d/src/gallium/ |
D | README.portability | 34 * Use MALLOC, CALLOC, FREE instead of the malloc, calloc, free functions.
|