Revision 38e016a7 libavcodec/arm/dsputil_init_armv6.c

View differences:

libavcodec/arm/dsputil_init_armv6.c
18 18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 19
 */
20 20

  
21
#include <stdint.h>
22

  
23
#include "libavcodec/avcodec.h"
21 24
#include "libavcodec/dsputil.h"
22 25
#include "dsputil_arm.h"
23 26

  
......
25 28
void ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data);
26 29
void ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data);
27 30

  
31
void ff_put_pixels16_armv6(uint8_t *, const uint8_t *, int, int);
32
void ff_put_pixels16_x2_armv6(uint8_t *, const uint8_t *, int, int);
33
void ff_put_pixels16_y2_armv6(uint8_t *, const uint8_t *, int, int);
34

  
35
void ff_put_pixels16_x2_no_rnd_armv6(uint8_t *, const uint8_t *, int, int);
36
void ff_put_pixels16_y2_no_rnd_armv6(uint8_t *, const uint8_t *, int, int);
37

  
38
void ff_avg_pixels16_armv6(uint8_t *, const uint8_t *, int, int);
39

  
40
void ff_put_pixels8_armv6(uint8_t *, const uint8_t *, int, int);
41
void ff_put_pixels8_x2_armv6(uint8_t *, const uint8_t *, int, int);
42
void ff_put_pixels8_y2_armv6(uint8_t *, const uint8_t *, int, int);
43

  
44
void ff_put_pixels8_x2_no_rnd_armv6(uint8_t *, const uint8_t *, int, int);
45
void ff_put_pixels8_y2_no_rnd_armv6(uint8_t *, const uint8_t *, int, int);
46

  
47
void ff_avg_pixels8_armv6(uint8_t *, const uint8_t *, int, int);
48

  
28 49
void ff_add_pixels_clamped_armv6(const DCTELEM *block,
29 50
                                 uint8_t *restrict pixels,
30 51
                                 int line_size);
......
39 60
        c->idct_permutation_type = FF_LIBMPEG2_IDCT_PERM;
40 61
    }
41 62

  
63
    c->put_pixels_tab[0][0] = ff_put_pixels16_armv6;
64
    c->put_pixels_tab[0][1] = ff_put_pixels16_x2_armv6;
65
    c->put_pixels_tab[0][2] = ff_put_pixels16_y2_armv6;
66
/*     c->put_pixels_tab[0][3] = ff_put_pixels16_xy2_armv6; */
67
    c->put_pixels_tab[1][0] = ff_put_pixels8_armv6;
68
    c->put_pixels_tab[1][1] = ff_put_pixels8_x2_armv6;
69
    c->put_pixels_tab[1][2] = ff_put_pixels8_y2_armv6;
70
/*     c->put_pixels_tab[1][3] = ff_put_pixels8_xy2_armv6; */
71

  
72
    c->put_no_rnd_pixels_tab[0][0] = ff_put_pixels16_armv6;
73
    c->put_no_rnd_pixels_tab[0][1] = ff_put_pixels16_x2_no_rnd_armv6;
74
    c->put_no_rnd_pixels_tab[0][2] = ff_put_pixels16_y2_no_rnd_armv6;
75
/*     c->put_no_rnd_pixels_tab[0][3] = ff_put_pixels16_xy2_no_rnd_armv6; */
76
    c->put_no_rnd_pixels_tab[1][0] = ff_put_pixels8_armv6;
77
    c->put_no_rnd_pixels_tab[1][1] = ff_put_pixels8_x2_no_rnd_armv6;
78
    c->put_no_rnd_pixels_tab[1][2] = ff_put_pixels8_y2_no_rnd_armv6;
79
/*     c->put_no_rnd_pixels_tab[1][3] = ff_put_pixels8_xy2_no_rnd_armv6; */
80

  
81
    c->avg_pixels_tab[0][0] = ff_avg_pixels16_armv6;
82
    c->avg_pixels_tab[1][0] = ff_avg_pixels8_armv6;
83

  
42 84
    c->add_pixels_clamped = ff_add_pixels_clamped_armv6;
43 85
}

Also available in: Unified diff