Home
last modified time | relevance | path

Searched refs:time_diff (Results 1 – 4 of 4) sorted by relevance

/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/
Dcam_semaphore_tests.cpp39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { in time_diff() function
66 ASSERT_GE(time_diff(ts, ts_end), 0); in TEST()
67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS); in TEST()
/hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp423 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local
425 if (time_diff >= 5000000) { in async_venc_message_thread()
427 if (stats.prev_tv.tv_sec && num_fbd && time_diff) { in async_venc_message_thread()
428 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp533 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local
535 if (time_diff >= 5000000) { in async_venc_message_thread()
538 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp501 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local
503 if (time_diff >= 5000000) { in async_venc_message_thread()
506 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()