| 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 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_c | 196 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_c |
| 199 | 197 |
| 200 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); | 198 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); |
| 201 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_c | 199 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_c |
| 202 | 200 |
| 203 void vp9_add_constant_residual_32x32_c(const int16_t diff, uint8_t *dest, int st
ride); | 201 void vp9_add_constant_residual_32x32_c(const int16_t diff, uint8_t *dest, int st
ride); |
| 204 #define vp9_add_constant_residual_32x32 vp9_add_constant_residual_32x32_c | 202 #define vp9_add_constant_residual_32x32 vp9_add_constant_residual_32x32_c |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 | 263 |
| 266 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); | 264 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); |
| 267 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c | 265 #define vp9_convolve8_avg_vert vp9_convolve8_avg_vert_c |
| 268 | 266 |
| 269 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 267 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 270 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_c | 268 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_c |
| 271 | 269 |
| 272 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 270 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 273 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_c | 271 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_c |
| 274 | 272 |
| 273 void vp9_short_idct8x8_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 274 #define vp9_short_idct8x8_1_add vp9_short_idct8x8_1_add_c |
| 275 |
| 275 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 276 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 276 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_c | 277 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_c |
| 277 | 278 |
| 278 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 279 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 279 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_c | 280 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_c |
| 280 | 281 |
| 281 void vp9_short_idct1_8x8_c(int16_t *input, int16_t *output); | 282 void vp9_short_idct16x16_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 282 #define vp9_short_idct1_8x8 vp9_short_idct1_8x8_c | 283 #define vp9_short_idct16x16_1_add vp9_short_idct16x16_1_add_c |
| 283 | 284 |
| 284 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 285 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 285 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_c | 286 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_c |
| 286 | 287 |
| 287 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | 288 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); |
| 288 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_c | 289 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_c |
| 289 | 290 |
| 290 void vp9_short_idct1_16x16_c(int16_t *input, int16_t *output); | |
| 291 #define vp9_short_idct1_16x16 vp9_short_idct1_16x16_c | |
| 292 | |
| 293 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 291 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 294 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_c | 292 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_c |
| 295 | 293 |
| 296 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); | 294 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); |
| 297 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c | 295 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c |
| 298 | 296 |
| 299 void vp9_short_idct10_32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | |
| 300 #define vp9_short_idct10_32x32_add vp9_short_idct10_32x32_add_c | |
| 301 | |
| 302 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 297 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 303 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_c | 298 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_c |
| 304 | 299 |
| 305 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 300 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 306 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_c | 301 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_c |
| 307 | 302 |
| 308 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); | 303 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); |
| 309 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_c | 304 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_c |
| 310 | 305 |
| 311 void vp9_idct4_1d_c(int16_t *input, int16_t *output); | 306 void vp9_idct4_1d_c(int16_t *input, int16_t *output); |
| 312 #define vp9_idct4_1d vp9_idct4_1d_c | 307 #define vp9_idct4_1d vp9_idct4_1d_c |
| 313 | 308 |
| 314 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; | 309 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 315 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c | 310 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c |
| 316 | 311 |
| 317 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 312 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 318 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c | 313 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c |
| 319 | 314 |
| 320 unsigned int vp9_sad32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 321 #define vp9_sad32x3 vp9_sad32x3_c | |
| 322 | |
| 323 unsigned int vp9_sad3x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 324 #define vp9_sad3x32 vp9_sad3x32_c | |
| 325 | |
| 326 void vp9_rtcd(void); | 315 void vp9_rtcd(void); |
| 327 #include "vpx_config.h" | 316 #include "vpx_config.h" |
| 328 | 317 |
| 329 #ifdef RTCD_C | 318 #ifdef RTCD_C |
| 330 #include "vpx_ports/arm.h" | 319 #include "vpx_ports/arm.h" |
| 331 static void setup_rtcd_internal(void) | 320 static void setup_rtcd_internal(void) |
| 332 { | 321 { |
| 333 int flags = arm_cpu_caps(); | 322 int flags = arm_cpu_caps(); |
| 334 | 323 |
| 335 (void)flags; | 324 (void)flags; |
| 336 | 325 |
| 337 | 326 |
| 338 } | 327 } |
| 339 #endif | 328 #endif |
| 340 #endif | 329 #endif |
| OLD | NEW |