Home
last modified time | relevance | path

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

/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/qcom/media/mm-video/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/ti/omap4xxx/camera/
DEncoder_libjpeg.cpp226 char* temp = NULL; in stringToRational() local
230 temp = strtok_r(tempVal, ".", &ctx); in stringToRational()
232 if (temp != NULL) in stringToRational()
233 numerator = atoi(temp); in stringToRational()
238 temp = strtok_r(NULL, ".", &ctx); in stringToRational()
239 if (temp != NULL) { in stringToRational()
240 den_len = strlen(temp); in stringToRational()
246 numerator = numerator * denominator + atoi(temp); in stringToRational()
DCameraHal.cpp548 CameraParameters temp; in setParameters() local
549 temp.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, valstr); in setParameters()
550 temp.getPreviewFpsRange(&minFPS, &maxFPS); in setParameters()
554 CameraParameters temp; in setParameters() local
555 temp.set(CameraParameters::KEY_PREVIEW_FPS_RANGE, valstr); in setParameters()
556 temp.getPreviewFpsRange(&minFPS, &maxFPS); in setParameters()
/hardware/invensense/mlsdk/mllite/
DmlMathFunc.c74 long long temp; in inv_q29_mult() local
76 temp = (long long)a *b; in inv_q29_mult()
77 result = (long)(temp >> 29); in inv_q29_mult()
90 long long temp; in inv_q30_mult() local
92 temp = (long long)a *b; in inv_q30_mult()
93 result = (long)(temp >> 30); in inv_q30_mult()
DmlBiasNoMotion.c160 long accel[3], temp; in MLAccelMotionDetection() local
190 temp = accel[0] - inv_obj->accel_lpf[0]; in MLAccelMotionDetection()
191 accelMag += (long long)temp *temp; in MLAccelMotionDetection()
DmlFIFO.c436 } temp; in inv_decode_quantized_accel() local
447 temp.u10 = value.u32 & 0x3ff; in inv_decode_quantized_accel()
448 value.s32 -= temp.s10; in inv_decode_quantized_accel()
449 fifo_obj.decoded_accel[kk][2] = temp.s10 * 64; in inv_decode_quantized_accel()
452 temp.u10 = value.u32 & 0x3ff; in inv_decode_quantized_accel()
453 value.s32 -= temp.s10; in inv_decode_quantized_accel()
454 fifo_obj.decoded_accel[kk][1] = temp.s10 * 64; in inv_decode_quantized_accel()
457 temp.u10 = value.u32 & 0x3ff; in inv_decode_quantized_accel()
458 fifo_obj.decoded_accel[kk][0] = temp.s10 * 64; in inv_decode_quantized_accel()
2083 long temp; in inv_get_gyro_sum_of_sqr() local
[all …]
Dml.c1812 long temp; in inv_set_mpu_6050_config() local
1827 temp = atc[3] & 0x3f; in inv_set_mpu_6050_config()
1828 if (temp >= 32) in inv_set_mpu_6050_config()
1829 temp = temp - 64; in inv_set_mpu_6050_config()
1830 temp = (temp << 21) | 0x100000; in inv_set_mpu_6050_config()
1831 temp += (1L << 29); in inv_set_mpu_6050_config()
1832 temp = -temp; in inv_set_mpu_6050_config()
1833 result = inv_set_mpu_memory(KEY_D_ACT0, 4, inv_int32_to_big8(temp, big8)); in inv_set_mpu_6050_config()
Dml_stored_data.c87 int FindTempBin(float temp) in FindTempBin() argument
89 int bin = (int)((temp - MIN_TEMP) / TEMP_PER_BIN); in FindTempBin()
1065 unsigned short temp; in inv_load_cal_V5() local
1079 temp = (unsigned short)calData[ptr++] * (1L << 8); in inv_load_cal_V5()
1080 temp += calData[ptr++]; in inv_load_cal_V5()
1081 newTemp = (float)inv_decode_temperature(temp) / 65536.f; in inv_load_cal_V5()
/hardware/ti/omap4xxx/domx/omx_proxy_component/omx_camera/src/
Domx_proxy_camera.c558 char temp[200]; in read_DCCdir() local
575 strcpy(temp, dir_path[i]); in read_DCCdir()
576 strcat(temp, filename); in read_DCCdir()
581 temp, buffer); in read_DCCdir()
582 pFile = fopen(temp, "rb"); in read_DCCdir()
/hardware/qcom/media/mm-video/vidc/vdec/inc/
DMap.h68 node* temp(head); in ~Map()
71 delete temp; in ~Map() local
/hardware/ti/omap4xxx/domx/omx_core/src/
DOMX_Core.c712 OMX_STRING temp = NULL; in OMX_BuildComponentTable() local
753 temp = strstr(tempName, namePrefix); in OMX_BuildComponentTable()
759 strncpy(compName[tableCount], temp, strlen(temp) + 1); in OMX_BuildComponentTable()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_dec/tests/
DJPEGTest.c122 int temp; in GetYUVformat() local
154 temp = (V[0]*H[0])/(V[1]*H[1]) ; in GetYUVformat()
156 if (temp == 4 && H[0] == 2) in GetYUVformat()
159 if (temp == 4 && H[0] == 4) in GetYUVformat()
162 if (temp == 2) in GetYUVformat()
165 if (temp == 1) in GetYUVformat()
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/
DAacEncTest.c2928 ListMember* temp; local
2934 temp = (ListMember*)malloc(sizeof(ListMember)); /* New Member */
2935 if(NULL == temp)
2941 APP_DPRINT("\nNew Instance created pointer : %p \n",temp);
2944 temp->NextListMember = *ListHeader; /* Adding the new member */
2945 APP_DPRINT("Next linked pointer : %p \n",temp->NextListMember);
2946 temp->ListCounter = ++InstanceCounter; /* Pre-increment */
2947 APP_DPRINT("Instance counter %d \n",temp->ListCounter);
2948 temp->Struct_Ptr = ptr; /* Saving passed pointer (allocated memory)*/
2950 *ListHeader = temp; /* saving the Header */
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/
DG729EncTest.c1271 char* temp = (char *)pBuf->pBuffer; in main() local
1273 frameType = *(temp); in main()
1274 temp++; in main()
1296 writeITUFormat((OMX_U8*)temp, subFrameLength,fOut); in main()
1297 temp+= subFrameLength; in main()
/hardware/ti/omap3/omx/audio/src/openmax_il/wma_dec/tests/
DWmaDecTest.c1638 OMX_U8 temp = 0; in fill_data() local
1662 fread(&temp,5,1,fIn); // moving file 5 bytes in fill_data()
1772 OMX_U8 temp; in fill_init_params() local
1792 fscanf(parameterFile, "%c", &temp); in fill_init_params()
1793 arr[i] = temp; in fill_init_params()
/hardware/ti/omap4xxx/domx/domx/omx_proxy_common/src/
Domx_proxy_common.c204 struct ion_handle *temp; in PROXY_AllocateBufferIonCarveout() local
206 ret = ion_alloc(pCompPrv->ion_fd, len, 0x1000, 1 << ION_HEAP_TYPE_CARVEOUT, &temp); in PROXY_AllocateBufferIonCarveout()
207 DOMX_DEBUG("ION being USED for allocation!!!!! handle = %x, ret =%x",temp,ret); in PROXY_AllocateBufferIonCarveout()
220 *handle = temp; in PROXY_AllocateBufferIonCarveout()
/hardware/ti/omap3/omx/audio/src/openmax_il/mp3_dec/src/
DOMX_Mp3Dec_Utils.c1850 OMX_U32 temp = -1; in MP3DEC_HandleDataBuf_FromApp() local
1934 temp = MP3DEC_GetBits(&nBitPosition, 1, pHeaderStream, OMX_TRUE); // prot. bit in MP3DEC_HandleDataBuf_FromApp()
1937temp = MP3DEC_GetBits(&nBitPosition, 2, pHeaderStream, OMX_TRUE); // pad bit, prov. bit in MP3DEC_HandleDataBuf_FromApp()
1941 temp = pComponentPrivate->pcmParams->nSamplingRate; in MP3DEC_HandleDataBuf_FromApp()
1981 if (temp != pComponentPrivate->pcmParams->nSamplingRate || in MP3DEC_HandleDataBuf_FromApp()
/hardware/ti/omap3/omx/image/src/openmax_il/jpeg_enc/src/
DOMX_JpegEnc_Utils.c2372 OMX_U16 *temp = (OMX_U16 *)&new_params[i]; in SetJpegEncInPortParams() local
2375 temp[j] = pComponentPrivate->pCustomLumaQuantTable->nQuantizationMatrix[j]; in SetJpegEncInPortParams()
2378 temp[j] = pComponentPrivate->pCustomChromaQuantTable->nQuantizationMatrix[k]; in SetJpegEncInPortParams()
/hardware/qcom/media/mm-video/vidc/venc/src/
Dvideo_encoder_device.cpp171 unsigned int alignment = 0,buffer_size = 0, temp =0; in venc_open() local