summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2015-10-22 09:47:18 -0700
committerSteve Kondik <steve@cyngn.com>2015-10-22 09:47:18 -0700
commitf939831843ffa12bfc7851c3ef805835f2f8fdae (patch)
tree733e80d11ed31f0e88cfd3199189df48c5587c90 /include
parent4a0d8447e0aaebff6dbfb25bb61b811f5fd9e68f (diff)
parent57be3741eee1899226e6dfd9d6b755a2ffe3109f (diff)
downloadframeworks_av-f939831843ffa12bfc7851c3ef805835f2f8fdae.zip
frameworks_av-f939831843ffa12bfc7851c3ef805835f2f8fdae.tar.gz
frameworks_av-f939831843ffa12bfc7851c3ef805835f2f8fdae.tar.bz2
Merge branch 'm' of git://codeaurora.org/platform/frameworks/av into cm-13.0
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioSystem.h1
-rw-r--r--include/media/stagefright/CameraSourceTimeLapse.h5
2 files changed, 4 insertions, 2 deletions
diff --git a/include/media/AudioSystem.h b/include/media/AudioSystem.h
index 06116a5..26a0bb2 100644
--- a/include/media/AudioSystem.h
+++ b/include/media/AudioSystem.h
@@ -399,6 +399,7 @@ private:
uint32_t mInSamplingRate;
audio_format_t mInFormat;
audio_channel_mask_t mInChannelMask;
+ sp<AudioIoDescriptor> getIoDescriptor_l(audio_io_handle_t ioHandle);
};
class AudioPolicyServiceClient: public IBinder::DeathRecipient,
diff --git a/include/media/stagefright/CameraSourceTimeLapse.h b/include/media/stagefright/CameraSourceTimeLapse.h
index 34213be..f264d98 100644
--- a/include/media/stagefright/CameraSourceTimeLapse.h
+++ b/include/media/stagefright/CameraSourceTimeLapse.h
@@ -20,6 +20,7 @@
#include <pthread.h>
+#include <media/stagefright/CameraSource.h>
#include <utils/RefBase.h>
#include <utils/threads.h>
#include <utils/String16.h>
@@ -56,7 +57,7 @@ public:
// returning quickly.
void startQuickReadReturns();
-private:
+protected:
// size of the encoded video.
int32_t mVideoWidth;
int32_t mVideoHeight;
@@ -152,7 +153,7 @@ private:
// the frame needs to be encoded, it returns false and also modifies
// the time stamp to be one frame time ahead of the last encoded
// frame's time stamp.
- bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
+ virtual bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
// Wrapper to enter threadTimeLapseEntry()
static void *ThreadTimeLapseWrapper(void *me);