/third_party/mesa3d/src/gallium/frontends/omx/bellagio/ |
D | vid_dec.c | 78 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 82 comp->name_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 86 comp->role_specific = CALLOC(comp->name_specific_length, sizeof(char *)); in vid_dec_LoaderComponent() 90 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 94 comp->name_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 98 comp->name_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 102 comp->name_specific[3] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 106 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 110 comp->role_specific[1] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() 114 comp->role_specific[2] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_dec_LoaderComponent() [all …]
|
D | vid_enc.c | 87 comp->name = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 91 comp->name_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 95 comp->role_specific = CALLOC(1, sizeof(char *)); in vid_enc_LoaderComponent() 99 comp->name_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 103 comp->role_specific[0] = CALLOC(1, OMX_MAX_STRINGNAME_SIZE); in vid_enc_LoaderComponent() 136 priv = comp->pComponentPrivate = CALLOC(1, sizeof(vid_enc_PrivateType)); in vid_enc_Constructor() 186 priv->ports = CALLOC(2, sizeof(omx_base_PortType *)); in vid_enc_Constructor() 191 priv->ports[i] = CALLOC(1, sizeof(omx_base_video_PortType)); in vid_enc_Constructor() 724 (*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/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 | 781 variant = CALLOC(1, sizeof(struct svga_fs_variant)); in svga_new_shader_variant() 784 variant = CALLOC(1, sizeof(struct svga_gs_variant)); in svga_new_shader_variant() 787 variant = CALLOC(1, sizeof(struct svga_vs_variant)); in svga_new_shader_variant() 790 variant = CALLOC(1, sizeof(struct svga_tes_variant)); in svga_new_shader_variant() 793 variant = CALLOC(1, sizeof(struct svga_tcs_variant)); in svga_new_shader_variant() 796 variant = CALLOC(1, sizeof(struct svga_cs_variant)); in svga_new_shader_variant() 922 struct svga_shader *shader = CALLOC(1, shader_structlen); in svga_create_shader()
|
D | svga_resource_texture.c | 879 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 886 tex->dirty = CALLOC(template->depth0 * template->array_size, in svga_texture_create() 1173 tex->defined = CALLOC(template->depth0 * template->array_size, in svga_texture_from_handle() 1207 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() 608 CALLOC(sizeof(struct compute_memory_item), 1); in compute_memory_alloc()
|
D | evergreen_compute.c | 222 binary->global_symbol_offsets = CALLOC(symbol_count, sizeof(uint64_t)); in parse_symbol_table() 259 binary->relocs = CALLOC(binary->reloc_count, in parse_relocs() 411 bc->bytecode = CALLOC(1, binary->code_size); in r600_create_shader() 1342 CALLOC(sizeof(struct r600_resource_global), 1); in r600_compute_global_buffer_create()
|
/third_party/mesa3d/src/mesa/main/ |
D | performance_monitor.c | 99 m->active_counters = CALLOC(num_active_counters, in init_perf_monitor() 105 batch = CALLOC(max_batch_counters, sizeof(*batch)); in init_perf_monitor() 137 m->batch_result = CALLOC(num_batch_counters, sizeof(m->batch_result->batch[0])); in init_perf_monitor() 366 groups = CALLOC(num_groups, sizeof(*groups)); in init_groups() 382 counters = CALLOC(group_info.num_queries, sizeof(*counters)); in init_groups()
|
/third_party/mesa3d/src/gallium/frontends/vdpau/ |
D | device.c | 58 dev = CALLOC(1, sizeof(vlVdpDevice)); in vdp_imp_device_create_x11() 175 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 | 188 local_mem = CALLOC(1, cs->shader.req_local_mem); in softpipe_launch_grid() 191 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/amd/common/ |
D | ac_spm.c | 221 spm_trace->counters = CALLOC(num_counters, sizeof(*spm_trace->counters)); in ac_init_spm() 262 spm_trace->muxsel_lines[s] = CALLOC(num_lines, sizeof(*spm_trace->muxsel_lines[s])); in ac_init_spm()
|
/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 | 122 drv = CALLOC(1, sizeof(vlVaDriver)); in VA_DRIVER_INIT_FUNC() 252 context = CALLOC(1, sizeof(vlVaContext)); in vlVaCreateContext()
|
D | image.c | 118 img = CALLOC(1, sizeof(VAImage)); in vlVaCreateImage() 271 img = CALLOC(1, sizeof(VAImage)); in vlVaDeriveImage() 404 img_buf = CALLOC(1, sizeof(vlVaBuffer)); in vlVaDeriveImage()
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
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_validate.c | 196 vl->entries = (struct pb_validate_entry *)CALLOC(vl->size, sizeof(struct pb_validate_entry)); in pb_validate_create()
|
/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/ |
D | README.portability | 34 * Use MALLOC, CALLOC, FREE instead of the malloc, calloc, free functions.
|