Browse Source

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

be used in the E-AC-3 encoder.
tags/n0.9
Justin Ruggles 14 years ago
parent
commit
31b69928e5
4 changed files with 8 additions and 8 deletions
  1. +1
    -1
      libavcodec/Makefile
  2. +2
    -2
      libavcodec/eac3_data.c
  3. +4
    -4
      libavcodec/eac3_data.h
  4. +1
    -1
      libavcodec/eac3dec.c

+ 1
- 1
libavcodec/Makefile View File

@@ -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


libavcodec/eac3dec_data.c → libavcodec/eac3_data.c View File

@@ -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] = {

libavcodec/eac3dec_data.h → libavcodec/eac3_data.h View File

@@ -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
#define AVCODEC_EAC3DEC_DATA_H
#ifndef AVCODEC_EAC3_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 */

+ 1
- 1
libavcodec/eac3dec.c View File

@@ -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