/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/ |
D | mem_ops_aligned.h | 30 #define swap_endian_16(val,raw) do {\ argument 31 val = ((raw>>8) & 0x00ff) \ 32 | ((raw<<8) & 0xff00);\ 34 #define swap_endian_32(val,raw) do {\ argument 35 val = ((raw>>24) & 0x000000ff) \ 36 | ((raw>>8) & 0x0000ff00) \ 37 | ((raw<<8) & 0x00ff0000) \ 38 | ((raw<<24) & 0xff000000); \ 40 #define swap_endian_16_se(val,raw) do {\ argument 41 swap_endian_16(val,raw);\ [all …]
|
/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | adxl345.cxx | 32 int16_t *raw; in main() local 40 raw = accel->getRawValues(); // Read raw sensor data in main() 43 fprintf(stdout, "Raw: %6d %6d %6d\n", raw[0], raw[1], raw[2]); in main()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
D | vp8_multi_resolution_encoder.c | 179 vpx_image_t raw[NUM_ENCODERS]; in main() local 315 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main() 318 if (raw[0].stride[VPX_PLANE_Y] == raw[0].d_w) in main() 369 frame_avail = read_frame_p(infile, &raw[0]); in main() 377 I420Scale(raw[i-1].planes[VPX_PLANE_Y], raw[i-1].stride[VPX_PLANE_Y], in main() 378 raw[i-1].planes[VPX_PLANE_U], raw[i-1].stride[VPX_PLANE_U], in main() 379 raw[i-1].planes[VPX_PLANE_V], raw[i-1].stride[VPX_PLANE_V], in main() 380 raw[i-1].d_w, raw[i-1].d_h, in main() 381 raw[i].planes[VPX_PLANE_Y], raw[i].stride[VPX_PLANE_Y], in main() 382 raw[i].planes[VPX_PLANE_U], raw[i].stride[VPX_PLANE_U], in main() [all …]
|
D | vp8cx_set_ref.c | 100 vpx_image_t raw; in main() local 136 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 163 while (vpx_img_read(&raw, infile)) { in main() 167 ref.img = raw; in main() 172 encode_frame(&codec, &raw, frame_count++, writer); in main() 180 vpx_img_free(&raw); in main()
|
D | twopass_encoder.c | 127 vpx_image_t raw; in main() local 162 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 199 while (vpx_img_read(&raw, infile)) { in main() 203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main() 206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, in main() 224 vpx_img_free(&raw); in main()
|
D | simple_encoder.c | 154 vpx_image_t raw; in main() local 201 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 233 while (vpx_img_read(&raw, infile)) { in main() 237 encode_frame(&codec, &raw, frame_count++, flags, writer); in main() 245 vpx_img_free(&raw); in main()
|
D | set_maps.c | 159 vpx_image_t raw = {0}; in main() local 189 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, info.frame_width, in main() 218 while (vpx_img_read(&raw, infile)) { in main() 229 encode_frame(&codec, &raw, frame_count, writer); in main() 236 vpx_img_free(&raw); in main()
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | adxl345.py | 33 raw = adxl.getRawValues() # Read raw sensor data variable 35 print "Raw: %6d %6d %6d" % (raw[0], raw[1], raw[2])
|
D | groveslide.py | 33 raw = slider.raw_value() variable 36 print "Slider value: ", raw , " = %.2f" % volts , " V"
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | adxl345.js | 34 var raw = adxl.getRawValues(); // Read raw sensor data 36 var rawvalues = raw.getitem(0) + " " + raw.getitem(1) + " " + raw.getitem(2);
|
D | groveslide.js | 34 var raw = groveSlide.raw_value(); 38 console.log("Slider Value: " + raw + " = " + volts.toFixed(2) + " V");
|
D | itg3200.js | 46 var raw = round2Digits(gyro.getRawTemp()); 51 console.log("Temp: " + temp + " Raw: " + raw);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | datalogger_outputs.c | 54 memcpy(values, &pg->raw, sizeof(short) * 3); in inv_get_sensor_type_gyro_raw_short() 68 long raw[3]; in inv_get_sensor_type_gyro_raw_body_float() local 71 raw[0] = (long) pg->raw[0] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float() 72 raw[1] = (long) pg->raw[1] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float() 73 raw[2] = (long) pg->raw[2] * (1L << 16); in inv_get_sensor_type_gyro_raw_body_float() 75 raw, raw_body); in inv_get_sensor_type_gyro_raw_body_float() 112 memcpy(values, &pa->raw, sizeof(short) * 3); in inv_get_sensor_type_accel_raw_short() 146 memcpy(values, &pc->raw, sizeof(short) * 3); in inv_get_sensor_type_compass_raw_short()
|
D | main.c | 411 short raw[3]; in fifo_callback() local 412 inv_get_sensor_type_gyro_raw_short(raw, NULL); in fifo_callback() 413 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback() 433 short raw[3]; in fifo_callback() local 434 inv_get_sensor_type_accel_raw_short(raw, NULL); in fifo_callback() 435 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback() 444 short raw[3]; in fifo_callback() local 445 inv_get_sensor_type_compass_raw_short(raw, NULL); in fifo_callback() 446 PRINT_3ELM_ARRAY_INT(6, raw); in fifo_callback()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.c | 254 short raw[3]; in inv_read_q16() local 256 count = inv_read_raw(names, (long*)raw, timestamp); in inv_read_q16() 258 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16() 259 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16() 260 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16() 275 short raw; in inv_read_temp_q16() local 284 count += inv_read_temperature_raw(names, &raw, timestamp); in inv_read_temp_q16() 285 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.c | 248 short raw[3]; in inv_read_q16() local 250 count = inv_read_raw(names, (long*)raw, timestamp); in inv_read_q16() 252 data[0] = (long)(raw[0] * (65536.f / scale)); in inv_read_q16() 253 data[1] = (long)(raw[1] * (65536.f / scale)); in inv_read_q16() 254 data[2] = (long)(raw[2] * (65536.f / scale)); in inv_read_q16() 269 short raw; in inv_read_temp_q16() local 278 count += inv_read_temperature_raw(names, &raw, timestamp); in inv_read_temp_q16() 279 data[0] = (long)((35 + ((float)(raw - offset) / scale)) * 65536.f); in inv_read_temp_q16()
|
/hardware/bsp/intel/peripheral/libupm/src/bmpx8x/ |
D | bmpx8x.cxx | 111 uint32_t raw; in getPressureRaw() local 125 raw = i2cReadReg_16 (BMP085_PRESSUREDATA); in getPressureRaw() 127 raw <<= 8; in getPressureRaw() 128 raw |= i2cReadReg_8 (BMP085_PRESSUREDATA + 2); in getPressureRaw() 129 raw >>= (8 - oversampling); in getPressureRaw() 131 return raw; in getPressureRaw()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/ |
D | vpx_encoder.c | 281 pkt->data.raw.buf != dst_buf && in vpx_codec_get_cx_data() 282 pkt->data.raw.sz + priv->enc.cx_data_pad_before + in vpx_codec_get_cx_data() 286 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in vpx_codec_get_cx_data() 287 pkt->data.raw.sz); in vpx_codec_get_cx_data() 289 modified_pkt->data.raw.buf = dst_buf; in vpx_codec_get_cx_data() 290 modified_pkt->data.raw.sz += priv->enc.cx_data_pad_before + in vpx_codec_get_cx_data() 295 if (dst_buf == pkt->data.raw.buf) { in vpx_codec_get_cx_data() 296 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in vpx_codec_get_cx_data() 297 priv->enc.cx_data_dst_buf.sz -= pkt->data.raw.sz; in vpx_codec_get_cx_data()
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | gpio.hpp | 94 Gpio(int pin, bool owner = true, bool raw = false) in Gpio() argument 96 if (raw) { in Gpio() 278 getPin(bool raw = false) in getPin() argument 280 if (raw) { in getPin()
|
D | i2c.hpp | 54 I2c(int bus, bool raw = false) in I2c() argument 56 if (raw) { in I2c()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 88 void inv_get_raw_compass(short *raw) in inv_get_raw_compass() argument 90 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); in inv_get_raw_compass() 491 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration() 492 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration() 493 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration() 793 sensors.accel.raw[0] = (short)accel[0]; in inv_build_accel() 794 sensors.accel.raw[1] = (short)accel[1]; in inv_build_accel() 795 sensors.accel.raw[2] = (short)accel[2]; in inv_build_accel() 831 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short)); in inv_build_gyro() 867 sensors.compass.raw[0] = (short)data[0]; in inv_build_compass() [all …]
|
D | data_builder.h | 84 short raw[3]; member 107 long raw[4]; member 119 long raw[3]; member 302 void inv_get_raw_compass(short *raw);
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | mraa-gpio.c | 104 gpio_set(int pin, int level, mraa_boolean_t raw) in gpio_set() argument 109 if (raw != 0) { in gpio_set() 122 gpio_get(int pin, int* level, mraa_boolean_t raw) in gpio_get() argument 127 if (raw != 0) { in gpio_get()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.h | 86 short raw[3]; member 109 long raw[4]; member 122 long raw[3]; member 306 void inv_get_raw_compass(short *raw);
|
D | data_builder.c | 89 void inv_get_raw_compass(short *raw) in inv_get_raw_compass() argument 91 memcpy(raw, sensors.compass.raw, sizeof(sensors.compass.raw)); in inv_get_raw_compass() 696 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration() 697 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration() 698 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration() 1019 sensors.accel.raw[0] = (short)accel[0]; in inv_build_accel() 1020 sensors.accel.raw[1] = (short)accel[1]; in inv_build_accel() 1021 sensors.accel.raw[2] = (short)accel[2]; in inv_build_accel() 1057 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short)); in inv_build_gyro() 1093 sensors.compass.raw[0] = (short)data[0]; in inv_build_compass() [all …]
|