/hardware/qcom/media/mm-video-legacy/vidc/vdec/inc/ |
D | Map.h | 48 node* tmp; variable 52 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 79 tmp = head; in find() 80 while(tmp) in find() 82 if(tmp->data == d1) in find() 84 return tmp->data2; in find() 86 tmp = tmp->next; in find() 94 tmp = head; in find_ele() 95 while(tmp) in find_ele() 97 if(tmp->data == d1) in find_ele() [all …]
|
/hardware/qcom/media/mm-video-v4l2/vidc/vdec/inc/ |
D | Map.h | 47 node* tmp; variable 51 Map() : head( NULL ), tail ( NULL ),tmp(head),size_of_list(0) {} in Map() 80 tmp = head; in find() 82 while (tmp) { in find() 83 if (tmp->data == d1) { in find() 84 return tmp->data2; in find() 87 tmp = tmp->next; in find() 96 tmp = head; in find_ele() 98 while (tmp) { in find_ele() 99 if (tmp->data == d1) { in find_ele() [all …]
|
/hardware/qcom/gps/msm8974/utils/ |
D | linked_list.c | 140 list_element* tmp = p_list->p_head; in linked_list_add() local 143 p_list->p_head->next = tmp; in linked_list_add() 145 if( tmp != NULL ) in linked_list_add() 147 tmp->prev = p_list->p_head; in linked_list_add() 183 list_element* tmp = p_list->p_tail; in linked_list_remove() local 186 p_list->p_tail = tmp->prev; in linked_list_remove() 198 *data_obj = tmp->data_ptr; in linked_list_remove() 201 free(tmp); in linked_list_remove() 243 list_element* tmp = p_list->p_head->next; in linked_list_flush() local 254 p_list->p_head = tmp; in linked_list_flush() [all …]
|
/hardware/qcom/gps/msm8084/utils/ |
D | linked_list.c | 140 list_element* tmp = p_list->p_head; in linked_list_add() local 143 p_list->p_head->next = tmp; in linked_list_add() 145 if( tmp != NULL ) in linked_list_add() 147 tmp->prev = p_list->p_head; in linked_list_add() 183 list_element* tmp = p_list->p_tail; in linked_list_remove() local 186 p_list->p_tail = tmp->prev; in linked_list_remove() 198 *data_obj = tmp->data_ptr; in linked_list_remove() 201 free(tmp); in linked_list_remove() 243 list_element* tmp = p_list->p_head->next; in linked_list_flush() local 254 p_list->p_head = tmp; in linked_list_flush() [all …]
|
/hardware/qcom/gps/msm8960/utils/ |
D | linked_list.c | 140 list_element* tmp = p_list->p_head; in linked_list_add() local 143 p_list->p_head->next = tmp; in linked_list_add() 145 if( tmp != NULL ) in linked_list_add() 147 tmp->prev = p_list->p_head; in linked_list_add() 183 list_element* tmp = p_list->p_tail; in linked_list_remove() local 186 p_list->p_tail = tmp->prev; in linked_list_remove() 198 *data_obj = tmp->data_ptr; in linked_list_remove() 201 free(tmp); in linked_list_remove() 243 list_element* tmp = p_list->p_head->next; in linked_list_flush() local 254 p_list->p_head = tmp; in linked_list_flush() [all …]
|
/hardware/qcom/gps/utils/ |
D | linked_list.c | 140 list_element* tmp = p_list->p_head; in linked_list_add() local 143 p_list->p_head->next = tmp; in linked_list_add() 145 if( tmp != NULL ) in linked_list_add() 147 tmp->prev = p_list->p_head; in linked_list_add() 183 list_element* tmp = p_list->p_tail; in linked_list_remove() local 186 p_list->p_tail = tmp->prev; in linked_list_remove() 198 *data_obj = tmp->data_ptr; in linked_list_remove() 201 free(tmp); in linked_list_remove() 243 list_element* tmp = p_list->p_head->next; in linked_list_flush() local 254 p_list->p_head = tmp; in linked_list_flush() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
D | y4minput.c | 279 unsigned char *tmp; in y4m_convert_42xpaldv_42xjpeg() local 292 tmp = _aux + 2 * c_sz; in y4m_convert_42xpaldv_42xjpeg() 297 y4m_42xmpeg2_42xjpeg_helper(tmp, _aux, c_w, c_h); in y4m_convert_42xpaldv_42xjpeg() 305 _dst[y * c_w] = (unsigned char)OC_CLAMPI(0, (tmp[0] in y4m_convert_42xpaldv_42xjpeg() 306 … - 9 * tmp[OC_MAXI(y - 2, 0) * c_w] + 35 * tmp[OC_MAXI(y - 1, 0) * c_w] in y4m_convert_42xpaldv_42xjpeg() 307 … + 114 * tmp[y * c_w] - 17 * tmp[OC_MINI(y + 1, c_h - 1) * c_w] in y4m_convert_42xpaldv_42xjpeg() 308 … + 4 * tmp[OC_MINI(y + 2, c_h - 1) * c_w] + 64) >> 7, 255); in y4m_convert_42xpaldv_42xjpeg() 311 _dst[y * c_w] = (unsigned char)OC_CLAMPI(0, (tmp[(y - 3) * c_w] in y4m_convert_42xpaldv_42xjpeg() 312 … - 9 * tmp[(y - 2) * c_w] + 35 * tmp[(y - 1) * c_w] + 114 * tmp[y * c_w] in y4m_convert_42xpaldv_42xjpeg() 313 … - 17 * tmp[(y + 1) * c_w] + 4 * tmp[(y + 2) * c_w] + 64) >> 7, 255); in y4m_convert_42xpaldv_42xjpeg() [all …]
|
/hardware/libhardware/modules/usbcamera/ |
D | Metadata.cpp | 48 camera_metadata_t* tmp; in init() local 53 tmp = clone_camera_metadata(metadata); in init() 54 if (tmp == NULL) in init() 57 replace(tmp); in init() 124 camera_metadata_t* tmp; in add() local 131 tmp = allocate_camera_metadata(entry_capacity * 2, data_capacity * 2); in add() 132 if (tmp == NULL) { in add() 138 res = append_camera_metadata(tmp, mData); in add() 141 __func__, mData, tmp); in add() 145 res = add_camera_metadata_entry(tmp, tag, tag_data, count); in add() [all …]
|
/hardware/libhardware/modules/camera/ |
D | Metadata.cpp | 53 camera_metadata_t* tmp; in init() local 58 tmp = clone_camera_metadata(metadata); in init() 59 if (tmp == NULL) in init() 62 replace(tmp); in init() 133 camera_metadata_t* tmp; in add() local 144 tmp = allocate_camera_metadata(entry_capacity * 2, data_capacity * 2); in add() 145 if (tmp == NULL) { in add() 151 res = append_camera_metadata(tmp, mData); in add() 154 __func__, mData, tmp); in add() 158 res = add_camera_metadata_entry(tmp, tag, tag_data, count); in add() [all …]
|
/hardware/akm/AK8975_FS/akmdfs/AKFS_APIs_8975/ |
D | AKFS_Device.c | 64 AKFLOAT tmp; in AKFS_Rotate() local 71 tmp = vec->u.x; in AKFS_Rotate() 73 vec->u.y = -tmp; in AKFS_Rotate() 80 tmp = vec->u.x; in AKFS_Rotate() 82 vec->u.y = tmp; in AKFS_Rotate() 90 tmp = vec->u.x; in AKFS_Rotate() 92 vec->u.y = tmp; in AKFS_Rotate() 100 tmp = vec->u.x; in AKFS_Rotate() 102 vec->u.y = -tmp; in AKFS_Rotate()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/ |
D | version.sh | 59 echo "${changelog_version}${git_version_id}" > $$.tmp 61 cat<<EOF>$$.tmp 72 diff $$.tmp ${out_file} >/dev/null 2>&1 || cat $$.tmp > ${out_file} 74 cat $$.tmp 76 rm $$.tmp
|
/hardware/qcom/display/msm8994/libmemtrack/ |
D | kgsl.c | 51 char tmp[128]; in kgsl_memtrack_get_memory() local 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory() 78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8226/libmemtrack/ |
D | kgsl.c | 51 char tmp[128]; in kgsl_memtrack_get_memory() local 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory() 78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
|
/hardware/qcom/display/msm8084/libmemtrack/ |
D | kgsl.c | 51 char tmp[128]; in kgsl_memtrack_get_memory() local 64 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory() 77 snprintf(tmp, sizeof(tmp), "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory() 78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 301 double tmp; in encodeFaceCoordinates() local 398 tmp = ( double ) nLeft / ( double ) previewWidth; in encodeFaceCoordinates() 399 tmp *= hRange; in encodeFaceCoordinates() 400 tmp -= hRange/2; in encodeFaceCoordinates() 401 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates() 403 tmp = ( double ) nTop / ( double )previewHeight; in encodeFaceCoordinates() 404 tmp *= vRange; in encodeFaceCoordinates() 405 tmp -= vRange/2; in encodeFaceCoordinates() 406 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates() 408 tmp = ( double ) faceData->tFacePosition[j].nWidth / ( double ) previewWidth; in encodeFaceCoordinates() [all …]
|
/hardware/intel/common/libwsbm/src/ |
D | wsbm_fencemgr.c | 118 struct _WsbmFenceMgr *tmp; in wsbmFenceMgrCreate() local 122 tmp = calloc(1, sizeof(*tmp)); in wsbmFenceMgrCreate() 123 if (!tmp) in wsbmFenceMgrCreate() 126 tmp->info = *info; in wsbmFenceMgrCreate() 127 tmp->classes = calloc(tmp->info.num_classes, sizeof(*tmp->classes)); in wsbmFenceMgrCreate() 128 if (!tmp->classes) in wsbmFenceMgrCreate() 131 for (i = 0; i < tmp->info.num_classes; ++i) { in wsbmFenceMgrCreate() 132 struct _WsbmFenceClass *fc = &tmp->classes[i]; in wsbmFenceMgrCreate() 144 wsbmAtomicSet(&tmp->count, 0); in wsbmFenceMgrCreate() 146 return tmp; in wsbmFenceMgrCreate() [all …]
|
/hardware/qcom/display/msm8960/libmemtrack/ |
D | kgsl.c | 50 char tmp[128]; in kgsl_memtrack_get_memory() local 62 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 63 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory() 75 sprintf(tmp, "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory() 76 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 309 double tmp; in encodeFaceCoordinates() local 405 tmp = ( double ) nLeft / ( double ) previewWidth; in encodeFaceCoordinates() 406 tmp *= hRange; in encodeFaceCoordinates() 407 tmp -= hRange/2; in encodeFaceCoordinates() 408 faces[i].rect[trans_left] = tmp; in encodeFaceCoordinates() 410 tmp = ( double ) nTop / ( double )previewHeight; in encodeFaceCoordinates() 411 tmp *= vRange; in encodeFaceCoordinates() 412 tmp -= vRange/2; in encodeFaceCoordinates() 413 faces[i].rect[trans_top] = tmp; in encodeFaceCoordinates() 415 tmp = ( double ) faceData->tFacePosition[j].nWidth / ( double ) previewWidth; in encodeFaceCoordinates() [all …]
|
/hardware/qcom/display/msm8974/libmemtrack/ |
D | kgsl.c | 51 char tmp[128]; in kgsl_memtrack_get_memory() local 63 snprintf(tmp, sizeof(tmp), "/proc/%d/cmdline", pid); in kgsl_memtrack_get_memory() 64 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory() 76 sprintf(tmp, "/d/kgsl/proc/%d/mem", pid); in kgsl_memtrack_get_memory() 77 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
|
/hardware/intel/common/libva/test/encode/ |
D | h264encode.c | 868 struct stat tmp; in process_cmdline() local 870 fstat(fileno(srcyuv_fp), &tmp); in process_cmdline() 871 srcyuv_frames = tmp.st_size / (frame_width * frame_height * 1.5); in process_cmdline() 1008 int tmp = attrib[VAConfigAttribRateControl].value; in init_va() local 1010 printf("Support rate control mode (0x%x):", tmp); in init_va() 1012 if (tmp & VA_RC_NONE) in init_va() 1014 if (tmp & VA_RC_CBR) in init_va() 1016 if (tmp & VA_RC_VBR) in init_va() 1018 if (tmp & VA_RC_VCM) in init_va() 1020 if (tmp & VA_RC_CQP) in init_va() [all …]
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 115 char tmp[100]; in parsing_proc_input() local 164 memset(tmp, 0, 100); in parsing_proc_input() 170 tmp[j] = line[i]; in parsing_proc_input() 173 sprintf(sysfs_path, "%s%s", "/sys", tmp); in parsing_proc_input() 192 memset(tmp, 0, 100); in parsing_proc_input() 198 tmp[j] = line[i]; in parsing_proc_input() 202 if(tmp[j-2] >= '0' && tmp[j-2] <= '9') in parsing_proc_input() 203 input_number += (tmp[j-2]-0x30)*10; in parsing_proc_input() 204 if(tmp[j-1] >= '0' && tmp[j-1] <= '9') in parsing_proc_input() 205 input_number += (tmp[j-1]-0x30); in parsing_proc_input()
|
D | mlos.h | 74 void *tmp = inv_malloc((unsigned int)size); in kzalloc() local 76 if (tmp) in kzalloc() 77 memset(tmp, 0, size); in kzalloc() 78 return tmp; in kzalloc()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | ml_sysfs_helper.c | 123 char tmp[100]; in parsing_proc_input() local 172 memset(tmp, 0, 100); in parsing_proc_input() 178 tmp[j] = line[i]; in parsing_proc_input() 181 sprintf(sysfs_path, "%s%s", "/sys", tmp); in parsing_proc_input() 200 memset(tmp, 0, 100); in parsing_proc_input() 206 tmp[j] = line[i]; in parsing_proc_input() 210 if(tmp[j-2] >= '0' && tmp[j-2] <= '9') in parsing_proc_input() 211 input_number += (tmp[j-2]-0x30)*10; in parsing_proc_input() 212 if(tmp[j-1] >= '0' && tmp[j-1] <= '9') in parsing_proc_input() 213 input_number += (tmp[j-1]-0x30); in parsing_proc_input()
|
D | mlos.h | 74 void *tmp = inv_malloc((unsigned int)size); in kzalloc() local 76 if (tmp) in kzalloc() 77 memset(tmp, 0, size); in kzalloc() 78 return tmp; in kzalloc()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
D | mr_dissim.c | 45 != cm->ref_frame_sign_bias[tmp->mbmi.ref_frame]) \ 86 MODE_INFO *tmp = cm->mip + cm->mode_info_stride; in vp8_cal_dissimilarity() local 91 tmp++; in vp8_cal_dissimilarity() 96 if(tmp->mbmi.ref_frame !=INTRA_FRAME) in vp8_cal_dissimilarity() 103 const MODE_INFO *here = tmp; in vp8_cal_dissimilarity() 203 store_mode_info->mode = tmp->mbmi.mode; in vp8_cal_dissimilarity() 204 store_mode_info->ref_frame = tmp->mbmi.ref_frame; in vp8_cal_dissimilarity() 205 store_mode_info->mv.as_int = tmp->mbmi.mv.as_int; in vp8_cal_dissimilarity() 207 tmp++; in vp8_cal_dissimilarity()
|