Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 61) sorted by relevance

123

/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_ports/
Dmem_ops_aligned.h30 #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++/
Dadxl345.cxx32 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/
Dvp8_multi_resolution_encoder.c179 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 …]
Dvp8cx_set_ref.c100 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()
Dtwopass_encoder.c127 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()
Dsimple_encoder.c154 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()
Dset_maps.c159 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/
Dadxl345.py33 raw = adxl.getRawValues() # Read raw sensor data variable
35 print "Raw: %6d %6d %6d" % (raw[0], raw[1], raw[2])
Dgroveslide.py33 raw = slider.raw_value() variable
36 print "Slider value: ", raw , " = %.2f" % volts , " V"
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dadxl345.js34 var raw = adxl.getRawValues(); // Read raw sensor data
36 var rawvalues = raw.getitem(0) + " " + raw.getitem(1) + " " + raw.getitem(2);
Dgroveslide.js34 var raw = groveSlide.raw_value();
38 console.log("Slider Value: " + raw + " = " + volts.toFixed(2) + " V");
Ditg3200.js46 var raw = round2Digits(gyro.getRawTemp());
51 console.log("Temp: " + temp + " Raw: " + raw);
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c54 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()
Dmain.c411 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/
Dinv_sysfs_utils.c254 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/
Dinv_sysfs_utils.c248 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/
Dbmpx8x.cxx111 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/
Dvpx_encoder.c281 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/
Dgpio.hpp94 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()
Di2c.hpp54 I2c(int bus, bool raw = false) in I2c() argument
56 if (raw) { in I2c()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c88 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 …]
Ddata_builder.h84 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/
Dmraa-gpio.c104 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/
Ddata_builder.h86 short raw[3]; member
109 long raw[4]; member
122 long raw[3]; member
306 void inv_get_raw_compass(short *raw);
Ddata_builder.c89 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 …]

123