/device/asus/flo/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_exif.c | 59 exif_tag_type_t type, uint32_t count, void *data) in addExifEntry() argument 81 memcpy(values, data, count); in addExifEntry() 82 p_info_data[numOfEntries].tag_entry.data._bytes = values; in addExifEntry() 85 p_info_data[numOfEntries].tag_entry.data._byte = *(uint8_t *)data; in addExifEntry() 97 memcpy(str, data, count); in addExifEntry() 98 p_info_data[numOfEntries].tag_entry.data._ascii = str; in addExifEntry() 109 memcpy(values, data, count * sizeof(uint16_t)); in addExifEntry() 110 p_info_data[numOfEntries].tag_entry.data._shorts = values; in addExifEntry() 113 p_info_data[numOfEntries].tag_entry.data._short = *(uint16_t *)data; in addExifEntry() 124 memcpy(values, data, count * sizeof(uint32_t)); in addExifEntry() [all …]
|
D | mm_jpeg_queue.c | 42 int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq() argument 52 node->data = data; in mm_jpeg_queue_enq() 66 void* data = NULL; in mm_jpeg_queue_deq() local 81 data = node->data; in mm_jpeg_queue_deq() 85 return data; in mm_jpeg_queue_deq() 110 void* data = NULL; in mm_jpeg_queue_flush() local 125 if (NULL != node->data) { in mm_jpeg_queue_flush() 126 free(node->data); in mm_jpeg_queue_flush() 139 void* data = NULL; in mm_jpeg_queue_peek() local 152 data = node->data; in mm_jpeg_queue_peek() [all …]
|
/device/moto/shamu/power/ |
D | power_shamu.c | 72 char data[MAX_LENGTH]; in coresonline() local 82 snprintf(data, MAX_LENGTH, "8:%d", client); in coresonline() 83 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in coresonline() 85 snprintf(data, MAX_LENGTH, "7:%d", client); in coresonline() 86 …rc = sendto(client_sockfd, data, strlen(data), 0, (const struct sockaddr *)&client_addr, sizeof(st… in coresonline() 98 char data[MAX_LENGTH]; in enc_boost() local 108 snprintf(data, MAX_LENGTH, "5:%d", client); in enc_boost() 109 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() 112 snprintf(data, MAX_LENGTH, "6:%d", client); in enc_boost() 113 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_exif.c | 62 exif_tag_type_t type, uint32_t count, void *data) in addExifEntry() argument 84 memcpy(values, data, count); in addExifEntry() 85 p_info_data[numOfEntries].tag_entry.data._bytes = values; in addExifEntry() 88 p_info_data[numOfEntries].tag_entry.data._byte = *(uint8_t *)data; in addExifEntry() 100 memcpy(str, data, count); in addExifEntry() 101 p_info_data[numOfEntries].tag_entry.data._ascii = str; in addExifEntry() 112 memcpy(values, data, count * sizeof(uint16_t)); in addExifEntry() 113 p_info_data[numOfEntries].tag_entry.data._shorts = values; in addExifEntry() 116 p_info_data[numOfEntries].tag_entry.data._short = *(uint16_t *)data; in addExifEntry() 127 memcpy(values, data, count * sizeof(uint32_t)); in addExifEntry() [all …]
|
D | mm_jpeg_queue.c | 42 int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq() argument 52 node->data = data; in mm_jpeg_queue_enq() 66 void* data = NULL; in mm_jpeg_queue_deq() local 81 data = node->data; in mm_jpeg_queue_deq() 85 return data; in mm_jpeg_queue_deq() 110 void* data = NULL; in mm_jpeg_queue_flush() local 125 if (NULL != node->data) { in mm_jpeg_queue_flush() 126 free(node->data); in mm_jpeg_queue_flush() 139 void* data = NULL; in mm_jpeg_queue_peek() local 152 data = node->data; in mm_jpeg_queue_peek() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_exif.c | 62 exif_tag_type_t type, uint32_t count, void *data) in addExifEntry() argument 84 memcpy(values, data, count); in addExifEntry() 85 p_info_data[numOfEntries].tag_entry.data._bytes = values; in addExifEntry() 88 p_info_data[numOfEntries].tag_entry.data._byte = *(uint8_t *)data; in addExifEntry() 100 memcpy(str, data, count); in addExifEntry() 101 p_info_data[numOfEntries].tag_entry.data._ascii = str; in addExifEntry() 112 memcpy(values, data, count * sizeof(uint16_t)); in addExifEntry() 113 p_info_data[numOfEntries].tag_entry.data._shorts = values; in addExifEntry() 116 p_info_data[numOfEntries].tag_entry.data._short = *(uint16_t *)data; in addExifEntry() 127 memcpy(values, data, count * sizeof(uint32_t)); in addExifEntry() [all …]
|
D | mm_jpeg_queue.c | 42 int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq() argument 52 node->data = data; in mm_jpeg_queue_enq() 63 int32_t mm_jpeg_queue_enq_head(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq_head() argument 75 node->data = data; in mm_jpeg_queue_enq_head() 91 void* data = NULL; in mm_jpeg_queue_deq() local 106 data = node->data; in mm_jpeg_queue_deq() 110 return data; in mm_jpeg_queue_deq() 135 void* data = NULL; in mm_jpeg_queue_flush() local 150 if (NULL != node->data) { in mm_jpeg_queue_flush() 151 free(node->data); in mm_jpeg_queue_flush() [all …]
|
/device/moto/shamu/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 139 bool QCameraQueue::enqueue(void *data) in enqueue() argument 150 node->data = data; in enqueue() 176 bool QCameraQueue::enqueueWithPriority(void *data) in enqueueWithPriority() argument 187 node->data = data; in enqueueWithPriority() 222 void* data = NULL; in dequeue() local 243 data = node->data; in dequeue() 247 return data; in dequeue() 276 if (NULL != node->data) { in flush() 278 m_dataFn(node->data, m_userData); in flush() 280 free(node->data); in flush() [all …]
|
/device/asus/flo/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 121 bool QCameraQueue::enqueue(void *data) in enqueue() argument 131 node->data = data; in enqueue() 151 bool QCameraQueue::enqueueWithPriority(void *data) in enqueueWithPriority() argument 161 node->data = data; in enqueueWithPriority() 190 void* data = NULL; in dequeue() local 209 data = node->data; in dequeue() 213 return data; in dequeue() 241 if (NULL != node->data) { in flush() 243 m_dataFn(node->data, m_userData); in flush() 245 free(node->data); in flush() [all …]
|
/device/lge/hammerhead/camera/QCamera2/util/ |
D | QCameraQueue.cpp | 139 bool QCameraQueue::enqueue(void *data) in enqueue() argument 150 node->data = data; in enqueue() 176 bool QCameraQueue::enqueueWithPriority(void *data) in enqueueWithPriority() argument 187 node->data = data; in enqueueWithPriority() 222 void* data = NULL; in dequeue() local 243 data = node->data; in dequeue() 247 return data; in dequeue() 276 if (NULL != node->data) { in flush() 278 m_dataFn(node->data, m_userData); in flush() 280 free(node->data); in flush() [all …]
|
/device/moto/shamu/camera/QCamera/stack/mm-jpeg-interface/src/ |
D | mm_jpeg_queue.c | 42 int32_t mm_jpeg_queue_enq(mm_jpeg_queue_t* queue, void* data) in mm_jpeg_queue_enq() argument 52 node->data = data; in mm_jpeg_queue_enq() 67 void* data = NULL; in mm_jpeg_queue_peek() local 80 data = node->data; in mm_jpeg_queue_peek() 82 return data; in mm_jpeg_queue_peek() 88 void* data = NULL; in mm_jpeg_queue_deq() local 103 data = node->data; in mm_jpeg_queue_deq() 107 return data; in mm_jpeg_queue_deq() 132 void* data = NULL; in mm_jpeg_queue_flush() local 147 if (NULL != node->data) { in mm_jpeg_queue_flush() [all …]
|
/device/asus/flo/power/ |
D | power_flo.c | 217 char data[MAX_LENGTH]; in sync_thread() local 227 snprintf(data, MAX_LENGTH, "2:%d", client); in sync_thread() 228 rc = sendto(client_sockfd, data, strlen(data), 0, in sync_thread() 231 snprintf(data, MAX_LENGTH, "3:%d", client); in sync_thread() 232 rc = sendto(client_sockfd, data, strlen(data), 0, in sync_thread() 245 char data[MAX_LENGTH]; in enc_boost() local 255 snprintf(data, MAX_LENGTH, "5:%d", client); in enc_boost() 256 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() 259 snprintf(data, MAX_LENGTH, "6:%d", client); in enc_boost() 260 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() [all …]
|
/device/lge/hammerhead/power/ |
D | power_hammerhead.c | 217 char data[MAX_LENGTH]; in sync_thread() local 227 snprintf(data, MAX_LENGTH, "2:%d", client); in sync_thread() 228 rc = sendto(client_sockfd, data, strlen(data), 0, in sync_thread() 231 snprintf(data, MAX_LENGTH, "3:%d", client); in sync_thread() 232 rc = sendto(client_sockfd, data, strlen(data), 0, in sync_thread() 245 char data[MAX_LENGTH]; in enc_boost() local 255 snprintf(data, MAX_LENGTH, "5:%d", client); in enc_boost() 256 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() 259 snprintf(data, MAX_LENGTH, "6:%d", client); in enc_boost() 260 rc = sendto(client_sockfd, data, strlen(data), 0, in enc_boost() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 562 void QCamera3PostProcessor::releasePPInputData(void *data, void *user_data) in releasePPInputData() argument 566 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData() 581 void QCamera3PostProcessor::releaseMetaData(void *data, void * /*user_data*/) in releaseMetaData() argument 583 metadata_buffer_t *metadata = (metadata_buffer_t *)data; in releaseMetaData() 599 void QCamera3PostProcessor::releaseJpegSetting(void *data, void * /*user_data*/) in releaseJpegSetting() argument 601 jpeg_settings_t *jpegSetting = (jpeg_settings_t *)data; in releaseJpegSetting() 617 void QCamera3PostProcessor::releaseJpegData(void *data, void *user_data) in releaseJpegData() argument 621 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData() 636 void QCamera3PostProcessor::releaseOngoingPPData(void *data, void *user_data) in releaseOngoingPPData() argument 640 qcamera_pp_data_t *pp_job = (qcamera_pp_data_t *)data; in releaseOngoingPPData() [all …]
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 291 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)stream_mem->data; in getJpegEncodingConfig() 317 encode_parm.src_thumb_buf[i].buf_vaddr = (uint8_t *)stream_mem->data; in getJpegEncodingConfig() 353 encode_parm.dest_buf[0].buf_vaddr = (uint8_t *)jpeg_mem->data; in getJpegEncodingConfig() 414 camera_memory_t *data, in sendDataNotify() argument 426 data_cb->data = data; in sendDataNotify() 437 cbArg.data = data; in sendDataNotify() 576 memcpy(jpeg_mem->data, evt->out_data.buf_vaddr, evt->out_data.buf_filled_len); in processJpegEvt() 581 release_data.data = jpeg_mem; in processJpegEvt() 705 void QCameraPostProcessor::releasePPInputData(void *data, void *user_data) in releasePPInputData() argument 709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData() [all …]
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCameraPostProc.cpp | 291 encode_parm.src_main_buf[i].buf_vaddr = (uint8_t *)stream_mem->data; in getJpegEncodingConfig() 317 encode_parm.src_thumb_buf[i].buf_vaddr = (uint8_t *)stream_mem->data; in getJpegEncodingConfig() 353 encode_parm.dest_buf[0].buf_vaddr = (uint8_t *)jpeg_mem->data; in getJpegEncodingConfig() 414 camera_memory_t *data, in sendDataNotify() argument 426 data_cb->data = data; in sendDataNotify() 437 cbArg.data = data; in sendDataNotify() 576 memcpy(jpeg_mem->data, evt->out_data.buf_vaddr, evt->out_data.buf_filled_len); in processJpegEvt() 581 release_data.data = jpeg_mem; in processJpegEvt() 705 void QCameraPostProcessor::releasePPInputData(void *data, void *user_data) in releasePPInputData() argument 709 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData() [all …]
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3PostProc.cpp | 577 void QCamera3PostProcessor::releasePPInputData(void *data, void *user_data) in releasePPInputData() argument 581 pme->releaseSuperBuf((mm_camera_super_buf_t *)data); in releasePPInputData() 596 void QCamera3PostProcessor::releaseJpegData(void *data, void *user_data) in releaseJpegData() argument 600 pme->releaseJpegJobData((qcamera_jpeg_data_t *)data); in releaseJpegData() 615 void QCamera3PostProcessor::releaseOngoingPPData(void *data, void *user_data) in releaseOngoingPPData() argument 619 qcamera_pp_data_t *pp_job = (qcamera_pp_data_t *)data; in releaseOngoingPPData() 987 void *QCamera3PostProcessor::dataProcessRoutine(void *data) in dataProcessRoutine() argument 994 QCamera3PostProcessor *pme = (QCamera3PostProcessor *)data; in dataProcessRoutine() 1202 m_Entries[i].tag_entry.data._bytes != NULL) { in ~QCamera3Exif() 1203 free(m_Entries[i].tag_entry.data._bytes); in ~QCamera3Exif() [all …]
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
D | cam_queue.h | 36 void *data; member 53 static inline int32_t cam_queue_enq(cam_queue_t *queue, void *data) in cam_queue_enq() argument 62 node->data = data; in cam_queue_enq() 75 void *data = NULL; in cam_queue_deq() local 90 data = node->data; in cam_queue_deq() 94 return data; in cam_queue_deq() 116 if (NULL != node->data) { in cam_queue_flush() 117 free(node->data); in cam_queue_flush()
|
/device/asus/flo/camera/QCamera2/stack/common/ |
D | cam_queue.h | 36 void *data; member 53 static inline int32_t cam_queue_enq(cam_queue_t *queue, void *data) in cam_queue_enq() argument 62 node->data = data; in cam_queue_enq() 75 void *data = NULL; in cam_queue_deq() local 90 data = node->data; in cam_queue_deq() 94 return data; in cam_queue_deq() 116 if (NULL != node->data) { in cam_queue_flush() 117 free(node->data); in cam_queue_flush()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | cam_queue.h | 36 void *data; member 53 static inline int32_t cam_queue_enq(cam_queue_t *queue, void *data) in cam_queue_enq() argument 62 node->data = data; in cam_queue_enq() 75 void *data = NULL; in cam_queue_deq() local 90 data = node->data; in cam_queue_deq() 94 return data; in cam_queue_deq() 116 if (NULL != node->data) { in cam_queue_flush() 117 free(node->data); in cam_queue_flush()
|
/device/moto/shamu/ |
D | releasetools.py | 32 def __init__(self, data, name = None): argument 35 self._unpack(data) 37 def _unpack(self, data): argument 42 num_imgs, = struct.unpack(num_imgs_fmt, data[:num_imgs_size]) 47 …imgs = [ struct.unpack(img_info_format, data[num_imgs_size + i*img_info_size:num_imgs_size + (i+1)… 51 …magic, = struct.unpack(magic_format, data[num_imgs_size + NUM_MAX_IMAGES*img_info_size:num_imgs_si… 59 img = common.File(trunc_to_null(name), data[start_offset:end_offset+1]) 109 info.script.CacheFreeSpaceCheck(len(source_modem_img.data)) 113 len(source_modem_img.data), source_modem_img.sha1, 114 len(target_modem_img.data), target_modem_img.sha1)) [all …]
|
D | init.shamu.rc | 23 symlink /data/tombstones /tombstones 53 mkdir /persist/data 0700 system system 54 mkdir /persist/data/sfs 0700 system system 55 mkdir /persist/data/tz 0700 system system 58 mkdir /persist/public/hiddenmenu/data 0775 system radio 60 # Enable rmnet data and aggregation 62 setprop persist.rmnet.data.enable true 63 setprop persist.data.wda.enable true 64 setprop persist.data.df.agg.dl_pkt 10 65 setprop persist.data.df.agg.dl_size 4096 [all …]
|
/device/lge/hammerhead/libsensors/ |
D | sensors.cpp | 114 int pollEvents(sensors_event_t* data, int count); 273 int sensors_poll_context_t::pollEvents(sensors_event_t *data, int count) in pollEvents() argument 287 nb = ((MPLSensor*) sensor)->readEvents(data, count); in pollEvents() 291 data += nb; in pollEvents() 296 nb = ((MPLSensor*) sensor)->readEvents(data, count); in pollEvents() 300 data += nb; in pollEvents() 303 nb = ((MPLSensor*) sensor)->readDmpOrientEvents(data, count); in pollEvents() 308 data += nb; in pollEvents() 312 nb = ((MPLSensor*) sensor)->readDmpSignificantMotionEvents(data, count); in pollEvents() 316 data += nb; in pollEvents() [all …]
|
/device/moto/shamu/camera/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_queue.c | 78 int mm_qcamera_queue_enqueue(mm_camera_queue_t *queue, void *data) in mm_qcamera_queue_enqueue() argument 92 node->data = data; in mm_qcamera_queue_enqueue() 109 void* data = NULL; in mm_qcamera_queue_dequeue() local 128 data = node->data; in mm_qcamera_queue_dequeue() 132 return data; in mm_qcamera_queue_dequeue() 155 if (NULL != node->data) { in mm_qcamera_queue_flush() 157 queue->m_dataFn(node->data, queue->m_userData); in mm_qcamera_queue_flush() 159 free(node->data); in mm_qcamera_queue_flush()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCameraPostProc.h | 71 camera_memory_t * data; // ptr to data memory struct member 79 camera_memory_t * data; // ptr to data memory struct member 95 void *data); 124 camera_memory_t *data, 151 static void releaseSaveJobData(void *data, void *user_data); 152 static void releaseRawData(void *data, void *user_data); 155 static void releaseJpegData(void *data, void *user_data); 156 static void releasePPInputData(void *data, void *user_data); 157 static void releaseOngoingPPData(void *data, void *user_data); 159 static void *dataProcessRoutine(void *data); [all …]
|