Home
last modified time | relevance | path

Searched refs:headToStage (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/services/audiopolicy/service/
DSpatializerPoseController.cpp131 Pose3f headToStage; in __anon27ca8c2d0302() local
147 std::tie(headToStage, modeIfChanged) = calculate_l(); in __anon27ca8c2d0302()
151 mListener->onHeadToStagePose(headToStage); in __anon27ca8c2d0302()
287 Pose3f headToStage; in calculate_l() local
292 headToStage = mProcessor->getHeadToStagePose(); in calculate_l()
298 return std::make_tuple(headToStage, modeIfChanged); in calculate_l()
DSpatializer.cpp172 std::vector<float> headToStage(sHeadPoseKeys.size()); in onMessageReceived() local
174 if (!msg->findFloat(sHeadPoseKeys[i], &headToStage[i])) { in onMessageReceived()
179 spatializer->onHeadToStagePoseMsg(headToStage); in onMessageReceived()
818 void Spatializer::onHeadToStagePose(const Pose3f& headToStage) { in onHeadToStagePose() argument
823 auto vec = headToStage.toVector(); in onHeadToStagePose()
839 const std::vector<float> headToStage(6, 0.0); in resetEngineHeadPose_l() local
840 setEffectParameter_l(SPATIALIZER_PARAM_HEAD_TO_STAGE, headToStage); in resetEngineHeadPose_l()
845 void Spatializer::onHeadToStagePoseMsg(const std::vector<float>& headToStage) { in onHeadToStagePoseMsg() argument
852 setEffectParameter_l(SPATIALIZER_PARAM_HEAD_TO_STAGE, headToStage); in onHeadToStagePoseMsg()
853 const auto record = recordFromTranslationRotationVector(headToStage); in onHeadToStagePoseMsg()
[all …]
DSpatializer.h237 void onHeadToStagePose(const media::Pose3f& headToStage) override;
240 void onHeadToStagePoseMsg(const std::vector<float>& headToStage);
/frameworks/av/media/libaudioclient/aidl/android/media/
DISpatializerHeadTrackingCallback.aidl37 void onHeadToSoundStagePoseUpdated(in float[] headToStage); in onHeadToSoundStagePoseUpdated() argument
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionSpatializer.cpp107 std::array<float, 6> headToStage = {}; in setParameter() local
109 if (OK != param.readFromValue(&headToStage[i])) { in setParameter()
116 HeadTracking::SensorData::make<HeadTracking::SensorData::headToStage>( in setParameter()
117 headToStage); in setParameter()
/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java473 public void onHeadToSoundStagePoseUpdated(float[] headToStage) { in onHeadToSoundStagePoseUpdated() argument
474 if (headToStage == null) { in onHeadToSoundStagePoseUpdated()
479 if (headToStage.length != 6) { in onHeadToSoundStagePoseUpdated()
481 + " invalid transform length" + headToStage.length); in onHeadToSoundStagePoseUpdated()
487 for (float val : headToStage) { in onHeadToSoundStagePoseUpdated()
493 dispatchPoseUpdate(headToStage); in onHeadToSoundStagePoseUpdated()