vpx_dsp_rtcd_c.h 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. #ifndef VPX_DSP_RTCD_H_
  2. #define VPX_DSP_RTCD_H_
  3. #ifdef RTCD_C
  4. #define RTCD_EXTERN
  5. #else
  6. #define RTCD_EXTERN extern
  7. #endif
  8. /*
  9. * DSP
  10. */
  11. #include "vpx/vpx_integer.h"
  12. #include "vpx_dsp/vpx_dsp_common.h"
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif
  16. void vpx_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);
  17. #define vpx_convolve8 vpx_convolve8_c
  18. void vpx_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);
  19. #define vpx_convolve8_avg vpx_convolve8_avg_c
  20. void vpx_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);
  21. #define vpx_convolve8_avg_horiz vpx_convolve8_avg_horiz_c
  22. void vpx_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);
  23. #define vpx_convolve8_avg_vert vpx_convolve8_avg_vert_c
  24. void vpx_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);
  25. #define vpx_convolve8_horiz vpx_convolve8_horiz_c
  26. void vpx_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);
  27. #define vpx_convolve8_vert vpx_convolve8_vert_c
  28. void vpx_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);
  29. #define vpx_convolve_avg vpx_convolve_avg_c
  30. void vpx_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);
  31. #define vpx_convolve_copy vpx_convolve_copy_c
  32. void vpx_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  33. #define vpx_d117_predictor_16x16 vpx_d117_predictor_16x16_c
  34. void vpx_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  35. #define vpx_d117_predictor_32x32 vpx_d117_predictor_32x32_c
  36. void vpx_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  37. #define vpx_d117_predictor_4x4 vpx_d117_predictor_4x4_c
  38. void vpx_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  39. #define vpx_d117_predictor_8x8 vpx_d117_predictor_8x8_c
  40. void vpx_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  41. #define vpx_d135_predictor_16x16 vpx_d135_predictor_16x16_c
  42. void vpx_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  43. #define vpx_d135_predictor_32x32 vpx_d135_predictor_32x32_c
  44. void vpx_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  45. #define vpx_d135_predictor_4x4 vpx_d135_predictor_4x4_c
  46. void vpx_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  47. #define vpx_d135_predictor_8x8 vpx_d135_predictor_8x8_c
  48. void vpx_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  49. #define vpx_d153_predictor_16x16 vpx_d153_predictor_16x16_c
  50. void vpx_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  51. #define vpx_d153_predictor_32x32 vpx_d153_predictor_32x32_c
  52. void vpx_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  53. #define vpx_d153_predictor_4x4 vpx_d153_predictor_4x4_c
  54. void vpx_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  55. #define vpx_d153_predictor_8x8 vpx_d153_predictor_8x8_c
  56. void vpx_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  57. #define vpx_d207_predictor_16x16 vpx_d207_predictor_16x16_c
  58. void vpx_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  59. #define vpx_d207_predictor_32x32 vpx_d207_predictor_32x32_c
  60. void vpx_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  61. #define vpx_d207_predictor_4x4 vpx_d207_predictor_4x4_c
  62. void vpx_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  63. #define vpx_d207_predictor_8x8 vpx_d207_predictor_8x8_c
  64. void vpx_d207e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  65. #define vpx_d207e_predictor_16x16 vpx_d207e_predictor_16x16_c
  66. void vpx_d207e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  67. #define vpx_d207e_predictor_32x32 vpx_d207e_predictor_32x32_c
  68. void vpx_d207e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  69. #define vpx_d207e_predictor_4x4 vpx_d207e_predictor_4x4_c
  70. void vpx_d207e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  71. #define vpx_d207e_predictor_8x8 vpx_d207e_predictor_8x8_c
  72. void vpx_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  73. #define vpx_d45_predictor_16x16 vpx_d45_predictor_16x16_c
  74. void vpx_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  75. #define vpx_d45_predictor_32x32 vpx_d45_predictor_32x32_c
  76. void vpx_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  77. #define vpx_d45_predictor_4x4 vpx_d45_predictor_4x4_c
  78. void vpx_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  79. #define vpx_d45_predictor_8x8 vpx_d45_predictor_8x8_c
  80. void vpx_d45e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  81. #define vpx_d45e_predictor_16x16 vpx_d45e_predictor_16x16_c
  82. void vpx_d45e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  83. #define vpx_d45e_predictor_32x32 vpx_d45e_predictor_32x32_c
  84. void vpx_d45e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  85. #define vpx_d45e_predictor_4x4 vpx_d45e_predictor_4x4_c
  86. void vpx_d45e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  87. #define vpx_d45e_predictor_8x8 vpx_d45e_predictor_8x8_c
  88. void vpx_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  89. #define vpx_d63_predictor_16x16 vpx_d63_predictor_16x16_c
  90. void vpx_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  91. #define vpx_d63_predictor_32x32 vpx_d63_predictor_32x32_c
  92. void vpx_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  93. #define vpx_d63_predictor_4x4 vpx_d63_predictor_4x4_c
  94. void vpx_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  95. #define vpx_d63_predictor_8x8 vpx_d63_predictor_8x8_c
  96. void vpx_d63e_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  97. #define vpx_d63e_predictor_16x16 vpx_d63e_predictor_16x16_c
  98. void vpx_d63e_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  99. #define vpx_d63e_predictor_32x32 vpx_d63e_predictor_32x32_c
  100. void vpx_d63e_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  101. #define vpx_d63e_predictor_4x4 vpx_d63e_predictor_4x4_c
  102. void vpx_d63e_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  103. #define vpx_d63e_predictor_8x8 vpx_d63e_predictor_8x8_c
  104. void vpx_d63f_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  105. #define vpx_d63f_predictor_4x4 vpx_d63f_predictor_4x4_c
  106. void vpx_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  107. #define vpx_dc_128_predictor_16x16 vpx_dc_128_predictor_16x16_c
  108. void vpx_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  109. #define vpx_dc_128_predictor_32x32 vpx_dc_128_predictor_32x32_c
  110. void vpx_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  111. #define vpx_dc_128_predictor_4x4 vpx_dc_128_predictor_4x4_c
  112. void vpx_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  113. #define vpx_dc_128_predictor_8x8 vpx_dc_128_predictor_8x8_c
  114. void vpx_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  115. #define vpx_dc_left_predictor_16x16 vpx_dc_left_predictor_16x16_c
  116. void vpx_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  117. #define vpx_dc_left_predictor_32x32 vpx_dc_left_predictor_32x32_c
  118. void vpx_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  119. #define vpx_dc_left_predictor_4x4 vpx_dc_left_predictor_4x4_c
  120. void vpx_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  121. #define vpx_dc_left_predictor_8x8 vpx_dc_left_predictor_8x8_c
  122. void vpx_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  123. #define vpx_dc_predictor_16x16 vpx_dc_predictor_16x16_c
  124. void vpx_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  125. #define vpx_dc_predictor_32x32 vpx_dc_predictor_32x32_c
  126. void vpx_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  127. #define vpx_dc_predictor_4x4 vpx_dc_predictor_4x4_c
  128. void vpx_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  129. #define vpx_dc_predictor_8x8 vpx_dc_predictor_8x8_c
  130. void vpx_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  131. #define vpx_dc_top_predictor_16x16 vpx_dc_top_predictor_16x16_c
  132. void vpx_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  133. #define vpx_dc_top_predictor_32x32 vpx_dc_top_predictor_32x32_c
  134. void vpx_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  135. #define vpx_dc_top_predictor_4x4 vpx_dc_top_predictor_4x4_c
  136. void vpx_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  137. #define vpx_dc_top_predictor_8x8 vpx_dc_top_predictor_8x8_c
  138. void vpx_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  139. #define vpx_h_predictor_16x16 vpx_h_predictor_16x16_c
  140. void vpx_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  141. #define vpx_h_predictor_32x32 vpx_h_predictor_32x32_c
  142. void vpx_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  143. #define vpx_h_predictor_4x4 vpx_h_predictor_4x4_c
  144. void vpx_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  145. #define vpx_h_predictor_8x8 vpx_h_predictor_8x8_c
  146. void vpx_he_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  147. #define vpx_he_predictor_4x4 vpx_he_predictor_4x4_c
  148. void vpx_idct16x16_10_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  149. #define vpx_idct16x16_10_add vpx_idct16x16_10_add_c
  150. void vpx_idct16x16_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  151. #define vpx_idct16x16_1_add vpx_idct16x16_1_add_c
  152. void vpx_idct16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  153. #define vpx_idct16x16_256_add vpx_idct16x16_256_add_c
  154. void vpx_idct32x32_1024_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  155. #define vpx_idct32x32_1024_add vpx_idct32x32_1024_add_c
  156. void vpx_idct32x32_135_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  157. #define vpx_idct32x32_135_add vpx_idct32x32_135_add_c
  158. void vpx_idct32x32_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  159. #define vpx_idct32x32_1_add vpx_idct32x32_1_add_c
  160. void vpx_idct32x32_34_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  161. #define vpx_idct32x32_34_add vpx_idct32x32_34_add_c
  162. void vpx_idct4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  163. #define vpx_idct4x4_16_add vpx_idct4x4_16_add_c
  164. void vpx_idct4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  165. #define vpx_idct4x4_1_add vpx_idct4x4_1_add_c
  166. void vpx_idct8x8_12_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  167. #define vpx_idct8x8_12_add vpx_idct8x8_12_add_c
  168. void vpx_idct8x8_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  169. #define vpx_idct8x8_1_add vpx_idct8x8_1_add_c
  170. void vpx_idct8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  171. #define vpx_idct8x8_64_add vpx_idct8x8_64_add_c
  172. void vpx_iwht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  173. #define vpx_iwht4x4_16_add vpx_iwht4x4_16_add_c
  174. void vpx_iwht4x4_1_add_c(const tran_low_t *input, uint8_t *dest, int dest_stride);
  175. #define vpx_iwht4x4_1_add vpx_iwht4x4_1_add_c
  176. void vpx_lpf_horizontal_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  177. #define vpx_lpf_horizontal_4 vpx_lpf_horizontal_4_c
  178. void vpx_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 uint8_t *limit1, const uint8_t *thresh1);
  179. #define vpx_lpf_horizontal_4_dual vpx_lpf_horizontal_4_dual_c
  180. void vpx_lpf_horizontal_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  181. #define vpx_lpf_horizontal_8 vpx_lpf_horizontal_8_c
  182. void vpx_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 uint8_t *limit1, const uint8_t *thresh1);
  183. #define vpx_lpf_horizontal_8_dual vpx_lpf_horizontal_8_dual_c
  184. void vpx_lpf_horizontal_edge_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  185. #define vpx_lpf_horizontal_edge_16 vpx_lpf_horizontal_edge_16_c
  186. void vpx_lpf_horizontal_edge_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  187. #define vpx_lpf_horizontal_edge_8 vpx_lpf_horizontal_edge_8_c
  188. void vpx_lpf_vertical_16_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  189. #define vpx_lpf_vertical_16 vpx_lpf_vertical_16_c
  190. void vpx_lpf_vertical_16_dual_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  191. #define vpx_lpf_vertical_16_dual vpx_lpf_vertical_16_dual_c
  192. void vpx_lpf_vertical_4_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  193. #define vpx_lpf_vertical_4 vpx_lpf_vertical_4_c
  194. void vpx_lpf_vertical_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 uint8_t *limit1, const uint8_t *thresh1);
  195. #define vpx_lpf_vertical_4_dual vpx_lpf_vertical_4_dual_c
  196. void vpx_lpf_vertical_8_c(uint8_t *s, int pitch, const uint8_t *blimit, const uint8_t *limit, const uint8_t *thresh);
  197. #define vpx_lpf_vertical_8 vpx_lpf_vertical_8_c
  198. void vpx_lpf_vertical_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 uint8_t *limit1, const uint8_t *thresh1);
  199. #define vpx_lpf_vertical_8_dual vpx_lpf_vertical_8_dual_c
  200. void vpx_scaled_2d_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);
  201. #define vpx_scaled_2d vpx_scaled_2d_c
  202. void vpx_scaled_avg_2d_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);
  203. #define vpx_scaled_avg_2d vpx_scaled_avg_2d_c
  204. void vpx_scaled_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);
  205. #define vpx_scaled_avg_horiz vpx_scaled_avg_horiz_c
  206. void vpx_scaled_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);
  207. #define vpx_scaled_avg_vert vpx_scaled_avg_vert_c
  208. void vpx_scaled_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);
  209. #define vpx_scaled_horiz vpx_scaled_horiz_c
  210. void vpx_scaled_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);
  211. #define vpx_scaled_vert vpx_scaled_vert_c
  212. void vpx_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  213. #define vpx_tm_predictor_16x16 vpx_tm_predictor_16x16_c
  214. void vpx_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  215. #define vpx_tm_predictor_32x32 vpx_tm_predictor_32x32_c
  216. void vpx_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  217. #define vpx_tm_predictor_4x4 vpx_tm_predictor_4x4_c
  218. void vpx_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  219. #define vpx_tm_predictor_8x8 vpx_tm_predictor_8x8_c
  220. void vpx_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  221. #define vpx_v_predictor_16x16 vpx_v_predictor_16x16_c
  222. void vpx_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  223. #define vpx_v_predictor_32x32 vpx_v_predictor_32x32_c
  224. void vpx_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  225. #define vpx_v_predictor_4x4 vpx_v_predictor_4x4_c
  226. void vpx_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  227. #define vpx_v_predictor_8x8 vpx_v_predictor_8x8_c
  228. void vpx_ve_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *above, const uint8_t *left);
  229. #define vpx_ve_predictor_4x4 vpx_ve_predictor_4x4_c
  230. void vpx_dsp_rtcd(void);
  231. #ifdef RTCD_C
  232. static void setup_rtcd_internal(void)
  233. {
  234. }
  235. #endif
  236. #ifdef __cplusplus
  237. } // extern "C"
  238. #endif
  239. #endif