Home
last modified time | relevance | path

Searched refs:ht (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/external/mesa3d/src/gallium/auxiliary/util/
Du_handle_table.c64 struct handle_table *ht; in handle_table_create() local
66 ht = MALLOC_STRUCT(handle_table); in handle_table_create()
67 if(!ht) in handle_table_create()
70 ht->objects = (void **)CALLOC(HANDLE_TABLE_INITIAL_SIZE, sizeof(void *)); in handle_table_create()
71 if(!ht->objects) { in handle_table_create()
72 FREE(ht); in handle_table_create()
76 ht->size = HANDLE_TABLE_INITIAL_SIZE; in handle_table_create()
77 ht->filled = 0; in handle_table_create()
79 ht->destroy = NULL; in handle_table_create()
81 return ht; in handle_table_create()
[all …]
Du_hash_table.c82 struct util_hash_table *ht; in util_hash_table_create() local
84 ht = MALLOC_STRUCT(util_hash_table); in util_hash_table_create()
85 if(!ht) in util_hash_table_create()
88 ht->cso = cso_hash_create(); in util_hash_table_create()
89 if(!ht->cso) { in util_hash_table_create()
90 FREE(ht); in util_hash_table_create()
94 ht->hash = hash; in util_hash_table_create()
95 ht->compare = compare; in util_hash_table_create()
97 return ht; in util_hash_table_create()
102 util_hash_table_find_iter(struct util_hash_table *ht, in util_hash_table_find_iter() argument
[all …]
Du_handle_table.h63 handle_table_set_destroy(struct handle_table *ht,
73 handle_table_add(struct handle_table *ht,
80 handle_table_set(struct handle_table *ht,
90 handle_table_get(struct handle_table *ht,
95 handle_table_remove(struct handle_table *ht,
100 handle_table_destroy(struct handle_table *ht);
104 handle_table_get_first_handle(struct handle_table *ht);
108 handle_table_get_next_handle(struct handle_table *ht,
Du_hash_table.h64 util_hash_table_set(struct util_hash_table *ht,
69 util_hash_table_get(struct util_hash_table *ht,
74 util_hash_table_remove(struct util_hash_table *ht,
79 util_hash_table_clear(struct util_hash_table *ht);
83 util_hash_table_foreach(struct util_hash_table *ht,
89 util_hash_table_destroy(struct util_hash_table *ht);
/external/libdrm/amdgpu/
Dutil_hash_table.c79 struct util_hash_table *ht; in util_hash_table_create() local
81 ht = malloc(sizeof(struct util_hash_table)); in util_hash_table_create()
82 if(!ht) in util_hash_table_create()
85 ht->head = util_hash_create(); in util_hash_table_create()
86 if(!ht->head) { in util_hash_table_create()
87 free(ht); in util_hash_table_create()
91 ht->make_hash = hash; in util_hash_table_create()
92 ht->compare = compare; in util_hash_table_create()
94 return ht; in util_hash_table_create()
98 util_hash_table_find_iter(struct util_hash_table *ht, in util_hash_table_find_iter() argument
[all …]
Dutil_hash_table.h59 util_hash_table_set(struct util_hash_table *ht, void *key, void *value);
61 drm_private void *util_hash_table_get(struct util_hash_table *ht, void *key);
63 drm_private void util_hash_table_remove(struct util_hash_table *ht, void *key);
65 drm_private void util_hash_table_clear(struct util_hash_table *ht);
67 drm_private void util_hash_table_foreach(struct util_hash_table *ht,
71 drm_private void util_hash_table_destroy(struct util_hash_table *ht);
/external/mesa3d/src/glsl/
Dir_clone.cpp31 ir_rvalue::clone(void *mem_ctx, struct hash_table *ht) const in clone()
45 ir_variable::clone(void *mem_ctx, struct hash_table *ht) const in clone()
78 var->constant_value = this->constant_value->clone(mem_ctx, ht); in clone()
82 this->constant_initializer->clone(mem_ctx, ht); in clone()
84 if (ht) { in clone()
85 hash_table_insert(ht, var, (void *)const_cast<ir_variable *>(this)); in clone()
92 ir_swizzle::clone(void *mem_ctx, struct hash_table *ht) const in clone()
94 return new(mem_ctx) ir_swizzle(this->val->clone(mem_ctx, ht), this->mask); in clone()
98 ir_return::clone(void *mem_ctx, struct hash_table *ht) const in clone()
103 new_value = this->value->clone(mem_ctx, ht); in clone()
[all …]
/external/mesa3d/src/mesa/program/
Dhash_table.c60 struct hash_table *ht; in hash_table_ctor() local
68 ht = malloc(sizeof(*ht) + ((num_buckets - 1) in hash_table_ctor()
69 * sizeof(ht->buckets[0]))); in hash_table_ctor()
70 if (ht != NULL) { in hash_table_ctor()
71 ht->hash = hash; in hash_table_ctor()
72 ht->compare = compare; in hash_table_ctor()
73 ht->num_buckets = num_buckets; in hash_table_ctor()
76 make_empty_list(& ht->buckets[i]); in hash_table_ctor()
80 return ht; in hash_table_ctor()
85 hash_table_dtor(struct hash_table *ht) in hash_table_dtor() argument
[all …]
Dhash_table.h73 extern void hash_table_dtor(struct hash_table *ht);
81 extern void hash_table_clear(struct hash_table *ht);
95 extern void *hash_table_find(struct hash_table *ht, const void *key);
112 extern void hash_table_insert(struct hash_table *ht, void *data,
129 extern bool hash_table_replace(struct hash_table *ht, void *data,
135 extern void hash_table_remove(struct hash_table *ht, const void *key);
185 hash_table_call_foreach(struct hash_table *ht,
212 this->ht = hash_table_ctor(0, hash_table_string_hash, in string_to_uint_map()
218 hash_table_call_foreach(this->ht, delete_key, NULL); in ~string_to_uint_map()
219 hash_table_dtor(this->ht); in ~string_to_uint_map()
[all …]
/external/libnl/lib/
Dhashtable.c31 nl_hash_table_t *ht; in nl_hash_table_alloc() local
33 ht = calloc(1, sizeof (*ht)); in nl_hash_table_alloc()
34 if (!ht) in nl_hash_table_alloc()
37 ht->nodes = calloc(size, sizeof (*ht->nodes)); in nl_hash_table_alloc()
38 if (!ht->nodes) { in nl_hash_table_alloc()
39 free(ht); in nl_hash_table_alloc()
43 ht->size = size; in nl_hash_table_alloc()
45 return ht; in nl_hash_table_alloc()
56 void nl_hash_table_free(nl_hash_table_t *ht) in nl_hash_table_free() argument
60 for(i = 0; i < ht->size; i++) { in nl_hash_table_free()
[all …]
/external/libhevc/common/
Dihevc_sao.c80 WORD32 ht) in ihevc_sao_band_offset_luma() argument
88 for(row = 0; row < ht; row++) in ihevc_sao_band_offset_luma()
95 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_luma()
108 for(row = 0; row < ht; row++) in ihevc_sao_band_offset_luma()
134 WORD32 ht) in ihevc_sao_band_offset_chroma() argument
143 for(row = 0; row < ht; row++) in ihevc_sao_band_offset_chroma()
152 pu1_src_top[col] = pu1_src[(ht - 1) * src_strd + col]; in ihevc_sao_band_offset_chroma()
168 for(row = 0; row < ht; row++) in ihevc_sao_band_offset_chroma()
196 WORD32 ht) in ihevc_sao_edge_offset_class0() argument
212 for(row = 0; row < ht; row++) in ihevc_sao_edge_offset_class0()
[all …]
Dihevc_inter_pred_filters.c113 WORD32 ht, in ihevc_inter_pred_luma_copy() argument
118 for(row = 0; row < ht; row++) in ihevc_inter_pred_luma_copy()
175 WORD32 ht, in ihevc_inter_pred_luma_horz() argument
181 for(row = 0; row < ht; row++) in ihevc_inter_pred_luma_horz()
248 WORD32 ht, in ihevc_inter_pred_luma_vert() argument
254 for(row = 0; row < ht; row++) in ihevc_inter_pred_luma_vert()
321 WORD32 ht, in ihevc_inter_pred_luma_copy_w16out() argument
326 for(row = 0; row < ht; row++) in ihevc_inter_pred_luma_copy_w16out()
387 WORD32 ht, in ihevc_inter_pred_luma_horz_w16out() argument
393 for(row = 0; row < ht; row++) in ihevc_inter_pred_luma_horz_w16out()
[all …]
Dihevc_padding.c91 WORD32 ht, in ihevc_pad_vert() argument
100 memcpy(pu1_src + (ht + row - 1) * src_strd, in ihevc_pad_vert()
101 pu1_src + (ht - 1) * src_strd, wd); in ihevc_pad_vert()
145 WORD32 ht, in ihevc_pad_horz_chroma() argument
157 for(row = 0; row < ht; row++) in ihevc_pad_horz_chroma()
212 WORD32 ht, in ihevc_pad_horz_luma() argument
218 for(row = 0; row < ht; row++) in ihevc_pad_horz_luma()
379 WORD32 ht, in ihevc_pad_left_luma() argument
384 for(row = 0; row < ht; row++) in ihevc_pad_left_luma()
435 WORD32 ht, in ihevc_pad_left_chroma() argument
[all …]
Dihevc_padding.h44 WORD32 ht,
51 WORD32 ht,
58 WORD32 ht,
65 WORD32 ht,
72 WORD32 ht,
79 WORD32 ht,
105 WORD32 ht,
110 WORD32 ht,
115 WORD32 ht,
120 WORD32 ht,
[all …]
Dihevc_sao.h60 WORD32 ht);
70 WORD32 ht,
83 WORD32 ht);
95 WORD32 ht,
108 WORD32 ht);
120 WORD32 ht,
134 WORD32 ht);
147 WORD32 ht,
160 WORD32 ht);
172 WORD32 ht,
[all …]
Dihevc_weighted_pred.c114 WORD32 ht, in ihevc_weighted_pred_uni() argument
120 for(row = 0; row < ht; row++) in ihevc_weighted_pred_uni()
199 WORD32 ht, in ihevc_weighted_pred_chroma_uni() argument
205 for(row = 0; row < ht; row++) in ihevc_weighted_pred_chroma_uni()
305 WORD32 ht, in ihevc_weighted_pred_bi() argument
311 for(row = 0; row < ht; row++) in ihevc_weighted_pred_bi()
410 WORD32 ht, in ihevc_weighted_pred_chroma_bi() argument
416 for(row = 0; row < ht; row++) in ihevc_weighted_pred_chroma_bi()
497 WORD32 ht, in ihevc_weighted_pred_bi_default() argument
505 for(row = 0; row < ht; row++) in ihevc_weighted_pred_bi_default()
[all …]
Dihevc_inter_pred.h59 WORD32 ht,
68 WORD32 ht,
77 WORD32 ht,
86 WORD32 ht,
95 WORD32 ht,
106 WORD32 ht,
117 WORD32 ht,
128 WORD32 ht,
141 WORD32 ht,
160 WORD32 ht,
[all …]
/external/libavc/common/
Dih264_inter_pred_filters.c114 WORD32 ht, in ih264_inter_pred_luma_copy() argument
122 for(row = 0; row < ht; row++) in ih264_inter_pred_luma_copy()
174 WORD32 ht, in ih264_interleave_copy() argument
180 for(row = 0; row < ht; row++) in ih264_interleave_copy()
231 WORD32 ht, in ih264_inter_pred_luma_horz() argument
241 for(row = 0; row < ht; row++) in ih264_inter_pred_luma_horz()
301 WORD32 ht, in ih264_inter_pred_luma_vert() argument
311 for(row = 0; row < ht; row++) in ih264_inter_pred_luma_vert()
370 WORD32 ht, in ih264_inter_pred_luma_horz_hpel_vert_hpel() argument
383 for(row = 0; row < ht; row++) in ih264_inter_pred_luma_horz_hpel_vert_hpel()
[all …]
Dih264_padding.c172 WORD32 ht, in ih264_pad_left_luma() argument
177 for(row = 0; row < ht; row++) in ih264_pad_left_luma()
214 WORD32 ht, in ih264_pad_left_chroma() argument
227 for(row = 0; row < ht; row++) in ih264_pad_left_chroma()
268 WORD32 ht, in ih264_pad_right_luma() argument
273 for(row = 0; row < ht; row++) in ih264_pad_right_luma()
309 WORD32 ht, in ih264_pad_right_chroma() argument
319 for(row = 0; row < ht; row++) in ih264_pad_right_chroma()
Dih264_weighted_pred.c91 WORD32 ht, in ih264_default_weighted_pred_luma() argument
100 for(i = 0; i < ht; i++) in ih264_default_weighted_pred_luma()
146 WORD32 ht, in ih264_default_weighted_pred_chroma() argument
157 for(i = 0; i < ht; i++) in ih264_default_weighted_pred_chroma()
206 WORD32 ht, in ih264_weighted_pred_luma() argument
220 for(i = 0; i < ht; i++) in ih264_weighted_pred_luma()
231 for(i = 0; i < ht; i++) in ih264_weighted_pred_luma()
280 WORD32 ht, in ih264_weighted_pred_chroma() argument
301 for(i = 0; i < ht; i++) in ih264_weighted_pred_chroma()
316 for(i = 0; i < ht; i++) in ih264_weighted_pred_chroma()
[all …]
/external/libavc/common/x86/
Dih264_padding_ssse3.c94 WORD32 ht, in ih264_pad_left_luma_ssse3() argument
103 for(row = 0; row < ht; row++) in ih264_pad_left_luma_ssse3()
161 WORD32 ht, in ih264_pad_left_chroma_ssse3() argument
169 for(row = 0; row < ht; row++) in ih264_pad_left_chroma_ssse3()
227 WORD32 ht, in ih264_pad_right_luma_ssse3() argument
236 for(row = 0; row < ht; row++) in ih264_pad_right_luma_ssse3()
294 WORD32 ht, in ih264_pad_right_chroma_ssse3() argument
303 for(row = 0; row < ht; row++) in ih264_pad_right_chroma_ssse3()
/external/libhevc/common/arm/
Dihevc_sao_edge_offset_class0_chroma.s61 @r10=> ht
81 LDR r10,[sp,#68] @Loads ht
91 SUB r4,r10,#1 @(ht - 1)
97 MUL r4,r4,r1 @(ht - 1) * src_strd
101 ADD r4,r4,r0 @pu1_src[(ht - 1) * src_strd]
108 VLD1.8 D0,[r4]! @Load pu1_src[(ht - 1) * src_strd + col]
143 MOV r4,r10 @move ht to r4 for loop count
146 …LDRH r11,[r2] @load pu1_src_left since ht - row =0 when it comes first p…
152 SUB r14,r10,r4 @ht - row
153 …VMOV.16 D15[3],r11 @vsetq_lane_u16(pu1_src_left[ht - row], pu1_cur_row_tmp, 1…
[all …]
Dihevc_sao_edge_offset_class0.s49 @ WORD32 ht)
60 @r10=> ht
81 LDR r10,[sp,#64] @Loads ht
97 SUB r4,r10,#1 @(ht - 1)
101 MUL r4,r4,r1 @(ht - 1) * src_strd
103 ADD r4,r4,r0 @pu1_src[(ht - 1) * src_strd]
106 VLD1.8 D0,[r4]! @Load pu1_src[(ht - 1) * src_strd + col]
137 MOV r4,r10 @move ht to r4 for loop count
140 …LDRB r11,[r2] @load pu1_src_left since ht - row =0 when it comes first p…
146 SUB r14,r10,r4 @ht - row
[all …]
/external/libhevc/common/x86/
Dihevc_inter_pred_filters_sse42_intr.c114 WORD32 ht, in ihevc_inter_pred_luma_copy_w16out_sse42() argument
121 ASSERT(ht % 4 == 0); /* checking assumption*/ in ihevc_inter_pred_luma_copy_w16out_sse42()
125 for(row = 0; row < ht; row += 4) in ihevc_inter_pred_luma_copy_w16out_sse42()
161 for(row = 0; row < ht; row += 4) in ihevc_inter_pred_luma_copy_w16out_sse42()
241 WORD32 ht, in ihevc_inter_pred_chroma_copy_sse42() argument
248 ASSERT(ht % 2 == 0); /* checking assumption*/ in ihevc_inter_pred_chroma_copy_sse42()
252 if(0 == (ht & 3)) /* ht multiple of 4 */ in ihevc_inter_pred_chroma_copy_sse42()
256 for(row = 0; row < ht; row += 4) in ihevc_inter_pred_chroma_copy_sse42()
283 for(row = 0; row < ht; row += 4) in ihevc_inter_pred_chroma_copy_sse42()
310 for(row = 0; row < ht; row += 4) in ihevc_inter_pred_chroma_copy_sse42()
[all …]
Dihevc_padding_ssse3_intr.c93 WORD32 ht, in ihevc_pad_left_luma_ssse3() argument
105 for(row = 0; row < ht; row++) in ihevc_pad_left_luma_ssse3()
164 WORD32 ht, in ihevc_pad_left_chroma_ssse3() argument
176 for(row = 0; row < ht; row++) in ihevc_pad_left_chroma_ssse3()
236 WORD32 ht, in ihevc_pad_right_luma_ssse3() argument
246 for(row = 0; row < ht; row++) in ihevc_pad_right_luma_ssse3()
306 WORD32 ht, in ihevc_pad_right_chroma_ssse3() argument
319 for(row = 0; row < ht; row++) in ihevc_pad_right_chroma_ssse3()

12345678910>>...16