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 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c |
46 | 44 |
47 void vp9_d63_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 45 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 | 46 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
49 | 47 |
50 void vp9_h_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 48 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); | 49 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
52 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
53 | 50 |
54 void vp9_d117_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 51 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 | 52 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
56 | 53 |
57 void vp9_d135_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 54 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 | 55 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
59 | 56 |
60 void vp9_d153_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 57 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 | 58 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
62 | 59 |
63 void vp9_v_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 60 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); | 61 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c |
65 RTCD_EXTERN void (*vp9_v_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
66 | 62 |
67 void vp9_tm_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 63 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); | 64 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c |
69 RTCD_EXTERN void (*vp9_tm_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
70 | 65 |
71 void vp9_dc_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 66 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); | 67 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c |
73 RTCD_EXTERN void (*vp9_dc_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
74 | 68 |
75 void vp9_dc_top_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 69 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 | 70 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
77 | 71 |
78 void vp9_dc_left_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 72 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 | 73 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
80 | 74 |
81 void vp9_dc_128_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 75 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 | 76 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
83 | 77 |
84 void vp9_d27_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 78 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 | 79 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
86 | 80 |
87 void vp9_d45_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 81 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 | 82 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c |
89 | 83 |
90 void vp9_d63_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 84 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 | 85 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
92 | 86 |
93 void vp9_h_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 87 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); | 88 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
95 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
96 | 89 |
97 void vp9_d117_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 90 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 | 91 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
99 | 92 |
100 void vp9_d135_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 93 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 | 94 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
102 | 95 |
103 void vp9_d153_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 96 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 | 97 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
105 | 98 |
106 void vp9_v_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 99 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); | 100 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c |
108 RTCD_EXTERN void (*vp9_v_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
109 | 101 |
110 void vp9_tm_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 102 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); | 103 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c |
112 RTCD_EXTERN void (*vp9_tm_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
113 | 104 |
114 void vp9_dc_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 105 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); | 106 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c |
116 RTCD_EXTERN void (*vp9_dc_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | |
117 | 107 |
118 void vp9_dc_top_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 108 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 | 109 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
120 | 110 |
121 void vp9_dc_left_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 111 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 | 112 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
123 | 113 |
124 void vp9_dc_128_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 114 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 | 115 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
126 | 116 |
127 void vp9_d27_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 117 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 | 118 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
129 | 119 |
130 void vp9_d45_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 120 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 | 121 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c |
132 | 122 |
133 void vp9_d63_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 123 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 | 124 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
135 | 125 |
136 void vp9_h_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 126 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); | 127 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
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 | 128 |
140 void vp9_d117_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 129 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 | 130 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
142 | 131 |
143 void vp9_d135_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 132 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 | 133 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
145 | 134 |
146 void vp9_d153_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 135 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 | 136 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
148 | 137 |
149 void vp9_v_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 138 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); | 139 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c |
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 | 140 |
153 void vp9_tm_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 141 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); | 142 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c |
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 | 143 |
157 void vp9_dc_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 144 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); | 145 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c |
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 | 146 |
161 void vp9_dc_top_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 147 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 | 148 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
163 | 149 |
164 void vp9_dc_left_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 150 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 | 151 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
166 | 152 |
167 void vp9_dc_128_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 153 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 | 154 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
169 | 155 |
170 void vp9_d27_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 156 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 | 157 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
172 | 158 |
173 void vp9_d45_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 159 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 | 160 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c |
175 | 161 |
176 void vp9_d63_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 162 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 | 163 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
178 | 164 |
179 void vp9_h_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 165 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); | 166 #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 | 167 |
183 void vp9_d117_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 168 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 | 169 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
185 | 170 |
186 void vp9_d135_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 171 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 | 172 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
188 | 173 |
189 void vp9_d153_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 174 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 | 175 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
191 | 176 |
192 void vp9_v_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 177 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); | 178 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c |
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 | 179 |
196 void vp9_tm_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 180 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 | 181 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c |
198 | 182 |
199 void vp9_dc_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 183 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); | 184 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c |
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 | 185 |
203 void vp9_dc_top_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 186 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 | 187 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
205 | 188 |
206 void vp9_dc_left_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 189 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 | 190 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
208 | 191 |
209 void vp9_dc_128_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 192 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 | 193 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
211 | 194 |
212 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); | 195 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); | 196 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); | 197 RTCD_EXTERN void (*vp9_add_constant_residual_8x8)(const int16_t diff, uint8_t *d
est, int stride); |
215 | 198 |
216 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); | 199 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); | 200 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); | 201 RTCD_EXTERN void (*vp9_add_constant_residual_16x16)(const int16_t diff, uint8_t
*dest, int stride); |
219 | 202 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 250 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
268 #define vp9_blend_mb_inner vp9_blend_mb_inner_c | 251 #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
269 | 252 |
270 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 253 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
271 #define vp9_blend_mb_outer vp9_blend_mb_outer_c | 254 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
272 | 255 |
273 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); | 256 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); |
274 #define vp9_blend_b vp9_blend_b_c | 257 #define vp9_blend_b vp9_blend_b_c |
275 | 258 |
276 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 259 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
277 void vp9_convolve_copy_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, 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); | 260 #define vp9_convolve_copy vp9_convolve_copy_c |
278 RTCD_EXTERN void (*vp9_convolve_copy)(const uint8_t *src, ptrdiff_t src_stride,
uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, cons
t int16_t *filter_y, int y_step_q4, int w, int h); | |
279 | 261 |
280 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 262 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
281 void vp9_convolve_avg_sse2(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, 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); | 263 #define vp9_convolve_avg vp9_convolve_avg_c |
282 RTCD_EXTERN void (*vp9_convolve_avg)(const uint8_t *src, ptrdiff_t src_stride, u
int8_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); | |
283 | 264 |
284 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_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); | 265 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_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); |
285 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 266 void vp9_convolve8_ssse3(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
286 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | 267 RTCD_EXTERN void (*vp9_convolve8)(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); |
287 | 268 |
288 void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, 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); | 269 void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, 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); |
289 void vp9_convolve8_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, 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); | 270 void vp9_convolve8_horiz_ssse3(const uint8_t *src, ptrdiff_t src_stride, 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); |
290 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride
, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co
nst int16_t *filter_y, int y_step_q4, int w, int h); | 271 RTCD_EXTERN void (*vp9_convolve8_horiz)(const uint8_t *src, ptrdiff_t src_stride
, uint8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, co
nst int16_t *filter_y, int y_step_q4, int w, int h); |
291 | 272 |
292 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); | 273 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); |
(...skipping 13 matching lines...) Expand all 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); | 287 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 | 288 |
308 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 289 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
); | 290 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); | 291 RTCD_EXTERN void (*vp9_short_idct4x4_1_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
311 | 292 |
312 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 293 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); | 294 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); | 295 RTCD_EXTERN void (*vp9_short_idct4x4_add)(int16_t *input, uint8_t *dest, int des
t_stride); |
315 | 296 |
| 297 void vp9_short_idct8x8_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 298 void vp9_short_idct8x8_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 299 RTCD_EXTERN void (*vp9_short_idct8x8_1_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
| 300 |
316 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 301 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); | 302 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); | 303 RTCD_EXTERN void (*vp9_short_idct8x8_add)(int16_t *input, uint8_t *dest, int des
t_stride); |
319 | 304 |
320 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 305 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); | 306 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); | 307 RTCD_EXTERN void (*vp9_short_idct10_8x8_add)(int16_t *input, uint8_t *dest, int
dest_stride); |
323 | 308 |
324 void vp9_short_idct1_8x8_c(int16_t *input, int16_t *output); | 309 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 | 310 void vp9_short_idct16x16_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stri
de); |
| 311 RTCD_EXTERN void (*vp9_short_idct16x16_1_add)(int16_t *input, uint8_t *dest, int
dest_stride); |
326 | 312 |
327 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 313 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
); | 314 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); | 315 RTCD_EXTERN void (*vp9_short_idct16x16_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
330 | 316 |
331 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | 317 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); | 318 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); | 319 RTCD_EXTERN void (*vp9_short_idct10_16x16_add)(int16_t *input, uint8_t *dest, in
t dest_stride); |
334 | 320 |
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); | 321 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
); | 322 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); | 323 RTCD_EXTERN void (*vp9_short_idct32x32_add)(int16_t *input, uint8_t *dest, int d
est_stride); |
341 | 324 |
342 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); | 325 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); |
343 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c | 326 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c |
344 | 327 |
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); | 328 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); | 329 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); | 330 RTCD_EXTERN void (*vp9_short_iht4x4_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); |
351 | 331 |
352 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 332 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); | 333 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); | 334 RTCD_EXTERN void (*vp9_short_iht8x8_add)(int16_t *input, uint8_t *dest, int dest
_stride, int tx_type); |
355 | 335 |
356 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); | 336 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); | 337 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); | 338 RTCD_EXTERN void (*vp9_short_iht16x16_add)(int16_t *input, uint8_t *output, int
pitch, int tx_type); |
359 | 339 |
360 void vp9_idct4_1d_c(int16_t *input, int16_t *output); | 340 void vp9_idct4_1d_c(int16_t *input, int16_t *output); |
361 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); | 341 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); |
362 RTCD_EXTERN void (*vp9_idct4_1d)(int16_t *input, int16_t *output); | 342 RTCD_EXTERN void (*vp9_idct4_1d)(int16_t *input, int16_t *output); |
363 | 343 |
364 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; | 344 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 | 345 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c |
366 | 346 |
367 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 347 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 | 348 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c |
369 | 349 |
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); | 350 void vp9_rtcd(void); |
377 | 351 |
378 #ifdef RTCD_C | 352 #ifdef RTCD_C |
379 #include "vpx_ports/x86.h" | 353 #include "vpx_ports/x86.h" |
380 static void setup_rtcd_internal(void) | 354 static void setup_rtcd_internal(void) |
381 { | 355 { |
382 int flags = x86_simd_caps(); | 356 int flags = x86_simd_caps(); |
383 | 357 |
384 (void)flags; | 358 (void)flags; |
385 | 359 |
386 | 360 |
387 | 361 |
388 | 362 |
389 | 363 |
390 | 364 |
391 | 365 |
392 | 366 |
393 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | |
394 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | |
395 | |
396 | |
397 | |
398 | 367 |
399 vp9_v_predictor_4x4 = vp9_v_predictor_4x4_c; | |
400 if (flags & HAS_SSE) vp9_v_predictor_4x4 = vp9_v_predictor_4x4_sse; | |
401 | |
402 vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_c; | |
403 if (flags & HAS_SSE) vp9_tm_predictor_4x4 = vp9_tm_predictor_4x4_sse; | |
404 | |
405 vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_c; | |
406 if (flags & HAS_SSE) vp9_dc_predictor_4x4 = vp9_dc_predictor_4x4_sse; | |
407 | 368 |
408 | 369 |
409 | 370 |
| 371 |
| 372 |
| 373 |
| 374 |
| 375 |
410 | 376 |
411 | 377 |
412 | 378 |
413 | 379 |
414 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | |
415 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | |
416 | |
417 | |
418 | |
419 | 380 |
420 vp9_v_predictor_8x8 = vp9_v_predictor_8x8_c; | |
421 if (flags & HAS_SSE) vp9_v_predictor_8x8 = vp9_v_predictor_8x8_sse; | |
422 | |
423 vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_c; | |
424 if (flags & HAS_SSE2) vp9_tm_predictor_8x8 = vp9_tm_predictor_8x8_sse2; | |
425 | |
426 vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_c; | |
427 if (flags & HAS_SSE) vp9_dc_predictor_8x8 = vp9_dc_predictor_8x8_sse; | |
428 | 381 |
429 | 382 |
430 | 383 |
| 384 |
| 385 |
| 386 |
| 387 |
| 388 |
431 | 389 |
432 | 390 |
433 | 391 |
434 | 392 |
435 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | |
436 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | |
437 | |
438 | |
439 | |
440 | 393 |
441 vp9_v_predictor_16x16 = vp9_v_predictor_16x16_c; | |
442 if (flags & HAS_SSE2) vp9_v_predictor_16x16 = vp9_v_predictor_16x16_sse2; | |
443 | |
444 vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_c; | |
445 if (flags & HAS_SSE2) vp9_tm_predictor_16x16 = vp9_tm_predictor_16x16_sse2; | |
446 | |
447 vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_c; | |
448 if (flags & HAS_SSE2) vp9_dc_predictor_16x16 = vp9_dc_predictor_16x16_sse2; | |
449 | 394 |
450 | 395 |
451 | 396 |
| 397 |
| 398 |
| 399 |
| 400 |
| 401 |
452 | 402 |
453 | 403 |
454 | 404 |
455 | 405 |
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 | 406 |
462 vp9_v_predictor_32x32 = vp9_v_predictor_32x32_c; | |
463 if (flags & HAS_SSE2) vp9_v_predictor_32x32 = vp9_v_predictor_32x32_sse2; | |
464 | |
465 | |
466 vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_c; | |
467 if (flags & HAS_SSE2) vp9_dc_predictor_32x32 = vp9_dc_predictor_32x32_sse2; | |
468 | 407 |
469 | 408 |
470 | 409 |
| 410 |
| 411 |
| 412 |
| 413 |
| 414 |
471 | 415 |
472 vp9_add_constant_residual_8x8 = vp9_add_constant_residual_8x8_c; | 416 vp9_add_constant_residual_8x8 = vp9_add_constant_residual_8x8_c; |
473 if (flags & HAS_SSE2) vp9_add_constant_residual_8x8 = vp9_add_constant_resid
ual_8x8_sse2; | 417 if (flags & HAS_SSE2) vp9_add_constant_residual_8x8 = vp9_add_constant_resid
ual_8x8_sse2; |
474 | 418 |
475 vp9_add_constant_residual_16x16 = vp9_add_constant_residual_16x16_c; | 419 vp9_add_constant_residual_16x16 = vp9_add_constant_residual_16x16_c; |
476 if (flags & HAS_SSE2) vp9_add_constant_residual_16x16 = vp9_add_constant_res
idual_16x16_sse2; | 420 if (flags & HAS_SSE2) vp9_add_constant_residual_16x16 = vp9_add_constant_res
idual_16x16_sse2; |
477 | 421 |
478 vp9_add_constant_residual_32x32 = vp9_add_constant_residual_32x32_c; | 422 vp9_add_constant_residual_32x32 = vp9_add_constant_residual_32x32_c; |
479 if (flags & HAS_SSE2) vp9_add_constant_residual_32x32 = vp9_add_constant_res
idual_32x32_sse2; | 423 if (flags & HAS_SSE2) vp9_add_constant_residual_32x32 = vp9_add_constant_res
idual_32x32_sse2; |
480 | 424 |
(...skipping 26 matching lines...) Expand all Loading... |
507 if (flags & HAS_MMX) vp9_post_proc_down_and_across = vp9_post_proc_down_and_
across_mmx; | 451 if (flags & HAS_MMX) vp9_post_proc_down_and_across = vp9_post_proc_down_and_
across_mmx; |
508 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and
_across_xmm; | 452 if (flags & HAS_SSE2) vp9_post_proc_down_and_across = vp9_post_proc_down_and
_across_xmm; |
509 | 453 |
510 vp9_plane_add_noise = vp9_plane_add_noise_c; | 454 vp9_plane_add_noise = vp9_plane_add_noise_c; |
511 if (flags & HAS_MMX) vp9_plane_add_noise = vp9_plane_add_noise_mmx; | 455 if (flags & HAS_MMX) vp9_plane_add_noise = vp9_plane_add_noise_mmx; |
512 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt; | 456 if (flags & HAS_SSE2) vp9_plane_add_noise = vp9_plane_add_noise_wmt; |
513 | 457 |
514 | 458 |
515 | 459 |
516 | 460 |
517 vp9_convolve_copy = vp9_convolve_copy_c; | |
518 if (flags & HAS_SSE2) vp9_convolve_copy = vp9_convolve_copy_sse2; | |
519 | 461 |
520 vp9_convolve_avg = vp9_convolve_avg_c; | |
521 if (flags & HAS_SSE2) vp9_convolve_avg = vp9_convolve_avg_sse2; | |
522 | 462 |
523 vp9_convolve8 = vp9_convolve8_c; | 463 vp9_convolve8 = vp9_convolve8_c; |
524 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; | 464 if (flags & HAS_SSSE3) vp9_convolve8 = vp9_convolve8_ssse3; |
525 | 465 |
526 vp9_convolve8_horiz = vp9_convolve8_horiz_c; | 466 vp9_convolve8_horiz = vp9_convolve8_horiz_c; |
527 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; | 467 if (flags & HAS_SSSE3) vp9_convolve8_horiz = vp9_convolve8_horiz_ssse3; |
528 | 468 |
529 vp9_convolve8_vert = vp9_convolve8_vert_c; | 469 vp9_convolve8_vert = vp9_convolve8_vert_c; |
530 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; | 470 if (flags & HAS_SSSE3) vp9_convolve8_vert = vp9_convolve8_vert_ssse3; |
531 | 471 |
532 vp9_convolve8_avg = vp9_convolve8_avg_c; | 472 vp9_convolve8_avg = vp9_convolve8_avg_c; |
533 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 473 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
534 | 474 |
535 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 475 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
536 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 476 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
537 | 477 |
538 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 478 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
539 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 479 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
540 | 480 |
541 vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_c; | 481 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
; | 482 if (flags & HAS_SSE2) vp9_short_idct4x4_1_add = vp9_short_idct4x4_1_add_sse2
; |
543 | 483 |
544 vp9_short_idct4x4_add = vp9_short_idct4x4_add_c; | 484 vp9_short_idct4x4_add = vp9_short_idct4x4_add_c; |
545 if (flags & HAS_SSE2) vp9_short_idct4x4_add = vp9_short_idct4x4_add_sse2; | 485 if (flags & HAS_SSE2) vp9_short_idct4x4_add = vp9_short_idct4x4_add_sse2; |
546 | 486 |
| 487 vp9_short_idct8x8_1_add = vp9_short_idct8x8_1_add_c; |
| 488 if (flags & HAS_SSE2) vp9_short_idct8x8_1_add = vp9_short_idct8x8_1_add_sse2
; |
| 489 |
547 vp9_short_idct8x8_add = vp9_short_idct8x8_add_c; | 490 vp9_short_idct8x8_add = vp9_short_idct8x8_add_c; |
548 if (flags & HAS_SSE2) vp9_short_idct8x8_add = vp9_short_idct8x8_add_sse2; | 491 if (flags & HAS_SSE2) vp9_short_idct8x8_add = vp9_short_idct8x8_add_sse2; |
549 | 492 |
550 vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_c; | 493 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; | 494 if (flags & HAS_SSE2) vp9_short_idct10_8x8_add = vp9_short_idct10_8x8_add_ss
e2; |
552 | 495 |
| 496 vp9_short_idct16x16_1_add = vp9_short_idct16x16_1_add_c; |
| 497 if (flags & HAS_SSE2) vp9_short_idct16x16_1_add = vp9_short_idct16x16_1_add_
sse2; |
553 | 498 |
554 vp9_short_idct16x16_add = vp9_short_idct16x16_add_c; | 499 vp9_short_idct16x16_add = vp9_short_idct16x16_add_c; |
555 if (flags & HAS_SSE2) vp9_short_idct16x16_add = vp9_short_idct16x16_add_sse2
; | 500 if (flags & HAS_SSE2) vp9_short_idct16x16_add = vp9_short_idct16x16_add_sse2
; |
556 | 501 |
557 vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_add_c; | 502 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; | 503 if (flags & HAS_SSE2) vp9_short_idct10_16x16_add = vp9_short_idct10_16x16_ad
d_sse2; |
559 | 504 |
560 | |
561 vp9_short_idct32x32_add = vp9_short_idct32x32_add_c; | 505 vp9_short_idct32x32_add = vp9_short_idct32x32_add_c; |
562 if (flags & HAS_SSE2) vp9_short_idct32x32_add = vp9_short_idct32x32_add_sse2
; | 506 if (flags & HAS_SSE2) vp9_short_idct32x32_add = vp9_short_idct32x32_add_sse2
; |
563 | 507 |
564 | 508 |
565 | |
566 vp9_short_iht4x4_add = vp9_short_iht4x4_add_c; | 509 vp9_short_iht4x4_add = vp9_short_iht4x4_add_c; |
567 if (flags & HAS_SSE2) vp9_short_iht4x4_add = vp9_short_iht4x4_add_sse2; | 510 if (flags & HAS_SSE2) vp9_short_iht4x4_add = vp9_short_iht4x4_add_sse2; |
568 | 511 |
569 vp9_short_iht8x8_add = vp9_short_iht8x8_add_c; | 512 vp9_short_iht8x8_add = vp9_short_iht8x8_add_c; |
570 if (flags & HAS_SSE2) vp9_short_iht8x8_add = vp9_short_iht8x8_add_sse2; | 513 if (flags & HAS_SSE2) vp9_short_iht8x8_add = vp9_short_iht8x8_add_sse2; |
571 | 514 |
572 vp9_short_iht16x16_add = vp9_short_iht16x16_add_c; | 515 vp9_short_iht16x16_add = vp9_short_iht16x16_add_c; |
573 if (flags & HAS_SSE2) vp9_short_iht16x16_add = vp9_short_iht16x16_add_sse2; | 516 if (flags & HAS_SSE2) vp9_short_iht16x16_add = vp9_short_iht16x16_add_sse2; |
574 | 517 |
575 vp9_idct4_1d = vp9_idct4_1d_c; | 518 vp9_idct4_1d = vp9_idct4_1d_c; |
576 if (flags & HAS_SSE2) vp9_idct4_1d = vp9_idct4_1d_sse2; | 519 if (flags & HAS_SSE2) vp9_idct4_1d = vp9_idct4_1d_sse2; |
577 } | 520 } |
578 #endif | 521 #endif |
579 #endif | 522 #endif |
OLD | NEW |