Home
last modified time | relevance | path

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

12

/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/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()
Dvp9_spatial_scalable_encoder.c292 vpx_image_t raw; in main() local
305 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, enc_cfg.g_w, enc_cfg.g_h, 32)) in main()
336 vpx_img_read(&raw, infile); in main()
340 if (frame_cnt >= app_input.frames_to_code || !vpx_img_read(&raw, infile)) { in main()
346 res = vpx_svc_encode(&svc_ctx, &codec, (end_of_stream ? NULL : &raw), in main()
383 vpx_img_free(&raw); in main()
Dvpx_temporal_scalable_patterns.c436 vpx_image_t raw; in main() local
486 if (!vpx_img_alloc(&raw, VPX_IMG_FMT_I420, width, height, 32)) { in main()
608 frame_avail = vpx_img_read(&raw, infile); in main()
612 if (vpx_codec_encode(&codec, frame_avail? &raw : NULL, pts, 1, flags, in main()
/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/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/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/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 …]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Ddata_builder.c430 raw32[0] = (long)sensor->raw[0] << 15; in inv_apply_calibration()
431 raw32[1] = (long)sensor->raw[1] << 15; in inv_apply_calibration()
432 raw32[2] = (long)sensor->raw[2] << 15; in inv_apply_calibration()
616 sensors.accel.raw[0] = (short)accel[0]; in inv_build_accel()
617 sensors.accel.raw[1] = (short)accel[1]; in inv_build_accel()
618 sensors.accel.raw[2] = (short)accel[2]; in inv_build_accel()
654 memcpy(sensors.gyro.raw, gyro, 3 * sizeof(short)); in inv_build_gyro()
687 sensors.compass.raw[0] = (short)compass[0]; in inv_build_compass()
688 sensors.compass.raw[1] = (short)compass[1]; in inv_build_compass()
689 sensors.compass.raw[2] = (short)compass[2]; in inv_build_compass()
[all …]
Ddata_builder.h72 short raw[3]; member
94 long raw[4]; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dusage_cx.dox4 processes raw images passed by the application, producing packets of
/hardware/libhardware/include/hardware/
Dfingerprint.h85 uint64_t raw; member
/hardware/samsung_slsi/exynos5/include/
Dmedia.h87 __u8 raw[184]; member
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dmedia.h93 __u8 raw[184]; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
Dvpx_codec.h210 void *raw; member
Dvpx_encoder.h193 struct vpx_fixed_buf raw; /**< data for arbitrary packets */ member

12