diff options
Diffstat (limited to 'apps/codecs/libcook/dsputil.h')
-rw-r--r-- | apps/codecs/libcook/dsputil.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/codecs/libcook/dsputil.h b/apps/codecs/libcook/dsputil.h index e9c2bfc77e..4573c17a62 100644 --- a/apps/codecs/libcook/dsputil.h +++ b/apps/codecs/libcook/dsputil.h | |||
@@ -36,6 +36,7 @@ | |||
36 | 36 | ||
37 | //#define DEBUG | 37 | //#define DEBUG |
38 | /* dct code */ | 38 | /* dct code */ |
39 | #if 0 /*MT : DELETE THIS LINE.*/ | ||
39 | typedef short DCTELEM; | 40 | typedef short DCTELEM; |
40 | typedef int DWTELEM; | 41 | typedef int DWTELEM; |
41 | typedef short IDWTELEM; | 42 | typedef short IDWTELEM; |
@@ -590,8 +591,10 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx); | |||
590 | void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx); | 591 | void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx); |
591 | void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx); | 592 | void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx); |
592 | 593 | ||
594 | #endif /*MT : DELETE THIS LINE ONLY. */ | ||
593 | #define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v) | 595 | #define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v) |
594 | 596 | ||
597 | #if 0 /*MT : DELETE THIS LINE ONLY. */ | ||
595 | #if HAVE_MMX | 598 | #if HAVE_MMX |
596 | 599 | ||
597 | #undef emms_c | 600 | #undef emms_c |
@@ -644,10 +647,12 @@ extern int mm_flags; | |||
644 | 647 | ||
645 | #endif | 648 | #endif |
646 | 649 | ||
650 | #endif /* MT : DELETE THIS LINE ONLY */ | ||
647 | #ifndef DECLARE_ALIGNED_8 | 651 | #ifndef DECLARE_ALIGNED_8 |
648 | # define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) | 652 | # define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) |
649 | #endif | 653 | #endif |
650 | 654 | ||
655 | #if 0 /* MT : DELETE THIS LINE ONLY */ | ||
651 | #ifndef STRIDE_ALIGN | 656 | #ifndef STRIDE_ALIGN |
652 | # define STRIDE_ALIGN 8 | 657 | # define STRIDE_ALIGN 8 |
653 | #endif | 658 | #endif |
@@ -657,6 +662,7 @@ void get_psnr(uint8_t *orig_image[3], uint8_t *coded_image[3], | |||
657 | int orig_linesize[3], int coded_linesize, | 662 | int orig_linesize[3], int coded_linesize, |
658 | AVCodecContext *avctx); | 663 | AVCodecContext *avctx); |
659 | 664 | ||
665 | #endif /*MT : DELETE THIS LINE.*/ | ||
660 | /* FFT computation */ | 666 | /* FFT computation */ |
661 | 667 | ||
662 | /* NOTE: soon integer code will be added, so you must use the | 668 | /* NOTE: soon integer code will be added, so you must use the |
@@ -715,6 +721,7 @@ static inline void ff_fft_calc(FFTContext *s, FFTComplex *z) | |||
715 | } | 721 | } |
716 | void ff_fft_end(FFTContext *s); | 722 | void ff_fft_end(FFTContext *s); |
717 | 723 | ||
724 | #endif /*MT : DELETE THIS LINE.*/ | ||
718 | /* MDCT computation */ | 725 | /* MDCT computation */ |
719 | 726 | ||
720 | typedef struct MDCTContext { | 727 | typedef struct MDCTContext { |
@@ -735,6 +742,7 @@ static inline void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSam | |||
735 | s->fft.imdct_half(s, output, input); | 742 | s->fft.imdct_half(s, output, input); |
736 | } | 743 | } |
737 | 744 | ||
745 | #if 0 /* MT : DELETE THIS LINE. */ | ||
738 | /** | 746 | /** |
739 | * Generate a Kaiser-Bessel Derived Window. | 747 | * Generate a Kaiser-Bessel Derived Window. |
740 | * @param window pointer to half window | 748 | * @param window pointer to half window |
@@ -742,6 +750,7 @@ static inline void ff_imdct_half(MDCTContext *s, FFTSample *output, const FFTSam | |||
742 | * @param n size of half window | 750 | * @param n size of half window |
743 | */ | 751 | */ |
744 | void ff_kbd_window_init(float *window, float alpha, int n); | 752 | void ff_kbd_window_init(float *window, float alpha, int n); |
753 | #endif /* MT : DELETE THIS LINE.*/ | ||
745 | 754 | ||
746 | /** | 755 | /** |
747 | * Generate a sine window. | 756 | * Generate a sine window. |
@@ -769,6 +778,7 @@ void ff_imdct_half_sse(MDCTContext *s, FFTSample *output, const FFTSample *input | |||
769 | void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input); | 778 | void ff_mdct_calc(MDCTContext *s, FFTSample *out, const FFTSample *input); |
770 | void ff_mdct_end(MDCTContext *s); | 779 | void ff_mdct_end(MDCTContext *s); |
771 | 780 | ||
781 | #if 0 /* MT : DELETE THIS LINE.*/ | ||
772 | /* Real Discrete Fourier Transform */ | 782 | /* Real Discrete Fourier Transform */ |
773 | 783 | ||
774 | enum RDFTransformType { | 784 | enum RDFTransformType { |