]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/gsmdec_data.h
hevc: remove HEVCContext usage from hevc_ps
[ffmpeg] / libavcodec / gsmdec_data.h
index 2ff2322ab15929dc1cfded4d3f1db9eedb9863d4..f5581d53ba88c10cc5987279e44959cd4802f112 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_GSMDEC_DATA
-#define AVCODEC_GSMDEC_DATA
+#ifndef AVCODEC_GSMDEC_DATA_H
+#define AVCODEC_GSMDEC_DATA_H
 
 #include <stdint.h>
 #include "avcodec.h"
 
-typedef struct {
-    AVFrame frame;
+typedef struct GSMContext {
     // Contains first 120 elements from the previous frame
     // (used by long_term_synth according to the "lag"),
     // then in the following 160 elements the current
@@ -41,4 +40,6 @@ typedef struct {
 extern const uint16_t ff_gsm_long_term_gain_tab[4];
 extern const int16_t ff_gsm_dequant_tab[64][8];
 
-#endif /* AVCODEC_GSMDEC_DATA */
+extern const int* const ff_gsm_apcm_bits[][4];
+
+#endif /* AVCODEC_GSMDEC_DATA_H */