Searched refs:time_diff (Results 1 – 4 of 4) sorted by relevance
39 static inline int64_t time_diff(timespec& ts_start, timespec& ts_end) { in time_diff() function66 ASSERT_GE(time_diff(ts, ts_end), 0); in TEST()67 ASSERT_LT(time_diff(ts, ts_end), TIME_THRESHOLD_IN_NS); in TEST()
423 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local425 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()
533 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local535 if (time_diff >= 5000000) { in async_venc_message_thread()538 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()
501 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local503 if (time_diff >= 5000000) { in async_venc_message_thread()506 float framerate = num_fbd * 1000000/(float)time_diff; in async_venc_message_thread()