Searched refs:calculatePose (Results 1 – 4 of 4) sorted by relevance
/frameworks/av/media/libheadtracking/ |
D | PoseRateLimiter-test.cpp | 36 EXPECT_EQ(limiter.calculatePose(1000), target); in TEST() 44 EXPECT_EQ(limiter.calculatePose(0), target1); in TEST() 46 EXPECT_EQ(limiter.calculatePose(0), target2); in TEST() 48 EXPECT_EQ(limiter.calculatePose(0), target1); in TEST() 56 EXPECT_EQ(limiter.calculatePose(1000), pose2); in TEST() 60 EXPECT_EQ(limiter.calculatePose(1001), pose1); in TEST() 65 EXPECT_EQ(limiter.calculatePose(1002), Pose3f({1, 2, 4}, rotateZ(M_PI * 1 / 8))); in TEST() 67 EXPECT_EQ(limiter.calculatePose(1003), Pose3f({1, 2, 5}, rotateZ(M_PI * 2 / 8))); in TEST() 70 EXPECT_EQ(limiter.calculatePose(1005), Pose3f({1, 2, 7}, rotateZ(M_PI * 4 / 8))); in TEST() 72 EXPECT_EQ(limiter.calculatePose(1006), pose2); in TEST() [all …]
|
D | PoseRateLimiter.h | 78 Pose3f calculatePose(int64_t timestamp);
|
D | PoseRateLimiter.cpp | 39 Pose3f PoseRateLimiter::calculatePose(int64_t timestamp) { in calculatePose() function in android::media::PoseRateLimiter
|
D | HeadTrackingProcessor.cpp | 136 mHeadToStagePose = mRateLimiter.calculatePose(timestamp); in calculate()
|