summaryrefslogtreecommitdiffstats
path: root/include/media/stagefright/OMXCodec.h
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2009-09-02 14:01:43 -0700
committerAndreas Huber <andih@google.com>2009-09-02 14:01:43 -0700
commite5adbeee3401915ff8e1a983396ce3554436b11c (patch)
treeb87c6bf50a10502ce2aa5878b9ebb9ffd73edd1f /include/media/stagefright/OMXCodec.h
parentbc327427531dddd3de2e55c093641207c013f0dd (diff)
downloadframeworks_av-e5adbeee3401915ff8e1a983396ce3554436b11c.zip
frameworks_av-e5adbeee3401915ff8e1a983396ce3554436b11c.tar.gz
frameworks_av-e5adbeee3401915ff8e1a983396ce3554436b11c.tar.bz2
Some work to make audio encoding work.
Diffstat (limited to 'include/media/stagefright/OMXCodec.h')
-rw-r--r--include/media/stagefright/OMXCodec.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/stagefright/OMXCodec.h b/include/media/stagefright/OMXCodec.h
index 5b0e0b4..6ddf2fe 100644
--- a/include/media/stagefright/OMXCodec.h
+++ b/include/media/stagefright/OMXCodec.h
@@ -155,6 +155,11 @@ private:
void setJPEGInputFormat(
OMX_U32 width, OMX_U32 height, OMX_U32 compressedSize);
+ void setMinBufferSize(OMX_U32 portIndex, OMX_U32 size);
+
+ void setRawAudioFormat(
+ OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);
+
status_t allocateBuffers();
status_t allocateBuffersOnPort(OMX_U32 portIndex);