Home
last modified time | relevance | path

Searched refs:ts (Results 1 – 25 of 29) sorted by relevance

12

/device/lge/mako/camera/mm-camera-interface/
Dmm_camera_poll_thread.c93 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()
Dmm_camera_stream.c221 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/
DQCameraHWI_Record.cpp135 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()
DQCameraHWI_Preview.cpp717 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/
DQCameraMjpegDecode.cpp683 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/
Dsensors_qemu.c221 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/
DQCamera2HWICallbacks.cpp543 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/
DQCamera2HWICallbacks.cpp543 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/
DQCamera2HWICallbacks.cpp247 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/
DQCameraStream_Preview.cpp265 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/
Dmm_camera_interface.h69 struct timespec ts; member
/device/htc/flounder/audio/visualizer/
Dnv_offload_visualizer.c500 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/
Dmm_camera_stream.c276 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/
DQCameraHWI_Record.cpp340 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()
DQCameraHWI_Preview.cpp838 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/
DQCameraHWI_Record.cpp339 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()
DQCameraHWI_Preview.cpp666 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/
Dmm_camera_interface.h175 struct timespec ts; /* time stamp, to be filled when DQBUF*/ member
/device/lge/hammerhead/camera/QCamera2/stack/common/
Dmm_camera_interface.h69 struct timespec ts; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/
Dmm_camera_stream.c288 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()
Dmm_camera_channel.c1850 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/
Dmm_camera_interface.h70 struct timespec ts; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/inc/
Dmm_camera_interface.h193 struct timespec ts; /* time stamp, to be filled when DQBUF*/ member
/device/asus/flo/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_stream.c976 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/
Dmm_camera_stream.c968 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()

12