/device/lge/mako/camera/mm-camera-interface/ |
D | mm_camera_poll_thread.c | 93 struct timespec ts; in mm_camera_poll_sig() local 94 clock_gettime(CLOCK_REALTIME, &ts); in mm_camera_poll_sig() 95 ts.tv_sec += 2; in mm_camera_poll_sig() 97 rc = pthread_cond_timedwait(&poll_cb->cond_v, &poll_cb->mutex, &ts); in mm_camera_poll_sig() 312 struct timespec ts; in mm_camera_poll_start() local 314 clock_gettime(CLOCK_REALTIME, &ts); in mm_camera_poll_start() 315 ts.tv_sec += 2; in mm_camera_poll_start() 316 rc = pthread_cond_timedwait(&poll_cb->cond_v, &poll_cb->mutex, &ts); in mm_camera_poll_start()
|
D | mm_camera_stream.c | 221 stream->frame.frame[idx].frame.ts.tv_sec = vb.timestamp.tv_sec; in mm_camera_read_msm_frame() 222 stream->frame.frame[idx].frame.ts.tv_nsec = vb.timestamp.tv_usec * 1000; in mm_camera_read_msm_frame()
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Record.cpp | 135 ALOGE("<DEBUG4>: Timestamp: %ld %ld",frame->bufs[0]->ts.tv_sec,frame->bufs[0]->ts.tv_nsec); in processRecordFrame() 139 nsecs_t timeStamp = nsecs_t(frame->bufs[0]->ts.tv_sec)*1000000000LL + \ in processRecordFrame() 140 frame->bufs[0]->ts.tv_nsec; in processRecordFrame()
|
D | QCameraHWI_Preview.cpp | 717 nsecs_t timeStamp = seconds_to_nanoseconds(frame->bufs[0]->ts.tv_sec) ; in processPreviewFrameWithDisplay() 718 timeStamp += frame->bufs[0]->ts.tv_nsec; in processPreviewFrameWithDisplay()
|
/device/moto/shamu/camera/QCamera/HAL/usbcamcore/src/ |
D | QCameraMjpegDecode.cpp | 683 struct timespec ts; in mjpegd_cond_timedwait() local 684 int rc = clock_gettime(CLOCK_REALTIME, &ts); in mjpegd_cond_timedwait() 688 ts.tv_sec += (ms/1000); in mjpegd_cond_timedwait() 689 ts.tv_nsec += ((ms%1000) * 1000000); in mjpegd_cond_timedwait() 691 ts.tv_nsec += (ms * 1000000); in mjpegd_cond_timedwait() 694 rc = pthread_cond_timedwait(p_cond, p_mutex, &ts); in mjpegd_cond_timedwait()
|
/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 221 struct timespec ts; in data__now_ns() local 223 clock_gettime(CLOCK_MONOTONIC, &ts); in data__now_ns() 225 return (int64_t)ts.tv_sec * 1000000000 + ts.tv_nsec; in data__now_ns()
|
/device/asus/flo/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 543 frame->ts.tv_sec, in video_stream_cb_routine() 544 frame->ts.tv_nsec); in video_stream_cb_routine() 546 nsecs_t timeStamp = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; in video_stream_cb_routine()
|
/device/lge/hammerhead/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 543 frame->ts.tv_sec, in video_stream_cb_routine() 544 frame->ts.tv_nsec); in video_stream_cb_routine() 546 nsecs_t timeStamp = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; in video_stream_cb_routine()
|
/device/moto/shamu/camera/QCamera2/HAL/ |
D | QCamera2HWICallbacks.cpp | 247 frame->bufs[i]->ts.tv_sec, in zsl_channel_cb() 248 frame->bufs[i]->ts.tv_nsec); in zsl_channel_cb() 985 frame->ts.tv_sec, in video_stream_cb_routine() 986 frame->ts.tv_nsec); in video_stream_cb_routine() 989 timeStamp = (nsecs_t)((frame->ts.tv_sec * 1000000LL) + frame->ts.tv_nsec) * 1000; in video_stream_cb_routine() 991 timeStamp = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; in video_stream_cb_routine()
|
/device/moto/shamu/camera/QCamera/HAL2/core/src/ |
D | QCameraStream_Preview.cpp | 265 nsecs_t timeStamp = seconds_to_nanoseconds(frame->bufs[0]->ts.tv_sec) ; in processPreviewFrame() 266 timeStamp += frame->bufs[0]->ts.tv_nsec; in processPreviewFrame()
|
/device/asus/flo/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 69 struct timespec ts; member
|
/device/htc/flounder/audio/visualizer/ |
D | nv_offload_visualizer.c | 500 struct timespec ts; in visualizer_get_delta_time_ms_from_updated_time() local 501 if (clock_gettime(CLOCK_MONOTONIC, &ts) == 0) { in visualizer_get_delta_time_ms_from_updated_time() 502 time_t secs = ts.tv_sec - visu_ctxt->buffer_update_time.tv_sec; in visualizer_get_delta_time_ms_from_updated_time() 503 long nsec = ts.tv_nsec - visu_ctxt->buffer_update_time.tv_nsec; in visualizer_get_delta_time_ms_from_updated_time()
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 276 memcpy(&my_obj->buf[0].ts, &buf->ts, sizeof(buf->ts)); in mm_stream_buf_notify() 857 buf_info->buf->ts.tv_sec = vb.timestamp.tv_sec; in mm_stream_read_msm_frame() 858 buf_info->buf->ts.tv_nsec = vb.timestamp.tv_usec * 1000; in mm_stream_read_msm_frame()
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Record.cpp | 340 nsecs_t timeStamp = nsecs_t(frame->video.video.frame->ts.tv_sec)*1000000000LL + \ in processRecordFrame() 341 frame->video.video.frame->ts.tv_nsec; in processRecordFrame()
|
D | QCameraHWI_Preview.cpp | 838 nsecs_t timeStamp = seconds_to_nanoseconds(frame->def.frame->ts.tv_sec) ; in processPreviewFrameWithDisplay() 839 timeStamp += frame->def.frame->ts.tv_nsec; in processPreviewFrameWithDisplay()
|
/device/lge/mako/camera/ |
D | QCameraHWI_Record.cpp | 339 nsecs_t timeStamp = nsecs_t(frame->video.video.frame->ts.tv_sec)*1000000000LL + \ in processRecordFrame() 340 frame->video.video.frame->ts.tv_nsec; in processRecordFrame()
|
D | QCameraHWI_Preview.cpp | 666 nsecs_t timeStamp = seconds_to_nanoseconds(frame->def.frame->ts.tv_sec) ; in processPreviewFrameWithDisplay() 667 timeStamp += frame->def.frame->ts.tv_nsec; in processPreviewFrameWithDisplay()
|
/device/lge/mako/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera_interface.h | 175 struct timespec ts; /* time stamp, to be filled when DQBUF*/ member
|
/device/lge/hammerhead/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 69 struct timespec ts; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 288 memcpy(&my_obj->buf[my_obj->local_buf_idx].ts, &buf->ts, sizeof(buf->ts)); in mm_stream_buf_notify() 941 buf_info->buf->ts.tv_sec = vb.timestamp.tv_sec; in mm_stream_read_msm_frame() 942 buf_info->buf->ts.tv_nsec = vb.timestamp.tv_usec * 1000; in mm_stream_read_msm_frame()
|
D | mm_camera_channel.c | 1850 repro_data->src_frame->ts.tv_sec; in mm_channel_reprocess() 1852 repro_data->src_frame->ts.tv_nsec/1000; in mm_channel_reprocess()
|
/device/moto/shamu/camera/QCamera2/stack/common/ |
D | mm_camera_interface.h | 70 struct timespec ts; member
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/ |
D | mm_camera_interface.h | 193 struct timespec ts; /* time stamp, to be filled when DQBUF*/ member
|
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 976 buf_info->buf->ts.tv_sec = vb.timestamp.tv_sec; in mm_stream_read_msm_frame() 977 buf_info->buf->ts.tv_nsec = vb.timestamp.tv_usec * 1000; in mm_stream_read_msm_frame()
|
/device/lge/hammerhead/camera/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera_stream.c | 968 buf_info->buf->ts.tv_sec = vb.timestamp.tv_sec; in mm_stream_read_msm_frame() 969 buf_info->buf->ts.tv_nsec = vb.timestamp.tv_usec * 1000; in mm_stream_read_msm_frame()
|