Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 153) sorted by relevance

1234567

/hardware/libhardware/modules/hwcomposer/
Dhwcomposer.cpp58 static void dump_layer(hwc_layer_1_t const* l) { in dump_layer() argument
60 l->compositionType, l->flags, l->handle, l->transform, l->blending, in dump_layer()
61 l->sourceCrop.left, in dump_layer()
62 l->sourceCrop.top, in dump_layer()
63 l->sourceCrop.right, in dump_layer()
64 l->sourceCrop.bottom, in dump_layer()
65 l->displayFrame.left, in dump_layer()
66 l->displayFrame.top, in dump_layer()
67 l->displayFrame.right, in dump_layer()
68 l->displayFrame.bottom); in dump_layer()
/hardware/ti/omap4-aah/hwc/
Drgz_2d.c148 int l = hregion->nlayers - 1; in get_top_rect() local
150 *routp = &hregion->blitrects[l][subregion]; in get_top_rect()
154 while (--l >= 0); in get_top_rect()
155 return l; in get_top_rect()
165 int l = hregion->nlayers - 1; in get_layer_ops() local
169 if (!empty_rect(&hregion->blitrects[l][subregion])) { in get_layer_ops()
171 *bottom = l; in get_layer_ops()
172 hwc_layer_1_t *layer = hregion->rgz_layers[l]->hwc_layer; in get_layer_ops()
178 while (--l >= 0); in get_layer_ops()
182 static int get_layer_ops_next(blit_hregion_t *hregion, int subregion, int l) in get_layer_ops_next() argument
[all …]
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp116 out->l = max(lhs->l, rhs->l); in intersect()
165 e->dst_rect.x = clip.l; in set_rects()
167 e->dst_rect.w = clip.r - clip.l; in set_rects()
175 e->src_rect.h = (clip.r - clip.l); in set_rects()
177 H = dst->r - dst->l; in set_rects()
179 delta_x = (clip.l - dst->l); in set_rects()
181 e->src_rect.w = (clip.r - clip.l); in set_rects()
183 W = dst->r - dst->l; in set_rects()
187 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
190 e->src_rect.x = delta_x + src->l; in set_rects()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp120 out->l = max(lhs->l, rhs->l); in intersect()
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
178 e->dst_rect.x = clip.l; in set_rects()
180 e->dst_rect.w = clip.r - clip.l; in set_rects()
188 e->src_rect.h = (clip.r - clip.l); in set_rects()
190 H = dst->r - dst->l; in set_rects()
192 delta_x = (clip.l - dst->l); in set_rects()
194 e->src_rect.w = (clip.r - clip.l); in set_rects()
196 W = dst->r - dst->l; in set_rects()
200 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp120 out->l = max(lhs->l, rhs->l); in intersect()
127 return ((rect->b > rect->t) && (rect->r > rect->l)) ; in validateCopybitRect()
181 e->dst_rect.x = clip.l; in set_rects()
183 e->dst_rect.w = clip.r - clip.l; in set_rects()
191 e->src_rect.h = (clip.r - clip.l); in set_rects()
193 H = dst->r - dst->l; in set_rects()
195 delta_x = (clip.l - dst->l); in set_rects()
197 e->src_rect.w = (clip.r - clip.l); in set_rects()
199 W = dst->r - dst->l; in set_rects()
203 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_scan.c299 static int find_in_scan(const int16_t *scan, int l, int idx) { in find_in_scan() argument
300 int n, l2 = l * l; in find_in_scan()
310 static void init_scan_neighbors(const int16_t *scan, int16_t *iscan, int l, in init_scan_neighbors() argument
312 int l2 = l * l; in init_scan_neighbors()
318 iscan[0] = find_in_scan(scan, l, 0); in init_scan_neighbors()
321 iscan[n] = find_in_scan(scan, l, n); in init_scan_neighbors()
322 i = rc / l; in init_scan_neighbors()
323 j = rc % l; in init_scan_neighbors()
333 int a = (i - 1) * l + j; in init_scan_neighbors()
334 int b = i * l + j - 1; in init_scan_neighbors()
[all …]
Dvp9_entropy.c745 int i, j, k, l, m; in adapt_coef_probs() local
750 for (l = 0; l < BAND_COEFF_CONTEXTS(k); ++l) { in adapt_coef_probs()
751 const int n0 = counts[i][j][k][l][ZERO_TOKEN]; in adapt_coef_probs()
752 const int n1 = counts[i][j][k][l][ONE_TOKEN]; in adapt_coef_probs()
753 const int n2 = counts[i][j][k][l][TWO_TOKEN]; in adapt_coef_probs()
754 const int neob = counts[i][j][k][l][EOB_MODEL_TOKEN]; in adapt_coef_probs()
756 { neob, eob_counts[i][j][k][l] - neob }, in adapt_coef_probs()
761 probs[i][j][k][l][m] = merge_probs(pre_probs[i][j][k][l][m], in adapt_coef_probs()
Dvp9_prob.c40 const int l = tree[i]; in tree_merge_probs_impl() local
41 const unsigned int left_count = (l <= 0) in tree_merge_probs_impl()
42 ? counts[-l] in tree_merge_probs_impl()
43 : tree_merge_probs_impl(l, tree, pre_probs, counts, in tree_merge_probs_impl()
Dvp9_tapify.py21 def l(b): function
28 ul=[l(r),l(c)]
29 ur=[l(r),h(c)]
30 ll=[h(r),l(c)]
Dvp9_entropy.h149 const ENTROPY_CONTEXT *l) { in get_entropy_context() argument
155 left_ec = l[0] != 0; in get_entropy_context()
159 left_ec = !!*(const uint16_t *)l; in get_entropy_context()
163 left_ec = !!*(const uint32_t *)l; in get_entropy_context()
167 left_ec = !!*(const uint64_t *)l; in get_entropy_context()
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp118 out->l = max(lhs->l, rhs->l); in intersect()
169 e->dst_rect.x = clip.l; in set_rects()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
179 e->src_rect.h = (clip.r - clip.l); in set_rects()
181 H = dst->r - dst->l; in set_rects()
183 delta_x = (clip.l - dst->l); in set_rects()
185 e->src_rect.w = (clip.r - clip.l); in set_rects()
187 W = dst->r - dst->l; in set_rects()
191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
194 e->src_rect.x = delta_x + src->l; in set_rects()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp118 out->l = max(lhs->l, rhs->l); in intersect()
169 e->dst_rect.x = clip.l; in set_rects()
171 e->dst_rect.w = clip.r - clip.l; in set_rects()
179 e->src_rect.h = (clip.r - clip.l); in set_rects()
181 H = dst->r - dst->l; in set_rects()
183 delta_x = (clip.l - dst->l); in set_rects()
185 e->src_rect.w = (clip.r - clip.l); in set_rects()
187 W = dst->r - dst->l; in set_rects()
191 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
194 e->src_rect.x = delta_x + src->l; in set_rects()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp119 out->l = max(lhs->l, rhs->l); in intersect()
172 e->dst_rect.x = clip.l; in set_rects()
174 e->dst_rect.w = clip.r - clip.l; in set_rects()
182 e->src_rect.h = (clip.r - clip.l); in set_rects()
184 H = dst->r - dst->l; in set_rects()
186 delta_x = (clip.l - dst->l); in set_rects()
188 e->src_rect.w = (clip.r - clip.l); in set_rects()
190 W = dst->r - dst->l; in set_rects()
194 MULDIV(&delta_x, &e->src_rect.w, src->r - src->l, W); in set_rects()
197 e->src_rect.x = delta_x + src->l; in set_rects()
[all …]
/hardware/qcom/display/msm8960/libtilerenderer/
Dtilerenderer.cpp59 int l = left, t = (height - bottom), w = (right - left), h = (bottom - top), preserve = 0; in startTileRendering() local
61 if (l < 0 || t < 0) { in startTileRendering()
62 l = (l < 0) ? 0 : l; in startTileRendering()
77 glStartTilingQCOM(l, t, w, h, GL_COLOR_BUFFER_BIT0_QCOM); in startTileRendering()
79 glStartTilingQCOM(l, t, w, h, GL_NONE); in startTileRendering()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dintra4x4_predict_v6.asm97 add r4, r4, r4, lsl #16 ; l[0|0]
98 add r5, r5, r5, lsl #16 ; l[1|1]
99 add r6, r6, r6, lsl #16 ; l[2|2]
100 add r7, r7, r7, lsl #16 ; l[3|3]
102 sadd16 r1, r4, r10 ; l[0|0] + a[2|0] - [tl|tl]
103 sadd16 r2, r4, r11 ; l[0|0] + a[3|1] - [tl|tl]
107 sadd16 r4, r5, r10 ; l[1|1] + a[2|0] - [tl|tl]
108 sadd16 r5, r5, r11 ; l[1|1] + a[3|1] - [tl|tl]
116 sadd16 r1, r6, r10 ; l[2|2] + a[2|0] - [tl|tl]
117 sadd16 r2, r6, r11 ; l[2|2] + a[3|1] - [tl|tl]
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddetokenize.c185 ENTROPY_CONTEXT *l; in vp8_decode_mb_tokens() local
193 l = l_ctx + 8; in vp8_decode_mb_tokens()
197 nonzeros = GetCoeffs(bc, coef_probs, (*a + *l), 0, qcoeff_ptr + 24 * 16); in vp8_decode_mb_tokens()
198 *a = *l = (nonzeros > 0); in vp8_decode_mb_tokens()
215 l = l_ctx + ((i&0xc)>>2); in vp8_decode_mb_tokens()
217 nonzeros = GetCoeffs(bc, coef_probs, (*a + *l), skip_dc, qcoeff_ptr); in vp8_decode_mb_tokens()
218 *a = *l = (nonzeros > 0); in vp8_decode_mb_tokens()
233 l = l_ctx + ((i > 19)<<1) + ((i&3)>1); in vp8_decode_mb_tokens()
235 nonzeros = GetCoeffs(bc, coef_probs, (*a + *l), 0, qcoeff_ptr); in vp8_decode_mb_tokens()
236 *a = *l = (nonzeros > 0); in vp8_decode_mb_tokens()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dtokenize.c117 ENTROPY_CONTEXT * l; in tokenize2nd_order_b() local
124 l = (ENTROPY_CONTEXT *)xd->left_context + 8; in tokenize2nd_order_b()
126 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l); in tokenize2nd_order_b()
138 *a = *l = 0; in tokenize2nd_order_b()
187 *a = *l = 1; in tokenize2nd_order_b()
208 ENTROPY_CONTEXT * l; in tokenize1st_order_b() local
221 l = (ENTROPY_CONTEXT *)xd->left_context + tmp2; in tokenize1st_order_b()
223 VP8_COMBINEENTROPYCONTEXTS(pt, *a, *l); in tokenize1st_order_b()
237 *a = *l = 0; in tokenize1st_order_b()
285 *a = *l = 1; in tokenize1st_order_b()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c44 long l; member
470 (long)(gyro_bias[0].l / 1000.f * 65536.f / scale_ratio); in main()
472 (long)(gyro_bias[1].l / 1000.f * 65536.f / scale_ratio); in main()
474 (long)(gyro_bias[2].l / 1000.f * 65536.f / scale_ratio); in main()
486 if (ABS(accel_bias[1].l) > ABS(accel_bias[0].l)) { in main()
489 if (ABS(accel_bias[2].l) > ABS(accel_bias[axis].l)) { in main()
492 if (accel_bias[axis].l < 0) { in main()
508 (long)(accel_bias[0].l / 1000.f * 65536.f * scale_ratio); in main()
510 (long)(accel_bias[1].l / 1000.f * 65536.f * scale_ratio); in main()
512 (long)(accel_bias[2].l / 1000.f * 65536.f * scale_ratio); in main()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dargs.h41 #define ARG_DEF(s,l,v,d) {s,l,v,d, NULL} argument
42 #define ARG_DEF_ENUM(s,l,v,d,e) {s,l,v,d,e} argument
/hardware/intel/common/libwsbm/src/
Dwsbm_manager.c151 struct _WsbmListHead *l; in validateListAddNode() local
154 l = list->free.next; in validateListAddNode()
155 if (l == &list->free) { in validateListAddNode()
162 WSBMLISTDEL(l); in validateListAddNode()
163 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateListAddNode()
199 struct _WsbmListHead *l; in validateFreeList() local
201 l = list->list.next; in validateFreeList()
202 while (l != &list->list) { in validateFreeList()
203 WSBMLISTDEL(l); in validateFreeList()
204 node = WSBMLISTENTRY(l, struct _ValidateNode, head); in validateFreeList()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_treewriter.c14 int i, int v, int l) { in tree2tok() argument
16 ++l; in tree2tok()
22 tokens[-j].len = l; in tree2tok()
24 tree2tok(tokens, tree, j, v, l); in tree2tok()
Dvp9_bitstream.c162 const int e = p->extra, l = b->len; in pack_mb_tokens() local
164 if (l) { in pack_mb_tokens()
167 int n = l; /* number of bits in v, assumed nonzero */ in pack_mb_tokens()
493 int i, j, k, l, m; in build_tree_distribution() local
498 for (l = 0; l < BAND_COEFF_CONTEXTS(k); ++l) { in build_tree_distribution()
500 coef_branch_ct[i][j][k][l], in build_tree_distribution()
501 coef_counts[i][j][k][l]); in build_tree_distribution()
502 coef_branch_ct[i][j][k][l][0][1] = eob_branch_ct[i][j][k][l] - in build_tree_distribution()
503 coef_branch_ct[i][j][k][l][0][0]; in build_tree_distribution()
505 coef_probs[i][j][k][l][m] = get_binary_prob( in build_tree_distribution()
[all …]
/hardware/ril/reference-ril/
Dat_tok.c110 long l; in at_tok_nextint_base() local
114 l = strtoul(ret, &end, base); in at_tok_nextint_base()
116 l = strtol(ret, &end, base); in at_tok_nextint_base()
118 *p_out = (int)l; in at_tok_nextint_base()
/hardware/intel/img/hwcomposer/moorefield_hdmi/common/base/
DHwcLayerList.h75 const HwcLayer* l = *(HwcLayer**)lhs; in do_compare() local
78 return l->getIndex() - r->getIndex(); in do_compare()
86 const HwcLayer* l = *(HwcLayer**)lhs; in do_compare() local
88 return r->getPriority() - l->getPriority(); in do_compare()
/hardware/intel/img/hwcomposer/merrifield/common/base/
DHwcLayerList.h76 const HwcLayer* l = *(HwcLayer**)lhs; in do_compare() local
79 return l->getIndex() - r->getIndex(); in do_compare()
87 const HwcLayer* l = *(HwcLayer**)lhs; in do_compare() local
89 return r->getPriority() - l->getPriority(); in do_compare()

1234567