Revision f49747e9

View differences:

libavcodec/x86/cavsdsp_mmx.c
437 437
CAVS_MC(avg_, 8, mmx2)
438 438
CAVS_MC(avg_, 16,mmx2)
439 439

  
440
void ff_put_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
441
void ff_avg_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
442
void ff_put_cavs_qpel16_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
443
void ff_avg_cavs_qpel16_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
444

  
445 440
void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx) {
446 441
#define dspfunc(PFX, IDX, NUM) \
447 442
    c->PFX ## _pixels_tab[IDX][ 0] = ff_ ## PFX ## NUM ## _mc00_mmx2; \
libavcodec/x86/dsputil_mmx.c
1818 1818
#include "rv40dsp_mmx.c"
1819 1819

  
1820 1820
/* CAVS specific */
1821
void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx);
1822
void ff_cavsdsp_init_3dnow(DSPContext* c, AVCodecContext *avctx);
1823

  
1824 1821
void ff_put_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride) {
1825 1822
    put_pixels8_mmx(dst, src, stride, 8);
1826 1823
}
......
1835 1832
}
1836 1833

  
1837 1834
/* VC1 specific */
1838
void ff_vc1dsp_init_mmx(DSPContext* dsp, AVCodecContext *avctx);
1839

  
1840 1835
void ff_put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd) {
1841 1836
    put_pixels8_mmx(dst, src, stride, 8);
1842 1837
}
......
1844 1839
    avg_pixels8_mmx2(dst, src, stride, 8);
1845 1840
}
1846 1841

  
1847
/* external functions, from idct_mmx.c */
1848
void ff_mmx_idct(DCTELEM *block);
1849
void ff_mmxext_idct(DCTELEM *block);
1850

  
1851 1842
/* XXX: those functions should be suppressed ASAP when all IDCTs are
1852 1843
   converted */
1853 1844
#if CONFIG_GPL
......
2499 2490
        float_to_int16_interleave_3dnow(dst, src, len, channels);
2500 2491
}
2501 2492

  
2502

  
2503
void ff_snow_horizontal_compose97i_sse2(IDWTELEM *b, int width);
2504
void ff_snow_horizontal_compose97i_mmx(IDWTELEM *b, int width);
2505
void ff_snow_vertical_compose97i_sse2(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width);
2506
void ff_snow_vertical_compose97i_mmx(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width);
2507
void ff_snow_inner_add_yblock_sse2(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
2508
                                   int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
2509
void ff_snow_inner_add_yblock_mmx(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
2510
                                  int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
2511

  
2512

  
2513 2493
float ff_scalarproduct_float_sse(const float *v1, const float *v2, int order);
2514 2494

  
2515 2495
void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
libavcodec/x86/dsputil_mmx.h
156 156
void put_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size);
157 157
void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size);
158 158

  
159
void ff_cavsdsp_init_mmx2(DSPContext* c, AVCodecContext *avctx);
160
void ff_cavsdsp_init_3dnow(DSPContext* c, AVCodecContext *avctx);
161
void ff_put_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
162
void ff_avg_cavs_qpel8_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
163
void ff_put_cavs_qpel16_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
164
void ff_avg_cavs_qpel16_mc00_mmx2(uint8_t *dst, uint8_t *src, int stride);
165

  
166
void ff_vc1dsp_init_mmx(DSPContext* dsp, AVCodecContext *avctx);
167
void ff_put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd);
168
void ff_avg_vc1_mspel_mc00_mmx2(uint8_t *dst, const uint8_t *src, int stride, int rnd);
169

  
170
void ff_snow_horizontal_compose97i_sse2(IDWTELEM *b, int width);
171
void ff_snow_horizontal_compose97i_mmx(IDWTELEM *b, int width);
172
void ff_snow_vertical_compose97i_sse2(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width);
173
void ff_snow_vertical_compose97i_mmx(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5, int width);
174
void ff_snow_inner_add_yblock_sse2(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
175
                                   int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
176
void ff_snow_inner_add_yblock_mmx(const uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
177
                                  int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
178

  
179
void ff_lpc_compute_autocorr_sse2(const int32_t *data, int len, int lag,
180
                                   double *autoc);
181

  
182
void ff_mmx_idct(DCTELEM *block);
183
void ff_mmxext_idct(DCTELEM *block);
184

  
159 185
#endif /* AVCODEC_X86_DSPUTIL_MMX_H */
libavcodec/x86/dsputilenc_mmx.c
1348 1348
#endif //HAVE_SSSE3
1349 1349

  
1350 1350

  
1351
void ff_lpc_compute_autocorr_sse2(const int32_t *data, int len, int lag,
1352
                                   double *autoc);
1353

  
1354

  
1355 1351
void dsputilenc_init_mmx(DSPContext* c, AVCodecContext *avctx)
1356 1352
{
1357 1353
    if (mm_flags & FF_MM_MMX) {
libavcodec/x86/idct_mmx.c
23 23
#include "libavutil/common.h"
24 24
#include "libavcodec/dsputil.h"
25 25

  
26
#include "dsputil_mmx.h"
26 27
#include "mmx.h"
27 28

  
28 29
#define ATTR_ALIGN(align) __attribute__ ((__aligned__ (align)))
......
594 595
    idct_col (block, 4);                                                \
595 596
}
596 597

  
597
void ff_mmx_idct(DCTELEM *block);
598
void ff_mmxext_idct(DCTELEM *block);
599

  
600 598
declare_idct (ff_mmxext_idct, mmxext_table,
601 599
              mmxext_row_head, mmxext_row, mmxext_row_tail, mmxext_row_mid)
602 600

  
libavcodec/x86/vc1dsp_mmx.c
463 463
VC1_MSPEL_MC(put_)
464 464
VC1_MSPEL_MC(avg_)
465 465

  
466
void ff_put_vc1_mspel_mc00_mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd);
467
void ff_avg_vc1_mspel_mc00_mmx2(uint8_t *dst, const uint8_t *src, int stride, int rnd);
468

  
469 466
/** Macro to ease bicubic filter interpolation functions declarations */
470 467
#define DECLARE_FUNCTION(a, b)                                          \
471 468
static void put_vc1_mspel_mc ## a ## b ## _mmx(uint8_t *dst, const uint8_t *src, int stride, int rnd) { \

Also available in: Unified diff