[bTSstream-devel] aac: add enumerations

Christophe Massiot git at videolan.org
Sun Nov 15 16:15:01 CET 2015


bitstream | branch: master | Christophe Massiot <cmassiot at openheadend.tv> | Sun Nov 15 16:14:52 2015 +0100| [99dede6f8bd67492e50e608583cc7b1204909884] | committer: Christophe Massiot

aac: add enumerations

> http://git.videolan.org/gitweb.cgi/bitstream.git/?a=commit;h=99dede6f8bd67492e50e608583cc7b1204909884
---

 mpeg/aac.h |   11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/mpeg/aac.h b/mpeg/aac.h
index 767efc7..c238881 100644
--- a/mpeg/aac.h
+++ b/mpeg/aac.h
@@ -46,7 +46,11 @@ extern "C"
  * ADTS header
  *****************************************************************************/
 #define ADTS_HEADER_SIZE        7
+#define ADTS_CRC_SIZE           2
 #define ADTS_SAMPLES_PER_BLOCK  1024
+#define ADTS_PROFILE_MAIN       0
+#define ADTS_PROFILE_LC         1
+#define ADTS_PROFILE_SSR        2
 
 /* fixed header */
 static inline void adts_set_sync(uint8_t *p_adts)
@@ -197,6 +201,13 @@ static inline bool adts_sync_compare_formats(const uint8_t *p_adts1, const uint8
            (p_adts1[3] & 0xc0) == (p_adts2[3] & 0xc0);
 }
 
+/*****************************************************************************
+ * AudioSpecificConfig
+ *****************************************************************************/
+#define ASC_TYPE_MAIN           1
+#define ASC_TYPE_LC             2
+#define ASC_TYPE_SSR            3
+
 #ifdef __cplusplus
 }
 #endif



More information about the biTStream-devel mailing list