cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also

be used in the E-AC-3 encoder.
pull/2/head
Justin Ruggles 14 years ago
parent 29b42c66f7
commit 31b69928e5
  1. 2
      libavcodec/Makefile
  2. 4
      libavcodec/eac3_data.c
  3. 8
      libavcodec/eac3_data.h
  4. 2
      libavcodec/eac3dec.c

@ -122,7 +122,7 @@ OBJS-$(CONFIG_DVDSUB_ENCODER) += dvdsubenc.o
OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o dvdata.o OBJS-$(CONFIG_DVVIDEO_DECODER) += dv.o dvdata.o
OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o dvdata.o OBJS-$(CONFIG_DVVIDEO_ENCODER) += dv.o dvdata.o
OBJS-$(CONFIG_DXA_DECODER) += dxa.o OBJS-$(CONFIG_DXA_DECODER) += dxa.o
OBJS-$(CONFIG_EAC3_DECODER) += eac3dec.o eac3dec_data.o OBJS-$(CONFIG_EAC3_DECODER) += eac3dec.o eac3_data.o
OBJS-$(CONFIG_EAC3_ENCODER) += eac3enc.o ac3enc.o ac3enc_float.o \ OBJS-$(CONFIG_EAC3_ENCODER) += eac3enc.o ac3enc.o ac3enc_float.o \
ac3tab.o ac3.o kbdwin.o ac3tab.o ac3.o kbdwin.o
OBJS-$(CONFIG_EACMV_DECODER) += eacmv.o OBJS-$(CONFIG_EACMV_DECODER) += eacmv.o

@ -1,5 +1,5 @@
/* /*
* E-AC-3 decoder tables * E-AC-3 tables
* Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com> * Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com>
* *
* This file is part of Libav. * This file is part of Libav.
@ -24,7 +24,7 @@
* Tables taken directly from the E-AC-3 spec. * Tables taken directly from the E-AC-3 spec.
*/ */
#include "eac3dec_data.h" #include "eac3_data.h"
#include "ac3.h" #include "ac3.h"
const uint8_t ff_eac3_bits_vs_hebap[20] = { const uint8_t ff_eac3_bits_vs_hebap[20] = {

@ -1,5 +1,5 @@
/* /*
* E-AC-3 decoder tables * E-AC-3 tables
* Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com> * Copyright (c) 2007 Bartlomiej Wolowiec <bartek.wolowiec@gmail.com>
* *
* This file is part of Libav. * This file is part of Libav.
@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/ */
#ifndef AVCODEC_EAC3DEC_DATA_H #ifndef AVCODEC_EAC3_DATA_H
#define AVCODEC_EAC3DEC_DATA_H #define AVCODEC_EAC3_DATA_H
#include <stdint.h> #include <stdint.h>
@ -33,4 +33,4 @@ extern const int16_t (* const ff_eac3_mantissa_vq[8])[6];
extern const uint8_t ff_eac3_frm_expstr[32][6]; extern const uint8_t ff_eac3_frm_expstr[32][6];
extern const float ff_eac3_spx_atten_tab[32][3]; extern const float ff_eac3_spx_atten_tab[32][3];
#endif /* AVCODEC_EAC3DEC_DATA_H */ #endif /* AVCODEC_EAC3_DATA_H */

@ -51,7 +51,7 @@
#include "ac3_parser.h" #include "ac3_parser.h"
#include "ac3dec.h" #include "ac3dec.h"
#include "ac3dec_data.h" #include "ac3dec_data.h"
#include "eac3dec_data.h" #include "eac3_data.h"
/** gain adaptive quantization mode */ /** gain adaptive quantization mode */
typedef enum { typedef enum {

Loading…
Cancel
Save