summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJean-Michel Trivi <jmtrivi@google.com>2012-04-30 10:38:58 -0700
committerJean-Michel Trivi <jmtrivi@google.com>2012-05-09 18:50:18 -0700
commit2f74ef3cdc192f817ee1121f41765f0852c1d81e (patch)
treea088a328c59fc8fba57269e9b0dc899eb5182b35 /include
parentc150ca7dda844891fa684f6898da7f7e0c40329d (diff)
downloadframeworks_av-2f74ef3cdc192f817ee1121f41765f0852c1d81e.zip
frameworks_av-2f74ef3cdc192f817ee1121f41765f0852c1d81e.tar.gz
frameworks_av-2f74ef3cdc192f817ee1121f41765f0852c1d81e.tar.bz2
OMX IL wrapper for FLAC encoder
Add wrapper around libFLAC for FLAC encoding in OpenMAX IL. Declare FLAC encoder in OMX component roles. Bug 5525503 Change-Id: I19bbce41c216870669d09365693f4ea89f8bc0f7
Diffstat (limited to 'include')
-rw-r--r--include/media/stagefright/ACodec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/media/stagefright/ACodec.h b/include/media/stagefright/ACodec.h
index 7536d10..dd18e95 100644
--- a/include/media/stagefright/ACodec.h
+++ b/include/media/stagefright/ACodec.h
@@ -198,6 +198,9 @@ private:
status_t setupAMRCodec(bool encoder, bool isWAMR, int32_t bitRate);
status_t setupG711Codec(bool encoder, int32_t numChannels);
+ status_t setupFlacCodec(
+ bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel);
+
status_t setupRawAudioFormat(
OMX_U32 portIndex, int32_t sampleRate, int32_t numChannels);