summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChong Zhang <chz@google.com>2014-02-11 13:54:59 -0800
committerChong Zhang <chz@google.com>2014-02-14 17:42:47 -0800
commit2c9c8cba8562cc3a27532e4cd348912cc78d8d98 (patch)
treedab3690baff0f03f604a41321281ce2f39167272 /include
parentb63d2433350d56bda9f3477549086c90bb6d535e (diff)
downloadframeworks_av-2c9c8cba8562cc3a27532e4cd348912cc78d8d98.zip
frameworks_av-2c9c8cba8562cc3a27532e4cd348912cc78d8d98.tar.gz
frameworks_av-2c9c8cba8562cc3a27532e4cd348912cc78d8d98.tar.bz2
support for time lapse/slow motion when using SURFACE source
Bug: 13032650 Change-Id: Iecbadf9f29c8c49353416fc467fb3acdde279595
Diffstat (limited to 'include')
-rw-r--r--include/media/IOMX.h1
-rw-r--r--include/media/stagefright/ACodec.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/include/media/IOMX.h b/include/media/IOMX.h
index 3db2c38..f6f9e7a 100644
--- a/include/media/IOMX.h
+++ b/include/media/IOMX.h
@@ -144,6 +144,7 @@ public:
INTERNAL_OPTION_REPEAT_PREVIOUS_FRAME_DELAY, // data is an int64_t
INTERNAL_OPTION_MAX_TIMESTAMP_GAP, // data is int64_t
INTERNAL_OPTION_START_TIME, // data is an int64_t
+ INTERNAL_OPTION_TIME_LAPSE, // data is an int64_t[2]
};
virtual status_t setInternalOption(
node_id node,
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index e284109..36f2a67 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -207,6 +207,9 @@ private:
int64_t mRepeatFrameDelayUs;
int64_t mMaxPtsGapUs;
+ int64_t mTimePerFrameUs;
+ int64_t mTimePerCaptureUs;
+
bool mCreateInputBuffersSuspended;
status_t setCyclicIntraMacroblockRefresh(const sp<AMessage> &msg, int32_t mode);