media/libvpx/vpx_rtcd_generic-gnu.h

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

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 VPX_RTCD_
michael@0 2 #define VPX_RTCD_
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 #include "vp8/common/blockd.h"
michael@0 11
michael@0 12 struct blockd;
michael@0 13 struct macroblockd;
michael@0 14 struct loop_filter_info;
michael@0 15
michael@0 16 /* Encoder forward decls */
michael@0 17 struct block;
michael@0 18 struct macroblock;
michael@0 19 struct variance_vtable;
michael@0 20 union int_mv;
michael@0 21 struct yv12_buffer_config;
michael@0 22
michael@0 23 void vp8_dequantize_b_c(struct blockd*, short *dqc);
michael@0 24 #define vp8_dequantize_b vp8_dequantize_b_c
michael@0 25
michael@0 26 void vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *output, int stride);
michael@0 27 #define vp8_dequant_idct_add vp8_dequant_idct_add_c
michael@0 28
michael@0 29 void vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs);
michael@0 30 #define vp8_dequant_idct_add_y_block vp8_dequant_idct_add_y_block_c
michael@0 31
michael@0 32 void vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dst_u, unsigned char *dst_v, int stride, char *eobs);
michael@0 33 #define vp8_dequant_idct_add_uv_block vp8_dequant_idct_add_uv_block_c
michael@0 34
michael@0 35 void vp8_loop_filter_mbv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
michael@0 36 #define vp8_loop_filter_mbv vp8_loop_filter_mbv_c
michael@0 37
michael@0 38 void vp8_loop_filter_bv_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
michael@0 39 #define vp8_loop_filter_bv vp8_loop_filter_bv_c
michael@0 40
michael@0 41 void vp8_loop_filter_mbh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
michael@0 42 #define vp8_loop_filter_mbh vp8_loop_filter_mbh_c
michael@0 43
michael@0 44 void vp8_loop_filter_bh_c(unsigned char *y, unsigned char *u, unsigned char *v, int ystride, int uv_stride, struct loop_filter_info *lfi);
michael@0 45 #define vp8_loop_filter_bh vp8_loop_filter_bh_c
michael@0 46
michael@0 47 void vp8_loop_filter_simple_vertical_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 48 #define vp8_loop_filter_simple_mbv vp8_loop_filter_simple_vertical_edge_c
michael@0 49
michael@0 50 void vp8_loop_filter_simple_horizontal_edge_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 51 #define vp8_loop_filter_simple_mbh vp8_loop_filter_simple_horizontal_edge_c
michael@0 52
michael@0 53 void vp8_loop_filter_bvs_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 54 #define vp8_loop_filter_simple_bv vp8_loop_filter_bvs_c
michael@0 55
michael@0 56 void vp8_loop_filter_bhs_c(unsigned char *y, int ystride, const unsigned char *blimit);
michael@0 57 #define vp8_loop_filter_simple_bh vp8_loop_filter_bhs_c
michael@0 58
michael@0 59 void vp8_short_idct4x4llm_c(short *input, unsigned char *pred, int pitch, unsigned char *dst, int dst_stride);
michael@0 60 #define vp8_short_idct4x4llm vp8_short_idct4x4llm_c
michael@0 61
michael@0 62 void vp8_short_inv_walsh4x4_1_c(short *input, short *output);
michael@0 63 #define vp8_short_inv_walsh4x4_1 vp8_short_inv_walsh4x4_1_c
michael@0 64
michael@0 65 void vp8_short_inv_walsh4x4_c(short *input, short *output);
michael@0 66 #define vp8_short_inv_walsh4x4 vp8_short_inv_walsh4x4_c
michael@0 67
michael@0 68 void vp8_dc_only_idct_add_c(short input, unsigned char *pred, int pred_stride, unsigned char *dst, int dst_stride);
michael@0 69 #define vp8_dc_only_idct_add vp8_dc_only_idct_add_c
michael@0 70
michael@0 71 void vp8_copy_mem16x16_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 72 #define vp8_copy_mem16x16 vp8_copy_mem16x16_c
michael@0 73
michael@0 74 void vp8_copy_mem8x8_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 75 #define vp8_copy_mem8x8 vp8_copy_mem8x8_c
michael@0 76
michael@0 77 void vp8_copy_mem8x4_c(unsigned char *src, int src_pitch, unsigned char *dst, int dst_pitch);
michael@0 78 #define vp8_copy_mem8x4 vp8_copy_mem8x4_c
michael@0 79
michael@0 80 void vp8_build_intra_predictors_mby_s_c(struct macroblockd *x, unsigned char * yabove_row, unsigned char * yleft, int left_stride, unsigned char * ypred_ptr, int y_stride);
michael@0 81 #define vp8_build_intra_predictors_mby_s vp8_build_intra_predictors_mby_s_c
michael@0 82
michael@0 83 void vp8_build_intra_predictors_mbuv_s_c(struct macroblockd *x, unsigned char * uabove_row, unsigned char * vabove_row, unsigned char *uleft, unsigned char *vleft, int left_stride, unsigned char * upred_ptr, unsigned char * vpred_ptr, int pred_stride);
michael@0 84 #define vp8_build_intra_predictors_mbuv_s vp8_build_intra_predictors_mbuv_s_c
michael@0 85
michael@0 86 void vp8_intra4x4_predict_c(unsigned char *Above, unsigned char *yleft, int left_stride, B_PREDICTION_MODE b_mode, unsigned char *dst, int dst_stride, unsigned char top_left);
michael@0 87 #define vp8_intra4x4_predict vp8_intra4x4_predict_c
michael@0 88
michael@0 89 void vp8_sixtap_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 90 #define vp8_sixtap_predict16x16 vp8_sixtap_predict16x16_c
michael@0 91
michael@0 92 void vp8_sixtap_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 93 #define vp8_sixtap_predict8x8 vp8_sixtap_predict8x8_c
michael@0 94
michael@0 95 void vp8_sixtap_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 96 #define vp8_sixtap_predict8x4 vp8_sixtap_predict8x4_c
michael@0 97
michael@0 98 void vp8_sixtap_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 99 #define vp8_sixtap_predict4x4 vp8_sixtap_predict4x4_c
michael@0 100
michael@0 101 void vp8_bilinear_predict16x16_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 102 #define vp8_bilinear_predict16x16 vp8_bilinear_predict16x16_c
michael@0 103
michael@0 104 void vp8_bilinear_predict8x8_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 105 #define vp8_bilinear_predict8x8 vp8_bilinear_predict8x8_c
michael@0 106
michael@0 107 void vp8_bilinear_predict8x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 108 #define vp8_bilinear_predict8x4 vp8_bilinear_predict8x4_c
michael@0 109
michael@0 110 void vp8_bilinear_predict4x4_c(unsigned char *src, int src_pitch, int xofst, int yofst, unsigned char *dst, int dst_pitch);
michael@0 111 #define vp8_bilinear_predict4x4 vp8_bilinear_predict4x4_c
michael@0 112
michael@0 113 unsigned int vp8_variance4x4_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 114 #define vp8_variance4x4 vp8_variance4x4_c
michael@0 115
michael@0 116 unsigned int vp8_variance8x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 117 #define vp8_variance8x8 vp8_variance8x8_c
michael@0 118
michael@0 119 unsigned int vp8_variance8x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 120 #define vp8_variance8x16 vp8_variance8x16_c
michael@0 121
michael@0 122 unsigned int vp8_variance16x8_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 123 #define vp8_variance16x8 vp8_variance16x8_c
michael@0 124
michael@0 125 unsigned int vp8_variance16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 126 #define vp8_variance16x16 vp8_variance16x16_c
michael@0 127
michael@0 128 unsigned int vp8_sub_pixel_variance4x4_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 129 #define vp8_sub_pixel_variance4x4 vp8_sub_pixel_variance4x4_c
michael@0 130
michael@0 131 unsigned int vp8_sub_pixel_variance8x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 132 #define vp8_sub_pixel_variance8x8 vp8_sub_pixel_variance8x8_c
michael@0 133
michael@0 134 unsigned int vp8_sub_pixel_variance8x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 135 #define vp8_sub_pixel_variance8x16 vp8_sub_pixel_variance8x16_c
michael@0 136
michael@0 137 unsigned int vp8_sub_pixel_variance16x8_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 138 #define vp8_sub_pixel_variance16x8 vp8_sub_pixel_variance16x8_c
michael@0 139
michael@0 140 unsigned int vp8_sub_pixel_variance16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 141 #define vp8_sub_pixel_variance16x16 vp8_sub_pixel_variance16x16_c
michael@0 142
michael@0 143 unsigned int vp8_variance_halfpixvar16x16_h_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 144 #define vp8_variance_halfpixvar16x16_h vp8_variance_halfpixvar16x16_h_c
michael@0 145
michael@0 146 unsigned int vp8_variance_halfpixvar16x16_v_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 147 #define vp8_variance_halfpixvar16x16_v vp8_variance_halfpixvar16x16_v_c
michael@0 148
michael@0 149 unsigned int vp8_variance_halfpixvar16x16_hv_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 150 #define vp8_variance_halfpixvar16x16_hv vp8_variance_halfpixvar16x16_hv_c
michael@0 151
michael@0 152 unsigned int vp8_sad4x4_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
michael@0 153 #define vp8_sad4x4 vp8_sad4x4_c
michael@0 154
michael@0 155 unsigned int vp8_sad8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
michael@0 156 #define vp8_sad8x8 vp8_sad8x8_c
michael@0 157
michael@0 158 unsigned int vp8_sad8x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
michael@0 159 #define vp8_sad8x16 vp8_sad8x16_c
michael@0 160
michael@0 161 unsigned int vp8_sad16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
michael@0 162 #define vp8_sad16x8 vp8_sad16x8_c
michael@0 163
michael@0 164 unsigned int vp8_sad16x16_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int max_sad);
michael@0 165 #define vp8_sad16x16 vp8_sad16x16_c
michael@0 166
michael@0 167 void vp8_sad4x4x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 168 #define vp8_sad4x4x3 vp8_sad4x4x3_c
michael@0 169
michael@0 170 void vp8_sad8x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 171 #define vp8_sad8x8x3 vp8_sad8x8x3_c
michael@0 172
michael@0 173 void vp8_sad8x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 174 #define vp8_sad8x16x3 vp8_sad8x16x3_c
michael@0 175
michael@0 176 void vp8_sad16x8x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 177 #define vp8_sad16x8x3 vp8_sad16x8x3_c
michael@0 178
michael@0 179 void vp8_sad16x16x3_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sad_array);
michael@0 180 #define vp8_sad16x16x3 vp8_sad16x16x3_c
michael@0 181
michael@0 182 void vp8_sad4x4x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 183 #define vp8_sad4x4x8 vp8_sad4x4x8_c
michael@0 184
michael@0 185 void vp8_sad8x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 186 #define vp8_sad8x8x8 vp8_sad8x8x8_c
michael@0 187
michael@0 188 void vp8_sad8x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 189 #define vp8_sad8x16x8 vp8_sad8x16x8_c
michael@0 190
michael@0 191 void vp8_sad16x8x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 192 #define vp8_sad16x8x8 vp8_sad16x8x8_c
michael@0 193
michael@0 194 void vp8_sad16x16x8_c(const unsigned char *src_ptr, int src_stride, const unsigned char *ref_ptr, int ref_stride, unsigned short *sad_array);
michael@0 195 #define vp8_sad16x16x8 vp8_sad16x16x8_c
michael@0 196
michael@0 197 void vp8_sad4x4x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
michael@0 198 #define vp8_sad4x4x4d vp8_sad4x4x4d_c
michael@0 199
michael@0 200 void vp8_sad8x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
michael@0 201 #define vp8_sad8x8x4d vp8_sad8x8x4d_c
michael@0 202
michael@0 203 void vp8_sad8x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
michael@0 204 #define vp8_sad8x16x4d vp8_sad8x16x4d_c
michael@0 205
michael@0 206 void vp8_sad16x8x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
michael@0 207 #define vp8_sad16x8x4d vp8_sad16x8x4d_c
michael@0 208
michael@0 209 void vp8_sad16x16x4d_c(const unsigned char *src_ptr, int src_stride, const unsigned char * const ref_ptr[], int ref_stride, unsigned int *sad_array);
michael@0 210 #define vp8_sad16x16x4d vp8_sad16x16x4d_c
michael@0 211
michael@0 212 unsigned int vp8_get_mb_ss_c(const short *);
michael@0 213 #define vp8_get_mb_ss vp8_get_mb_ss_c
michael@0 214
michael@0 215 unsigned int vp8_sub_pixel_mse16x16_c(const unsigned char *src_ptr, int source_stride, int xoffset, int yoffset, const unsigned char *ref_ptr, int Refstride, unsigned int *sse);
michael@0 216 #define vp8_sub_pixel_mse16x16 vp8_sub_pixel_mse16x16_c
michael@0 217
michael@0 218 unsigned int vp8_mse16x16_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride, unsigned int *sse);
michael@0 219 #define vp8_mse16x16 vp8_mse16x16_c
michael@0 220
michael@0 221 unsigned int vp8_get4x4sse_cs_c(const unsigned char *src_ptr, int source_stride, const unsigned char *ref_ptr, int ref_stride);
michael@0 222 #define vp8_get4x4sse_cs vp8_get4x4sse_cs_c
michael@0 223
michael@0 224 void vp8_short_fdct4x4_c(short *input, short *output, int pitch);
michael@0 225 #define vp8_short_fdct4x4 vp8_short_fdct4x4_c
michael@0 226
michael@0 227 void vp8_short_fdct8x4_c(short *input, short *output, int pitch);
michael@0 228 #define vp8_short_fdct8x4 vp8_short_fdct8x4_c
michael@0 229
michael@0 230 void vp8_short_walsh4x4_c(short *input, short *output, int pitch);
michael@0 231 #define vp8_short_walsh4x4 vp8_short_walsh4x4_c
michael@0 232
michael@0 233 void vp8_regular_quantize_b_c(struct block *, struct blockd *);
michael@0 234 #define vp8_regular_quantize_b vp8_regular_quantize_b_c
michael@0 235
michael@0 236 void vp8_fast_quantize_b_c(struct block *, struct blockd *);
michael@0 237 #define vp8_fast_quantize_b vp8_fast_quantize_b_c
michael@0 238
michael@0 239 void vp8_regular_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
michael@0 240 #define vp8_regular_quantize_b_pair vp8_regular_quantize_b_pair_c
michael@0 241
michael@0 242 void vp8_fast_quantize_b_pair_c(struct block *b1, struct block *b2, struct blockd *d1, struct blockd *d2);
michael@0 243 #define vp8_fast_quantize_b_pair vp8_fast_quantize_b_pair_c
michael@0 244
michael@0 245 void vp8_quantize_mb_c(struct macroblock *);
michael@0 246 #define vp8_quantize_mb vp8_quantize_mb_c
michael@0 247
michael@0 248 void vp8_quantize_mby_c(struct macroblock *);
michael@0 249 #define vp8_quantize_mby vp8_quantize_mby_c
michael@0 250
michael@0 251 void vp8_quantize_mbuv_c(struct macroblock *);
michael@0 252 #define vp8_quantize_mbuv vp8_quantize_mbuv_c
michael@0 253
michael@0 254 int vp8_block_error_c(short *coeff, short *dqcoeff);
michael@0 255 #define vp8_block_error vp8_block_error_c
michael@0 256
michael@0 257 int vp8_mbblock_error_c(struct macroblock *mb, int dc);
michael@0 258 #define vp8_mbblock_error vp8_mbblock_error_c
michael@0 259
michael@0 260 int vp8_mbuverror_c(struct macroblock *mb);
michael@0 261 #define vp8_mbuverror vp8_mbuverror_c
michael@0 262
michael@0 263 void vp8_subtract_b_c(struct block *be, struct blockd *bd, int pitch);
michael@0 264 #define vp8_subtract_b vp8_subtract_b_c
michael@0 265
michael@0 266 void vp8_subtract_mby_c(short *diff, unsigned char *src, int src_stride, unsigned char *pred, int pred_stride);
michael@0 267 #define vp8_subtract_mby vp8_subtract_mby_c
michael@0 268
michael@0 269 void vp8_subtract_mbuv_c(short *diff, unsigned char *usrc, unsigned char *vsrc, int src_stride, unsigned char *upred, unsigned char *vpred, int pred_stride);
michael@0 270 #define vp8_subtract_mbuv vp8_subtract_mbuv_c
michael@0 271
michael@0 272 int vp8_full_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
michael@0 273 #define vp8_full_search_sad vp8_full_search_sad_c
michael@0 274
michael@0 275 int vp8_refining_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, int sad_per_bit, int distance, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
michael@0 276 #define vp8_refining_search_sad vp8_refining_search_sad_c
michael@0 277
michael@0 278 int vp8_diamond_search_sad_c(struct macroblock *x, struct block *b, struct blockd *d, union int_mv *ref_mv, union int_mv *best_mv, int search_param, int sad_per_bit, int *num00, struct variance_vtable *fn_ptr, int *mvcost[2], union int_mv *center_mv);
michael@0 279 #define vp8_diamond_search_sad vp8_diamond_search_sad_c
michael@0 280
michael@0 281 void vp8_temporal_filter_apply_c(unsigned char *frame1, unsigned int stride, unsigned char *frame2, unsigned int block_size, int strength, int filter_weight, unsigned int *accumulator, unsigned short *count);
michael@0 282 #define vp8_temporal_filter_apply vp8_temporal_filter_apply_c
michael@0 283
michael@0 284 void vp8_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 285 #define vp8_yv12_copy_partial_frame vp8_yv12_copy_partial_frame_c
michael@0 286
michael@0 287 int vp8_denoiser_filter_c(struct yv12_buffer_config* mc_running_avg, struct yv12_buffer_config* running_avg, struct macroblock* signal, unsigned int motion_magnitude2, int y_offset, int uv_offset);
michael@0 288 #define vp8_denoiser_filter vp8_denoiser_filter_c
michael@0 289
michael@0 290 void vp8_horizontal_line_4_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 291 #define vp8_horizontal_line_4_5_scale vp8_horizontal_line_4_5_scale_c
michael@0 292
michael@0 293 void vp8_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 294 #define vp8_vertical_band_4_5_scale vp8_vertical_band_4_5_scale_c
michael@0 295
michael@0 296 void vp8_last_vertical_band_4_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 297 #define vp8_last_vertical_band_4_5_scale vp8_last_vertical_band_4_5_scale_c
michael@0 298
michael@0 299 void vp8_horizontal_line_2_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 300 #define vp8_horizontal_line_2_3_scale vp8_horizontal_line_2_3_scale_c
michael@0 301
michael@0 302 void vp8_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 303 #define vp8_vertical_band_2_3_scale vp8_vertical_band_2_3_scale_c
michael@0 304
michael@0 305 void vp8_last_vertical_band_2_3_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 306 #define vp8_last_vertical_band_2_3_scale vp8_last_vertical_band_2_3_scale_c
michael@0 307
michael@0 308 void vp8_horizontal_line_3_5_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 309 #define vp8_horizontal_line_3_5_scale vp8_horizontal_line_3_5_scale_c
michael@0 310
michael@0 311 void vp8_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 312 #define vp8_vertical_band_3_5_scale vp8_vertical_band_3_5_scale_c
michael@0 313
michael@0 314 void vp8_last_vertical_band_3_5_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 315 #define vp8_last_vertical_band_3_5_scale vp8_last_vertical_band_3_5_scale_c
michael@0 316
michael@0 317 void vp8_horizontal_line_3_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 318 #define vp8_horizontal_line_3_4_scale vp8_horizontal_line_3_4_scale_c
michael@0 319
michael@0 320 void vp8_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 321 #define vp8_vertical_band_3_4_scale vp8_vertical_band_3_4_scale_c
michael@0 322
michael@0 323 void vp8_last_vertical_band_3_4_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 324 #define vp8_last_vertical_band_3_4_scale vp8_last_vertical_band_3_4_scale_c
michael@0 325
michael@0 326 void vp8_horizontal_line_1_2_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 327 #define vp8_horizontal_line_1_2_scale vp8_horizontal_line_1_2_scale_c
michael@0 328
michael@0 329 void vp8_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 330 #define vp8_vertical_band_1_2_scale vp8_vertical_band_1_2_scale_c
michael@0 331
michael@0 332 void vp8_last_vertical_band_1_2_scale_c(unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 333 #define vp8_last_vertical_band_1_2_scale vp8_last_vertical_band_1_2_scale_c
michael@0 334
michael@0 335 void vp8_horizontal_line_5_4_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 336 #define vp8_horizontal_line_5_4_scale vp8_horizontal_line_5_4_scale_c
michael@0 337
michael@0 338 void vp8_vertical_band_5_4_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 339 #define vp8_vertical_band_5_4_scale vp8_vertical_band_5_4_scale_c
michael@0 340
michael@0 341 void vp8_horizontal_line_5_3_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 342 #define vp8_horizontal_line_5_3_scale vp8_horizontal_line_5_3_scale_c
michael@0 343
michael@0 344 void vp8_vertical_band_5_3_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 345 #define vp8_vertical_band_5_3_scale vp8_vertical_band_5_3_scale_c
michael@0 346
michael@0 347 void vp8_horizontal_line_2_1_scale_c(const unsigned char *source, unsigned int source_width, unsigned char *dest, unsigned int dest_width);
michael@0 348 #define vp8_horizontal_line_2_1_scale vp8_horizontal_line_2_1_scale_c
michael@0 349
michael@0 350 void vp8_vertical_band_2_1_scale_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 351 #define vp8_vertical_band_2_1_scale vp8_vertical_band_2_1_scale_c
michael@0 352
michael@0 353 void vp8_vertical_band_2_1_scale_i_c(unsigned char *source, unsigned int src_pitch, unsigned char *dest, unsigned int dest_pitch, unsigned int dest_width);
michael@0 354 #define vp8_vertical_band_2_1_scale_i vp8_vertical_band_2_1_scale_i_c
michael@0 355
michael@0 356 void vp8_yv12_extend_frame_borders_c(struct yv12_buffer_config *ybf);
michael@0 357 #define vp8_yv12_extend_frame_borders vp8_yv12_extend_frame_borders_c
michael@0 358
michael@0 359 void vp8_yv12_copy_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 360 #define vp8_yv12_copy_frame vp8_yv12_copy_frame_c
michael@0 361
michael@0 362 void vp8_yv12_copy_y_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc);
michael@0 363 #define vp8_yv12_copy_y vp8_yv12_copy_y_c
michael@0 364
michael@0 365 void vpx_rtcd(void);
michael@0 366 #include "vpx_config.h"
michael@0 367
michael@0 368 #ifdef RTCD_C
michael@0 369 static void setup_rtcd_internal(void)
michael@0 370 {
michael@0 371 }
michael@0 372 #endif
michael@0 373 #endif

mercurial