Mar 14, 2019
08:01 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Mar 14, 2019
08:01 AM
1 Solution
Jul 01, 2019
02:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jul 01, 2019
02:36 AM
Edited:
Changed the timer incrementing value to 1ms from 10 ms.
Hello,
Typically, In CX3/FX3, the timer gets increment for every 1 ms - called a timer tick.
If you use CyU3PGetTime API to get the timer tick, it will give the number of ticks from the start of the OS.
For example, if you are streaming 30 fps, one frame takes 33.33 ms.
In this case, timer ticks update 10 ms, 20ms and 30ms and 40 ms. Hence, you cannot capture time 33.33 ms.
Therefore, you don't get proper time stamp for synchronization in CX3/FX3.
You can use CyU3PGetTime and CyU3PSetTime to get and set the timer tick. Please refer API guide for usage of the APIs.
10 Replies