OSDN Git Service

Add api's to dvr_pose to retrieve data from sensord
authorMarie White <mariewhite@google.com>
Wed, 9 Aug 2017 05:23:45 +0000 (22:23 -0700)
committerMarie White <mariewhite@google.com>
Sat, 2 Sep 2017 00:58:33 +0000 (17:58 -0700)
commit5096c652aa19a501ce28177076de89e58e15b4b3
tree66db6023edd6be61b2c4f8c2b077c1031addf6d9
parent0d70e447b57de4ddf60d84b49ed92ad0511cda31
Add api's to dvr_pose to retrieve data from sensord

Bug: 63683612
Test: Manually tested through VrCore cl/164799996.

To retrieve raw data from Tango, added below api's to dvr_api:
- dvrPoseClientGetDataReader
- dvrPoseClientDataCapture
- dvrPoseClientDataReaderDestroy

Note: These changes have already been reviewed in branch
oc-dr1-daydream-dev branch. See change 2729572.

Changes tested on Pixel XL with and without 02 rendering path. Daydream
Home rendering in VR Mode correctly. Pixel functioning as normal.

Change-Id: Ia934d6a1a0b89edfd4408dde19d38e757d44f785
libs/vr/libdvr/Android.bp
libs/vr/libdvr/dvr_buffer_queue_internal.h
libs/vr/libdvr/dvr_pose.cpp [new file with mode: 0644]
libs/vr/libdvr/include/dvr/dvr_api.h
libs/vr/libdvr/include/dvr/dvr_api_entries.h
libs/vr/libdvr/include/dvr/dvr_pose.h
libs/vr/libvrsensor/include/dvr/pose_client.h
libs/vr/libvrsensor/include/private/dvr/pose-ipc.h
libs/vr/libvrsensor/include/private/dvr/pose_client_internal.h [new file with mode: 0644]
libs/vr/libvrsensor/pose_client.cpp