Home
last modified time | relevance | path

Searched refs:temp (Results 1 – 25 of 101) sorted by relevance

12345

/hardware/intel/common/wrs_omxil_core/core/src/
Dintel_m4v_config_parser.cpp790 uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length); in iGetAVCConfigInfo() local
794 if (temp) in iGetAVCConfigInfo()
796 sps = temp; // Make a copy of the original pointer to be freed later in iGetAVCConfigInfo()
808 OSCL_FREE(temp); in iGetAVCConfigInfo()
835 OSCL_FREE(temp); in iGetAVCConfigInfo()
844 OSCL_FREE(temp); in iGetAVCConfigInfo()
859 OSCL_FREE(temp); in iGetAVCConfigInfo()
877 OSCL_FREE(temp); in iGetAVCConfigInfo()
905 OSCL_FREE(temp); in iGetAVCConfigInfo()
930 uint32 temp; in DecodeSPS() local
[all …]
/hardware/ti/omap3/omx/ti_omx_config_parser/src/
Dti_m4v_config_parser.cpp805 uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length); in iGetAVCConfigInfo() local
809 if (temp) in iGetAVCConfigInfo()
811 sps = temp; // Make a copy of the original pointer to be freed later in iGetAVCConfigInfo()
823 OSCL_FREE(temp); in iGetAVCConfigInfo()
850 OSCL_FREE(temp); in iGetAVCConfigInfo()
859 OSCL_FREE(temp); in iGetAVCConfigInfo()
874 OSCL_FREE(temp); in iGetAVCConfigInfo()
891 OSCL_FREE(temp); in iGetAVCConfigInfo()
908 OSCL_FREE(temp); in iGetAVCConfigInfo()
932 uint32 temp; in DecodeSPS() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dswapyv12buffer.c16 unsigned char *temp; in vp8_swap_yv12_buffer() local
18 temp = last_frame->buffer_alloc; in vp8_swap_yv12_buffer()
20 new_frame->buffer_alloc = temp; in vp8_swap_yv12_buffer()
22 temp = last_frame->y_buffer; in vp8_swap_yv12_buffer()
24 new_frame->y_buffer = temp; in vp8_swap_yv12_buffer()
26 temp = last_frame->u_buffer; in vp8_swap_yv12_buffer()
28 new_frame->u_buffer = temp; in vp8_swap_yv12_buffer()
30 temp = last_frame->v_buffer; in vp8_swap_yv12_buffer()
32 new_frame->v_buffer = temp; in vp8_swap_yv12_buffer()
Dreconinter.c258 int temp; in vp8_build_inter4x4_predictors_mbuv() local
260 temp = x->block[yoffset ].bmi.mv.as_mv.row in vp8_build_inter4x4_predictors_mbuv()
265 temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8); in vp8_build_inter4x4_predictors_mbuv()
267 x->block[uoffset].bmi.mv.as_mv.row = (temp / 8) & x->fullpixel_mask; in vp8_build_inter4x4_predictors_mbuv()
269 temp = x->block[yoffset ].bmi.mv.as_mv.col in vp8_build_inter4x4_predictors_mbuv()
274 temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8); in vp8_build_inter4x4_predictors_mbuv()
276 x->block[uoffset].bmi.mv.as_mv.col = (temp / 8) & x->fullpixel_mask; in vp8_build_inter4x4_predictors_mbuv()
546 int temp; in build_4x4uvmvs() local
548 temp = x->mode_info_context->bmi[yoffset + 0].mv.as_mv.row in build_4x4uvmvs()
553 temp += 4 + ((temp >> (sizeof(temp) * CHAR_BIT - 1)) * 8); in build_4x4uvmvs()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h260 struct iio_channel_info temp; in bsort_channel_array_by_index() local
266 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index()
268 (*ci_array)[y] = temp; in bsort_channel_array_by_index()
440 char temp[200]; in _write_sysfs_int() local
442 if (temp == NULL) in _write_sysfs_int()
444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int()
445 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
447 printf("failed to open write %s\n", temp); in _write_sysfs_int()
456 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
458 printf("failed to open read %s\n", temp); in _write_sysfs_int()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h261 struct iio_channel_info temp; in bsort_channel_array_by_index() local
267 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index()
269 (*ci_array)[y] = temp; in bsort_channel_array_by_index()
440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() local
441 if (temp == NULL) in _write_sysfs_int()
444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int()
447 printf("VERB: echo %d > %s\n", val, temp); in _write_sysfs_int()
448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
450 printf("failed to open %s\n", temp); in _write_sysfs_int()
458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h261 struct iio_channel_info temp; in bsort_channel_array_by_index() local
267 temp = (*ci_array)[y + 1]; in bsort_channel_array_by_index()
269 (*ci_array)[y] = temp; in bsort_channel_array_by_index()
440 char *temp = malloc(strlen(basedir) + strlen(filename) + 2); in _write_sysfs_int() local
441 if (temp == NULL) in _write_sysfs_int()
444 sprintf(temp, "%s/%s", basedir, filename); in _write_sysfs_int()
447 printf("VERB: echo %d > %s\n", val, temp); in _write_sysfs_int()
448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
450 printf("failed to open %s\n", temp); in _write_sysfs_int()
458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_convolve_neon.c23 DECLARE_ALIGNED_ARRAY(8, uint8_t, temp, 64 * 72); in vp9_convolve8_neon()
41 temp, 64, in vp9_convolve8_neon()
46 vp9_convolve8_vert_neon(temp + 64 * 3, 64, in vp9_convolve8_neon()
57 DECLARE_ALIGNED_ARRAY(8, uint8_t, temp, 64 * 72); in vp9_convolve8_avg_neon()
71 temp, 64, in vp9_convolve8_avg_neon()
74 vp9_convolve8_avg_vert_neon(temp + 64 * 3, in vp9_convolve8_avg_neon()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Ddata_builder.c360 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
361 if (timestamp < sensors.temp.timestamp) in inv_get_last_timestamp()
362 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp()
548 if (sensors.temp.calibrated[0]) in inv_set_gyro_bias()
549 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_gyro_bias()
566 void inv_get_gyro_bias(long *bias, long *temp) in inv_get_gyro_bias() argument
571 if (temp != NULL) in inv_get_gyro_bias()
572 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_gyro_bias()
579 void inv_get_accel_bias(long *bias, long *temp) in inv_get_accel_bias() argument
584 if (temp != NULL) in inv_get_accel_bias()
[all …]
Dml_math_func.c73 long temp; in inv_get_gyro_sum_of_sqr() local
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr()
98 long long temp; in inv_q29_mult()
100 temp = (long long)a * b; in inv_q29_mult()
101 result = (long)(temp >> 29); in inv_q29_mult()
120 long long temp; in inv_q30_mult()
122 temp = (long long)a * b; in inv_q30_mult()
123 result = (long)(temp >> 30); in inv_q30_mult()
131 long long temp; in inv_q30_div() local
[all …]
Ddata_builder.h109 struct inv_single_sensor_t temp; member
181 inv_error_t inv_build_temp(const long temp, inv_time_t timestamp);
194 void inv_get_gyro_bias(long *bias, long *temp);
195 void inv_get_accel_bias(long *bias, long *temp);
/hardware/intel/common/wrs_omxil_core/base/src/
Dportbase.cpp91 struct list *entry, *temp; in ~PortBase() local
94 list_foreach_safe(buffer_hdrs, entry, temp) { in ~PortBase()
186 OMX_PARAM_PORTDEFINITIONTYPE temp; in SetPortDefinition() local
188 memcpy(&temp, &portdefinition, sizeof(temp)); in SetPortDefinition()
191 if (temp.nPortIndex != p->nPortIndex) in SetPortDefinition()
193 if (temp.eDir != p->eDir) in SetPortDefinition()
195 if (temp.eDomain != p->eDomain) in SetPortDefinition()
197 if (temp.nBufferCountActual != p->nBufferCountActual) { in SetPortDefinition()
198 if (temp.nBufferCountMin > p->nBufferCountActual) in SetPortDefinition()
200 temp.nBufferCountActual = p->nBufferCountActual; in SetPortDefinition()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dgen_scalers.c227 int temp; in vp8_vertical_band_2_1_scale_i_c() local
233 temp = 8; in vp8_vertical_band_2_1_scale_i_c()
234 temp += source[i - (int)src_pitch] * 3; in vp8_vertical_band_2_1_scale_i_c()
235 temp += source[i] * 10; in vp8_vertical_band_2_1_scale_i_c()
236 temp += source[i + src_pitch] * 3; in vp8_vertical_band_2_1_scale_i_c()
237 temp >>= 4; in vp8_vertical_band_2_1_scale_i_c()
238 dest[i] = (unsigned char)(temp); in vp8_vertical_band_2_1_scale_i_c()
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/
DAKFS_AOC.c155 AKFLOAT temp; in Get4points() local
168 temp = CalcR(&v[i], &out[0]); in Get4points()
169 if(d < temp){ in Get4points()
170 d = temp; in Get4points()
187 temp = tempv.u.x * tempv.u.x in Get4points()
190 if(d < temp){ in Get4points()
191 d = temp; in Get4points()
200 temp = dv[i].u.x * cross.u.x in Get4points()
203 temp = fabs(temp); in Get4points()
204 if(d < temp){ in Get4points()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Drdopt.h31 int temp; in insertsortmv() local
33 temp = arr[i]; in insertsortmv()
38 arr[j] = temp ; in insertsortmv()
54 int temp, tempi; in insertsortsad() local
56 temp = arr[i]; in insertsortsad()
65 arr[j] = temp ; in insertsortsad()
/hardware/qcom/media/mm-video-legacy/vidc/vdec/src/
Dqueue.c106 Node *temp; in pop() local
112 temp = q->head; in pop()
113 element = temp->element; in pop()
124 free(temp); in pop()
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/src/
Dqueue.c101 Node *temp; in pop() local
107 temp = q->head; in pop()
108 element = temp->element; in pop()
116 free(temp); in pop()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c415 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
416 if (timestamp < sensors.temp.timestamp) in inv_get_last_timestamp()
417 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp()
638 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias()
639 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias()
675 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument
681 if (temp != NULL) in inv_get_mpl_gyro_bias()
682 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias()
756 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument
761 if (temp != NULL) in inv_get_mpl_accel_bias()
[all …]
Dml_math_func.c73 long temp; in inv_get_gyro_sum_of_sqr() local
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr()
98 long long temp; in inv_q29_mult()
100 temp = (long long)a * b; in inv_q29_mult()
101 result = (long)(temp >> 29); in inv_q29_mult()
120 long long temp; in inv_q30_mult()
122 temp = (long long)a * b; in inv_q30_mult()
123 result = (long)(temp >> 30); in inv_q30_mult()
131 long long temp; in inv_q30_div() local
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/mips/dspr2/
Dvp9_convolve8_dspr2.c953 DECLARE_ALIGNED_ARRAY(32, uint8_t, temp, 64 * 135); in vp9_convolve8_dspr2()
985 temp, intermediate_height, in vp9_convolve8_dspr2()
989 temp, intermediate_height, in vp9_convolve8_dspr2()
1002 temp, intermediate_height, in vp9_convolve8_dspr2()
1007 temp, intermediate_height, in vp9_convolve8_dspr2()
1013 temp, intermediate_height, in vp9_convolve8_dspr2()
1020 temp, intermediate_height, in vp9_convolve8_dspr2()
1025 temp, intermediate_height, in vp9_convolve8_dspr2()
1033 copy_horiz_transposed(temp + 3, intermediate_height, in vp9_convolve8_dspr2()
1037 vp9_convolve2_dspr2(temp + 3, intermediate_height, in vp9_convolve8_dspr2()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.c618 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
619 if (timestamp < sensors.temp.timestamp) { in inv_get_last_timestamp()
620 timestamp = sensors.temp.timestamp; in inv_get_last_timestamp()
852 if (sensors.temp.calibrated[0]) in inv_set_mpl_gyro_bias()
853 inv_data_builder.save.gyro_temp = sensors.temp.calibrated[0]; in inv_set_mpl_gyro_bias()
889 void inv_get_mpl_gyro_bias(long *bias, long *temp) in inv_get_mpl_gyro_bias() argument
895 if (temp != NULL) in inv_get_mpl_gyro_bias()
896 temp[0] = inv_data_builder.save.gyro_temp; in inv_get_mpl_gyro_bias()
970 void inv_get_mpl_accel_bias(long *bias, long *temp) in inv_get_mpl_accel_bias() argument
975 if (temp != NULL) in inv_get_mpl_accel_bias()
[all …]
Dml_math_func.c73 long temp; in inv_get_gyro_sum_of_sqr() local
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
78 gmag += temp * temp; in inv_get_gyro_sum_of_sqr()
98 long long temp; in inv_q29_mult()
100 temp = (long long)a * b; in inv_q29_mult()
101 result = (long)(temp >> 29); in inv_q29_mult()
120 long long temp; in inv_q30_mult()
122 temp = (long long)a * b; in inv_q30_mult()
123 result = (long)(temp >> 30); in inv_q30_mult()
131 long long temp; in inv_q30_div() local
[all …]
/hardware/intel/common/utils/ituxd/src/com/intel/thermal/
DThermalUtils.java112 public static int calculateThermalState(int temp, Integer thresholds[]) { in calculateThermalState() argument
115 if (temp < thresholds[0]) in calculateThermalState()
118 if (temp >= thresholds[thresholds.length - 2]) in calculateThermalState()
122 if (temp >= thresholds[i] && temp < thresholds[i + 1]) { in calculateThermalState()
/hardware/intel/img/hwcomposer/ips/anniedale/
DAnnCursorPlane.cpp128 uint8_t temp; in setDataBuffer() local
136 temp = srcPixel[0]; in setDataBuffer()
138 srcPixel[2] = temp; in setDataBuffer()
151 uint8_t temp; in setDataBuffer() local
161 temp = srcPixel[0]; in setDataBuffer()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXDCC.cpp169 android::String8 temp; in readDCCdir() local
183 temp.clear(); in readDCCdir()
184 temp.append(dirPaths.itemAt(i)->string()); in readDCCdir()
185 temp.append(filename); in readDCCdir()
187 pFile = fopen(temp.string(), "rb"); in readDCCdir()

12345