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/sm7250/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp465 OMX_U64 time_diff = current_time - prev_time; in async_venc_message_thread() local
466 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()
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/venc/src/
Dvideo_encoder_device_v4l2.cpp464 OMX_U64 time_diff = (OMX_U32)((tv.tv_sec * 1000000 + tv.tv_usec) - in async_venc_message_thread() local
466 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()
/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()