diff options
author | James Dong <jdong@google.com> | 2011-05-11 19:09:25 -0700 |
---|---|---|
committer | James Dong <jdong@google.com> | 2011-05-13 16:29:19 -0700 |
commit | 07b1bb529a1ae76c46a71b01338c166f9490629d (patch) | |
tree | 2fff6133d9aba0bed0375fd1099edcff609c6763 /media/libmediaplayerservice/StagefrightRecorder.h | |
parent | b5212db69734962f55e1493d3e696794172ced51 (diff) | |
download | frameworks_av-07b1bb529a1ae76c46a71b01338c166f9490629d.zip frameworks_av-07b1bb529a1ae76c46a71b01338c166f9490629d.tar.gz frameworks_av-07b1bb529a1ae76c46a71b01338c166f9490629d.tar.bz2 |
Support for storing geo information in the recorded mp4/3gpp file.
o Geo data (latitude and longitude) is stored in udta box
Change-Id: I76e4aeb741c4b339f3753d3d28190151f3ea4919
related-to-bug: 4260295
Diffstat (limited to 'media/libmediaplayerservice/StagefrightRecorder.h')
-rw-r--r-- | media/libmediaplayerservice/StagefrightRecorder.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/media/libmediaplayerservice/StagefrightRecorder.h b/media/libmediaplayerservice/StagefrightRecorder.h index 15ef6e2..7795554 100644 --- a/media/libmediaplayerservice/StagefrightRecorder.h +++ b/media/libmediaplayerservice/StagefrightRecorder.h @@ -97,6 +97,8 @@ private: int64_t mMaxFileDurationUs; int64_t mTrackEveryTimeDurationUs; int32_t mRotationDegrees; // Clockwise + int32_t mLatitudex10000; + int32_t mLongitudex10000; bool mCaptureTimeLapse; int64_t mTimeBetweenTimeLapseFrameCaptureUs; @@ -160,6 +162,8 @@ private: status_t setParamMaxFileDurationUs(int64_t timeUs); status_t setParamMaxFileSizeBytes(int64_t bytes); status_t setParamMovieTimeScale(int32_t timeScale); + status_t setParamGeoDataLongitude(int32_t longitudex10000); + status_t setParamGeoDataLatitude(int32_t latitudex10000); void clipVideoBitRate(); void clipVideoFrameRate(); void clipVideoFrameWidth(); |