/frameworks/av/media/libheadtracking/include/media/ |
D | Twist.h | 32 class Twist3f { 34 Twist3f(const Eigen::Vector3f& translationalVelocity, const Eigen::Vector3f& rotationalVelocity) in Twist3f() function 37 Twist3f() : Twist3f(Eigen::Vector3f::Zero(), Eigen::Vector3f::Zero()) {} in Twist3f() function 39 Twist3f(const Twist3f& other) { *this = other; } in Twist3f() function 41 Twist3f& operator=(const Twist3f& other) { 53 bool isApprox(const Twist3f& other, 60 Twist3f operator*(const T& s) const { 61 return Twist3f(mTranslationalVelocity * s, mRotationalVelocity * s); 65 Twist3f operator/(const T& s) const { 66 return Twist3f(mTranslationalVelocity / s, mRotationalVelocity / s); [all …]
|
D | SensorPoseProvider.h | 68 const std::optional<Twist3f>& twist, bool isNewReference) = 0;
|
D | HeadTrackingProcessor.h | 60 const Twist3f& headTwist) = 0;
|
/frameworks/av/media/libheadtracking/ |
D | Twist.cpp | 24 Pose3f integrate(const Twist3f& twist, float dt) { in integrate() 30 Twist3f differentiate(const Pose3f& pose, float dt) { in differentiate() 33 return Twist3f(translationalVelocity, rotationalVelocity); in differentiate() 36 std::ostream& operator<<(std::ostream& os, const Twist3f& twist) { in operator <<() 42 std::string Twist3f::toString() const { in toString()
|
D | TestUtil.h | 57 inline AssertionResult CmpHelperEQ<android::media::Twist3f, android::media::Twist3f>( 58 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs, 59 const android::media::Twist3f& rhs) { 68 inline AssertionResult CmpHelperNE<android::media::Twist3f, android::media::Twist3f>( 69 const char* lhs_expression, const char* rhs_expression, const android::media::Twist3f& lhs, 70 const android::media::Twist3f& rhs) {
|
D | Twist-test.cpp | 30 Twist3f twist; in TEST() 40 Twist3f twist(trans, rot); in TEST() 51 Twist3f twist(trans, rot); in TEST() 59 Twist3f twist = differentiate(pose, 2.f); in TEST() 60 EXPECT_EQ(twist, Twist3f(Vector3f(1, 2, 3), Vector3f(0, 0, M_PI_4))); in TEST()
|
D | HeadTrackingProcessor-test.cpp | 53 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST() 57 processor->setWorldToHeadPose(0, worldToHead, Twist3f()); in TEST() 79 const Twist3f headTwist{{4, 5, 6}, quaternionToRotationVector(Quaternionf::UnitRandom()) / 10}; in TEST() 88 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST() 116 processor->setWorldToHeadPose(0, Pose3f(), Twist3f()); in TEST() 122 processor->setWorldToHeadPose(0, targetHeadToWorld.inverse(), Twist3f()); in TEST() 138 processor->setWorldToHeadPose(4, Pose3f(), Twist3f()); in TEST()
|
D | PosePredictor.h | 32 virtual void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) = 0; 46 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override { in add() 84 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override { in add() 117 Twist3f mLastTwist; 139 void add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) override; 168 Pose3f predict(int64_t timestampNs, const Pose3f& pose, const Twist3f& twist,
|
D | SensorPoseProvider-example.cpp | 34 using android::media::Twist3f; 43 const std::optional<Twist3f>& twist, bool isNewReference) override { in onPose()
|
D | SensorPoseProvider.cpp | 209 std::optional<Twist3f> twist; 401 return PoseEvent{Pose3f(quat), std::optional<Twist3f>(), false}; in parseEvent() 415 return PoseEvent{Pose3f(quat), Twist3f(Eigen::Vector3f::Zero(), twist), in parseEvent()
|
D | Pose.cpp | 66 Twist3f twist = differentiate(fromToTo, t); in moveWithRateLimit()
|
D | PosePredictor.cpp | 32 void LeastSquaresPredictor::add(int64_t atNs, const Pose3f& pose, const Twist3f& twist) in add() 125 int64_t timestampNs, const Pose3f& pose, const Twist3f& twist, float predictionDurationNs) in predict()
|
D | HeadTrackingProcessor.cpp | 62 const Twist3f& headTwist) override { in setWorldToHeadPose()
|
D | README.md | 78 Twist3f headTwist;
|
/frameworks/av/services/audiopolicy/service/ |
D | SpatializerPoseController.cpp | 39 using media::Twist3f; 307 const std::optional<Twist3f>& twist, bool isNewReference) { in onPose() 340 twist.value_or(Twist3f()) / kTicksPerSecond); in onPose()
|
D | SpatializerPoseController.h | 155 const std::optional<media::Twist3f>& twist, bool isNewReference) override;
|