| OLD | NEW |
| 1 #ifndef VP9_RTCD_H_ | 1 #ifndef VP9_RTCD_H_ |
| 2 #define VP9_RTCD_H_ | 2 #define VP9_RTCD_H_ |
| 3 | 3 |
| 4 #ifdef RTCD_C | 4 #ifdef RTCD_C |
| 5 #define RTCD_EXTERN | 5 #define RTCD_EXTERN |
| 6 #else | 6 #else |
| 7 #define RTCD_EXTERN extern | 7 #define RTCD_EXTERN extern |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 /* | 10 /* |
| 11 * VP9 | 11 * VP9 |
| 12 */ | 12 */ |
| 13 | 13 |
| 14 #include "vpx/vpx_integer.h" | 14 #include "vpx/vpx_integer.h" |
| 15 #include "vp9/common/vp9_enums.h" | 15 #include "vp9/common/vp9_enums.h" |
| 16 | 16 |
| 17 struct loop_filter_info; | |
| 18 struct macroblockd; | 17 struct macroblockd; |
| 19 struct loop_filter_info; | |
| 20 | 18 |
| 21 /* Encoder forward decls */ | 19 /* Encoder forward decls */ |
| 22 struct macroblock; | 20 struct macroblock; |
| 23 struct vp9_variance_vtable; | 21 struct vp9_variance_vtable; |
| 24 | 22 |
| 25 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] | 23 #define DEC_MVCOSTS int *mvjcost, int *mvcost[2] |
| 26 union int_mv; | 24 union int_mv; |
| 27 struct yv12_buffer_config; | 25 struct yv12_buffer_config; |
| 28 | 26 |
| 29 void vp9_idct_add_16x16_c(int16_t *input, uint8_t *dest, int stride, int eob); | 27 void vp9_idct_add_16x16_c(int16_t *input, uint8_t *dest, int stride, int eob); |
| 30 #define vp9_idct_add_16x16 vp9_idct_add_16x16_c | 28 #define vp9_idct_add_16x16 vp9_idct_add_16x16_c |
| 31 | 29 |
| 32 void vp9_idct_add_8x8_c(int16_t *input, uint8_t *dest, int stride, int eob); | 30 void vp9_idct_add_8x8_c(int16_t *input, uint8_t *dest, int stride, int eob); |
| 33 #define vp9_idct_add_8x8 vp9_idct_add_8x8_c | 31 #define vp9_idct_add_8x8 vp9_idct_add_8x8_c |
| 34 | 32 |
| 35 void vp9_idct_add_c(int16_t *input, uint8_t *dest, int stride, int eob); | 33 void vp9_idct_add_c(int16_t *input, uint8_t *dest, int stride, int eob); |
| 36 #define vp9_idct_add vp9_idct_add_c | 34 #define vp9_idct_add vp9_idct_add_c |
| 37 | 35 |
| 38 void vp9_idct_add_32x32_c(int16_t *q, uint8_t *dst, int stride, int eob); | 36 void vp9_idct_add_32x32_c(int16_t *q, uint8_t *dst, int stride, int eob); |
| 39 #define vp9_idct_add_32x32 vp9_idct_add_32x32_c | 37 #define vp9_idct_add_32x32 vp9_idct_add_32x32_c |
| 40 | 38 |
| 41 void vp9_d27_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 39 void vp9_d207_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 42 #define vp9_d27_predictor_4x4 vp9_d27_predictor_4x4_c | 40 #define vp9_d207_predictor_4x4 vp9_d207_predictor_4x4_c |
| 43 | 41 |
| 44 void vp9_d45_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 42 void vp9_d45_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 45 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c | 43 #define vp9_d45_predictor_4x4 vp9_d45_predictor_4x4_c |
| 46 | 44 |
| 47 void vp9_d63_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 45 void vp9_d63_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 48 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c | 46 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
| 49 | 47 |
| 50 void vp9_h_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 48 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 51 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c | 49 #define vp9_h_predictor_4x4 vp9_h_predictor_4x4_c |
| 52 | 50 |
| 53 void vp9_d117_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 51 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 54 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c | 52 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
| 55 | 53 |
| 56 void vp9_d135_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 54 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 57 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c | 55 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
| 58 | 56 |
| 59 void vp9_d153_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 57 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 60 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c | 58 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
| 61 | 59 |
| 62 void vp9_v_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 60 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 63 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c | 61 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_c |
| 64 | 62 |
| 65 void vp9_tm_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 63 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 66 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c | 64 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_c |
| 67 | 65 |
| 68 void vp9_dc_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 66 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 69 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c | 67 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_c |
| 70 | 68 |
| 71 void vp9_dc_top_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 69 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 72 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 70 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
| 73 | 71 |
| 74 void vp9_dc_left_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 72 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 75 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c | 73 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
| 76 | 74 |
| 77 void vp9_dc_128_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 75 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 78 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c | 76 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
| 79 | 77 |
| 80 void vp9_d27_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 78 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 81 #define vp9_d27_predictor_8x8 vp9_d27_predictor_8x8_c | 79 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
| 82 | 80 |
| 83 void vp9_d45_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 81 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 84 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c | 82 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c |
| 85 | 83 |
| 86 void vp9_d63_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 84 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 87 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c | 85 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
| 88 | 86 |
| 89 void vp9_h_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 87 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 90 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c | 88 #define vp9_h_predictor_8x8 vp9_h_predictor_8x8_c |
| 91 | 89 |
| 92 void vp9_d117_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 90 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 93 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c | 91 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
| 94 | 92 |
| 95 void vp9_d135_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 93 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 96 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c | 94 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
| 97 | 95 |
| 98 void vp9_d153_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 96 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 99 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c | 97 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
| 100 | 98 |
| 101 void vp9_v_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 99 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 102 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c | 100 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_c |
| 103 | 101 |
| 104 void vp9_tm_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 102 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 105 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c | 103 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_c |
| 106 | 104 |
| 107 void vp9_dc_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 105 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 108 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c | 106 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_c |
| 109 | 107 |
| 110 void vp9_dc_top_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 108 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 111 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 109 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 112 | 110 |
| 113 void vp9_dc_left_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 111 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 114 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c | 112 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
| 115 | 113 |
| 116 void vp9_dc_128_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 114 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 117 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c | 115 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
| 118 | 116 |
| 119 void vp9_d27_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 117 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 120 #define vp9_d27_predictor_16x16 vp9_d27_predictor_16x16_c | 118 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
| 121 | 119 |
| 122 void vp9_d45_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 120 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 123 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c | 121 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c |
| 124 | 122 |
| 125 void vp9_d63_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 123 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 126 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c | 124 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
| 127 | 125 |
| 128 void vp9_h_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 126 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 129 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c | 127 #define vp9_h_predictor_16x16 vp9_h_predictor_16x16_c |
| 130 | 128 |
| 131 void vp9_d117_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 129 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 132 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c | 130 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
| 133 | 131 |
| 134 void vp9_d135_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 132 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 135 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c | 133 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
| 136 | 134 |
| 137 void vp9_d153_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 135 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 138 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c | 136 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
| 139 | 137 |
| 140 void vp9_v_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 138 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 141 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c | 139 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_c |
| 142 | 140 |
| 143 void vp9_tm_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 141 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 144 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c | 142 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_c |
| 145 | 143 |
| 146 void vp9_dc_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 144 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 147 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c | 145 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_c |
| 148 | 146 |
| 149 void vp9_dc_top_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 147 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 150 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c | 148 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
| 151 | 149 |
| 152 void vp9_dc_left_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 150 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 153 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c | 151 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
| 154 | 152 |
| 155 void vp9_dc_128_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 153 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 156 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c | 154 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
| 157 | 155 |
| 158 void vp9_d27_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 156 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 159 #define vp9_d27_predictor_32x32 vp9_d27_predictor_32x32_c | 157 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
| 160 | 158 |
| 161 void vp9_d45_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 159 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 162 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c | 160 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c |
| 163 | 161 |
| 164 void vp9_d63_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 162 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 165 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c | 163 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
| 166 | 164 |
| 167 void vp9_h_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 165 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 168 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c | 166 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
| 169 | 167 |
| 170 void vp9_d117_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 168 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 171 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c | 169 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
| 172 | 170 |
| 173 void vp9_d135_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 171 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 174 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c | 172 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
| 175 | 173 |
| 176 void vp9_d153_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 174 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 177 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c | 175 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
| 178 | 176 |
| 179 void vp9_v_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 177 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 180 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c | 178 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_c |
| 181 | 179 |
| 182 void vp9_tm_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 180 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 183 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c | 181 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c |
| 184 | 182 |
| 185 void vp9_dc_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 183 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 186 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c | 184 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_c |
| 187 | 185 |
| 188 void vp9_dc_top_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 186 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 189 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c | 187 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
| 190 | 188 |
| 191 void vp9_dc_left_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 189 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 192 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c | 190 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
| 193 | 191 |
| 194 void vp9_dc_128_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 192 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 195 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c | 193 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
| 196 | 194 |
| 197 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); | 195 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); |
| 198 void vp9_add_constant_residual_8x8_neon(const int16_t diff, uint8_t *dest, int s
tride); | 196 void vp9_add_constant_residual_8x8_neon(const int16_t diff, uint8_t *dest, int s
tride); |
| 199 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_neon | 197 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_neon |
| 200 | 198 |
| 201 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); | 199 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); |
| 202 void vp9_add_constant_residual_16x16_neon(const int16_t diff, uint8_t *dest, int
stride); | 200 void vp9_add_constant_residual_16x16_neon(const int16_t diff, uint8_t *dest, int
stride); |
| 203 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_neon | 201 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_neon |
| 204 | 202 |
| 205 void vp9_add_constant_residual_32x32_c(const int16_t diff, uint8_t *dest, int st
ride); | 203 void vp9_add_constant_residual_32x32_c(const int16_t diff, uint8_t *dest, int st
ride); |
| 206 void vp9_add_constant_residual_32x32_neon(const int16_t diff, uint8_t *dest, int
stride); | 204 void vp9_add_constant_residual_32x32_neon(const int16_t diff, uint8_t *dest, int
stride); |
| 207 #define vp9_add_constant_residual_32x32 vp9_add_constant_residual_32x32_neon | 205 #define vp9_add_constant_residual_32x32 vp9_add_constant_residual_32x32_neon |
| 208 | 206 |
| 209 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); | 207 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); |
| 210 #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_c | 208 void vp9_mb_lpf_vertical_edge_w_neon(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh); |
| 209 #define vp9_mb_lpf_vertical_edge_w vp9_mb_lpf_vertical_edge_w_neon |
| 211 | 210 |
| 212 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 211 void vp9_mbloop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 213 void vp9_mbloop_filter_vertical_edge_neon(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 212 void vp9_mbloop_filter_vertical_edge_neon(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 214 #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_neon | 213 #define vp9_mbloop_filter_vertical_edge vp9_mbloop_filter_vertical_edge_neon |
| 215 | 214 |
| 216 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); | 215 void vp9_loop_filter_vertical_edge_c(uint8_t *s, int pitch, const uint8_t *blimi
t, const uint8_t *limit, const uint8_t *thresh, int count); |
| 217 void vp9_loop_filter_vertical_edge_neon(uint8_t *s, int pitch, const uint8_t *bl
imit, const uint8_t *limit, const uint8_t *thresh, int count); | 216 void vp9_loop_filter_vertical_edge_neon(uint8_t *s, int pitch, const uint8_t *bl
imit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 218 #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_neon | 217 #define vp9_loop_filter_vertical_edge vp9_loop_filter_vertical_edge_neon |
| 219 | 218 |
| 220 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); | 219 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); |
| 221 #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_c | 220 void vp9_mb_lpf_horizontal_edge_w_neon(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 221 #define vp9_mb_lpf_horizontal_edge_w vp9_mb_lpf_horizontal_edge_w_neon |
| 222 | 222 |
| 223 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); | 223 void vp9_mbloop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *b
limit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 224 void vp9_mbloop_filter_horizontal_edge_neon(uint8_t *s, int pitch, const uint8_t
*blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 224 void vp9_mbloop_filter_horizontal_edge_neon(uint8_t *s, int pitch, const uint8_t
*blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 225 #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_neon | 225 #define vp9_mbloop_filter_horizontal_edge vp9_mbloop_filter_horizontal_edge_neon |
| 226 | 226 |
| 227 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); | 227 void vp9_loop_filter_horizontal_edge_c(uint8_t *s, int pitch, const uint8_t *bli
mit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 228 void vp9_loop_filter_horizontal_edge_neon(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); | 228 void vp9_loop_filter_horizontal_edge_neon(uint8_t *s, int pitch, const uint8_t *
blimit, const uint8_t *limit, const uint8_t *thresh, int count); |
| 229 #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_neon | 229 #define vp9_loop_filter_horizontal_edge vp9_loop_filter_horizontal_edge_neon |
| 230 | 230 |
| 231 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); | 231 void vp9_mbpost_proc_down_c(uint8_t *dst, int pitch, int rows, int cols, int fli
mit); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 243 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 243 void vp9_blend_mb_inner_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
| 244 #define vp9_blend_mb_inner vp9_blend_mb_inner_c | 244 #define vp9_blend_mb_inner vp9_blend_mb_inner_c |
| 245 | 245 |
| 246 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); | 246 void vp9_blend_mb_outer_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, in
t v1, int alpha, int stride); |
| 247 #define vp9_blend_mb_outer vp9_blend_mb_outer_c | 247 #define vp9_blend_mb_outer vp9_blend_mb_outer_c |
| 248 | 248 |
| 249 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); | 249 void vp9_blend_b_c(uint8_t *y, uint8_t *u, uint8_t *v, int y1, int u1, int v1, i
nt alpha, int stride); |
| 250 #define vp9_blend_b vp9_blend_b_c | 250 #define vp9_blend_b vp9_blend_b_c |
| 251 | 251 |
| 252 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 252 void vp9_convolve_copy_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
| 253 #define vp9_convolve_copy vp9_convolve_copy_c | 253 void vp9_convolve_copy_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, 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); |
| 254 #define vp9_convolve_copy vp9_convolve_copy_neon |
| 254 | 255 |
| 255 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 256 void vp9_convolve_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
| 256 #define vp9_convolve_avg vp9_convolve_avg_c | 257 void vp9_convolve_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); |
| 258 #define vp9_convolve_avg vp9_convolve_avg_neon |
| 257 | 259 |
| 258 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); | 260 void vp9_convolve8_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst, ptr
diff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *filter
_y, int y_step_q4, int w, int h); |
| 259 void vp9_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); | 261 void vp9_convolve8_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fil
ter_y, int y_step_q4, int w, int h); |
| 260 #define vp9_convolve8 vp9_convolve8_neon | 262 #define vp9_convolve8 vp9_convolve8_neon |
| 261 | 263 |
| 262 void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); | 264 void vp9_convolve8_horiz_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *ds
t, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *
filter_y, int y_step_q4, int w, int h); |
| 263 void vp9_convolve8_horiz_neon(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); | 265 void vp9_convolve8_horiz_neon(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); |
| 264 #define vp9_convolve8_horiz vp9_convolve8_horiz_neon | 266 #define vp9_convolve8_horiz vp9_convolve8_horiz_neon |
| 265 | 267 |
| 266 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); | 268 void vp9_convolve8_vert_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst
, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *f
ilter_y, int y_step_q4, int w, int h); |
| 267 void vp9_convolve8_vert_neon(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); | 269 void vp9_convolve8_vert_neon(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); |
| 268 #define vp9_convolve8_vert vp9_convolve8_vert_neon | 270 #define vp9_convolve8_vert vp9_convolve8_vert_neon |
| 269 | 271 |
| 270 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); | 272 void vp9_convolve8_avg_c(const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,
ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const int16_t *fi
lter_y, int y_step_q4, int w, int h); |
| 271 void vp9_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, 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); | 273 void vp9_convolve8_avg_neon(const uint8_t *src, ptrdiff_t src_stride, uint8_t *d
st, 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); |
| 272 #define vp9_convolve8_avg vp9_convolve8_avg_neon | 274 #define vp9_convolve8_avg vp9_convolve8_avg_neon |
| 273 | 275 |
| 274 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); | 276 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); |
| 275 void vp9_convolve8_avg_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); | 277 void vp9_convolve8_avg_horiz_neon(const uint8_t *src, ptrdiff_t src_stride, uint
8_t *dst, ptrdiff_t dst_stride, const int16_t *filter_x, int x_step_q4, const in
t16_t *filter_y, int y_step_q4, int w, int h); |
| 276 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_neon | 278 #define vp9_convolve8_avg_horiz vp9_convolve8_avg_horiz_neon |
| 277 | 279 |
| 278 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); | 280 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); |
| 279 void vp9_convolve8_avg_vert_neon(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 int
16_t *filter_y, int y_step_q4, int w, int h); | 281 void vp9_convolve8_avg_vert_neon(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 int
16_t *filter_y, int y_step_q4, int w, int h); |
| 280 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_neon | 282 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_neon |
| 281 | 283 |
| 282 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 284 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 283 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_c | 285 void vp9_short_idct4x4_1_add_neon(int16_t *input, uint8_t *dest, int dest_stride
); |
| 286 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_neon |
| 284 | 287 |
| 285 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 288 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 286 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_c | 289 void vp9_short_idct4x4_add_neon(int16_t *input, uint8_t *dest, int dest_stride); |
| 290 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_neon |
| 291 |
| 292 void vp9_short_idct8x8_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 293 void vp9_short_idct8x8_1_add_neon(int16_t *input, uint8_t *dest, int dest_stride
); |
| 294 #define vp9_short_idct8x8_1_add vp9_short_idct8x8_1_add_neon |
| 287 | 295 |
| 288 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 296 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 289 void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride); | 297 void vp9_short_idct8x8_add_neon(int16_t *input, uint8_t *dest, int dest_stride); |
| 290 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_neon | 298 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_neon |
| 291 | 299 |
| 292 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 300 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 293 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_c | 301 void vp9_short_idct10_8x8_add_neon(int16_t *input, uint8_t *dest, int dest_strid
e); |
| 302 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_neon |
| 294 | 303 |
| 295 void vp9_short_idct1_8x8_c(int16_t *input, int16_t *output); | 304 void vp9_short_idct16x16_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 296 #define vp9_short_idct1_8x8 vp9_short_idct1_8x8_c | 305 #define vp9_short_idct16x16_1_add vp9_short_idct16x16_1_add_c |
| 297 | 306 |
| 298 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 307 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 299 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_c | 308 void vp9_short_idct16x16_add_neon(int16_t *input, uint8_t *dest, int dest_stride
); |
| 309 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_neon |
| 300 | 310 |
| 301 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | 311 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); |
| 302 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_c | 312 void vp9_short_idct10_16x16_add_neon(int16_t *input, uint8_t *dest, int dest_str
ide); |
| 303 | 313 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_neon |
| 304 void vp9_short_idct1_16x16_c(int16_t *input, int16_t *output); | |
| 305 #define vp9_short_idct1_16x16 vp9_short_idct1_16x16_c | |
| 306 | 314 |
| 307 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 315 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 308 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_c | 316 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_c |
| 309 | 317 |
| 310 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); | 318 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); |
| 311 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c | 319 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c |
| 312 | 320 |
| 313 void vp9_short_idct10_32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | |
| 314 #define vp9_short_idct10_32x32_add vp9_short_idct10_32x32_add_c | |
| 315 | |
| 316 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 321 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 317 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_c | 322 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_c |
| 318 | 323 |
| 319 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 324 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 320 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_c | 325 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_c |
| 321 | 326 |
| 322 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); | 327 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); |
| 323 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_c | 328 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_c |
| 324 | 329 |
| 325 void vp9_idct4_1d_c(int16_t *input, int16_t *output); | 330 void vp9_idct4_1d_c(int16_t *input, int16_t *output); |
| 326 #define vp9_idct4_1d vp9_idct4_1d_c | 331 #define vp9_idct4_1d vp9_idct4_1d_c |
| 327 | 332 |
| 328 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; | 333 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 329 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c | 334 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c |
| 330 | 335 |
| 331 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 336 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 332 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c | 337 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c |
| 333 | 338 |
| 334 unsigned int vp9_sad32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 335 #define vp9_sad32x3 vp9_sad32x3_c | |
| 336 | |
| 337 unsigned int vp9_sad3x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 338 #define vp9_sad3x32 vp9_sad3x32_c | |
| 339 | |
| 340 void vp9_rtcd(void); | 339 void vp9_rtcd(void); |
| 341 #include "vpx_config.h" | 340 #include "vpx_config.h" |
| 342 | 341 |
| 343 #ifdef RTCD_C | 342 #ifdef RTCD_C |
| 344 #include "vpx_ports/arm.h" | 343 #include "vpx_ports/arm.h" |
| 345 static void setup_rtcd_internal(void) | 344 static void setup_rtcd_internal(void) |
| 346 { | 345 { |
| 347 int flags = arm_cpu_caps(); | 346 int flags = arm_cpu_caps(); |
| 348 | 347 |
| 349 (void)flags; | 348 (void)flags; |
| 350 | 349 |
| 351 | 350 |
| 352 } | 351 } |
| 353 #endif | 352 #endif |
| 354 #endif | 353 #endif |
| OLD | NEW |