| @@ -30,6 +30,7 @@ | |||||
| #include "libavcodec/cavsdsp.h" | #include "libavcodec/cavsdsp.h" | ||||
| #include "constants.h" | #include "constants.h" | ||||
| #include "dsputil_x86.h" | #include "dsputil_x86.h" | ||||
| #include "fpel.h" | |||||
| #include "config.h" | #include "config.h" | ||||
| #if HAVE_MMX_INLINE | #if HAVE_MMX_INLINE | ||||
| @@ -28,6 +28,7 @@ | |||||
| #include "libavcodec/simple_idct.h" | #include "libavcodec/simple_idct.h" | ||||
| #include "libavcodec/version.h" | #include "libavcodec/version.h" | ||||
| #include "dsputil_x86.h" | #include "dsputil_x86.h" | ||||
| #include "fpel.h" | |||||
| #include "idct_xvid.h" | #include "idct_xvid.h" | ||||
| void ff_put_pixels8_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2, | void ff_put_pixels8_l2_mmxext(uint8_t *dst, uint8_t *src1, uint8_t *src2, | ||||
| @@ -61,23 +61,6 @@ void ff_gmc_mmx(uint8_t *dst, uint8_t *src, | |||||
| void ff_vector_clipf_sse(float *dst, const float *src, | void ff_vector_clipf_sse(float *dst, const float *src, | ||||
| float min, float max, int len); | float min, float max, int len); | ||||
| void ff_avg_pixels8_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels16_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels16_sse2(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels16_sse2(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels8_x2_mmx(uint8_t *block, const uint8_t *pixels, | void ff_avg_pixels8_x2_mmx(uint8_t *block, const uint8_t *pixels, | ||||
| ptrdiff_t line_size, int h); | ptrdiff_t line_size, int h); | ||||
| @@ -0,0 +1,43 @@ | |||||
| /* | |||||
| * This file is part of Libav. | |||||
| * | |||||
| * Libav is free software; you can redistribute it and/or | |||||
| * modify it under the terms of the GNU Lesser General Public | |||||
| * License as published by the Free Software Foundation; either | |||||
| * version 2.1 of the License, or (at your option) any later version. | |||||
| * | |||||
| * Libav is distributed in the hope that it will be useful, | |||||
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||||
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||||
| * Lesser General Public License for more details. | |||||
| * | |||||
| * You should have received a copy of the GNU Lesser General Public | |||||
| * License along with Libav; if not, write to the Free Software | |||||
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |||||
| */ | |||||
| #ifndef AVCODEC_X86_FPEL_H | |||||
| #define AVCODEC_X86_FPEL_H | |||||
| #include <stddef.h> | |||||
| #include <stdint.h> | |||||
| void ff_avg_pixels8_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels16_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_avg_pixels16_sse2(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels8_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels8_mmxext(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels16_mmx(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| void ff_put_pixels16_sse2(uint8_t *block, const uint8_t *pixels, | |||||
| ptrdiff_t line_size, int h); | |||||
| #endif /* AVCODEC_X86_FPEL_H */ | |||||
| @@ -25,7 +25,7 @@ | |||||
| #include <stdint.h> | #include <stdint.h> | ||||
| #include "config.h" | #include "config.h" | ||||
| #include "dsputil_x86.h" | |||||
| #include "fpel.h" | |||||
| #include "inline_asm.h" | #include "inline_asm.h" | ||||
| #if HAVE_MMX_INLINE | #if HAVE_MMX_INLINE | ||||
| @@ -26,7 +26,7 @@ | |||||
| #include "libavcodec/h264qpel.h" | #include "libavcodec/h264qpel.h" | ||||
| #include "libavcodec/mpegvideo.h" | #include "libavcodec/mpegvideo.h" | ||||
| #include "libavcodec/pixels.h" | #include "libavcodec/pixels.h" | ||||
| #include "dsputil_x86.h" | |||||
| #include "fpel.h" | |||||
| #if HAVE_YASM | #if HAVE_YASM | ||||
| void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, | void ff_put_pixels4_mmxext(uint8_t *block, const uint8_t *pixels, | ||||
| @@ -30,6 +30,7 @@ | |||||
| #include "libavcodec/hpeldsp.h" | #include "libavcodec/hpeldsp.h" | ||||
| #include "libavcodec/pixels.h" | #include "libavcodec/pixels.h" | ||||
| #include "dsputil_x86.h" | #include "dsputil_x86.h" | ||||
| #include "fpel.h" | |||||
| void ff_put_pixels8_x2_mmxext(uint8_t *block, const uint8_t *pixels, | void ff_put_pixels8_x2_mmxext(uint8_t *block, const uint8_t *pixels, | ||||
| ptrdiff_t line_size, int h); | ptrdiff_t line_size, int h); | ||||
| @@ -28,7 +28,7 @@ | |||||
| #include "libavutil/cpu.h" | #include "libavutil/cpu.h" | ||||
| #include "libavutil/x86/cpu.h" | #include "libavutil/x86/cpu.h" | ||||
| #include "libavcodec/vc1dsp.h" | #include "libavcodec/vc1dsp.h" | ||||
| #include "dsputil_x86.h" | |||||
| #include "fpel.h" | |||||
| #include "vc1dsp.h" | #include "vc1dsp.h" | ||||
| #include "config.h" | #include "config.h" | ||||
| @@ -31,7 +31,7 @@ | |||||
| #include "libavutil/x86/cpu.h" | #include "libavutil/x86/cpu.h" | ||||
| #include "libavcodec/vc1dsp.h" | #include "libavcodec/vc1dsp.h" | ||||
| #include "constants.h" | #include "constants.h" | ||||
| #include "dsputil_x86.h" | |||||
| #include "fpel.h" | |||||
| #include "vc1dsp.h" | #include "vc1dsp.h" | ||||
| #if HAVE_INLINE_ASM | #if HAVE_INLINE_ASM | ||||