diff options
author | Preetam Singh Ranawat <apranawat@codeaurora.org> | 2015-11-02 15:13:07 +0530 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-11-24 05:34:47 -0800 |
commit | b0d352bb03eb7229781d862c81d98886a65ca3aa (patch) | |
tree | 76d4d1c9f3856c20da67ef606eb413f77ef763f4 | |
parent | 674b61e4433b38098fd14173cccc0fdaec3e7b03 (diff) | |
download | android_hardware_qcom_media-b0d352bb03eb7229781d862c81d98886a65ca3aa.tar.gz android_hardware_qcom_media-b0d352bb03eb7229781d862c81d98886a65ca3aa.tar.bz2 android_hardware_qcom_media-b0d352bb03eb7229781d862c81d98886a65ca3aa.zip |
media : Add Max CSD values for ALAC and APE
-Add MAX CSD values for ALAC and APE.
-Add byteStreamMode flag in ALAC and APE structure.
Change-Id: I8da7c189f69dff5820c88d821c02bdd97758bc46
-rw-r--r-- | mm-core/inc/QOMX_AudioExtensions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm-core/inc/QOMX_AudioExtensions.h b/mm-core/inc/QOMX_AudioExtensions.h index 1603e1aa..17fa59c0 100644 --- a/mm-core/inc/QOMX_AudioExtensions.h +++ b/mm-core/inc/QOMX_AudioExtensions.h @@ -515,6 +515,7 @@ typedef struct QOMX_AUDIO_PARAM_ALACTYPE { OMX_U32 nSize; /* Size of the structure in bytes */ OMX_VERSIONTYPE nVersion; /**< OMX specification version information */ OMX_U32 nPortIndex; /* Port that this structure applies to */ + OMX_BOOL bBytesStreamMode; /*enable byte stream mode*/ OMX_U32 nFrameLength; /* Frames per packet when no explicit frames per packet setting is present in the packet header */ OMX_U8 nCompatibleVersion; /* Indicates the compatible version */ OMX_U8 nBitDepth; /* Bit depth of the source PCM data */ @@ -533,6 +534,7 @@ typedef struct QOMX_AUDIO_PARAM_APETYPE { OMX_U32 nSize; /* Size of the structure in bytes */ OMX_VERSIONTYPE nVersion; /**< OMX specification version information */ OMX_U32 nPortIndex; /* Port that this structure applies to */ + OMX_BOOL bBytesStreamMode; /*enable byte stream mode*/ OMX_U16 nCompatibleVersion; /* Indicates the compatible version */ OMX_U16 nCompressionLevel; /* The compression level present in the encoded packet */ OMX_U32 nFormatFlags; /* Reserved parameter for future use */ @@ -571,6 +573,7 @@ enum { kKeyIndexAlacAvgBitRate = 16, kKeyIndexAlacSamplingRate = 20, kKeyIndexAlacChannelLayoutTag = 24, + kKeyIndexAlacMax = kKeyIndexAlacChannelLayoutTag, }; enum { @@ -584,6 +587,7 @@ enum { kKeyIndexApeNumChannels = 22, kKeyIndexApeSampleRate = 24, kKeyIndexApeSeekTablePresent = 28, + kKeyIndexApeMax = kKeyIndexApeSeekTablePresent, }; enum { |