Home
last modified time | relevance | path

Searched refs:b (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dmd5_utils.c160 register UWORD32 a, b, c, d; in MD5Transform() local
163 b = buf[1]; in MD5Transform()
167 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in MD5Transform()
168 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in MD5Transform()
169 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in MD5Transform()
170 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in MD5Transform()
171 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in MD5Transform()
172 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in MD5Transform()
173 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in MD5Transform()
174 MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501, 22); in MD5Transform()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dbitstream.h35 # define pack_tokens(a,b,c) \ argument
36 vp8cx_pack_tokens_armv5(a,b,c,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
37 # define pack_tokens_into_partitions(a,b,c,d) \ argument
38 vp8cx_pack_tokens_into_partitions_armv5(a,b,c,d,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
39 # define pack_mb_row_tokens(a,b) \ argument
40 vp8cx_pack_mb_row_tokens_armv5(a,b,vp8_coef_encodings,vp8_extra_bits,vp8_coef_tree)
45 # define pack_tokens(a,b,c) vp8_pack_tokens_c(a,b,c)
46 # define pack_tokens_into_partitions(a,b,c,d) pack_tokens_into_partitions_c(a,b,c,d)
47 # define pack_mb_row_tokens(a,b) pack_mb_row_tokens_c(a,b)
Dencodemb.c98 BLOCK *b = &x->block[0]; in vp8_subtract_mb() local
100 vp8_subtract_mby(x->src_diff, *(b->base_src), in vp8_subtract_mb()
101 b->src_stride, x->e_mbd.dst.y_buffer, x->e_mbd.dst.y_stride); in vp8_subtract_mb()
227 BLOCK *b; in optimize_b() local
258 b = &mb->block[ib]; in optimize_b()
265 vp8_strict_quantize_b(b, d); in optimize_b()
269 coeff_ptr = b->coeff; in optimize_b()
508 int b; in optimize_mb() local
526 for (b = 0; b < 16; b++) in optimize_mb()
528 optimize_b(x, b, type, in optimize_mb()
[all …]
Dencodeintra.c54 BLOCKD *b = &x->e_mbd.block[ib]; in vp8_encode_intra4x4block() local
57 unsigned char *dst = x->e_mbd.dst.y_buffer + b->offset; in vp8_encode_intra4x4block()
62 vp8_intra4x4_predict(Above, yleft, dst_stride, b->bmi.as_mode, in vp8_encode_intra4x4block()
63 b->predictor, 16, top_left); in vp8_encode_intra4x4block()
65 vp8_subtract_b(be, b, 16); in vp8_encode_intra4x4block()
69 x->quantize_b(be, b); in vp8_encode_intra4x4block()
71 if (*b->eob > 1) in vp8_encode_intra4x4block()
73 vp8_short_idct4x4llm(b->dqcoeff, b->predictor, 16, dst, dst_stride); in vp8_encode_intra4x4block()
77 vp8_dc_only_idct_add(b->dqcoeff[0], b->predictor, 16, dst, dst_stride); in vp8_encode_intra4x4block()
95 BLOCK *b = &x->block[0]; in vp8_encode_intra16x16mby() local
[all …]
Dtreewriter.h42 #define vp8_cost_bit( x, b) vp8_cost_zero( (b)? vp8_complement(x) : (x) ) argument
73 const int b = (v >> --n) & 1; in vp8_treed_write() local
74 vp8_write(w, b, p[i>>1]); in vp8_treed_write()
75 i = t[i+b]; in vp8_treed_write()
102 const int b = (v >> --n) & 1; in vp8_treed_cost() local
103 c += vp8_cost_bit(p[i>>1], b); in vp8_treed_cost()
104 i = t[i+b]; in vp8_treed_cost()
Dtokenize.c114 const BLOCKD *b; in tokenize2nd_order_b() local
121 b = xd->block + 24; in tokenize2nd_order_b()
122 qcoeff_ptr = b->qcoeff; in tokenize2nd_order_b()
201 const BLOCKD *b; in tokenize1st_order_b() local
212 b = xd->block; in tokenize1st_order_b()
214 for (block = 0; block < 16; block++, b++) in tokenize1st_order_b()
216 const int eob = *b->eob; in tokenize1st_order_b()
219 qcoeff_ptr = b->qcoeff; in tokenize1st_order_b()
289 for (block = 16; block < 24; block++, b++) in tokenize1st_order_b()
291 const int eob = *b->eob; in tokenize1st_order_b()
[all …]
Dmcomp.c196 #define DIST(r,c) vfp->svf( PRE(r,c), y_stride, SP(c),SP(r), z,b->src_stride,&sse)
203 int vp8_find_best_sub_pixel_step_iteratively(MACROBLOCK *x, BLOCK *b, BLOCKD *d, in vp8_find_best_sub_pixel_step_iteratively() argument
210 unsigned char *z = (*(b->base_src) + b->src); in vp8_find_best_sub_pixel_step_iteratively()
265 besterr = vfp->vf(y, y_stride, z, b->src_stride, sse1); in vp8_find_best_sub_pixel_step_iteratively()
361 int vp8_find_best_sub_pixel_step(MACROBLOCK *x, BLOCK *b, BLOCKD *d, in vp8_find_best_sub_pixel_step() argument
371 unsigned char *z = (*(b->base_src) + b->src); in vp8_find_best_sub_pixel_step()
400 bestmse = vfp->vf(y, y_stride, z, b->src_stride, sse1); in vp8_find_best_sub_pixel_step()
407 thismse = vfp->svf_halfpix_h(y - 1, y_stride, z, b->src_stride, &sse); in vp8_find_best_sub_pixel_step()
419 thismse = vfp->svf_halfpix_h(y, y_stride, z, b->src_stride, &sse); in vp8_find_best_sub_pixel_step()
433 thismse = vfp->svf_halfpix_v(y - y_stride, y_stride, z, b->src_stride, &sse); in vp8_find_best_sub_pixel_step()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dfindnearmv.h104 static int left_block_mv(const MODE_INFO *cur_mb, int b) in left_block_mv() argument
106 if (!(b & 3)) in left_block_mv()
113 b += 4; in left_block_mv()
116 return (cur_mb->bmi + b - 1)->mv.as_int; in left_block_mv()
119 static int above_block_mv(const MODE_INFO *cur_mb, int b, int mi_stride) in above_block_mv() argument
121 if (!(b >> 2)) in above_block_mv()
128 b += 16; in above_block_mv()
131 return (cur_mb->bmi + (b - 4))->mv.as_int; in above_block_mv()
133 static B_PREDICTION_MODE left_block_mode(const MODE_INFO *cur_mb, int b) in left_block_mode() argument
135 if (!(b & 3)) in left_block_mode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dquantize_sse2.c32 zbin_boost_ptr = b->zrun_zbin_boost; \
36 void vp8_regular_quantize_b_sse2(BLOCK *b, BLOCKD *d) in vp8_regular_quantize_b_sse2() argument
39 short *zbin_boost_ptr = b->zrun_zbin_boost; in vp8_regular_quantize_b_sse2()
45 __m128i quant_shift0 = _mm_load_si128((__m128i *)(b->quant_shift)); in vp8_regular_quantize_b_sse2()
46 __m128i quant_shift1 = _mm_load_si128((__m128i *)(b->quant_shift + 8)); in vp8_regular_quantize_b_sse2()
47 __m128i z0 = _mm_load_si128((__m128i *)(b->coeff)); in vp8_regular_quantize_b_sse2()
48 __m128i z1 = _mm_load_si128((__m128i *)(b->coeff+8)); in vp8_regular_quantize_b_sse2()
49 __m128i zbin_extra = _mm_cvtsi32_si128(b->zbin_extra); in vp8_regular_quantize_b_sse2()
50 __m128i zbin0 = _mm_load_si128((__m128i *)(b->zbin)); in vp8_regular_quantize_b_sse2()
51 __m128i zbin1 = _mm_load_si128((__m128i *)(b->zbin + 8)); in vp8_regular_quantize_b_sse2()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_blockd.c14 const MODE_INFO *left_mi, int b) { in vp9_left_block_mode() argument
15 if (b == 0 || b == 2) { in vp9_left_block_mode()
19 return get_y_mode(left_mi, b + 1); in vp9_left_block_mode()
21 assert(b == 1 || b == 3); in vp9_left_block_mode()
22 return cur_mi->bmi[b - 1].as_mode; in vp9_left_block_mode()
27 const MODE_INFO *above_mi, int b) { in vp9_above_block_mode() argument
28 if (b == 0 || b == 1) { in vp9_above_block_mode()
32 return get_y_mode(above_mi, b + 2); in vp9_above_block_mode()
34 assert(b == 2 || b == 3); in vp9_above_block_mode()
35 return cur_mi->bmi[b - 2].as_mode; in vp9_above_block_mode()
Dvp9_idct.h33 #define pair_set_epi16(a, b) \ argument
34 _mm_set_epi16(b, a, b, a, b, a, b, a)
36 #define pair_set_epi32(a, b) \ argument
37 _mm_set_epi32(b, a, b, a)
/hardware/intel/img/libdrm/libdrm/intel/
Dmm.c238 mmFreeMem(struct mem_block *b) in mmFreeMem() argument
240 if (!b) in mmFreeMem()
243 if (b->free) { in mmFreeMem()
247 if (b->reserved) { in mmFreeMem()
252 b->free = 1; in mmFreeMem()
253 b->next_free = b->heap->next_free; in mmFreeMem()
254 b->prev_free = b->heap; in mmFreeMem()
255 b->next_free->prev_free = b; in mmFreeMem()
256 b->prev_free->next_free = b; in mmFreeMem()
258 Join2Blocks(b); in mmFreeMem()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dgen_scalers.c41 unsigned int a, b, c, d, e; in vp8_horizontal_line_5_4_scale_c() local
49 b = src[1]; in vp8_horizontal_line_5_4_scale_c()
55 des[1] = (unsigned char)((b * 192 + c * 64 + 128) >> 8); in vp8_horizontal_line_5_4_scale_c()
73 unsigned int a, b, c, d, e; in vp8_vertical_band_5_4_scale_c() local
80 b = src[1 * src_pitch]; in vp8_vertical_band_5_4_scale_c()
86 des[1 * dest_pitch] = (unsigned char)((b * 192 + c * 64 + 128) >> 8); in vp8_vertical_band_5_4_scale_c()
122 unsigned int a, b, c, d, e; in vp8_horizontal_line_5_3_scale_c() local
130 b = src[1]; in vp8_horizontal_line_5_3_scale_c()
136 des[1] = (unsigned char)((b * 85 + c * 171 + 128) >> 8); in vp8_horizontal_line_5_3_scale_c()
151 unsigned int a, b, c, d, e; in vp8_vertical_band_5_3_scale_c() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/halloc/src/
Dhalloc.c52 static int _relate(hblock_t * b, hblock_t * p);
113 hblock_t * b, * p; in hattach() local
122 b = structof(block, hblock_t, data); in hattach()
123 assert(b->magic == HH_MAGIC); in hattach()
125 hlist_del(&b->siblings); in hattach()
135 assert(b != p); /* trivial */ in hattach()
136 assert(! _relate(p, b)); /* heavy ! */ in hattach()
138 hlist_add(&p->children, &b->siblings); in hattach()
214 static int _relate(hblock_t * b, hblock_t * p) in _relate() argument
218 if (!b || !p) in _relate()
[all …]
/hardware/ti/omap4-aah/libtiutils/
DUtilsCommon.h43 const T & min(const T & a, const T & b);
46 const T & max(const T & a, const T & b);
72 inline const T & min(const T & a, const T & b) { in min() argument
73 return a < b ? a : b; in min()
77 inline const T & max(const T & a, const T & b) { in max() argument
78 return a < b ? b : a; in max()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_cost.c40 int b; in cost() local
42 for (b = 0; b <= 1; ++b) { in cost()
43 const int cc = c + vp9_cost_bit(prob, b); in cost()
44 const vp9_tree_index ii = tree[i + b]; in cost()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dml_math_func.c91 long inv_q29_mult(long a, long b) in inv_q29_mult() argument
95 result = (long)((float)a * b / (1L << 29)); in inv_q29_mult()
100 temp = (long long)a * b; in inv_q29_mult()
113 long inv_q30_mult(long a, long b) in inv_q30_mult() argument
117 result = (long)((float)a * b / (1L << 30)); in inv_q30_mult()
122 temp = (long long)a * b; in inv_q30_mult()
129 long inv_q30_div(long a, long b) in inv_q30_div() argument
133 temp = (((long long)a) << 30) / b; in inv_q30_div()
148 long inv_q_shift_mult(long a, long b, int shift) in inv_q_shift_mult() argument
151 result = (long)(((long long)a * b) >> shift); in inv_q_shift_mult()
[all …]
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp95 static inline int min(int a, int b) { in min() argument
96 return (a<b) ? a : b; in min()
100 static inline int max(int a, int b) { in max() argument
101 return (a>b) ? a : b; in max()
105 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
108 *b = (mul * *b) / div; in MULDIV()
119 out->b = min(lhs->b, rhs->b); in intersect()
168 e->dst_rect.h = clip.b - clip.t; in set_rects()
174 e->src_rect.w = (clip.b - clip.t); in set_rects()
176 W = dst->b - dst->t; in set_rects()
[all …]
/hardware/invensense/60xx/mlsdk/mllite/
DmlMathFunc.h36 const long *b; member
43 long inv_q29_mult(long a, long b);
44 long inv_q30_mult(long a, long b);
59 void inv_matrix_det_inc(float *a, float *b, int *n, int x, int y);
61 void inv_matrix_det_incd(double *a, double *b, int *n, int x, int y);
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp97 static inline int min(int a, int b) { in min() argument
98 return (a<b) ? a : b; in min()
102 static inline int max(int a, int b) { in max() argument
103 return (a>b) ? a : b; in max()
107 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
110 *b = (mul * *b) / div; in MULDIV()
121 out->b = min(lhs->b, rhs->b); in intersect()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
178 e->src_rect.w = (clip.b - clip.t); in set_rects()
180 W = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp97 static inline int min(int a, int b) { in min() argument
98 return (a<b) ? a : b; in min()
102 static inline int max(int a, int b) { in max() argument
103 return (a>b) ? a : b; in max()
107 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
110 *b = (mul * *b) / div; in MULDIV()
121 out->b = min(lhs->b, rhs->b); in intersect()
172 e->dst_rect.h = clip.b - clip.t; in set_rects()
178 e->src_rect.w = (clip.b - clip.t); in set_rects()
180 W = dst->b - dst->t; in set_rects()
[all …]
/hardware/qcom/gps/loc_api/libloc_api-rpc-50001/libloc_api-rpc-stub/src/
Dloc_apicb_appinit.c34 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
35 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/nestegg/
D0001-include-paths.diff1 diff --git a/nestegg/halloc/src/halloc.c b/nestegg/halloc/src/halloc.c
4 +++ b/nestegg/halloc/src/halloc.c
14 diff --git a/nestegg/include/nestegg/nestegg.h b/nestegg/include/nestegg/nestegg.h
17 +++ b/nestegg/include/nestegg/nestegg.h
27 diff --git a/nestegg/src/nestegg.c b/nestegg/src/nestegg.c
30 +++ b/nestegg/src/nestegg.c
/hardware/qcom/gps/loc_api/libloc_api-rpc/src/
Dloc_apicb_appinit.c25 #define RPC_FUNC_VERSION_BASE(a,b) a ## b argument
26 #define RPC_CB_FUNC_VERS(a,b) RPC_FUNC_VERSION_BASE(a,b) argument
/hardware/qcom/display/msm8974/libcopybit/
Dcopybit.cpp97 static inline int min(int a, int b) { in min() argument
98 return (a<b) ? a : b; in min()
102 static inline int max(int a, int b) { in max() argument
103 return (a>b) ? a : b; in max()
107 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
110 *b = (mul * *b) / div; in MULDIV()
121 out->b = min(lhs->b, rhs->b); in intersect()
171 e->dst_rect.h = clip.b - clip.t; in set_rects()
177 e->src_rect.w = (clip.b - clip.t); in set_rects()
179 W = dst->b - dst->t; in set_rects()
[all …]

12345678910>>...13