Thu, 15 Jan 2015 15:59:08 +0100
Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
michael@0 | 1 | #ifndef VP9_RTCD_H_ |
michael@0 | 2 | #define VP9_RTCD_H_ |
michael@0 | 3 | |
michael@0 | 4 | #ifdef RTCD_C |
michael@0 | 5 | #define RTCD_EXTERN |
michael@0 | 6 | #else |
michael@0 | 7 | #define RTCD_EXTERN extern |
michael@0 | 8 | #endif |
michael@0 | 9 | |
michael@0 | 10 | /* |
michael@0 | 11 | * VP9 |
michael@0 | 12 | */ |
michael@0 | 13 | |
michael@0 | 14 | #include "vpx/vpx_integer.h" |
michael@0 | 15 | #include "vp9/common/vp9_enums.h" |
michael@0 | 16 | |
michael@0 | 17 | struct macroblockd; |
michael@0 | 18 | |
michael@0 | 19 | /* Encoder forward decls */ |
michael@0 | 20 | struct macroblock; |
michael@0 | 21 | struct vp9_variance_vtable; |
michael@0 | 22 | |
michael@0 | 23 | #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
michael@0 | 24 | union int_mv; |
michael@0 | 25 | struct yv12_buffer_config; |
michael@0 | 26 | |
michael@0 | 27 | void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 28 | #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c |
michael@0 | 29 | |
michael@0 | 30 | void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 31 | #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c |
michael@0 | 32 | |
michael@0 | 33 | void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 34 | #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
michael@0 | 35 | |
michael@0 | 36 | void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 37 | #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
michael@0 | 38 | |
michael@0 | 39 | void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 40 | #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
michael@0 | 41 | |
michael@0 | 42 | void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 43 | #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
michael@0 | 44 | |
michael@0 | 45 | void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 46 | #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
michael@0 | 47 | |
michael@0 | 48 | void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 49 | #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c |
michael@0 | 50 | |
michael@0 | 51 | void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 52 | #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c |
michael@0 | 53 | |
michael@0 | 54 | void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 55 | #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c |
michael@0 | 56 | |
michael@0 | 57 | void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 58 | #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
michael@0 | 59 | |
michael@0 | 60 | void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 61 | #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
michael@0 | 62 | |
michael@0 | 63 | void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 64 | #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
michael@0 | 65 | |
michael@0 | 66 | void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 67 | #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
michael@0 | 68 | |
michael@0 | 69 | void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 70 | #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c |
michael@0 | 71 | |
michael@0 | 72 | void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 73 | #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
michael@0 | 74 | |
michael@0 | 75 | void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 76 | #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
michael@0 | 77 | |
michael@0 | 78 | void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 79 | #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
michael@0 | 80 | |
michael@0 | 81 | void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 82 | #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
michael@0 | 83 | |
michael@0 | 84 | void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 85 | #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
michael@0 | 86 | |
michael@0 | 87 | void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 88 | #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c |
michael@0 | 89 | |
michael@0 | 90 | void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 91 | #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c |
michael@0 | 92 | |
michael@0 | 93 | void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 94 | #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c |
michael@0 | 95 | |
michael@0 | 96 | void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 97 | #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
michael@0 | 98 | |
michael@0 | 99 | void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 100 | #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
michael@0 | 101 | |
michael@0 | 102 | void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 103 | #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
michael@0 | 104 | |
michael@0 | 105 | void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 106 | #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
michael@0 | 107 | |
michael@0 | 108 | void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 109 | #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c |
michael@0 | 110 | |
michael@0 | 111 | void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 112 | #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
michael@0 | 113 | |
michael@0 | 114 | void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 115 | #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
michael@0 | 116 | |
michael@0 | 117 | void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 118 | #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
michael@0 | 119 | |
michael@0 | 120 | void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 121 | #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
michael@0 | 122 | |
michael@0 | 123 | void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 124 | #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
michael@0 | 125 | |
michael@0 | 126 | void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 127 | #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c |
michael@0 | 128 | |
michael@0 | 129 | void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 130 | #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c |
michael@0 | 131 | |
michael@0 | 132 | void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 133 | #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c |
michael@0 | 134 | |
michael@0 | 135 | void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 136 | #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
michael@0 | 137 | |
michael@0 | 138 | void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 139 | #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
michael@0 | 140 | |
michael@0 | 141 | void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 142 | #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
michael@0 | 143 | |
michael@0 | 144 | void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 145 | #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
michael@0 | 146 | |
michael@0 | 147 | void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 148 | #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c |
michael@0 | 149 | |
michael@0 | 150 | void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 151 | #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
michael@0 | 152 | |
michael@0 | 153 | void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 154 | #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
michael@0 | 155 | |
michael@0 | 156 | void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 157 | #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
michael@0 | 158 | |
michael@0 | 159 | void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 160 | #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
michael@0 | 161 | |
michael@0 | 162 | void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 163 | #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
michael@0 | 164 | |
michael@0 | 165 | void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 166 | #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c |
michael@0 | 167 | |
michael@0 | 168 | void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 169 | #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c |
michael@0 | 170 | |
michael@0 | 171 | void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 172 | #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c |
michael@0 | 173 | |
michael@0 | 174 | void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 175 | #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
michael@0 | 176 | |
michael@0 | 177 | void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 178 | #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
michael@0 | 179 | |
michael@0 | 180 | void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left); |
michael@0 | 181 | #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
michael@0 | 182 | |
michael@0 | 183 | void vp9_mb_lpf_vertical_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh); |
michael@0 | 184 | #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_c |
michael@0 | 185 | |
michael@0 | 186 | void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
michael@0 | 187 | #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_c |
michael@0 | 188 | |
michael@0 | 189 | void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
michael@0 | 190 | #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_c |
michael@0 | 191 | |
michael@0 | 192 | void vp9_mb_lpf_horizontal_edge_w_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
michael@0 | 193 | #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_c |
michael@0 | 194 | |
michael@0 | 195 | void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
michael@0 | 196 | #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_c |
michael@0 | 197 | |
michael@0 | 198 | void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
michael@0 | 199 | #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_c |
michael@0 | 200 | |
michael@0 | 201 | void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); |
michael@0 | 202 | #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
michael@0 | 203 | |
michael@0 | 204 | void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); |
michael@0 | 205 | #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
michael@0 | 206 | |
michael@0 | 207 | void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, int alpha, int stride); |
michael@0 | 208 | #define vp9_blend_b vp9_blend_b_c |
michael@0 | 209 | |
michael@0 | 210 | 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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 211 | #define vp9_convolve_copy vp9_convolve_copy_c |
michael@0 | 212 | |
michael@0 | 213 | 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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 214 | #define vp9_convolve_avg vp9_convolve_avg_c |
michael@0 | 215 | |
michael@0 | 216 | void vp9_convolve8_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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 217 | #define vp9_convolve8 vp9_convolve8_c |
michael@0 | 218 | |
michael@0 | 219 | void vp9_convolve8_horiz_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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 220 | #define vp9_convolve8_horiz vp9_convolve8_horiz_c |
michael@0 | 221 | |
michael@0 | 222 | 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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 223 | #define vp9_convolve8_vert vp9_convolve8_vert_c |
michael@0 | 224 | |
michael@0 | 225 | void vp9_convolve8_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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 226 | #define vp9_convolve8_avg vp9_convolve8_avg_c |
michael@0 | 227 | |
michael@0 | 228 | void vp9_convolve8_avg_horiz_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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 229 | #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c |
michael@0 | 230 | |
michael@0 | 231 | void vp9_convolve8_avg_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 *filter_y, int y_step_q4, int w, int h); |
michael@0 | 232 | #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c |
michael@0 | 233 | |
michael@0 | 234 | void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 235 | #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c |
michael@0 | 236 | |
michael@0 | 237 | void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 238 | #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c |
michael@0 | 239 | |
michael@0 | 240 | void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 241 | #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c |
michael@0 | 242 | |
michael@0 | 243 | void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 244 | #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c |
michael@0 | 245 | |
michael@0 | 246 | void vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 247 | #define vp9_idct8x8_10_add vp9_idct8x8_10_add_c |
michael@0 | 248 | |
michael@0 | 249 | void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 250 | #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c |
michael@0 | 251 | |
michael@0 | 252 | void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 253 | #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c |
michael@0 | 254 | |
michael@0 | 255 | void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 256 | #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c |
michael@0 | 257 | |
michael@0 | 258 | void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 259 | #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c |
michael@0 | 260 | |
michael@0 | 261 | void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 262 | #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c |
michael@0 | 263 | |
michael@0 | 264 | void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 265 | #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c |
michael@0 | 266 | |
michael@0 | 267 | void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); |
michael@0 | 268 | #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c |
michael@0 | 269 | |
michael@0 | 270 | void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type); |
michael@0 | 271 | #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c |
michael@0 | 272 | |
michael@0 | 273 | void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type); |
michael@0 | 274 | #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c |
michael@0 | 275 | |
michael@0 | 276 | void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 277 | #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c |
michael@0 | 278 | |
michael@0 | 279 | void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride); |
michael@0 | 280 | #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c |
michael@0 | 281 | |
michael@0 | 282 | unsigned int vp9_variance32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 283 | #define vp9_variance32x16 vp9_variance32x16_c |
michael@0 | 284 | |
michael@0 | 285 | unsigned int vp9_variance16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 286 | #define vp9_variance16x32 vp9_variance16x32_c |
michael@0 | 287 | |
michael@0 | 288 | unsigned int vp9_variance64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 289 | #define vp9_variance64x32 vp9_variance64x32_c |
michael@0 | 290 | |
michael@0 | 291 | unsigned int vp9_variance32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 292 | #define vp9_variance32x64 vp9_variance32x64_c |
michael@0 | 293 | |
michael@0 | 294 | unsigned int vp9_variance32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 295 | #define vp9_variance32x32 vp9_variance32x32_c |
michael@0 | 296 | |
michael@0 | 297 | unsigned int vp9_variance64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 298 | #define vp9_variance64x64 vp9_variance64x64_c |
michael@0 | 299 | |
michael@0 | 300 | unsigned int vp9_variance16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 301 | #define vp9_variance16x16 vp9_variance16x16_c |
michael@0 | 302 | |
michael@0 | 303 | unsigned int vp9_variance16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 304 | #define vp9_variance16x8 vp9_variance16x8_c |
michael@0 | 305 | |
michael@0 | 306 | unsigned int vp9_variance8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 307 | #define vp9_variance8x16 vp9_variance8x16_c |
michael@0 | 308 | |
michael@0 | 309 | unsigned int vp9_variance8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 310 | #define vp9_variance8x8 vp9_variance8x8_c |
michael@0 | 311 | |
michael@0 | 312 | void vp9_get_sse_sum_8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, int *sum); |
michael@0 | 313 | #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c |
michael@0 | 314 | |
michael@0 | 315 | unsigned int vp9_variance8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 316 | #define vp9_variance8x4 vp9_variance8x4_c |
michael@0 | 317 | |
michael@0 | 318 | unsigned int vp9_variance4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 319 | #define vp9_variance4x8 vp9_variance4x8_c |
michael@0 | 320 | |
michael@0 | 321 | unsigned int vp9_variance4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 322 | #define vp9_variance4x4 vp9_variance4x4_c |
michael@0 | 323 | |
michael@0 | 324 | unsigned int vp9_sub_pixel_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 325 | #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c |
michael@0 | 326 | |
michael@0 | 327 | unsigned int vp9_sub_pixel_avg_variance64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 328 | #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c |
michael@0 | 329 | |
michael@0 | 330 | unsigned int vp9_sub_pixel_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 331 | #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c |
michael@0 | 332 | |
michael@0 | 333 | unsigned int vp9_sub_pixel_avg_variance32x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 334 | #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c |
michael@0 | 335 | |
michael@0 | 336 | unsigned int vp9_sub_pixel_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 337 | #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c |
michael@0 | 338 | |
michael@0 | 339 | unsigned int vp9_sub_pixel_avg_variance64x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 340 | #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c |
michael@0 | 341 | |
michael@0 | 342 | unsigned int vp9_sub_pixel_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 343 | #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c |
michael@0 | 344 | |
michael@0 | 345 | unsigned int vp9_sub_pixel_avg_variance32x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 346 | #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c |
michael@0 | 347 | |
michael@0 | 348 | unsigned int vp9_sub_pixel_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 349 | #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c |
michael@0 | 350 | |
michael@0 | 351 | unsigned int vp9_sub_pixel_avg_variance16x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 352 | #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c |
michael@0 | 353 | |
michael@0 | 354 | unsigned int vp9_sub_pixel_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 355 | #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c |
michael@0 | 356 | |
michael@0 | 357 | unsigned int vp9_sub_pixel_avg_variance32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 358 | #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c |
michael@0 | 359 | |
michael@0 | 360 | unsigned int vp9_sub_pixel_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 361 | #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c |
michael@0 | 362 | |
michael@0 | 363 | unsigned int vp9_sub_pixel_avg_variance16x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 364 | #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c |
michael@0 | 365 | |
michael@0 | 366 | unsigned int vp9_sub_pixel_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 367 | #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c |
michael@0 | 368 | |
michael@0 | 369 | unsigned int vp9_sub_pixel_avg_variance8x16_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 370 | #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c |
michael@0 | 371 | |
michael@0 | 372 | unsigned int vp9_sub_pixel_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 373 | #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c |
michael@0 | 374 | |
michael@0 | 375 | unsigned int vp9_sub_pixel_avg_variance16x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 376 | #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c |
michael@0 | 377 | |
michael@0 | 378 | unsigned int vp9_sub_pixel_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 379 | #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c |
michael@0 | 380 | |
michael@0 | 381 | unsigned int vp9_sub_pixel_avg_variance8x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 382 | #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c |
michael@0 | 383 | |
michael@0 | 384 | unsigned int vp9_sub_pixel_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 385 | #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c |
michael@0 | 386 | |
michael@0 | 387 | unsigned int vp9_sub_pixel_avg_variance8x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 388 | #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c |
michael@0 | 389 | |
michael@0 | 390 | unsigned int vp9_sub_pixel_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 391 | #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c |
michael@0 | 392 | |
michael@0 | 393 | unsigned int vp9_sub_pixel_avg_variance4x8_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 394 | #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c |
michael@0 | 395 | |
michael@0 | 396 | unsigned int vp9_sub_pixel_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 397 | #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c |
michael@0 | 398 | |
michael@0 | 399 | unsigned int vp9_sub_pixel_avg_variance4x4_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse, const uint8_t *second_pred); |
michael@0 | 400 | #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c |
michael@0 | 401 | |
michael@0 | 402 | unsigned int vp9_sad64x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 403 | #define vp9_sad64x64 vp9_sad64x64_c |
michael@0 | 404 | |
michael@0 | 405 | unsigned int vp9_sad32x64_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 406 | #define vp9_sad32x64 vp9_sad32x64_c |
michael@0 | 407 | |
michael@0 | 408 | unsigned int vp9_sad64x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 409 | #define vp9_sad64x32 vp9_sad64x32_c |
michael@0 | 410 | |
michael@0 | 411 | unsigned int vp9_sad32x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 412 | #define vp9_sad32x16 vp9_sad32x16_c |
michael@0 | 413 | |
michael@0 | 414 | unsigned int vp9_sad16x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 415 | #define vp9_sad16x32 vp9_sad16x32_c |
michael@0 | 416 | |
michael@0 | 417 | unsigned int vp9_sad32x32_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 418 | #define vp9_sad32x32 vp9_sad32x32_c |
michael@0 | 419 | |
michael@0 | 420 | unsigned int vp9_sad16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 421 | #define vp9_sad16x16 vp9_sad16x16_c |
michael@0 | 422 | |
michael@0 | 423 | unsigned int vp9_sad16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 424 | #define vp9_sad16x8 vp9_sad16x8_c |
michael@0 | 425 | |
michael@0 | 426 | unsigned int vp9_sad8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 427 | #define vp9_sad8x16 vp9_sad8x16_c |
michael@0 | 428 | |
michael@0 | 429 | unsigned int vp9_sad8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 430 | #define vp9_sad8x8 vp9_sad8x8_c |
michael@0 | 431 | |
michael@0 | 432 | unsigned int vp9_sad8x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 433 | #define vp9_sad8x4 vp9_sad8x4_c |
michael@0 | 434 | |
michael@0 | 435 | unsigned int vp9_sad4x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 436 | #define vp9_sad4x8 vp9_sad4x8_c |
michael@0 | 437 | |
michael@0 | 438 | unsigned int vp9_sad4x4_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int max_sad); |
michael@0 | 439 | #define vp9_sad4x4 vp9_sad4x4_c |
michael@0 | 440 | |
michael@0 | 441 | unsigned int vp9_sad64x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 442 | #define vp9_sad64x64_avg vp9_sad64x64_avg_c |
michael@0 | 443 | |
michael@0 | 444 | unsigned int vp9_sad32x64_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 445 | #define vp9_sad32x64_avg vp9_sad32x64_avg_c |
michael@0 | 446 | |
michael@0 | 447 | unsigned int vp9_sad64x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 448 | #define vp9_sad64x32_avg vp9_sad64x32_avg_c |
michael@0 | 449 | |
michael@0 | 450 | unsigned int vp9_sad32x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 451 | #define vp9_sad32x16_avg vp9_sad32x16_avg_c |
michael@0 | 452 | |
michael@0 | 453 | unsigned int vp9_sad16x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 454 | #define vp9_sad16x32_avg vp9_sad16x32_avg_c |
michael@0 | 455 | |
michael@0 | 456 | unsigned int vp9_sad32x32_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 457 | #define vp9_sad32x32_avg vp9_sad32x32_avg_c |
michael@0 | 458 | |
michael@0 | 459 | unsigned int vp9_sad16x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 460 | #define vp9_sad16x16_avg vp9_sad16x16_avg_c |
michael@0 | 461 | |
michael@0 | 462 | unsigned int vp9_sad16x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 463 | #define vp9_sad16x8_avg vp9_sad16x8_avg_c |
michael@0 | 464 | |
michael@0 | 465 | unsigned int vp9_sad8x16_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 466 | #define vp9_sad8x16_avg vp9_sad8x16_avg_c |
michael@0 | 467 | |
michael@0 | 468 | unsigned int vp9_sad8x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 469 | #define vp9_sad8x8_avg vp9_sad8x8_avg_c |
michael@0 | 470 | |
michael@0 | 471 | unsigned int vp9_sad8x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 472 | #define vp9_sad8x4_avg vp9_sad8x4_avg_c |
michael@0 | 473 | |
michael@0 | 474 | unsigned int vp9_sad4x8_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 475 | #define vp9_sad4x8_avg vp9_sad4x8_avg_c |
michael@0 | 476 | |
michael@0 | 477 | unsigned int vp9_sad4x4_avg_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, const uint8_t *second_pred, unsigned int max_sad); |
michael@0 | 478 | #define vp9_sad4x4_avg vp9_sad4x4_avg_c |
michael@0 | 479 | |
michael@0 | 480 | unsigned int vp9_variance_halfpixvar16x16_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 481 | #define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c |
michael@0 | 482 | |
michael@0 | 483 | unsigned int vp9_variance_halfpixvar16x16_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 484 | #define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c |
michael@0 | 485 | |
michael@0 | 486 | unsigned int vp9_variance_halfpixvar16x16_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 487 | #define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c |
michael@0 | 488 | |
michael@0 | 489 | unsigned int vp9_variance_halfpixvar64x64_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 490 | #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c |
michael@0 | 491 | |
michael@0 | 492 | unsigned int vp9_variance_halfpixvar64x64_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 493 | #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c |
michael@0 | 494 | |
michael@0 | 495 | unsigned int vp9_variance_halfpixvar64x64_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 496 | #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c |
michael@0 | 497 | |
michael@0 | 498 | unsigned int vp9_variance_halfpixvar32x32_h_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 499 | #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c |
michael@0 | 500 | |
michael@0 | 501 | unsigned int vp9_variance_halfpixvar32x32_v_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 502 | #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c |
michael@0 | 503 | |
michael@0 | 504 | unsigned int vp9_variance_halfpixvar32x32_hv_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 505 | #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c |
michael@0 | 506 | |
michael@0 | 507 | void vp9_sad64x64x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 508 | #define vp9_sad64x64x3 vp9_sad64x64x3_c |
michael@0 | 509 | |
michael@0 | 510 | void vp9_sad32x32x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 511 | #define vp9_sad32x32x3 vp9_sad32x32x3_c |
michael@0 | 512 | |
michael@0 | 513 | void vp9_sad16x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 514 | #define vp9_sad16x16x3 vp9_sad16x16x3_c |
michael@0 | 515 | |
michael@0 | 516 | void vp9_sad16x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 517 | #define vp9_sad16x8x3 vp9_sad16x8x3_c |
michael@0 | 518 | |
michael@0 | 519 | void vp9_sad8x16x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 520 | #define vp9_sad8x16x3 vp9_sad8x16x3_c |
michael@0 | 521 | |
michael@0 | 522 | void vp9_sad8x8x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 523 | #define vp9_sad8x8x3 vp9_sad8x8x3_c |
michael@0 | 524 | |
michael@0 | 525 | void vp9_sad4x4x3_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int ref_stride, unsigned int *sad_array); |
michael@0 | 526 | #define vp9_sad4x4x3 vp9_sad4x4x3_c |
michael@0 | 527 | |
michael@0 | 528 | void vp9_sad64x64x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 529 | #define vp9_sad64x64x8 vp9_sad64x64x8_c |
michael@0 | 530 | |
michael@0 | 531 | void vp9_sad32x32x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 532 | #define vp9_sad32x32x8 vp9_sad32x32x8_c |
michael@0 | 533 | |
michael@0 | 534 | void vp9_sad16x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 535 | #define vp9_sad16x16x8 vp9_sad16x16x8_c |
michael@0 | 536 | |
michael@0 | 537 | void vp9_sad16x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 538 | #define vp9_sad16x8x8 vp9_sad16x8x8_c |
michael@0 | 539 | |
michael@0 | 540 | void vp9_sad8x16x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 541 | #define vp9_sad8x16x8 vp9_sad8x16x8_c |
michael@0 | 542 | |
michael@0 | 543 | void vp9_sad8x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 544 | #define vp9_sad8x8x8 vp9_sad8x8x8_c |
michael@0 | 545 | |
michael@0 | 546 | void vp9_sad8x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 547 | #define vp9_sad8x4x8 vp9_sad8x4x8_c |
michael@0 | 548 | |
michael@0 | 549 | void vp9_sad4x8x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 550 | #define vp9_sad4x8x8 vp9_sad4x8x8_c |
michael@0 | 551 | |
michael@0 | 552 | void vp9_sad4x4x8_c(const uint8_t *src_ptr, int src_stride, const uint8_t *ref_ptr, int ref_stride, uint32_t *sad_array); |
michael@0 | 553 | #define vp9_sad4x4x8 vp9_sad4x4x8_c |
michael@0 | 554 | |
michael@0 | 555 | void vp9_sad64x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 556 | #define vp9_sad64x64x4d vp9_sad64x64x4d_c |
michael@0 | 557 | |
michael@0 | 558 | void vp9_sad32x64x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 559 | #define vp9_sad32x64x4d vp9_sad32x64x4d_c |
michael@0 | 560 | |
michael@0 | 561 | void vp9_sad64x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 562 | #define vp9_sad64x32x4d vp9_sad64x32x4d_c |
michael@0 | 563 | |
michael@0 | 564 | void vp9_sad32x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 565 | #define vp9_sad32x16x4d vp9_sad32x16x4d_c |
michael@0 | 566 | |
michael@0 | 567 | void vp9_sad16x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 568 | #define vp9_sad16x32x4d vp9_sad16x32x4d_c |
michael@0 | 569 | |
michael@0 | 570 | void vp9_sad32x32x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 571 | #define vp9_sad32x32x4d vp9_sad32x32x4d_c |
michael@0 | 572 | |
michael@0 | 573 | void vp9_sad16x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 574 | #define vp9_sad16x16x4d vp9_sad16x16x4d_c |
michael@0 | 575 | |
michael@0 | 576 | void vp9_sad16x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 577 | #define vp9_sad16x8x4d vp9_sad16x8x4d_c |
michael@0 | 578 | |
michael@0 | 579 | void vp9_sad8x16x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 580 | #define vp9_sad8x16x4d vp9_sad8x16x4d_c |
michael@0 | 581 | |
michael@0 | 582 | void vp9_sad8x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 583 | #define vp9_sad8x8x4d vp9_sad8x8x4d_c |
michael@0 | 584 | |
michael@0 | 585 | void vp9_sad8x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 586 | #define vp9_sad8x4x4d vp9_sad8x4x4d_c |
michael@0 | 587 | |
michael@0 | 588 | void vp9_sad4x8x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 589 | #define vp9_sad4x8x4d vp9_sad4x8x4d_c |
michael@0 | 590 | |
michael@0 | 591 | void vp9_sad4x4x4d_c(const uint8_t *src_ptr, int src_stride, const uint8_t* const ref_ptr[], int ref_stride, unsigned int *sad_array); |
michael@0 | 592 | #define vp9_sad4x4x4d vp9_sad4x4x4d_c |
michael@0 | 593 | |
michael@0 | 594 | unsigned int vp9_mse16x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
michael@0 | 595 | #define vp9_mse16x16 vp9_mse16x16_c |
michael@0 | 596 | |
michael@0 | 597 | unsigned int vp9_mse8x16_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
michael@0 | 598 | #define vp9_mse8x16 vp9_mse8x16_c |
michael@0 | 599 | |
michael@0 | 600 | unsigned int vp9_mse16x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
michael@0 | 601 | #define vp9_mse16x8 vp9_mse16x8_c |
michael@0 | 602 | |
michael@0 | 603 | unsigned int vp9_mse8x8_c(const uint8_t *src_ptr, int source_stride, const uint8_t *ref_ptr, int recon_stride, unsigned int *sse); |
michael@0 | 604 | #define vp9_mse8x8 vp9_mse8x8_c |
michael@0 | 605 | |
michael@0 | 606 | unsigned int vp9_sub_pixel_mse64x64_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 607 | #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c |
michael@0 | 608 | |
michael@0 | 609 | unsigned int vp9_sub_pixel_mse32x32_c(const uint8_t *src_ptr, int source_stride, int xoffset, int yoffset, const uint8_t *ref_ptr, int ref_stride, unsigned int *sse); |
michael@0 | 610 | #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c |
michael@0 | 611 | |
michael@0 | 612 | unsigned int vp9_get_mb_ss_c(const int16_t *); |
michael@0 | 613 | #define vp9_get_mb_ss vp9_get_mb_ss_c |
michael@0 | 614 | |
michael@0 | 615 | int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, int64_t *ssz); |
michael@0 | 616 | #define vp9_block_error vp9_block_error_c |
michael@0 | 617 | |
michael@0 | 618 | void vp9_subtract_block_c(int rows, int cols, int16_t *diff_ptr, ptrdiff_t diff_stride, const uint8_t *src_ptr, ptrdiff_t src_stride, const uint8_t *pred_ptr, ptrdiff_t pred_stride); |
michael@0 | 619 | #define vp9_subtract_block vp9_subtract_block_c |
michael@0 | 620 | |
michael@0 | 621 | void vp9_quantize_b_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
michael@0 | 622 | #define vp9_quantize_b vp9_quantize_b_c |
michael@0 | 623 | |
michael@0 | 624 | void vp9_quantize_b_32x32_c(const int16_t *coeff_ptr, intptr_t n_coeffs, int skip_block, const int16_t *zbin_ptr, const int16_t *round_ptr, const int16_t *quant_ptr, const int16_t *quant_shift_ptr, int16_t *qcoeff_ptr, int16_t *dqcoeff_ptr, const int16_t *dequant_ptr, int zbin_oq_value, uint16_t *eob_ptr, const int16_t *scan, const int16_t *iscan); |
michael@0 | 625 | #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c |
michael@0 | 626 | |
michael@0 | 627 | void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type); |
michael@0 | 628 | #define vp9_short_fht4x4 vp9_short_fht4x4_c |
michael@0 | 629 | |
michael@0 | 630 | void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type); |
michael@0 | 631 | #define vp9_short_fht8x8 vp9_short_fht8x8_c |
michael@0 | 632 | |
michael@0 | 633 | void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type); |
michael@0 | 634 | #define vp9_short_fht16x16 vp9_short_fht16x16_c |
michael@0 | 635 | |
michael@0 | 636 | void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 637 | #define vp9_fwht4x4 vp9_fwht4x4_c |
michael@0 | 638 | |
michael@0 | 639 | void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 640 | #define vp9_fdct4x4 vp9_fdct4x4_c |
michael@0 | 641 | |
michael@0 | 642 | void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 643 | #define vp9_fdct8x8 vp9_fdct8x8_c |
michael@0 | 644 | |
michael@0 | 645 | void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 646 | #define vp9_fdct16x16 vp9_fdct16x16_c |
michael@0 | 647 | |
michael@0 | 648 | void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 649 | #define vp9_fdct32x32 vp9_fdct32x32_c |
michael@0 | 650 | |
michael@0 | 651 | void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride); |
michael@0 | 652 | #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c |
michael@0 | 653 | |
michael@0 | 654 | int vp9_full_search_sad_c(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv, int n); |
michael@0 | 655 | #define vp9_full_search_sad vp9_full_search_sad_c |
michael@0 | 656 | |
michael@0 | 657 | int vp9_refining_search_sad_c(struct macroblock *x, union int_mv *ref_mv, int sad_per_bit, int distance, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv); |
michael@0 | 658 | #define vp9_refining_search_sad vp9_refining_search_sad_c |
michael@0 | 659 | |
michael@0 | 660 | int vp9_diamond_search_sad_c(struct macroblock *x, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct vp9_variance_vtable *fn_ptr, DEC_MVCOSTS, union int_mv *center_mv); |
michael@0 | 661 | #define vp9_diamond_search_sad vp9_diamond_search_sad_c |
michael@0 | 662 | |
michael@0 | 663 | void vp9_temporal_filter_apply_c(uint8_t *frame1, unsigned int stride, uint8_t *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, uint16_t *count); |
michael@0 | 664 | #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c |
michael@0 | 665 | |
michael@0 | 666 | void vp9_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int fraction); |
michael@0 | 667 | #define vp9_yv12_copy_partial_frame vp9_yv12_copy_partial_frame_c |
michael@0 | 668 | |
michael@0 | 669 | void vp9_rtcd(void); |
michael@0 | 670 | #include "vpx_config.h" |
michael@0 | 671 | |
michael@0 | 672 | #ifdef RTCD_C |
michael@0 | 673 | static void setup_rtcd_internal(void) |
michael@0 | 674 | { |
michael@0 | 675 | |
michael@0 | 676 | } |
michael@0 | 677 | #endif |
michael@0 | 678 | #endif |