Skip to content

Add display SENSOR_INFO_TIMESTAMP_SOURCE info#18

Open
neophack wants to merge 2 commits intoDavidGillsjo:masterfrom
neophack:master
Open

Add display SENSOR_INFO_TIMESTAMP_SOURCE info#18
neophack wants to merge 2 commits intoDavidGillsjo:masterfrom
neophack:master

Conversation

@neophack
Copy link
Copy Markdown

SENSOR_INFO_TIMESTAMP_SOURCE
Added in API level 21

public static final Key<Integer> SENSOR_INFO_TIMESTAMP_SOURCE
The time base source for sensor capture start timestamps.

The timestamps provided for captures are always in nanoseconds and monotonic, but may not based on a time source that can be compared to other system time sources.

This characteristic defines the source for the timestamps, and therefore whether they can be compared against other system time sources/timestamps.

Possible values:

UNKNOWN
REALTIME
This key is available on all devices.

See also:

CameraMetadata.SENSOR_INFO_TIMESTAMP_SOURCE_UNKNOWN
CameraMetadata.SENSOR_INFO_TIMESTAMP_SOURCE_REALTIME

@DavidGillsjo
Copy link
Copy Markdown
Owner

Thanks for the pull request!
As far as I know this information is already included in the protobuf as timestamp_source

I'm not sure that this information needs to be available during recording, but I'll try it out.
Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants