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