media/libvpx/vp9_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.

     1 #ifndef VP9_RTCD_H_
     2 #define VP9_RTCD_H_
     4 #ifdef RTCD_C
     5 #define RTCD_EXTERN
     6 #else
     7 #define RTCD_EXTERN extern
     8 #endif
    10 /*
    11  * VP9
    12  */
    14 #include "vpx/vpx_integer.h"
    15 #include "vp9/common/vp9_enums.h"
    17 struct macroblockd;
    19 /* Encoder forward decls */
    20 struct macroblock;
    21 struct vp9_variance_vtable;
    23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2]
    24 union int_mv;
    25 struct yv12_buffer_config;
    27 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    28 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c
    30 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    31 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c
    33 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    34 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c
    36 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    37 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c
    39 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    40 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c
    42 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    43 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c
    45 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    46 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c
    48 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    49 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c
    51 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    52 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c
    54 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    55 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c
    57 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    58 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c
    60 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    61 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c
    63 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    64 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c
    66 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    67 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c
    69 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    70 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c
    72 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    73 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c
    75 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    76 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c
    78 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    79 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c
    81 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    82 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c
    84 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    85 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c
    87 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    88 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c
    90 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    91 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c
    93 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    94 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c
    96 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
    97 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c
    99 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   100 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c
   102 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   103 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c
   105 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   106 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c
   108 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   109 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c
   111 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   112 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c
   114 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   115 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c
   117 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   118 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c
   120 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   121 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c
   123 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   124 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c
   126 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   127 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c
   129 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   130 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c
   132 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   133 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c
   135 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   136 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c
   138 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   139 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c
   141 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   142 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c
   144 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   145 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c
   147 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   148 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c
   150 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   151 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c
   153 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   154 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c
   156 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   157 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c
   159 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   160 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c
   162 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   163 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c
   165 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   166 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c
   168 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   169 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c
   171 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   172 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c
   174 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   175 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c
   177 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   178 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c
   180 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
   181 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c
   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);
   184 #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_c
   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);
   187 #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_c
   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);
   190 #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_c
   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);
   193 #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_c
   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);
   196 #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_c
   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);
   199 #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_c
   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);
   202 #define vp9_blend_mb_inner vp9_blend_mb_inner_c
   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);
   205 #define vp9_blend_mb_outer vp9_blend_mb_outer_c
   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);
   208 #define vp9_blend_b vp9_blend_b_c
   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);
   211 #define vp9_convolve_copy vp9_convolve_copy_c
   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);
   214 #define vp9_convolve_avg vp9_convolve_avg_c
   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);
   217 #define vp9_convolve8 vp9_convolve8_c
   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);
   220 #define vp9_convolve8_horiz vp9_convolve8_horiz_c
   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);
   223 #define vp9_convolve8_vert vp9_convolve8_vert_c
   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);
   226 #define vp9_convolve8_avg vp9_convolve8_avg_c
   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);
   229 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_c
   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);
   232 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c
   234 void vp9_idct4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   235 #define vp9_idct4x4_1_add vp9_idct4x4_1_add_c
   237 void vp9_idct4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   238 #define vp9_idct4x4_16_add vp9_idct4x4_16_add_c
   240 void vp9_idct8x8_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   241 #define vp9_idct8x8_1_add vp9_idct8x8_1_add_c
   243 void vp9_idct8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   244 #define vp9_idct8x8_64_add vp9_idct8x8_64_add_c
   246 void vp9_idct8x8_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   247 #define vp9_idct8x8_10_add vp9_idct8x8_10_add_c
   249 void vp9_idct16x16_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   250 #define vp9_idct16x16_1_add vp9_idct16x16_1_add_c
   252 void vp9_idct16x16_256_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   253 #define vp9_idct16x16_256_add vp9_idct16x16_256_add_c
   255 void vp9_idct16x16_10_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   256 #define vp9_idct16x16_10_add vp9_idct16x16_10_add_c
   258 void vp9_idct32x32_1024_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   259 #define vp9_idct32x32_1024_add vp9_idct32x32_1024_add_c
   261 void vp9_idct32x32_34_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   262 #define vp9_idct32x32_34_add vp9_idct32x32_34_add_c
   264 void vp9_idct32x32_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   265 #define vp9_idct32x32_1_add vp9_idct32x32_1_add_c
   267 void vp9_iht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   268 #define vp9_iht4x4_16_add vp9_iht4x4_16_add_c
   270 void vp9_iht8x8_64_add_c(const int16_t *input, uint8_t *dest, int dest_stride, int tx_type);
   271 #define vp9_iht8x8_64_add vp9_iht8x8_64_add_c
   273 void vp9_iht16x16_256_add_c(const int16_t *input, uint8_t *output, int pitch, int tx_type);
   274 #define vp9_iht16x16_256_add vp9_iht16x16_256_add_c
   276 void vp9_iwht4x4_1_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   277 #define vp9_iwht4x4_1_add vp9_iwht4x4_1_add_c
   279 void vp9_iwht4x4_16_add_c(const int16_t *input, uint8_t *dest, int dest_stride);
   280 #define vp9_iwht4x4_16_add vp9_iwht4x4_16_add_c
   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);
   283 #define vp9_variance32x16 vp9_variance32x16_c
   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);
   286 #define vp9_variance16x32 vp9_variance16x32_c
   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);
   289 #define vp9_variance64x32 vp9_variance64x32_c
   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);
   292 #define vp9_variance32x64 vp9_variance32x64_c
   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);
   295 #define vp9_variance32x32 vp9_variance32x32_c
   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);
   298 #define vp9_variance64x64 vp9_variance64x64_c
   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);
   301 #define vp9_variance16x16 vp9_variance16x16_c
   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);
   304 #define vp9_variance16x8 vp9_variance16x8_c
   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);
   307 #define vp9_variance8x16 vp9_variance8x16_c
   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);
   310 #define vp9_variance8x8 vp9_variance8x8_c
   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);
   313 #define vp9_get_sse_sum_8x8 vp9_get_sse_sum_8x8_c
   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);
   316 #define vp9_variance8x4 vp9_variance8x4_c
   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);
   319 #define vp9_variance4x8 vp9_variance4x8_c
   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);
   322 #define vp9_variance4x4 vp9_variance4x4_c
   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);
   325 #define vp9_sub_pixel_variance64x64 vp9_sub_pixel_variance64x64_c
   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);
   328 #define vp9_sub_pixel_avg_variance64x64 vp9_sub_pixel_avg_variance64x64_c
   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);
   331 #define vp9_sub_pixel_variance32x64 vp9_sub_pixel_variance32x64_c
   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);
   334 #define vp9_sub_pixel_avg_variance32x64 vp9_sub_pixel_avg_variance32x64_c
   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);
   337 #define vp9_sub_pixel_variance64x32 vp9_sub_pixel_variance64x32_c
   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);
   340 #define vp9_sub_pixel_avg_variance64x32 vp9_sub_pixel_avg_variance64x32_c
   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);
   343 #define vp9_sub_pixel_variance32x16 vp9_sub_pixel_variance32x16_c
   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);
   346 #define vp9_sub_pixel_avg_variance32x16 vp9_sub_pixel_avg_variance32x16_c
   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);
   349 #define vp9_sub_pixel_variance16x32 vp9_sub_pixel_variance16x32_c
   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);
   352 #define vp9_sub_pixel_avg_variance16x32 vp9_sub_pixel_avg_variance16x32_c
   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);
   355 #define vp9_sub_pixel_variance32x32 vp9_sub_pixel_variance32x32_c
   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);
   358 #define vp9_sub_pixel_avg_variance32x32 vp9_sub_pixel_avg_variance32x32_c
   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);
   361 #define vp9_sub_pixel_variance16x16 vp9_sub_pixel_variance16x16_c
   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);
   364 #define vp9_sub_pixel_avg_variance16x16 vp9_sub_pixel_avg_variance16x16_c
   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);
   367 #define vp9_sub_pixel_variance8x16 vp9_sub_pixel_variance8x16_c
   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);
   370 #define vp9_sub_pixel_avg_variance8x16 vp9_sub_pixel_avg_variance8x16_c
   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);
   373 #define vp9_sub_pixel_variance16x8 vp9_sub_pixel_variance16x8_c
   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);
   376 #define vp9_sub_pixel_avg_variance16x8 vp9_sub_pixel_avg_variance16x8_c
   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);
   379 #define vp9_sub_pixel_variance8x8 vp9_sub_pixel_variance8x8_c
   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);
   382 #define vp9_sub_pixel_avg_variance8x8 vp9_sub_pixel_avg_variance8x8_c
   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);
   385 #define vp9_sub_pixel_variance8x4 vp9_sub_pixel_variance8x4_c
   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);
   388 #define vp9_sub_pixel_avg_variance8x4 vp9_sub_pixel_avg_variance8x4_c
   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);
   391 #define vp9_sub_pixel_variance4x8 vp9_sub_pixel_variance4x8_c
   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);
   394 #define vp9_sub_pixel_avg_variance4x8 vp9_sub_pixel_avg_variance4x8_c
   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);
   397 #define vp9_sub_pixel_variance4x4 vp9_sub_pixel_variance4x4_c
   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);
   400 #define vp9_sub_pixel_avg_variance4x4 vp9_sub_pixel_avg_variance4x4_c
   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);
   403 #define vp9_sad64x64 vp9_sad64x64_c
   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);
   406 #define vp9_sad32x64 vp9_sad32x64_c
   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);
   409 #define vp9_sad64x32 vp9_sad64x32_c
   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);
   412 #define vp9_sad32x16 vp9_sad32x16_c
   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);
   415 #define vp9_sad16x32 vp9_sad16x32_c
   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);
   418 #define vp9_sad32x32 vp9_sad32x32_c
   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);
   421 #define vp9_sad16x16 vp9_sad16x16_c
   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);
   424 #define vp9_sad16x8 vp9_sad16x8_c
   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);
   427 #define vp9_sad8x16 vp9_sad8x16_c
   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);
   430 #define vp9_sad8x8 vp9_sad8x8_c
   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);
   433 #define vp9_sad8x4 vp9_sad8x4_c
   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);
   436 #define vp9_sad4x8 vp9_sad4x8_c
   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);
   439 #define vp9_sad4x4 vp9_sad4x4_c
   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);
   442 #define vp9_sad64x64_avg vp9_sad64x64_avg_c
   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);
   445 #define vp9_sad32x64_avg vp9_sad32x64_avg_c
   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);
   448 #define vp9_sad64x32_avg vp9_sad64x32_avg_c
   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);
   451 #define vp9_sad32x16_avg vp9_sad32x16_avg_c
   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);
   454 #define vp9_sad16x32_avg vp9_sad16x32_avg_c
   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);
   457 #define vp9_sad32x32_avg vp9_sad32x32_avg_c
   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);
   460 #define vp9_sad16x16_avg vp9_sad16x16_avg_c
   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);
   463 #define vp9_sad16x8_avg vp9_sad16x8_avg_c
   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);
   466 #define vp9_sad8x16_avg vp9_sad8x16_avg_c
   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);
   469 #define vp9_sad8x8_avg vp9_sad8x8_avg_c
   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);
   472 #define vp9_sad8x4_avg vp9_sad8x4_avg_c
   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);
   475 #define vp9_sad4x8_avg vp9_sad4x8_avg_c
   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);
   478 #define vp9_sad4x4_avg vp9_sad4x4_avg_c
   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);
   481 #define vp9_variance_halfpixvar16x16_h vp9_variance_halfpixvar16x16_h_c
   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);
   484 #define vp9_variance_halfpixvar16x16_v vp9_variance_halfpixvar16x16_v_c
   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);
   487 #define vp9_variance_halfpixvar16x16_hv vp9_variance_halfpixvar16x16_hv_c
   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);
   490 #define vp9_variance_halfpixvar64x64_h vp9_variance_halfpixvar64x64_h_c
   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);
   493 #define vp9_variance_halfpixvar64x64_v vp9_variance_halfpixvar64x64_v_c
   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);
   496 #define vp9_variance_halfpixvar64x64_hv vp9_variance_halfpixvar64x64_hv_c
   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);
   499 #define vp9_variance_halfpixvar32x32_h vp9_variance_halfpixvar32x32_h_c
   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);
   502 #define vp9_variance_halfpixvar32x32_v vp9_variance_halfpixvar32x32_v_c
   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);
   505 #define vp9_variance_halfpixvar32x32_hv vp9_variance_halfpixvar32x32_hv_c
   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);
   508 #define vp9_sad64x64x3 vp9_sad64x64x3_c
   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);
   511 #define vp9_sad32x32x3 vp9_sad32x32x3_c
   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);
   514 #define vp9_sad16x16x3 vp9_sad16x16x3_c
   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);
   517 #define vp9_sad16x8x3 vp9_sad16x8x3_c
   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);
   520 #define vp9_sad8x16x3 vp9_sad8x16x3_c
   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);
   523 #define vp9_sad8x8x3 vp9_sad8x8x3_c
   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);
   526 #define vp9_sad4x4x3 vp9_sad4x4x3_c
   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);
   529 #define vp9_sad64x64x8 vp9_sad64x64x8_c
   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);
   532 #define vp9_sad32x32x8 vp9_sad32x32x8_c
   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);
   535 #define vp9_sad16x16x8 vp9_sad16x16x8_c
   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);
   538 #define vp9_sad16x8x8 vp9_sad16x8x8_c
   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);
   541 #define vp9_sad8x16x8 vp9_sad8x16x8_c
   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);
   544 #define vp9_sad8x8x8 vp9_sad8x8x8_c
   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);
   547 #define vp9_sad8x4x8 vp9_sad8x4x8_c
   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);
   550 #define vp9_sad4x8x8 vp9_sad4x8x8_c
   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);
   553 #define vp9_sad4x4x8 vp9_sad4x4x8_c
   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);
   556 #define vp9_sad64x64x4d vp9_sad64x64x4d_c
   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);
   559 #define vp9_sad32x64x4d vp9_sad32x64x4d_c
   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);
   562 #define vp9_sad64x32x4d vp9_sad64x32x4d_c
   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);
   565 #define vp9_sad32x16x4d vp9_sad32x16x4d_c
   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);
   568 #define vp9_sad16x32x4d vp9_sad16x32x4d_c
   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);
   571 #define vp9_sad32x32x4d vp9_sad32x32x4d_c
   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);
   574 #define vp9_sad16x16x4d vp9_sad16x16x4d_c
   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);
   577 #define vp9_sad16x8x4d vp9_sad16x8x4d_c
   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);
   580 #define vp9_sad8x16x4d vp9_sad8x16x4d_c
   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);
   583 #define vp9_sad8x8x4d vp9_sad8x8x4d_c
   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);
   586 #define vp9_sad8x4x4d vp9_sad8x4x4d_c
   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);
   589 #define vp9_sad4x8x4d vp9_sad4x8x4d_c
   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);
   592 #define vp9_sad4x4x4d vp9_sad4x4x4d_c
   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);
   595 #define vp9_mse16x16 vp9_mse16x16_c
   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);
   598 #define vp9_mse8x16 vp9_mse8x16_c
   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);
   601 #define vp9_mse16x8 vp9_mse16x8_c
   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);
   604 #define vp9_mse8x8 vp9_mse8x8_c
   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);
   607 #define vp9_sub_pixel_mse64x64 vp9_sub_pixel_mse64x64_c
   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);
   610 #define vp9_sub_pixel_mse32x32 vp9_sub_pixel_mse32x32_c
   612 unsigned int vp9_get_mb_ss_c(const int16_t *);
   613 #define vp9_get_mb_ss vp9_get_mb_ss_c
   615 int64_t vp9_block_error_c(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, int64_t *ssz);
   616 #define vp9_block_error vp9_block_error_c
   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);
   619 #define vp9_subtract_block vp9_subtract_block_c
   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);
   622 #define vp9_quantize_b vp9_quantize_b_c
   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);
   625 #define vp9_quantize_b_32x32 vp9_quantize_b_32x32_c
   627 void vp9_short_fht4x4_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   628 #define vp9_short_fht4x4 vp9_short_fht4x4_c
   630 void vp9_short_fht8x8_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   631 #define vp9_short_fht8x8 vp9_short_fht8x8_c
   633 void vp9_short_fht16x16_c(const int16_t *input, int16_t *output, int stride, int tx_type);
   634 #define vp9_short_fht16x16 vp9_short_fht16x16_c
   636 void vp9_fwht4x4_c(const int16_t *input, int16_t *output, int stride);
   637 #define vp9_fwht4x4 vp9_fwht4x4_c
   639 void vp9_fdct4x4_c(const int16_t *input, int16_t *output, int stride);
   640 #define vp9_fdct4x4 vp9_fdct4x4_c
   642 void vp9_fdct8x8_c(const int16_t *input, int16_t *output, int stride);
   643 #define vp9_fdct8x8 vp9_fdct8x8_c
   645 void vp9_fdct16x16_c(const int16_t *input, int16_t *output, int stride);
   646 #define vp9_fdct16x16 vp9_fdct16x16_c
   648 void vp9_fdct32x32_c(const int16_t *input, int16_t *output, int stride);
   649 #define vp9_fdct32x32 vp9_fdct32x32_c
   651 void vp9_fdct32x32_rd_c(const int16_t *input, int16_t *output, int stride);
   652 #define vp9_fdct32x32_rd vp9_fdct32x32_rd_c
   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);
   655 #define vp9_full_search_sad vp9_full_search_sad_c
   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);
   658 #define vp9_refining_search_sad vp9_refining_search_sad_c
   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);
   661 #define vp9_diamond_search_sad vp9_diamond_search_sad_c
   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);
   664 #define vp9_temporal_filter_apply vp9_temporal_filter_apply_c
   666 void vp9_yv12_copy_partial_frame_c(struct yv12_buffer_config *src_ybc, struct yv12_buffer_config *dst_ybc, int fraction);
   667 #define vp9_yv12_copy_partial_frame vp9_yv12_copy_partial_frame_c
   669 void vp9_rtcd(void);
   670 #include "vpx_config.h"
   672 #ifdef RTCD_C
   673 static void setup_rtcd_internal(void)
   674 {
   676 }
   677 #endif
   678 #endif

mercurial