summaryrefslogtreecommitdiff
path: root/test/timestamp_test.cc
AgeCommit message (Collapse)Author
2020-06-21update googletest to v1.10.0James Zern
this moves the framework to c++11 and changes *_TEST_CASE* to _TEST_SUITE BUG=webm:1695,webm:1686 Change-Id: I07f2c20850312a9c7e381b38353d2f9f45889cb1 (cherry picked from commit 83769e3d250b05df0bb97fc619f5886587b2a310)
2019-12-06Merge Timestamp TestVpxRollover tests for Vp8/Vp9Debargha Mukherjee
BUG=webm:701 Change-Id: Id0b928db3cbb6263d136d7b9eb8d9453b3c63824
2019-12-05Add missing typecast and re-enable timestamp testDebargha Mukherjee
BUG=webm:701 Change-Id: I1d8a6e263fddb9e4cc6265a313011a18d18bbf9e
2019-06-27timestamp_test: enable TestMicrosecondTimebaseJames Zern
this doesn't cause any overflow issues after: 11de1b838 Fix timestamp overflow issues BUG=webm:701,webm:1614 Change-Id: I7e1cbfa4264d1661eb9a5baa2b2111a0899360f2
2019-06-18Fix timestamp overflow issuesYue Chen
- Save the initial user-specified timestamp and rebase all further timestamps by this value. This makes libvpx internal timestamps to always start from zero, regardless of the user's timestamps. - Calculate reduced timestamp conversion ratio and use it to convert user's timestamps to libvpx internal timestamps and back. The effect of this is that integer overflow due to multiplication doesn't happen for a much longer time. BUG=webm:701 Change-Id: Ic6f5eacd9a7c21b95707d31ee2da77dc8ac7dccf
2019-04-04Add a test to test rollover of int64 in encoder interface.Frank Galligan
The current libvpx encoder interface can potentially rollover an int64_t value used to calculate the current timestamp. If the timebase was set to microseconds and first timestamp was 0, then the rollover would occur in about 10.675 days. BUG=webm:701 Change-Id: I8d5aab46f8dcf250c1d4d43d5f3d27363c19cd54