/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_d.c | 146 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_galileo_rev_d() local 147 if (b == NULL) { in mraa_intel_galileo_rev_d() 151 b->platform_name = PLATFORM_NAME; in mraa_intel_galileo_rev_d() 152 b->phy_pin_count = 20; in mraa_intel_galileo_rev_d() 153 b->gpio_count = 14; in mraa_intel_galileo_rev_d() 154 b->aio_count = 6; in mraa_intel_galileo_rev_d() 155 b->uart_dev_count = 2; in mraa_intel_galileo_rev_d() 157 b->adc_raw = 12; in mraa_intel_galileo_rev_d() 158 b->adc_supported = 10; in mraa_intel_galileo_rev_d() 159 b->pwm_default_period = 500; in mraa_intel_galileo_rev_d() [all …]
|
D | intel_de3815.c | 41 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_de3815() local 42 if (b == NULL) { in mraa_intel_de3815() 46 b->platform_name = PLATFORM_NAME; in mraa_intel_de3815() 47 b->phy_pin_count = MRAA_INTEL_DE3815_PINCOUNT; in mraa_intel_de3815() 48 b->aio_count = 0; in mraa_intel_de3815() 49 b->adc_raw = 0; in mraa_intel_de3815() 50 b->adc_supported = 0; in mraa_intel_de3815() 51 b->pwm_default_period = 500; in mraa_intel_de3815() 52 b->pwm_max_period = 2147483; in mraa_intel_de3815() 53 b->pwm_min_period = 1; in mraa_intel_de3815() [all …]
|
D | intel_galileo_rev_g.c | 323 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_galileo_gen2() local 324 if (b == NULL) { in mraa_intel_galileo_gen2() 328 b->platform_name = PLATFORM_NAME; in mraa_intel_galileo_gen2() 329 b->phy_pin_count = 20; in mraa_intel_galileo_gen2() 330 b->gpio_count = 14; in mraa_intel_galileo_gen2() 331 b->aio_count = 6; in mraa_intel_galileo_gen2() 332 b->adc_raw = 12; in mraa_intel_galileo_gen2() 333 b->adc_supported = 10; in mraa_intel_galileo_gen2() 334 b->pwm_default_period = 5000; in mraa_intel_galileo_gen2() 335 b->pwm_max_period = 41666; in mraa_intel_galileo_gen2() [all …]
|
D | intel_nuc5.c | 41 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_nuc5() local 42 if (b == NULL) { in mraa_intel_nuc5() 46 b->platform_name = PLATFORM_NAME; in mraa_intel_nuc5() 47 b->phy_pin_count = MRAA_INTEL_NUC5_PINCOUNT; in mraa_intel_nuc5() 49 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_nuc5() 50 if (b->adv_func == NULL) { in mraa_intel_nuc5() 54 b->pins = (mraa_pininfo_t*) calloc(MRAA_INTEL_NUC5_PINCOUNT,sizeof(mraa_pininfo_t)); in mraa_intel_nuc5() 55 if (b->pins == NULL) { in mraa_intel_nuc5() 56 free(b->adv_func); in mraa_intel_nuc5() 60 strncpy(b->pins[0].name, "1.8v", 8); in mraa_intel_nuc5() [all …]
|
D | intel_minnow_byt_compatible.c | 89 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_minnowboard_byt_compatible() local 94 if (b == NULL) { in mraa_intel_minnowboard_byt_compatible() 98 b->platform_name = PLATFORM_NAME; in mraa_intel_minnowboard_byt_compatible() 100 b->platform_version = "Turbot"; in mraa_intel_minnowboard_byt_compatible() 101 b->gpio_count = b->phy_pin_count = MRAA_INTEL_MINNOW_TURBOT_PINCOUNT; in mraa_intel_minnowboard_byt_compatible() 103 b->platform_version = "Ax"; in mraa_intel_minnowboard_byt_compatible() 104 b->gpio_count = b->phy_pin_count = MRAA_INTEL_MINNOW_MAX_PINCOUNT; in mraa_intel_minnowboard_byt_compatible() 107 b->pins = (mraa_pininfo_t*) calloc(b->phy_pin_count, sizeof(mraa_pininfo_t)); in mraa_intel_minnowboard_byt_compatible() 108 if (b->pins == NULL) { in mraa_intel_minnowboard_byt_compatible() 112 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_minnowboard_byt_compatible() [all …]
|
D | intel_edison_fab_c.c | 782 mraa_intel_edison_miniboard(mraa_board_t* b) in mraa_intel_edison_miniboard() argument 785 b->phy_pin_count = 56; in mraa_intel_edison_miniboard() 786 b->gpio_count = 56; // A bit of a hack I suppose in mraa_intel_edison_miniboard() 787 b->aio_count = 0; in mraa_intel_edison_miniboard() 788 b->pwm_default_period = 5000; in mraa_intel_edison_miniboard() 789 b->pwm_max_period = 218453; in mraa_intel_edison_miniboard() 790 b->pwm_min_period = 1; in mraa_intel_edison_miniboard() 792 b->pins = (mraa_pininfo_t*) calloc(b->phy_pin_count, sizeof(mraa_pininfo_t)); in mraa_intel_edison_miniboard() 793 if (b->pins == NULL) { in mraa_intel_edison_miniboard() 797 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_edison_miniboard() [all …]
|
D | intel_sofia_3gr.c | 39 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_intel_sofia_3gr() local 40 if (b == NULL) { in mraa_intel_sofia_3gr() 44 b->platform_name = PLATFORM_NAME; in mraa_intel_sofia_3gr() 45 b->phy_pin_count = MRAA_INTEL_SOFIA_3GR_PINCOUNT; in mraa_intel_sofia_3gr() 47 b->adv_func = (mraa_adv_func_t*) calloc(1, sizeof(mraa_adv_func_t)); in mraa_intel_sofia_3gr() 48 if (b->adv_func == NULL) { in mraa_intel_sofia_3gr() 52 b->pins = (mraa_pininfo_t*) calloc(MRAA_INTEL_SOFIA_3GR_PINCOUNT, sizeof(mraa_pininfo_t)); in mraa_intel_sofia_3gr() 53 if (b->pins == NULL) { in mraa_intel_sofia_3gr() 54 free(b->adv_func); in mraa_intel_sofia_3gr() 58 strncpy(b->pins[0].name, "I2C1SCL", 8); in mraa_intel_sofia_3gr() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | beaglebone.c | 491 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_beaglebone() local 492 if (b == NULL) in mraa_beaglebone() 496 b->platform_name = PLATFORM_NAME_BEAGLEBONE_BLACK_REV_B; in mraa_beaglebone() 497 b->phy_pin_count = MRAA_BEAGLEBONE_BLACK_PINCOUNT; in mraa_beaglebone() 500 b->platform_name = PLATFORM_NAME_BEAGLEBONE_BLACK_REV_C; in mraa_beaglebone() 501 b->phy_pin_count = MRAA_BEAGLEBONE_BLACK_PINCOUNT; in mraa_beaglebone() 504 if (b->platform_name == NULL) { in mraa_beaglebone() 508 b->aio_count = 7; in mraa_beaglebone() 509 b->adc_raw = 12; in mraa_beaglebone() 510 b->adc_supported = 12; in mraa_beaglebone() [all …]
|
D | raspberry_pi.c | 211 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_raspberry_pi() local 212 if (b == NULL) { in mraa_raspberry_pi() 215 b->phy_pin_count = 0; in mraa_raspberry_pi() 225 b->platform_name = PLATFORM_NAME_RASPBERRY_PI_B_REV_1; in mraa_raspberry_pi() 227 b->phy_pin_count = MRAA_RASPBERRY_PI_B_REV_1_PINCOUNT; in mraa_raspberry_pi() 230 b->platform_name = PLATFORM_NAME_RASPBERRY_PI_B_REV_2; in mraa_raspberry_pi() 232 b->phy_pin_count = MRAA_RASPBERRY_PI_AB_REV_2_PINCOUNT; in mraa_raspberry_pi() 234 b->platform_name = PLATFORM_NAME_RASPBERRY_PI_A_REV_2; in mraa_raspberry_pi() 236 b->phy_pin_count = MRAA_RASPBERRY_PI_AB_REV_2_PINCOUNT; in mraa_raspberry_pi() 238 b->platform_name = PLATFORM_NAME_RASPBERRY_PI_B_PLUS_REV_1; in mraa_raspberry_pi() [all …]
|
D | banana.c | 202 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_banana() local 203 if (b == NULL) { in mraa_banana() 218 b->platform_name = PLATFORM_NAME_BANANA_PRO; in mraa_banana() 220 b->phy_pin_count = MRAA_BANANA_PRO_PINCOUNT; in mraa_banana() 224 b->platform_name = PLATFORM_NAME_BANANA_PI; in mraa_banana() 226 b->phy_pin_count = MRAA_BANANA_PI_PINCOUNT; in mraa_banana() 237 b->platform_name = PLATFORM_NAME_BANANA_PRO; in mraa_banana() 239 b->phy_pin_count = MRAA_BANANA_PRO_PINCOUNT; in mraa_banana() 241 b->platform_name = PLATFORM_NAME_BANANA_PI; in mraa_banana() 243 b->phy_pin_count = MRAA_BANANA_PI_PINCOUNT; in mraa_banana() [all …]
|
D | 96boards.c | 60 mraa_board_t* b = (mraa_board_t*) calloc(1, sizeof(mraa_board_t)); in mraa_96boards() local 61 if (b == NULL) { in mraa_96boards() 66 b->no_bus_mux = 1; in mraa_96boards() 71 b->platform_name = PLATFORM_NAME_DB410C; in mraa_96boards() 72 b->phy_pin_count = DB410C_PINCOUNT; in mraa_96boards() 74 b->uart_dev[0].device_path = db410c_serialdev[0]; in mraa_96boards() 75 b->uart_dev[1].device_path = db410c_serialdev[1]; in mraa_96boards() 77 b->platform_name = PLATFORM_NAME_HIKEY; in mraa_96boards() 78 b->phy_pin_count = HIKEY_PINCOUNT; in mraa_96boards() 80 b->uart_dev[0].device_path = hikey_serialdev[0]; in mraa_96boards() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | md5_utils.c | 160 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/ |
D | bitstream.h | 35 # 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)
|
D | encodemb.c | 98 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 …]
|
D | encodeintra.c | 54 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 …]
|
D | treewriter.h | 42 #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()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | findnearmv.h | 104 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/ |
D | quantize_sse2.c | 32 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/ |
D | vp9_blockd.c | 14 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()
|
D | vp9_idct.h | 33 #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/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraCommon.h | 39 #define ALIGN(a, b) (((a) + (b)) & ~(b)) argument 40 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
|
/hardware/qcom/camera/QCamera2/util/ |
D | QCameraCommon.h | 39 #define ALIGN(a, b) (((a) + (b)) & ~(b)) argument 40 #define MAX(a, b) ((a) > (b) ? (a) : (b)) argument
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/ |
D | gen_scalers.c | 41 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/ |
D | halloc.c | 52 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/ |
D | UtilsCommon.h | 43 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()
|