diff options
Diffstat (limited to 'apps/codecs/libfaad/ps_dec.h')
-rw-r--r-- | apps/codecs/libfaad/ps_dec.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/ps_dec.h b/apps/codecs/libfaad/ps_dec.h index 9c51e6b4ad..14e4bd54e6 100644 --- a/apps/codecs/libfaad/ps_dec.h +++ b/apps/codecs/libfaad/ps_dec.h | |||
@@ -43,6 +43,17 @@ extern "C" { | |||
43 | 43 | ||
44 | typedef struct | 44 | typedef struct |
45 | { | 45 | { |
46 | uint8_t frame_len; | ||
47 | uint8_t resolution20[3]; | ||
48 | uint8_t resolution34[5]; | ||
49 | |||
50 | qmf_t work[32+12]; | ||
51 | qmf_t buffer[5][32]; | ||
52 | qmf_t temp[32][12]; | ||
53 | } hyb_info; | ||
54 | |||
55 | typedef struct | ||
56 | { | ||
46 | /* bitstream parameters */ | 57 | /* bitstream parameters */ |
47 | uint8_t enable_iid; | 58 | uint8_t enable_iid; |
48 | uint8_t enable_icc; | 59 | uint8_t enable_icc; |
@@ -89,7 +100,7 @@ typedef struct | |||
89 | uint8_t header_read; | 100 | uint8_t header_read; |
90 | 101 | ||
91 | /* hybrid filterbank parameters */ | 102 | /* hybrid filterbank parameters */ |
92 | void *hyb; | 103 | hyb_info hyb; |
93 | uint8_t use34hybrid_bands; | 104 | uint8_t use34hybrid_bands; |
94 | 105 | ||
95 | /**/ | 106 | /**/ |
@@ -137,7 +148,7 @@ typedef struct | |||
137 | uint16_t ps_data(ps_info *ps, bitfile *ld, uint8_t *header); | 148 | uint16_t ps_data(ps_info *ps, bitfile *ld, uint8_t *header); |
138 | 149 | ||
139 | /* ps_dec.c */ | 150 | /* ps_dec.c */ |
140 | ps_info *ps_init(uint8_t sr_index); | 151 | void ps_init(ps_info *ps); |
141 | 152 | ||
142 | uint8_t ps_decode(ps_info *ps, | 153 | uint8_t ps_decode(ps_info *ps, |
143 | qmf_t X_left[MAX_NTSRPS][64], | 154 | qmf_t X_left[MAX_NTSRPS][64], |