@@ -39,7 +39,7 @@ | |||||
#include "libavutil/lfg.h" | #include "libavutil/lfg.h" | ||||
#include "libavutil/time.h" | #include "libavutil/time.h" | ||||
#include "dsputil.h" | |||||
#include "dct.h" | |||||
#include "simple_idct.h" | #include "simple_idct.h" | ||||
#include "aandcttab.h" | #include "aandcttab.h" | ||||
#include "faandct.h" | #include "faandct.h" | ||||
@@ -24,6 +24,8 @@ | |||||
#ifndef AVCODEC_DCT_H | #ifndef AVCODEC_DCT_H | ||||
#define AVCODEC_DCT_H | #define AVCODEC_DCT_H | ||||
#include <stdint.h> | |||||
#include "rdft.h" | #include "rdft.h" | ||||
struct DCTContext { | struct DCTContext { | ||||
@@ -49,4 +51,17 @@ void ff_dct_end (DCTContext *s); | |||||
void ff_dct_init_x86(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 */ | #endif /* AVCODEC_DCT_H */ |
@@ -31,6 +31,7 @@ | |||||
#include "libavutil/internal.h" | #include "libavutil/internal.h" | ||||
#include "avcodec.h" | #include "avcodec.h" | ||||
#include "copy_block.h" | #include "copy_block.h" | ||||
#include "dct.h" | |||||
#include "dsputil.h" | #include "dsputil.h" | ||||
#include "simple_idct.h" | #include "simple_idct.h" | ||||
#include "faandct.h" | #include "faandct.h" | ||||
@@ -35,20 +35,6 @@ | |||||
//#define DEBUG | //#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 */ | /* encoding scans */ | ||||
extern const uint8_t ff_alternate_horizontal_scan[64]; | extern const uint8_t ff_alternate_horizontal_scan[64]; | ||||
@@ -69,7 +69,7 @@ | |||||
#include <stdlib.h> | #include <stdlib.h> | ||||
#include <stdio.h> | #include <stdio.h> | ||||
#include "libavutil/common.h" | #include "libavutil/common.h" | ||||
#include "dsputil.h" | |||||
#include "dct.h" | |||||
#define DCTSIZE 8 | #define DCTSIZE 8 | ||||
#define GLOBAL(x) x | #define GLOBAL(x) x | ||||
@@ -60,7 +60,7 @@ | |||||
*/ | */ | ||||
#include "libavutil/common.h" | #include "libavutil/common.h" | ||||
#include "dsputil.h" | |||||
#include "dct.h" | |||||
#include "bit_depth_template.c" | #include "bit_depth_template.c" | ||||
@@ -63,7 +63,7 @@ | |||||
*/ | */ | ||||
#include "libavutil/common.h" | #include "libavutil/common.h" | ||||
#include "dsputil.h" | |||||
#include "dct.h" | |||||
#define EIGHT_BIT_SAMPLES | #define EIGHT_BIT_SAMPLES | ||||
@@ -33,6 +33,7 @@ | |||||
#include "libavutil/pixdesc.h" | #include "libavutil/pixdesc.h" | ||||
#include "libavutil/opt.h" | #include "libavutil/opt.h" | ||||
#include "avcodec.h" | #include "avcodec.h" | ||||
#include "dct.h" | |||||
#include "dsputil.h" | #include "dsputil.h" | ||||
#include "mpegvideo.h" | #include "mpegvideo.h" | ||||
#include "h263.h" | #include "h263.h" | ||||
@@ -20,6 +20,7 @@ | |||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||||
*/ | */ | ||||
#include "dct.h" | |||||
#include "dsputil.h" | #include "dsputil.h" | ||||
#include "proresdsp.h" | #include "proresdsp.h" | ||||
#include "simple_idct.h" | #include "simple_idct.h" | ||||
@@ -26,6 +26,7 @@ | |||||
#include "libavutil/cpu.h" | #include "libavutil/cpu.h" | ||||
#include "libavutil/x86/asm.h" | #include "libavutil/x86/asm.h" | ||||
#include "libavutil/x86/cpu.h" | #include "libavutil/x86/cpu.h" | ||||
#include "libavcodec/dct.h" | |||||
#include "libavcodec/dsputil.h" | #include "libavcodec/dsputil.h" | ||||
#include "libavcodec/mpegvideo.h" | #include "libavcodec/mpegvideo.h" | ||||
#include "libavcodec/mathops.h" | #include "libavcodec/mathops.h" | ||||
@@ -32,7 +32,7 @@ | |||||
#include "libavutil/common.h" | #include "libavutil/common.h" | ||||
#include "libavutil/x86/asm.h" | #include "libavutil/x86/asm.h" | ||||
#include "libavcodec/dsputil.h" | |||||
#include "libavcodec/dct.h" | |||||
#if HAVE_INLINE_ASM | #if HAVE_INLINE_ASM | ||||
@@ -24,7 +24,7 @@ | |||||
#include "libavutil/x86/asm.h" | #include "libavutil/x86/asm.h" | ||||
#include "libavutil/x86/cpu.h" | #include "libavutil/x86/cpu.h" | ||||
#include "libavcodec/avcodec.h" | #include "libavcodec/avcodec.h" | ||||
#include "libavcodec/dsputil.h" | |||||
#include "libavcodec/dct.h" | |||||
#include "libavcodec/mpegvideo.h" | #include "libavcodec/mpegvideo.h" | ||||
#include "dsputil_mmx.h" | #include "dsputil_mmx.h" | ||||