summaryrefslogtreecommitdiff
path: root/include/uapi/sound
diff options
context:
space:
mode:
authorBanajit Goswami <bgoswami@codeaurora.org>2014-08-23 16:00:57 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 20:10:24 -0700
commitae3cbed9e03acff3ed2b5a9dc5c7c609ee1f9781 (patch)
tree373c1134db4ed7527f7342bd354ee228e5c1ed2d /include/uapi/sound
parent533fdee7771df1b4a52c4855039fac8e70b33671 (diff)
SoC: msm: Add support for meta data in compressed TX
There is a usecase where compressed data is sent over HDMI IN to ADSP. The format of compressed is detected in ADSP and sent through the meta data to compressed driver. Add support for meta data in compressed TX for this use case. Change-Id: Idbb18fe4a0ad828e9c2e9d7beec048b3cedf002d Signed-off-by: Subhash Chandra Bose Naripeddy <snariped@codeaurora.org> Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Diffstat (limited to 'include/uapi/sound')
-rw-r--r--include/uapi/sound/compress_params.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/uapi/sound/compress_params.h b/include/uapi/sound/compress_params.h
index ffea8c067d73..213302d22d95 100644
--- a/include/uapi/sound/compress_params.h
+++ b/include/uapi/sound/compress_params.h
@@ -59,6 +59,15 @@
#define MAX_NUM_BITRATES 32
#define MAX_NUM_SAMPLE_RATES 32
+/* compressed TX */
+#define MAX_NUM_FRAMES_PER_BUFFER 1
+#define COMPRESSED_META_DATA_MODE 0x10
+#define META_DATA_LEN_BYTES 36
+#define Q6_AC3_DECODER 0x00010BF6
+#define Q6_EAC3_DECODER 0x00010C3C
+#define Q6_DTS 0x00010D88
+#define Q6_DTS_LBR 0x00010DBB
+
/* Codecs are listed linearly to allow for extensibility */
#define SND_AUDIOCODEC_PCM ((__u32) 0x00000001)
#define SND_AUDIOCODEC_MP3 ((__u32) 0x00000002)