/hardware/intel/common/libmix/mix_vbp/viddec_fw/include/ |
D | viddec_fw_item_types.h | 202 …viddec_fw_mp2_sh_set_horizontal_size_value(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr_it… argument 203 … viddec_fw_mp2_sh_set_vertical_size_value(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr_i… argument 204 …ddec_fw_mp2_sh_set_aspect_ratio_information(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr_item… argument 205 …ne viddec_fw_mp2_sh_set_frame_rate_code(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr… argument 214 …fine viddec_fw_mp2_sh_set_bit_rate_value(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr_… argument 215 … viddec_fw_mp2_sh_set_vbv_buffer_size_value(x, val) viddec_fw_bitfields_insert ( (x)->seq_hdr_item… argument 236 …_fw_mp2_se_set_profile_and_level_indication(x, val) viddec_fw_bitfields_insert ( (x)->seq_ext_item… argument 237 …ddec_fw_mp2_se_set_progressive_sequence(x, val) viddec_fw_bitfields_insert ( (x)->seq_ext_… argument 238 …e viddec_fw_mp2_se_set_chroma_format(x, val) viddec_fw_bitfields_insert ( (x)->seq_… argument 239 …ec_fw_mp2_se_set_horizontal_size_extension(x, val) viddec_fw_bitfields_insert ( (x)->seq_ext_it… argument [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp4/include/ |
D | viddec_fw_mp4.h | 51 …#define viddec_fw_mp4_set_reversible_vlc(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 8… argument 53 …#define viddec_fw_mp4_set_data_partitioned(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val,… argument 55 …#define viddec_fw_mp4_set_resync_marker_disable(x, val) viddec_fw_bitfields_insert((x)->vol_flags,… argument 57 …#define viddec_fw_mp4_set_quarter_sample(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 5… argument 59 …#define viddec_fw_mp4_set_obmc_disable(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 4, … argument 61 …#define viddec_fw_mp4_set_interlaced(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 3, 0x… argument 63 …#define viddec_fw_mp4_set_vol_shape(x, val) viddec_fw_bitfields_insert((x)->vol_flags, val, 1, 0x3) argument 65 …efine viddec_fw_mp4_set_short_video_header_flag(x, val) viddec_fw_bitfields_insert((x)->vol_flags,… argument 74 …#define viddec_fw_mp4_set_vol_width(x, val) viddec_fw_bitfields_insert((x)->vol_size, val, 13, 0x1… argument 76 …#define viddec_fw_mp4_set_vol_height(x, val) viddec_fw_bitfields_insert((x)->vol_size, val, 0, 0x1… argument [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
D | mem_ops.h | 66 unsigned MEM_VALUE_T val; in mem_get_be16() local 69 val = mem[0] << 8; in mem_get_be16() 70 val |= mem[1]; in mem_get_be16() 71 return val; in mem_get_be16() 77 unsigned MEM_VALUE_T val; in mem_get_be24() local 80 val = mem[0] << 16; in mem_get_be24() 81 val |= mem[1] << 8; in mem_get_be24() 82 val |= mem[2]; in mem_get_be24() 83 return val; in mem_get_be24() 89 unsigned MEM_VALUE_T val; in mem_get_be32() local [all …]
|
D | mem.h | 19 #define DECLARE_ALIGNED(n,typ,val) typ val __attribute__ ((aligned (n))) argument 21 #define DECLARE_ALIGNED(n,typ,val) __declspec(align(n)) typ val argument 24 #define DECLARE_ALIGNED(n,typ,val) typ val argument 34 #define DECLARE_ALIGNED_ARRAY(a,typ,val,n)\ argument 35 typ val##_[(n)+(a)/sizeof(typ)+1];\ 36 typ *val = (typ*)((((intptr_t)val##_)+(a)-1)&((intptr_t)-(a)))
|
D | mem_ops_aligned.h | 30 #define swap_endian_16(val,raw) do {\ argument 31 val = ((raw>>8) & 0x00ff) \ 34 #define swap_endian_32(val,raw) do {\ argument 35 val = ((raw>>24) & 0x000000ff) \ 40 #define swap_endian_16_se(val,raw) do {\ argument 41 swap_endian_16(val,raw);\ 42 val = ((val << 16) >> 16);\ 44 #define swap_endian_32_se(val,raw) swap_endian_32(val,raw) argument 61 unsigned MEM_VALUE_T val, raw = *mem;\ 62 swap_endian_##sz(val,raw);\ [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmendian.h | 30 #define BCMSWAP16(val) \ argument 31 ((uint16)((((uint16)(val) & (uint16)0x00ffU) << 8) | \ 32 (((uint16)(val) & (uint16)0xff00U) >> 8))) 35 #define BCMSWAP32(val) \ argument 36 ((uint32)((((uint32)(val) & (uint32)0x000000ffU) << 24) | \ 37 (((uint32)(val) & (uint32)0x0000ff00U) << 8) | \ 38 (((uint32)(val) & (uint32)0x00ff0000U) >> 8) | \ 39 (((uint32)(val) & (uint32)0xff000000U) >> 24))) 42 #define BCMSWAP32BY16(val) \ argument 43 ((uint32)((((uint32)(val) & (uint32)0x0000ffffU) << 16) | \ [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/adc121c021/ |
D | adc121c021.cxx | 87 uint16_t val = mraa_i2c_read_word_data(m_i2c, reg); in readWord() local 91 b1 = (val & 0xff00) >> 8; in readWord() 92 val <<= 8; in readWord() 93 val |= b1; in readWord() 95 return val; in readWord() 104 float ADC121C021::valueToVolts(uint16_t val) in valueToVolts() argument 111 return (val * m_vref / ADC121C021_RESOLUTION); in valueToVolts() 150 uint8_t val = readByte(ADC121C021_REG_CONFIG); in enableAlertFlag() local 153 val |= 0x08; in enableAlertFlag() 155 val &= ~0x08; in enableAlertFlag() [all …]
|
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
D | mma7660.cxx | 140 uint8_t val; in getVerifiedAxis() local 142 val = readByte(axis); in getVerifiedAxis() 145 } while (val & 0x40); in getVerifiedAxis() 148 return (char(val << 2) / 4); in getVerifiedAxis() 158 uint8_t val; in getVerifiedTilt() local 160 val = readByte(REG_TILT); in getVerifiedTilt() 163 } while (val & 0x40); in getVerifiedTilt() 165 return val; in getVerifiedTilt() 170 uint8_t val = getVerifiedTilt(); in tiltBackFront() local 173 val &= 0x03; in tiltBackFront() [all …]
|
/hardware/ti/omap4-aah/domx/mm_osal/src/ |
D | timm_osal_trace.c | 96 char *val = getenv("TIMM_OSAL_DEBUG_TRACE_LEVEL"); in TIMM_OSAL_UpdateTraceLevel() local 98 if (val) in TIMM_OSAL_UpdateTraceLevel() 100 trace_level = strtol(val, NULL, 0); in TIMM_OSAL_UpdateTraceLevel() 106 int val; in TIMM_OSAL_UpdateTraceLevel() local 109 val = atoi(value); in TIMM_OSAL_UpdateTraceLevel() 110 if ( (!val) || (val < 0) ) in TIMM_OSAL_UpdateTraceLevel() 115 trace_level = val; in TIMM_OSAL_UpdateTraceLevel() 127 char *val = getenv("TIMM_OSAL_DEBUG_TRACE_LEVEL"); in __TIMM_OSAL_TraceFunction() local 129 val ? strtol(val, NULL, 0) : DEFAULT_TRACE_LEVEL; in __TIMM_OSAL_TraceFunction()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_quant_common.c | 99 int i, val = 4; in vp9_init_quant_tables() local 106 ac_qlookup[0] = val; in vp9_init_quant_tables() 107 dc_qlookup[0] = val; in vp9_init_quant_tables() 108 val += 4; in vp9_init_quant_tables() 111 const int ac_val = val; in vp9_init_quant_tables() 113 val = (int)(val * 1.01975); in vp9_init_quant_tables() 114 if (val == ac_val) in vp9_init_quant_tables() 115 ++val; in vp9_init_quant_tables()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | dequant_idct_neon.c | 82 d2tmp2 = vtrn_s16(vreinterpret_s16_s32(d2tmp0.val[0]), in vp8_dequant_idct_add_neon() 83 vreinterpret_s16_s32(d2tmp1.val[0])); in vp8_dequant_idct_add_neon() 84 d2tmp3 = vtrn_s16(vreinterpret_s16_s32(d2tmp0.val[1]), in vp8_dequant_idct_add_neon() 85 vreinterpret_s16_s32(d2tmp1.val[1])); in vp8_dequant_idct_add_neon() 88 q2 = vcombine_s16(d2tmp2.val[1], d2tmp3.val[1]); in vp8_dequant_idct_add_neon() 93 d12 = vqadd_s16(d2tmp2.val[0], d2tmp3.val[0]); in vp8_dequant_idct_add_neon() 94 d13 = vqsub_s16(d2tmp2.val[0], d2tmp3.val[0]); in vp8_dequant_idct_add_neon() 117 d2tmp2 = vtrn_s16(vreinterpret_s16_s32(d2tmp0.val[0]), in vp8_dequant_idct_add_neon() 118 vreinterpret_s16_s32(d2tmp1.val[0])); in vp8_dequant_idct_add_neon() 119 d2tmp3 = vtrn_s16(vreinterpret_s16_s32(d2tmp0.val[1]), in vp8_dequant_idct_add_neon() [all …]
|
D | dequantizeb_neon.c | 22 qDQ.val[0] = vmulq_s16(qQ.val[0], qDQC.val[0]); in vp8_dequantize_b_loop_neon() 23 qDQ.val[1] = vmulq_s16(qQ.val[1], qDQC.val[1]); in vp8_dequantize_b_loop_neon()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | args.c | 34 a.val = NULL; in arg_init() 52 arg.val = def->has_val ? arg.argv[1] : NULL; in arg_match() 64 arg.val = arg.name[name_len] == '=' ? arg.name + name_len + 1 : NULL; in arg_match() 69 if (arg.name && !arg.val && def->has_val) in arg_match() 72 if (arg.name && arg.val && !def->has_val) in arg_match() 76 && (arg.val || !def->has_val)) { in arg_match() 143 rawval = strtol(arg->val, &endptr, 10); in arg_parse_uint() 145 if (arg->val[0] != '\0' && endptr[0] == '\0') { in arg_parse_uint() 162 rawval = strtol(arg->val, &endptr, 10); in arg_parse_int() 164 if (arg->val[0] != '\0' && endptr[0] == '\0') { in arg_parse_int() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/decoder/ |
D | vp9_detokenize.c | 66 #define WRITE_COEF_CONTINUE(val, token) \ argument 68 v = (val * dqv) >> dq_shift; \ 79 val += (vp9_read(r, prob) << bits_count); \ 106 int val; in decode_coefs() local 150 val = CAT1_MIN_VAL; in decode_coefs() 152 WRITE_COEF_CONTINUE(val, CATEGORY1_TOKEN); in decode_coefs() 154 val = CAT2_MIN_VAL; in decode_coefs() 157 WRITE_COEF_CONTINUE(val, CATEGORY2_TOKEN); in decode_coefs() 162 val = CAT3_MIN_VAL; in decode_coefs() 166 WRITE_COEF_CONTINUE(val, CATEGORY3_TOKEN); in decode_coefs() [all …]
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/parser/ |
D | utils.c | 122 uint32_t val=0, wrote = size; in cp_using_dma() local 133 val=(wrote & 0xffff) << 2; in cp_using_dma() 135 val |= DMA_CTRL_STATUS_START; in cp_using_dma() 138 val |= (1<<18); in cp_using_dma() 140 val |= DMA_CTRL_STATUS_SWAP; in cp_using_dma() 142 val = val | DMA_CTRL_STATUS_DIRCN; in cp_using_dma() 143 reg_write(DMA_CONTROL_STATUS, val); in cp_using_dma() 169 uint32_t val=0, wrote = size; in cp_using_dma_phys() local 180 val=(wrote & 0xffff) << 2; in cp_using_dma_phys() 182 val |= DMA_CTRL_STATUS_START; in cp_using_dma_phys() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | grovemoisture.cxx | 56 int val = moisture->value(); in main() local 57 cout << "Moisture value: " << val << ", "; in main() 58 if (val >= 0 && val < 300) in main() 60 else if (val >= 300 && val < 600) in main()
|
/hardware/bsp/intel/peripheral/libupm/src/h3lis331dl/ |
D | h3lis331dl.h | 365 bool setHPCF(HPCF_BITS_T val); 373 bool setHPM(HPM_BITS_T val); 447 bool setInterrupt1PadConfig(I_CFG_BITS_T val); 455 bool setInterrupt2PadConfig(I_CFG_BITS_T val); 496 bool setInterrupt1Config(uint8_t val); 504 bool setInterrupt2Config(uint8_t val); 512 bool setInterrupt1Source(uint8_t val); 520 bool setInterrupt2Source(uint8_t val); 528 bool setInterrupt1Threshold(uint8_t val); 536 bool setInterrupt2Threshold(uint8_t val); [all …]
|
D | h3lis331dl.cxx | 147 bool H3LIS331DL::setHPCF(HPCF_BITS_T val) in setHPCF() argument 152 reg |= (val << REG2_HPCF_SHIFT); in setHPCF() 164 bool H3LIS331DL::setHPM(HPM_BITS_T val) in setHPM() argument 169 reg |= (val << REG2_HPM_SHIFT); in setHPM() 336 bool H3LIS331DL::setInterrupt1PadConfig(I_CFG_BITS_T val) in setInterrupt1PadConfig() argument 341 reg |= (val << REG3_I1_CFG_SHIFT); in setInterrupt1PadConfig() 353 bool H3LIS331DL::setInterrupt2PadConfig(I_CFG_BITS_T val) in setInterrupt2PadConfig() argument 358 reg |= (val << REG3_I2_CFG_SHIFT); in setInterrupt2PadConfig() 433 bool H3LIS331DL::setInterrupt1Config(uint8_t val) in setInterrupt1Config() argument 438 reg = (val & ~0x40); in setInterrupt1Config() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
D | resize_test.cc | 25 static void mem_put_le16(char *const mem, const unsigned int val) { in mem_put_le16() argument 26 mem[0] = val; in mem_put_le16() 27 mem[1] = val >> 8; in mem_put_le16() 30 static void mem_put_le32(char *const mem, const unsigned int val) { in mem_put_le32() argument 31 mem[0] = val; in mem_put_le32() 32 mem[1] = val >> 8; in mem_put_le32() 33 mem[2] = val >> 16; in mem_put_le32() 34 mem[3] = val >> 24; in mem_put_le32() 84 unsigned int ScaleForFrameNumber(unsigned int frame, unsigned int val) { in ScaleForFrameNumber() argument 86 return val; in ScaleForFrameNumber() [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/java/ |
D | MMA7455Sample.java | 40 short[] val; in main() local 43 val = sensor.readData(); in main() 44 System.out.println("Accelerometer X: " + val[0] + ", Y: " + val[1] + ", Z: " + val[2]); in main()
|
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/include/ |
D | h264.h | 359 …#define viddec_h264_set_dec_structure(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val), 0,… argument 361 …#define viddec_h264_set_is_frame_used(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val), 2,… argument 362 …#define viddec_h264_set_is_top_used(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val), 2, 0… argument 363 …#define viddec_h264_set_is_bottom_used(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val), 3… argument 365 …#define viddec_h264_set_is_frame_skipped(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val),… argument 366 …#define viddec_h264_set_is_top_skipped(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val), 4… argument 367 …#define viddec_h264_set_is_bottom_skipped(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val)… argument 369 …#define viddec_h264_set_is_frame_long_term(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val… argument 370 …#define viddec_h264_set_is_top_long_term(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (val),… argument 371 …#define viddec_h264_set_is_bottom_long_term(x, val) h264_bitfields_insert ( (x)->fs_flag_1, (va… argument [all …]
|
/hardware/qcom/camera/QCamera2/stack/common/ |
D | cam_semaphore.h | 46 int val; member 55 s->val = n; in cam_sem_init() 61 s->val++; in cam_sem_post() 70 while (s->val == 0) in cam_sem_wait() 72 s->val--; in cam_sem_wait() 81 s->val = 0; in cam_sem_destroy()
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | grovevdiv.js | 33 var val, gain3val, gain10val; variable 36 val = myVoltageDivider.value(100); 37 gain3val = myVoltageDivider.computedValue(3, val); 38 gain10val = myVoltageDivider.computedValue(10, val); 39 console.log("ADC value: " + val + " Gain 3: " + gain3val
|
/hardware/bsp/intel/peripheral/libupm/src/groveemg/ |
D | groveemg.cxx | 51 int val, sum = 0; in calibrate() local 55 val = mraa_aio_read(m_aio); in calibrate() 56 sum += val; in calibrate() 65 int val = mraa_aio_read(m_aio); in value() local 66 return val; in value()
|
/hardware/bsp/intel/peripheral/libupm/src/grovegsr/ |
D | grovegsr.cxx | 52 int val, threshold, sum = 0; in calibrate() local 56 val = mraa_aio_read(m_aio); in calibrate() 57 sum += val; in calibrate() 66 int val = mraa_aio_read(m_aio); in value() local 67 return val; in value()
|