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()
465 OMX_U64 time_diff = current_time - prev_time; in async_venc_message_thread() local466 if (stats.prev_tv.tv_sec && num_fbd && time_diff) { in async_venc_message_thread()467 float framerate = ((OMX_U64)num_fbd * 1000000000ULL) / (float)time_diff; in async_venc_message_thread()
464 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local466 if (time_diff >= 5000000) { in async_venc_message_thread()468 if (stats.prev_tv.tv_sec && num_fbd && time_diff) { in async_venc_message_thread()469 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()