dsputil: Move fdct function declarations to dct.h

pull/9/merge
Diego Biurrun 12 years ago
parent 218aefce44
commit 5d3d39c72e
  1. 2
      libavcodec/dct-test.c
  2. 15
      libavcodec/dct.h
  3. 1
      libavcodec/dsputil.c
  4. 14
      libavcodec/dsputil.h
  5. 2
      libavcodec/jfdctfst.c
  6. 2
      libavcodec/jfdctint_template.c
  7. 2
      libavcodec/jrevdct.c
  8. 1
      libavcodec/mpegvideo_enc.c
  9. 1
      libavcodec/proresdsp.c
  10. 1
      libavcodec/x86/dsputilenc_mmx.c
  11. 2
      libavcodec/x86/fdct.c
  12. 2
      libavcodec/x86/mpegvideoenc.c

@ -39,7 +39,7 @@
#include "libavutil/lfg.h"
#include "libavutil/time.h"
#include "dsputil.h"
#include "dct.h"
#include "simple_idct.h"
#include "aandcttab.h"
#include "faandct.h"

@ -24,6 +24,8 @@
#ifndef AVCODEC_DCT_H
#define AVCODEC_DCT_H
#include <stdint.h>
#include "rdft.h"
struct DCTContext {
@ -49,4 +51,17 @@ void ff_dct_end (DCTContext *s);
void ff_dct_init_x86(DCTContext *s);
void ff_fdct_ifast(int16_t *data);
void ff_fdct_ifast248(int16_t *data);
void ff_jpeg_fdct_islow_8(int16_t *data);
void ff_jpeg_fdct_islow_10(int16_t *data);
void ff_fdct248_islow_8(int16_t *data);
void ff_fdct248_islow_10(int16_t *data);
void ff_j_rev_dct(int16_t *data);
void ff_fdct_mmx(int16_t *block);
void ff_fdct_mmxext(int16_t *block);
void ff_fdct_sse2(int16_t *block);
#endif /* AVCODEC_DCT_H */

@ -31,6 +31,7 @@
#include "libavutil/internal.h"
#include "avcodec.h"
#include "copy_block.h"
#include "dct.h"
#include "dsputil.h"
#include "simple_idct.h"
#include "faandct.h"

@ -35,20 +35,6 @@
//#define DEBUG
/* dct code */
void ff_fdct_ifast(int16_t *data);
void ff_fdct_ifast248(int16_t *data);
void ff_jpeg_fdct_islow_8(int16_t *data);
void ff_jpeg_fdct_islow_10(int16_t *data);
void ff_fdct248_islow_8(int16_t *data);
void ff_fdct248_islow_10(int16_t *data);
void ff_j_rev_dct(int16_t *data);
void ff_fdct_mmx(int16_t *block);
void ff_fdct_mmxext(int16_t *block);
void ff_fdct_sse2(int16_t *block);
/* encoding scans */
extern const uint8_t ff_alternate_horizontal_scan[64];

@ -69,7 +69,7 @@
#include <stdlib.h>
#include <stdio.h>
#include "libavutil/common.h"
#include "dsputil.h"
#include "dct.h"
#define DCTSIZE 8
#define GLOBAL(x) x

@ -60,7 +60,7 @@
*/
#include "libavutil/common.h"
#include "dsputil.h"
#include "dct.h"
#include "bit_depth_template.c"

@ -63,7 +63,7 @@
*/
#include "libavutil/common.h"
#include "dsputil.h"
#include "dct.h"
#define EIGHT_BIT_SAMPLES

@ -33,6 +33,7 @@
#include "libavutil/pixdesc.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "dct.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "h263.h"

@ -20,6 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "dct.h"
#include "dsputil.h"
#include "proresdsp.h"
#include "simple_idct.h"

@ -26,6 +26,7 @@
#include "libavutil/cpu.h"
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/dct.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegvideo.h"
#include "libavcodec/mathops.h"

@ -32,7 +32,7 @@
#include "libavutil/common.h"
#include "libavutil/x86/asm.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/dct.h"
#if HAVE_INLINE_ASM

@ -24,7 +24,7 @@
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/dct.h"
#include "libavcodec/mpegvideo.h"
#include "dsputil_mmx.h"

Loading…
Cancel
Save