summaryrefslogtreecommitdiff
path: root/libavcodec/dca_lbr.h
diff options
context:
space:
mode:
authorfoo86 <foobaz86@gmail.com>2017-07-10 17:11:31 +0300
committerJames Almer <jamrial@gmail.com>2017-07-18 21:04:55 -0300
commitf6b86b62f785a67a356c87f5ea483a1cbe338191 (patch)
treeb7c319a425f3fa8cfb089df32d712f17ea427e87 /libavcodec/dca_lbr.h
parent5c7e7ac6d4504364b2f08a05cc983ced76bb5c51 (diff)
downloadffmpeg-f6b86b62f785a67a356c87f5ea483a1cbe338191.tar.gz
avcodec/dca: move some enumeration typedefs into headers
These values will be used by the parser. Prefix them with DCA_ appropriately. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dca_lbr.h')
-rw-r--r--libavcodec/dca_lbr.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/dca_lbr.h b/libavcodec/dca_lbr.h
index e6ca8057e9..6d4c0a8a63 100644
--- a/libavcodec/dca_lbr.h
+++ b/libavcodec/dca_lbr.h
@@ -41,6 +41,11 @@
#define DCA_LBR_TIME_SAMPLES 128
#define DCA_LBR_TIME_HISTORY 8
+enum DCALBRHeader {
+ DCA_LBR_HEADER_SYNC_ONLY = 1,
+ DCA_LBR_HEADER_DECODER_INIT = 2
+};
+
typedef struct DCALbrTone {
uint8_t x_freq; ///< Spectral line offset
uint8_t f_delt; ///< Difference between original and center frequency