OLD | NEW |
1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
3 | 3 |
4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
6 #else | 6 #else |
7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
8 #endif | 8 #endif |
9 | 9 |
10 /* | 10 /* |
11 * VP9 | 11 * VP9 |
12 */ | 12 */ |
13 | 13 |
14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
15 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
16 | 16 |
17 struct loop_filter_info; | |
18 struct macroblockd; | 17 struct macroblockd; |
19 struct loop_filter_info; | |
20 | 18 |
21 /* Encoder forward decls */ | 19 /* Encoder forward decls */ |
22 struct macroblock; | 20 struct macroblock; |
23 struct vp9_variance_vtable; | 21 struct vp9_variance_vtable; |
24 | 22 |
25 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] | 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
26 union int_mv; | 24 union int_mv; |
27 struct yv12_buffer_config; | 25 struct yv12_buffer_config; |
28 | 26 |
29 void vp9_idct_add_16x16_c(int16_t *input, uint8_t *dest, int stride, int eob); | 27 void vp9_idct_add_16x16_c(int16_t *input, uint8_t *dest, int stride, int eob); |
30 #define vp9_idct_add_16x16 vp9_idct_add_16x16_c | 28 #define vp9_idct_add_16x16 vp9_idct_add_16x16_c |
31 | 29 |
32 void vp9_idct_add_8x8_c(int16_t *input, uint8_t *dest, int stride, int eob); | 30 void vp9_idct_add_8x8_c(int16_t *input, uint8_t *dest, int stride, int eob); |
33 #define vp9_idct_add_8x8 vp9_idct_add_8x8_c | 31 #define vp9_idct_add_8x8 vp9_idct_add_8x8_c |
34 | 32 |
35 void vp9_idct_add_c(int16_t *input, uint8_t *dest, int stride, int eob); | 33 void vp9_idct_add_c(int16_t *input, uint8_t *dest, int stride, int eob); |
36 #define vp9_idct_add vp9_idct_add_c | 34 #define vp9_idct_add vp9_idct_add_c |
37 | 35 |
38 void vp9_idct_add_32x32_c(int16_t *q, uint8_t *dst, int stride, int eob); | 36 void vp9_idct_add_32x32_c(int16_t *q, uint8_t *dst, int stride, int eob); |
39 #define vp9_idct_add_32x32 vp9_idct_add_32x32_c | 37 #define vp9_idct_add_32x32 vp9_idct_add_32x32_c |
40 | 38 |
41 void vp9_d27_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 39 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
42 #define vp9_d27_predictor_4x4 vp9_d27_predictor_4x4_c | 40 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c |
43 | 41 |
44 void vp9_d45_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 42 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
45 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c | 43 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 44 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
46 | 45 |
47 void vp9_d63_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 46 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
48 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c | 47 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
49 | 48 |
50 void vp9_h_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 49 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
51 void vp9_h_predictor_4x4_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 50 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
52 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 51 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
53 | 52 |
54 void vp9_d117_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 53 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
55 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c | 54 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
56 | 55 |
57 void vp9_d135_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 56 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
58 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c | 57 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
59 | 58 |
60 void vp9_d153_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 59 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
61 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c | 60 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
62 | 61 |
63 void vp9_v_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 62 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
64 void vp9_v_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 63 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
65 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 64 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
66 | 65 |
67 void vp9_tm_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 66 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
68 void vp9_tm_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 67 void vp9_tm_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
69 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 68 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
70 | 69 |
71 void vp9_dc_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 70 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
72 void vp9_dc_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 71 void vp9_dc_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
73 RTCD_EXTERN void (*vp9_dc_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 72 RTCD_EXTERN void (*vp9_dc_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
74 | 73 |
75 void vp9_dc_top_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 74 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
76 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 75 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
77 | 76 |
78 void vp9_dc_left_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 77 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
79 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c | 78 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
80 | 79 |
81 void vp9_dc_128_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 80 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
82 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c | 81 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
83 | 82 |
84 void vp9_d27_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 83 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
85 #define vp9_d27_predictor_8x8 vp9_d27_predictor_8x8_c | 84 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
86 | 85 |
87 void vp9_d45_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 86 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
88 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c | 87 void vp9_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 88 RTCD_EXTERN void (*vp9_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
89 | 89 |
90 void vp9_d63_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 90 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
91 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c | 91 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
92 | 92 |
93 void vp9_h_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 93 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
94 void vp9_h_predictor_8x8_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 94 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
95 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 95 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
96 | 96 |
97 void vp9_d117_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 97 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
98 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c | 98 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
99 | 99 |
100 void vp9_d135_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 100 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
101 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c | 101 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
102 | 102 |
103 void vp9_d153_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 103 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
104 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c | 104 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
105 | 105 |
106 void vp9_v_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 106 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
107 void vp9_v_predictor_8x8_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 107 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
108 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 108 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
109 | 109 |
110 void vp9_tm_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 110 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
111 void vp9_tm_predictor_8x8_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 111 void vp9_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
112 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 112 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
113 | 113 |
114 void vp9_dc_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 114 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
115 void vp9_dc_predictor_8x8_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 115 void vp9_dc_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
116 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 116 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
117 | 117 |
118 void vp9_dc_top_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 118 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
119 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 119 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
120 | 120 |
121 void vp9_dc_left_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 121 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
122 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c | 122 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
123 | 123 |
124 void vp9_dc_128_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 124 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
125 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c | 125 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
126 | 126 |
127 void vp9_d27_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 127 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
128 #define vp9_d27_predictor_16x16 vp9_d27_predictor_16x16_c | 128 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
129 | 129 |
130 void vp9_d45_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 130 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
131 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c | 131 void vp9_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 132 RTCD_EXTERN void (*vp9_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
132 | 133 |
133 void vp9_d63_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 134 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
134 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c | 135 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
135 | 136 |
136 void vp9_h_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 137 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
137 void vp9_h_predictor_16x16_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 138 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
138 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | 139 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
139 | 140 |
140 void vp9_d117_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 141 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
141 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c | 142 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
142 | 143 |
143 void vp9_d135_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 144 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
144 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c | 145 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
145 | 146 |
146 void vp9_d153_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 147 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
147 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c | 148 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
148 | 149 |
149 void vp9_v_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 150 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
150 void vp9_v_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 151 void vp9_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
151 RTCD_EXTERN void (*vp9_v_predictor_16x16)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | 152 RTCD_EXTERN void (*vp9_v_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
152 | 153 |
153 void vp9_tm_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 154 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
154 void vp9_tm_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 155 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
155 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *ypred_ptr, ptrdiff_t y_strid
e, uint8_t *yabove_row, uint8_t *yleft_col); | 156 RTCD_EXTERN void (*vp9_tm_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
156 | 157 |
157 void vp9_dc_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 158 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
158 void vp9_dc_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 159 void vp9_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
159 RTCD_EXTERN void (*vp9_dc_predictor_16x16)(uint8_t *ypred_ptr, ptrdiff_t y_strid
e, uint8_t *yabove_row, uint8_t *yleft_col); | 160 RTCD_EXTERN void (*vp9_dc_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
160 | 161 |
161 void vp9_dc_top_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 162 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
162 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c | 163 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
163 | 164 |
164 void vp9_dc_left_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 165 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
165 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c | 166 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
166 | 167 |
167 void vp9_dc_128_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 168 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
168 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c | 169 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
169 | 170 |
170 void vp9_d27_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 171 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
171 #define vp9_d27_predictor_32x32 vp9_d27_predictor_32x32_c | 172 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
172 | 173 |
173 void vp9_d45_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 174 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
174 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c | 175 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 176 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
175 | 177 |
176 void vp9_d63_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 178 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
177 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c | 179 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
178 | 180 |
179 void vp9_h_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 181 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
180 void vp9_h_predictor_32x32_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 182 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
181 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | |
182 | 183 |
183 void vp9_d117_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 184 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
184 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c | 185 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
185 | 186 |
186 void vp9_d135_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 187 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
187 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c | 188 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
188 | 189 |
189 void vp9_d153_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 190 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
190 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c | 191 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
191 | 192 |
192 void vp9_v_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 193 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
193 void vp9_v_predictor_32x32_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 194 void vp9_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
194 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | 195 RTCD_EXTERN void (*vp9_v_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
195 | 196 |
196 void vp9_tm_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 197 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
197 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c | 198 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c |
198 | 199 |
199 void vp9_dc_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 200 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
200 void vp9_dc_predictor_32x32_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 201 void vp9_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
201 RTCD_EXTERN void (*vp9_dc_predictor_32x32)(uint8_t *ypred_ptr, ptrdiff_t y_strid
e, uint8_t *yabove_row, uint8_t *yleft_col); | 202 RTCD_EXTERN void (*vp9_dc_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, con
st uint8_t *above, const uint8_t *left); |
202 | 203 |
203 void vp9_dc_top_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 204 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
204 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c | 205 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
205 | 206 |
206 void vp9_dc_left_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 207 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
207 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c | 208 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
208 | 209 |
209 void vp9_dc_128_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 210 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
210 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c | 211 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
211 | 212 |
212 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); | 213 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); |
213 void vp9_add_constant_residual_8x8_sse2(const int16_t diff, uint8_t *dest, int s
tride); | 214 void vp9_add_constant_residual_8x8_sse2(const int16_t diff, uint8_t *dest, int s
tride); |
214 RTCD_EXTERN void (*vp9_add_constant_residual_8x8)(const int16_t diff, uint8_t *d
est, int stride); | 215 RTCD_EXTERN void (*vp9_add_constant_residual_8x8)(const int16_t diff, uint8_t *d
est, int stride); |
215 | 216 |
216 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); | 217 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); |
217 void vp9_add_constant_residual_16x16_sse2(const int16_t diff, uint8_t *dest, int
stride); | 218 void vp9_add_constant_residual_16x16_sse2(const int16_t diff, uint8_t *dest, int
stride); |
218 RTCD_EXTERN void (*vp9_add_constant_residual_16x16)(const int16_t diff, uint8_t
*dest, int stride); | 219 RTCD_EXTERN void (*vp9_add_constant_residual_16x16)(const int16_t diff, uint8_t
*dest, int stride); |
219 | 220 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
306 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str
ide, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4,
const int16_t *filter_y, int y_step_q4, int w, int h); | 307 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str
ide, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4,
const int16_t *filter_y, int y_step_q4, int w, int h); |
307 | 308 |
308 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 309 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
309 void vp9_short_idct4x4_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 310 void vp9_short_idct4x4_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
310 RTCD_EXTERN void (*vp9_short_idct4x4_1_add)(int16_t *input, uint8_t *dest, int d
est_stride); | 311 RTCD_EXTERN void (*vp9_short_idct4x4_1_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
311 | 312 |
312 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 313 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
313 void vp9_short_idct4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); | 314 void vp9_short_idct4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); |
314 RTCD_EXTERN void (*vp9_short_idct4x4_add)(int16_t *input, uint8_t *dest, int des
t_stride); | 315 RTCD_EXTERN void (*vp9_short_idct4x4_add)(int16_t *input, uint8_t *dest, int des
t_stride); |
315 | 316 |
| 317 void vp9_short_idct8x8_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 318 void vp9_short_idct8x8_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 319 RTCD_EXTERN void (*vp9_short_idct8x8_1_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
| 320 |
316 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 321 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
317 void vp9_short_idct8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); | 322 void vp9_short_idct8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); |
318 RTCD_EXTERN void (*vp9_short_idct8x8_add)(int16_t *input, uint8_t *dest, int des
t_stride); | 323 RTCD_EXTERN void (*vp9_short_idct8x8_add)(int16_t *input, uint8_t *dest, int des
t_stride); |
319 | 324 |
320 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 325 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
321 void vp9_short_idct10_8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_strid
e); | 326 void vp9_short_idct10_8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_strid
e); |
322 RTCD_EXTERN void (*vp9_short_idct10_8x8_add)(int16_t *input, uint8_t *dest, int
dest_stride); | 327 RTCD_EXTERN void (*vp9_short_idct10_8x8_add)(int16_t *input, uint8_t *dest, int
dest_stride); |
323 | 328 |
324 void vp9_short_idct1_8x8_c(int16_t *input, int16_t *output); | 329 void vp9_short_idct16x16_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
325 #define vp9_short_idct1_8x8 vp9_short_idct1_8x8_c | 330 void vp9_short_idct16x16_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stri
de); |
| 331 RTCD_EXTERN void (*vp9_short_idct16x16_1_add)(int16_t *input, uint8_t *dest, int
dest_stride); |
326 | 332 |
327 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 333 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
328 void vp9_short_idct16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 334 void vp9_short_idct16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
329 RTCD_EXTERN void (*vp9_short_idct16x16_add)(int16_t *input, uint8_t *dest, int d
est_stride); | 335 RTCD_EXTERN void (*vp9_short_idct16x16_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
330 | 336 |
331 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | 337 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); |
332 void vp9_short_idct10_16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_str
ide); | 338 void vp9_short_idct10_16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_str
ide); |
333 RTCD_EXTERN void (*vp9_short_idct10_16x16_add)(int16_t *input, uint8_t *dest, in
t dest_stride); | 339 RTCD_EXTERN void (*vp9_short_idct10_16x16_add)(int16_t *input, uint8_t *dest, in
t dest_stride); |
334 | 340 |
335 void vp9_short_idct1_16x16_c(int16_t *input, int16_t *output); | |
336 #define vp9_short_idct1_16x16 vp9_short_idct1_16x16_c | |
337 | |
338 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 341 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
339 void vp9_short_idct32x32_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 342 void vp9_short_idct32x32_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
340 RTCD_EXTERN void (*vp9_short_idct32x32_add)(int16_t *input, uint8_t *dest, int d
est_stride); | 343 RTCD_EXTERN void (*vp9_short_idct32x32_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
341 | 344 |
342 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); | 345 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); |
343 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c | 346 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c |
344 | 347 |
345 void vp9_short_idct10_32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | |
346 #define vp9_short_idct10_32x32_add vp9_short_idct10_32x32_add_c | |
347 | |
348 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 348 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
349 void vp9_short_iht4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 349 void vp9_short_iht4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); |
350 RTCD_EXTERN void (*vp9_short_iht4x4_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); | 350 RTCD_EXTERN void (*vp9_short_iht4x4_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); |
351 | 351 |
352 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 352 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
353 void vp9_short_iht8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 353 void vp9_short_iht8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); |
354 RTCD_EXTERN void (*vp9_short_iht8x8_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); | 354 RTCD_EXTERN void (*vp9_short_iht8x8_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); |
355 | 355 |
356 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); | 356 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); |
357 void vp9_short_iht16x16_add_sse2(int16_t *input, uint8_t *output, int pitch, int
tx_type); | 357 void vp9_short_iht16x16_add_sse2(int16_t *input, uint8_t *output, int pitch, int
tx_type); |
358 RTCD_EXTERN void (*vp9_short_iht16x16_add)(int16_t *input, uint8_t *output, int
pitch, int tx_type); | 358 RTCD_EXTERN void (*vp9_short_iht16x16_add)(int16_t *input, uint8_t *output, int
pitch, int tx_type); |
359 | 359 |
360 void vp9_idct4_1d_c(int16_t *input, int16_t *output); | 360 void vp9_idct4_1d_c(int16_t *input, int16_t *output); |
361 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); | 361 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); |
362 RTCD_EXTERN void (*vp9_idct4_1d)(int16_t *input, int16_t *output); | 362 RTCD_EXTERN void (*vp9_idct4_1d)(int16_t *input, int16_t *output); |
363 | 363 |
364 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; | 364 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
365 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c | 365 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c |
366 | 366 |
367 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 367 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
368 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c | 368 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c |
369 | 369 |
370 unsigned int vp9_sad32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
371 #define vp9_sad32x3 vp9_sad32x3_c | |
372 | |
373 unsigned int vp9_sad3x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
374 #define vp9_sad3x32 vp9_sad3x32_c | |
375 | |
376 void vp9_rtcd(void); | 370 void vp9_rtcd(void); |
377 | 371 |
378 #ifdef RTCD_C | 372 #ifdef RTCD_C |
379 #include "vpx_ports/x86.h" | 373 #include "vpx_ports/x86.h" |
380 static void setup_rtcd_internal(void) | 374 static void setup_rtcd_internal(void) |
381 { | 375 { |
382 int flags = x86_simd_caps(); | 376 int flags = x86_simd_caps(); |
383 | 377 |
384 (void)flags; | 378 (void)flags; |
385 | 379 |
386 | 380 |
387 | 381 |
388 | 382 |
389 | 383 |
390 | 384 |
| 385 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c; |
| 386 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3; |
391 | 387 |
392 | 388 |
393 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 389 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
394 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 390 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
395 | 391 |
396 | 392 |
397 | 393 |
398 | 394 |
399 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | 395 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; |
400 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse; | 396 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse; |
401 | 397 |
402 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; | 398 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; |
403 if (flags & HAS_SSE) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_sse; | 399 if (flags & HAS_SSE) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_sse; |
404 | 400 |
405 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c; | 401 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c; |
406 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse; | 402 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse; |
407 | 403 |
408 | 404 |
409 | 405 |
410 | 406 |
411 | 407 |
| 408 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c; |
| 409 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3; |
412 | 410 |
413 | 411 |
414 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 412 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
415 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 413 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
416 | 414 |
417 | 415 |
418 | 416 |
419 | 417 |
420 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | 418 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; |
421 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse; | 419 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse; |
422 | 420 |
423 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | 421 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; |
424 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2; | 422 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2; |
425 | 423 |
426 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c; | 424 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c; |
427 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse; | 425 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse; |
428 | 426 |
429 | 427 |
430 | 428 |
431 | 429 |
432 | 430 |
| 431 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c; |
| 432 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss
e3; |
433 | 433 |
434 | 434 |
435 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 435 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
436 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 436 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
437 | 437 |
438 | 438 |
439 | 439 |
440 | 440 |
441 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | 441 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; |
442 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2; | 442 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2; |
443 | 443 |
444 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; | 444 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; |
445 if (flags & HAS_SSE2) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_sse2; | 445 if (flags & HAS_SSE2) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_sse2; |
446 | 446 |
447 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c; | 447 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c; |
448 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2; | 448 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2; |
449 | 449 |
450 | 450 |
451 | 451 |
452 | 452 |
453 | 453 |
| 454 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; |
| 455 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; |
| 456 |
| 457 |
| 458 |
454 | 459 |
455 | 460 |
456 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | |
457 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | |
458 | |
459 | |
460 | |
461 | 461 |
462 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | 462 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; |
463 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; | 463 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; |
464 | 464 |
465 | 465 |
466 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; | 466 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; |
467 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; | 467 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; |
468 | 468 |
469 | 469 |
470 | 470 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
537 | 537 |
538 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 538 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
539 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 539 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
540 | 540 |
541 vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_c; | 541 vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_c; |
542 if (flags & HAS_SSE2) vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_sse2
; | 542 if (flags & HAS_SSE2) vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_sse2
; |
543 | 543 |
544 vp9_short_idct4x4_add = vp9_short_idct4x4_add_c; | 544 vp9_short_idct4x4_add = vp9_short_idct4x4_add_c; |
545 if (flags & HAS_SSE2) vp9_short_idct4x4_add = vp9_short_idct4x4_add_sse2; | 545 if (flags & HAS_SSE2) vp9_short_idct4x4_add = vp9_short_idct4x4_add_sse2; |
546 | 546 |
| 547 vp9_short_idct8x8_1_add = vp9_short_idct8x8_1_add_c; |
| 548 if (flags & HAS_SSE2) vp9_short_idct8x8_1_add = vp9_short_idct8x8_1_add_sse2
; |
| 549 |
547 vp9_short_idct8x8_add = vp9_short_idct8x8_add_c; | 550 vp9_short_idct8x8_add = vp9_short_idct8x8_add_c; |
548 if (flags & HAS_SSE2) vp9_short_idct8x8_add = vp9_short_idct8x8_add_sse2; | 551 if (flags & HAS_SSE2) vp9_short_idct8x8_add = vp9_short_idct8x8_add_sse2; |
549 | 552 |
550 vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_c; | 553 vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_c; |
551 if (flags & HAS_SSE2) vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_ss
e2; | 554 if (flags & HAS_SSE2) vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_ss
e2; |
552 | 555 |
| 556 vp9_short_idct16x16_1_add = vp9_short_idct16x16_1_add_c; |
| 557 if (flags & HAS_SSE2) vp9_short_idct16x16_1_add = vp9_short_idct16x16_1_add_
sse2; |
553 | 558 |
554 vp9_short_idct16x16_add = vp9_short_idct16x16_add_c; | 559 vp9_short_idct16x16_add = vp9_short_idct16x16_add_c; |
555 if (flags & HAS_SSE2) vp9_short_idct16x16_add = vp9_short_idct16x16_add_sse2
; | 560 if (flags & HAS_SSE2) vp9_short_idct16x16_add = vp9_short_idct16x16_add_sse2
; |
556 | 561 |
557 vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_add_c; | 562 vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_add_c; |
558 if (flags & HAS_SSE2) vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_ad
d_sse2; | 563 if (flags & HAS_SSE2) vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_ad
d_sse2; |
559 | 564 |
560 | |
561 vp9_short_idct32x32_add = vp9_short_idct32x32_add_c; | 565 vp9_short_idct32x32_add = vp9_short_idct32x32_add_c; |
562 if (flags & HAS_SSE2) vp9_short_idct32x32_add = vp9_short_idct32x32_add_sse2
; | 566 if (flags & HAS_SSE2) vp9_short_idct32x32_add = vp9_short_idct32x32_add_sse2
; |
563 | 567 |
564 | 568 |
565 | |
566 vp9_short_iht4x4_add = vp9_short_iht4x4_add_c; | 569 vp9_short_iht4x4_add = vp9_short_iht4x4_add_c; |
567 if (flags & HAS_SSE2) vp9_short_iht4x4_add = vp9_short_iht4x4_add_sse2; | 570 if (flags & HAS_SSE2) vp9_short_iht4x4_add = vp9_short_iht4x4_add_sse2; |
568 | 571 |
569 vp9_short_iht8x8_add = vp9_short_iht8x8_add_c; | 572 vp9_short_iht8x8_add = vp9_short_iht8x8_add_c; |
570 if (flags & HAS_SSE2) vp9_short_iht8x8_add = vp9_short_iht8x8_add_sse2; | 573 if (flags & HAS_SSE2) vp9_short_iht8x8_add = vp9_short_iht8x8_add_sse2; |
571 | 574 |
572 vp9_short_iht16x16_add = vp9_short_iht16x16_add_c; | 575 vp9_short_iht16x16_add = vp9_short_iht16x16_add_c; |
573 if (flags & HAS_SSE2) vp9_short_iht16x16_add = vp9_short_iht16x16_add_sse2; | 576 if (flags & HAS_SSE2) vp9_short_iht16x16_add = vp9_short_iht16x16_add_sse2; |
574 | 577 |
575 vp9_idct4_1d = vp9_idct4_1d_c; | 578 vp9_idct4_1d = vp9_idct4_1d_c; |
576 if (flags & HAS_SSE2) vp9_idct4_1d = vp9_idct4_1d_sse2; | 579 if (flags & HAS_SSE2) vp9_idct4_1d = vp9_idct4_1d_sse2; |
577 } | 580 } |
578 #endif | 581 #endif |
579 #endif | 582 #endif |
OLD | NEW |