| 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 void vp9_d45_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 44 RTCD_EXTERN void (*vp9_d45_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 46 | 45 |
| 47 void vp9_d63_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 46 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 | 47 #define vp9_d63_predictor_4x4 vp9_d63_predictor_4x4_c |
| 49 | 48 |
| 50 void vp9_h_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 49 void vp9_h_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 51 void vp9_h_predictor_4x4_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 50 void vp9_h_predictor_4x4_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 52 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 51 RTCD_EXTERN void (*vp9_h_predictor_4x4)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 53 | 52 |
| 54 void vp9_d117_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 53 void vp9_d117_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 55 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c | 54 #define vp9_d117_predictor_4x4 vp9_d117_predictor_4x4_c |
| 56 | 55 |
| 57 void vp9_d135_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 56 void vp9_d135_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 58 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c | 57 #define vp9_d135_predictor_4x4 vp9_d135_predictor_4x4_c |
| 59 | 58 |
| 60 void vp9_d153_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 59 void vp9_d153_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 61 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c | 60 #define vp9_d153_predictor_4x4 vp9_d153_predictor_4x4_c |
| 62 | 61 |
| 63 void vp9_v_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 62 void vp9_v_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 64 void vp9_v_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 63 void vp9_v_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 65 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse | 64 #define vp9_v_predictor_4x4 vp9_v_predictor_4x4_sse |
| 66 | 65 |
| 67 void vp9_tm_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 66 void vp9_tm_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 68 void vp9_tm_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 67 void vp9_tm_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 69 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_sse | 68 #define vp9_tm_predictor_4x4 vp9_tm_predictor_4x4_sse |
| 70 | 69 |
| 71 void vp9_dc_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 70 void vp9_dc_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 72 void vp9_dc_predictor_4x4_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 71 void vp9_dc_predictor_4x4_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 73 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_sse | 72 #define vp9_dc_predictor_4x4 vp9_dc_predictor_4x4_sse |
| 74 | 73 |
| 75 void vp9_dc_top_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 74 void vp9_dc_top_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 76 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c | 75 #define vp9_dc_top_predictor_4x4 vp9_dc_top_predictor_4x4_c |
| 77 | 76 |
| 78 void vp9_dc_left_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 77 void vp9_dc_left_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 79 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c | 78 #define vp9_dc_left_predictor_4x4 vp9_dc_left_predictor_4x4_c |
| 80 | 79 |
| 81 void vp9_dc_128_predictor_4x4_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 80 void vp9_dc_128_predictor_4x4_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 82 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c | 81 #define vp9_dc_128_predictor_4x4 vp9_dc_128_predictor_4x4_c |
| 83 | 82 |
| 84 void vp9_d27_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 83 void vp9_d207_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 85 #define vp9_d27_predictor_8x8 vp9_d27_predictor_8x8_c | 84 #define vp9_d207_predictor_8x8 vp9_d207_predictor_8x8_c |
| 86 | 85 |
| 87 void vp9_d45_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 86 void vp9_d45_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 88 #define vp9_d45_predictor_8x8 vp9_d45_predictor_8x8_c | 87 void vp9_d45_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 88 RTCD_EXTERN void (*vp9_d45_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 89 | 89 |
| 90 void vp9_d63_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 90 void vp9_d63_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 91 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c | 91 #define vp9_d63_predictor_8x8 vp9_d63_predictor_8x8_c |
| 92 | 92 |
| 93 void vp9_h_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 93 void vp9_h_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 94 void vp9_h_predictor_8x8_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 94 void vp9_h_predictor_8x8_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 95 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *ypred_ptr, ptrdiff_t y_stride,
uint8_t *yabove_row, uint8_t *yleft_col); | 95 RTCD_EXTERN void (*vp9_h_predictor_8x8)(uint8_t *dst, ptrdiff_t y_stride, const
uint8_t *above, const uint8_t *left); |
| 96 | 96 |
| 97 void vp9_d117_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 97 void vp9_d117_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 98 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c | 98 #define vp9_d117_predictor_8x8 vp9_d117_predictor_8x8_c |
| 99 | 99 |
| 100 void vp9_d135_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 100 void vp9_d135_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 101 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c | 101 #define vp9_d135_predictor_8x8 vp9_d135_predictor_8x8_c |
| 102 | 102 |
| 103 void vp9_d153_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 103 void vp9_d153_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 104 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c | 104 #define vp9_d153_predictor_8x8 vp9_d153_predictor_8x8_c |
| 105 | 105 |
| 106 void vp9_v_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yabo
ve_row, uint8_t *yleft_col); | 106 void vp9_v_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abov
e, const uint8_t *left); |
| 107 void vp9_v_predictor_8x8_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 107 void vp9_v_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 108 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse | 108 #define vp9_v_predictor_8x8 vp9_v_predictor_8x8_sse |
| 109 | 109 |
| 110 void vp9_tm_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 110 void vp9_tm_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 111 void vp9_tm_predictor_8x8_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 111 void vp9_tm_predictor_8x8_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 112 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_sse2 | 112 #define vp9_tm_predictor_8x8 vp9_tm_predictor_8x8_sse2 |
| 113 | 113 |
| 114 void vp9_dc_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *yab
ove_row, uint8_t *yleft_col); | 114 void vp9_dc_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *abo
ve, const uint8_t *left); |
| 115 void vp9_dc_predictor_8x8_sse(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 115 void vp9_dc_predictor_8x8_sse(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 116 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_sse | 116 #define vp9_dc_predictor_8x8 vp9_dc_predictor_8x8_sse |
| 117 | 117 |
| 118 void vp9_dc_top_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 118 void vp9_dc_top_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 119 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c | 119 #define vp9_dc_top_predictor_8x8 vp9_dc_top_predictor_8x8_c |
| 120 | 120 |
| 121 void vp9_dc_left_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 121 void vp9_dc_left_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 122 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c | 122 #define vp9_dc_left_predictor_8x8 vp9_dc_left_predictor_8x8_c |
| 123 | 123 |
| 124 void vp9_dc_128_predictor_8x8_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 124 void vp9_dc_128_predictor_8x8_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 125 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c | 125 #define vp9_dc_128_predictor_8x8 vp9_dc_128_predictor_8x8_c |
| 126 | 126 |
| 127 void vp9_d27_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 127 void vp9_d207_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 128 #define vp9_d27_predictor_16x16 vp9_d27_predictor_16x16_c | 128 #define vp9_d207_predictor_16x16 vp9_d207_predictor_16x16_c |
| 129 | 129 |
| 130 void vp9_d45_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 130 void vp9_d45_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 131 #define vp9_d45_predictor_16x16 vp9_d45_predictor_16x16_c | 131 void vp9_d45_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 132 RTCD_EXTERN void (*vp9_d45_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
| 132 | 133 |
| 133 void vp9_d63_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 134 void vp9_d63_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 134 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c | 135 #define vp9_d63_predictor_16x16 vp9_d63_predictor_16x16_c |
| 135 | 136 |
| 136 void vp9_h_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 137 void vp9_h_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 137 void vp9_h_predictor_16x16_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 138 void vp9_h_predictor_16x16_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 138 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | 139 RTCD_EXTERN void (*vp9_h_predictor_16x16)(uint8_t *dst, ptrdiff_t y_stride, cons
t uint8_t *above, const uint8_t *left); |
| 139 | 140 |
| 140 void vp9_d117_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 141 void vp9_d117_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 141 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c | 142 #define vp9_d117_predictor_16x16 vp9_d117_predictor_16x16_c |
| 142 | 143 |
| 143 void vp9_d135_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 144 void vp9_d135_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 144 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c | 145 #define vp9_d135_predictor_16x16 vp9_d135_predictor_16x16_c |
| 145 | 146 |
| 146 void vp9_d153_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 147 void vp9_d153_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 147 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c | 148 #define vp9_d153_predictor_16x16 vp9_d153_predictor_16x16_c |
| 148 | 149 |
| 149 void vp9_v_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 150 void vp9_v_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 150 void vp9_v_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 151 void vp9_v_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 151 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_sse2 | 152 #define vp9_v_predictor_16x16 vp9_v_predictor_16x16_sse2 |
| 152 | 153 |
| 153 void vp9_tm_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 154 void vp9_tm_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 154 void vp9_tm_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 155 void vp9_tm_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 155 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_sse2 | 156 #define vp9_tm_predictor_16x16 vp9_tm_predictor_16x16_sse2 |
| 156 | 157 |
| 157 void vp9_dc_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 158 void vp9_dc_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 158 void vp9_dc_predictor_16x16_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 159 void vp9_dc_predictor_16x16_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 159 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_sse2 | 160 #define vp9_dc_predictor_16x16 vp9_dc_predictor_16x16_sse2 |
| 160 | 161 |
| 161 void vp9_dc_top_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 162 void vp9_dc_top_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 162 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c | 163 #define vp9_dc_top_predictor_16x16 vp9_dc_top_predictor_16x16_c |
| 163 | 164 |
| 164 void vp9_dc_left_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 165 void vp9_dc_left_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 165 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c | 166 #define vp9_dc_left_predictor_16x16 vp9_dc_left_predictor_16x16_c |
| 166 | 167 |
| 167 void vp9_dc_128_predictor_16x16_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 168 void vp9_dc_128_predictor_16x16_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 168 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c | 169 #define vp9_dc_128_predictor_16x16 vp9_dc_128_predictor_16x16_c |
| 169 | 170 |
| 170 void vp9_d27_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 171 void vp9_d207_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 171 #define vp9_d27_predictor_32x32 vp9_d27_predictor_32x32_c | 172 #define vp9_d207_predictor_32x32 vp9_d207_predictor_32x32_c |
| 172 | 173 |
| 173 void vp9_d45_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 174 void vp9_d45_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 174 #define vp9_d45_predictor_32x32 vp9_d45_predictor_32x32_c | 175 void vp9_d45_predictor_32x32_ssse3(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 176 RTCD_EXTERN void (*vp9_d45_predictor_32x32)(uint8_t *dst, ptrdiff_t y_stride, co
nst uint8_t *above, const uint8_t *left); |
| 175 | 177 |
| 176 void vp9_d63_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *
yabove_row, uint8_t *yleft_col); | 178 void vp9_d63_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *
above, const uint8_t *left); |
| 177 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c | 179 #define vp9_d63_predictor_32x32 vp9_d63_predictor_32x32_c |
| 178 | 180 |
| 179 void vp9_h_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 181 void vp9_h_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 180 void vp9_h_predictor_32x32_ssse3(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 182 #define vp9_h_predictor_32x32 vp9_h_predictor_32x32_c |
| 181 RTCD_EXTERN void (*vp9_h_predictor_32x32)(uint8_t *ypred_ptr, ptrdiff_t y_stride
, uint8_t *yabove_row, uint8_t *yleft_col); | |
| 182 | 183 |
| 183 void vp9_d117_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 184 void vp9_d117_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 184 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c | 185 #define vp9_d117_predictor_32x32 vp9_d117_predictor_32x32_c |
| 185 | 186 |
| 186 void vp9_d135_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 187 void vp9_d135_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 187 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c | 188 #define vp9_d135_predictor_32x32 vp9_d135_predictor_32x32_c |
| 188 | 189 |
| 189 void vp9_d153_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 190 void vp9_d153_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 190 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c | 191 #define vp9_d153_predictor_32x32 vp9_d153_predictor_32x32_c |
| 191 | 192 |
| 192 void vp9_v_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *ya
bove_row, uint8_t *yleft_col); | 193 void vp9_v_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *ab
ove, const uint8_t *left); |
| 193 void vp9_v_predictor_32x32_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 194 void vp9_v_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 194 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_sse2 | 195 #define vp9_v_predictor_32x32 vp9_v_predictor_32x32_sse2 |
| 195 | 196 |
| 196 void vp9_tm_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 197 void vp9_tm_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 197 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_c | 198 void vp9_tm_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 199 #define vp9_tm_predictor_32x32 vp9_tm_predictor_32x32_sse2 |
| 198 | 200 |
| 199 void vp9_dc_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t *y
above_row, uint8_t *yleft_col); | 201 void vp9_dc_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_t *a
bove, const uint8_t *left); |
| 200 void vp9_dc_predictor_32x32_sse2(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_t
*yabove_row, uint8_t *yleft_col); | 202 void vp9_dc_predictor_32x32_sse2(uint8_t *dst, ptrdiff_t y_stride, const uint8_t
*above, const uint8_t *left); |
| 201 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_sse2 | 203 #define vp9_dc_predictor_32x32 vp9_dc_predictor_32x32_sse2 |
| 202 | 204 |
| 203 void vp9_dc_top_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 205 void vp9_dc_top_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 204 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c | 206 #define vp9_dc_top_predictor_32x32 vp9_dc_top_predictor_32x32_c |
| 205 | 207 |
| 206 void vp9_dc_left_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8
_t *yabove_row, uint8_t *yleft_col); | 208 void vp9_dc_left_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8
_t *above, const uint8_t *left); |
| 207 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c | 209 #define vp9_dc_left_predictor_32x32 vp9_dc_left_predictor_32x32_c |
| 208 | 210 |
| 209 void vp9_dc_128_predictor_32x32_c(uint8_t *ypred_ptr, ptrdiff_t y_stride, uint8_
t *yabove_row, uint8_t *yleft_col); | 211 void vp9_dc_128_predictor_32x32_c(uint8_t *dst, ptrdiff_t y_stride, const uint8_
t *above, const uint8_t *left); |
| 210 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c | 212 #define vp9_dc_128_predictor_32x32 vp9_dc_128_predictor_32x32_c |
| 211 | 213 |
| 212 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); | 214 void vp9_add_constant_residual_8x8_c(const int16_t diff, uint8_t *dest, int stri
de); |
| 213 void vp9_add_constant_residual_8x8_sse2(const int16_t diff, uint8_t *dest, int s
tride); | 215 void vp9_add_constant_residual_8x8_sse2(const int16_t diff, uint8_t *dest, int s
tride); |
| 214 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_sse2 | 216 #define vp9_add_constant_residual_8x8 vp9_add_constant_residual_8x8_sse2 |
| 215 | 217 |
| 216 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); | 218 void vp9_add_constant_residual_16x16_c(const int16_t diff, uint8_t *dest, int st
ride); |
| 217 void vp9_add_constant_residual_16x16_sse2(const int16_t diff, uint8_t *dest, int
stride); | 219 void vp9_add_constant_residual_16x16_sse2(const int16_t diff, uint8_t *dest, int
stride); |
| 218 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_sse2 | 220 #define vp9_add_constant_residual_16x16 vp9_add_constant_residual_16x16_sse2 |
| 219 | 221 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 306 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str
ide, 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); | 308 RTCD_EXTERN void (*vp9_convolve8_avg_vert)(const uint8_t *src, ptrdiff_t src_str
ide, 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); |
| 307 | 309 |
| 308 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 310 void vp9_short_idct4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 309 void vp9_short_idct4x4_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 311 void vp9_short_idct4x4_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 310 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_sse2 | 312 #define vp9_short_idct4x4_1_add vp9_short_idct4x4_1_add_sse2 |
| 311 | 313 |
| 312 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 314 void vp9_short_idct4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 313 void vp9_short_idct4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); | 315 void vp9_short_idct4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); |
| 314 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_sse2 | 316 #define vp9_short_idct4x4_add vp9_short_idct4x4_add_sse2 |
| 315 | 317 |
| 318 void vp9_short_idct8x8_1_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 319 void vp9_short_idct8x8_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 320 #define vp9_short_idct8x8_1_add vp9_short_idct8x8_1_add_sse2 |
| 321 |
| 316 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 322 void vp9_short_idct8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 317 void vp9_short_idct8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); | 323 void vp9_short_idct8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride); |
| 318 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_sse2 | 324 #define vp9_short_idct8x8_add vp9_short_idct8x8_add_sse2 |
| 319 | 325 |
| 320 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 326 void vp9_short_idct10_8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 321 void vp9_short_idct10_8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_strid
e); | 327 void vp9_short_idct10_8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_strid
e); |
| 322 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_sse2 | 328 #define vp9_short_idct10_8x8_add vp9_short_idct10_8x8_add_sse2 |
| 323 | 329 |
| 324 void vp9_short_idct1_8x8_c(int16_t *input, int16_t *output); | 330 void vp9_short_idct16x16_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 325 #define vp9_short_idct1_8x8 vp9_short_idct1_8x8_c | 331 void vp9_short_idct16x16_1_add_sse2(int16_t *input, uint8_t *dest, int dest_stri
de); |
| 332 #define vp9_short_idct16x16_1_add vp9_short_idct16x16_1_add_sse2 |
| 326 | 333 |
| 327 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 334 void vp9_short_idct16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 328 void vp9_short_idct16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 335 void vp9_short_idct16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 329 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_sse2 | 336 #define vp9_short_idct16x16_add vp9_short_idct16x16_add_sse2 |
| 330 | 337 |
| 331 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | 338 void vp9_short_idct10_16x16_add_c(int16_t *input, uint8_t *dest, int dest_stride
); |
| 332 void vp9_short_idct10_16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_str
ide); | 339 void vp9_short_idct10_16x16_add_sse2(int16_t *input, uint8_t *dest, int dest_str
ide); |
| 333 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_sse2 | 340 #define vp9_short_idct10_16x16_add vp9_short_idct10_16x16_add_sse2 |
| 334 | 341 |
| 335 void vp9_short_idct1_16x16_c(int16_t *input, int16_t *output); | |
| 336 #define vp9_short_idct1_16x16 vp9_short_idct1_16x16_c | |
| 337 | |
| 338 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 342 void vp9_short_idct32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 339 void vp9_short_idct32x32_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); | 343 void vp9_short_idct32x32_add_sse2(int16_t *input, uint8_t *dest, int dest_stride
); |
| 340 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_sse2 | 344 #define vp9_short_idct32x32_add vp9_short_idct32x32_add_sse2 |
| 341 | 345 |
| 342 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); | 346 void vp9_short_idct1_32x32_c(int16_t *input, int16_t *output); |
| 343 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c | 347 #define vp9_short_idct1_32x32 vp9_short_idct1_32x32_c |
| 344 | 348 |
| 345 void vp9_short_idct10_32x32_add_c(int16_t *input, uint8_t *dest, int dest_stride
); | |
| 346 #define vp9_short_idct10_32x32_add vp9_short_idct10_32x32_add_c | |
| 347 | |
| 348 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 349 void vp9_short_iht4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 349 void vp9_short_iht4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 350 void vp9_short_iht4x4_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); |
| 350 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_sse2 | 351 #define vp9_short_iht4x4_add vp9_short_iht4x4_add_sse2 |
| 351 | 352 |
| 352 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); | 353 void vp9_short_iht8x8_add_c(int16_t *input, uint8_t *dest, int dest_stride, int
tx_type); |
| 353 void vp9_short_iht8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); | 354 void vp9_short_iht8x8_add_sse2(int16_t *input, uint8_t *dest, int dest_stride, i
nt tx_type); |
| 354 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_sse2 | 355 #define vp9_short_iht8x8_add vp9_short_iht8x8_add_sse2 |
| 355 | 356 |
| 356 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); | 357 void vp9_short_iht16x16_add_c(int16_t *input, uint8_t *output, int pitch, int tx
_type); |
| 357 void vp9_short_iht16x16_add_sse2(int16_t *input, uint8_t *output, int pitch, int
tx_type); | 358 void vp9_short_iht16x16_add_sse2(int16_t *input, uint8_t *output, int pitch, int
tx_type); |
| 358 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_sse2 | 359 #define vp9_short_iht16x16_add vp9_short_iht16x16_add_sse2 |
| 359 | 360 |
| 360 void vp9_idct4_1d_c(int16_t *input, int16_t *output); | 361 void vp9_idct4_1d_c(int16_t *input, int16_t *output); |
| 361 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); | 362 void vp9_idct4_1d_sse2(int16_t *input, int16_t *output); |
| 362 #define vp9_idct4_1d vp9_idct4_1d_sse2 | 363 #define vp9_idct4_1d vp9_idct4_1d_sse2 |
| 363 | 364 |
| 364 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; | 365 void vp9_short_iwalsh4x4_1_add_c(int16_t *input, uint8_t *dest, int dest_stride)
; |
| 365 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c | 366 #define vp9_short_iwalsh4x4_1_add vp9_short_iwalsh4x4_1_add_c |
| 366 | 367 |
| 367 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); | 368 void vp9_short_iwalsh4x4_add_c(int16_t *input, uint8_t *dest, int dest_stride); |
| 368 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c | 369 #define vp9_short_iwalsh4x4_add vp9_short_iwalsh4x4_add_c |
| 369 | 370 |
| 370 unsigned int vp9_sad32x3_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 371 #define vp9_sad32x3 vp9_sad32x3_c | |
| 372 | |
| 373 unsigned int vp9_sad3x32_c(const uint8_t *src_ptr, int src_stride, const uint8_
t *ref_ptr, int ref_stride, int max_sad); | |
| 374 #define vp9_sad3x32 vp9_sad3x32_c | |
| 375 | |
| 376 void vp9_rtcd(void); | 371 void vp9_rtcd(void); |
| 377 | 372 |
| 378 #ifdef RTCD_C | 373 #ifdef RTCD_C |
| 379 #include "vpx_ports/x86.h" | 374 #include "vpx_ports/x86.h" |
| 380 static void setup_rtcd_internal(void) | 375 static void setup_rtcd_internal(void) |
| 381 { | 376 { |
| 382 int flags = x86_simd_caps(); | 377 int flags = x86_simd_caps(); |
| 383 | 378 |
| 384 (void)flags; | 379 (void)flags; |
| 385 | 380 |
| 386 | 381 |
| 387 | 382 |
| 388 | 383 |
| 389 | 384 |
| 390 | 385 |
| 386 vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_c; |
| 387 if (flags & HAS_SSSE3) vp9_d45_predictor_4x4 = vp9_d45_predictor_4x4_ssse3; |
| 391 | 388 |
| 392 | 389 |
| 393 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; | 390 vp9_h_predictor_4x4 = vp9_h_predictor_4x4_c; |
| 394 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; | 391 if (flags & HAS_SSSE3) vp9_h_predictor_4x4 = vp9_h_predictor_4x4_ssse3; |
| 395 | 392 |
| 396 | 393 |
| 397 | 394 |
| 398 | 395 |
| 399 | 396 |
| 400 | 397 |
| 401 | 398 |
| 402 | 399 |
| 403 | 400 |
| 404 | 401 |
| 405 | 402 |
| 403 vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_c; |
| 404 if (flags & HAS_SSSE3) vp9_d45_predictor_8x8 = vp9_d45_predictor_8x8_ssse3; |
| 406 | 405 |
| 407 | 406 |
| 408 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; | 407 vp9_h_predictor_8x8 = vp9_h_predictor_8x8_c; |
| 409 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; | 408 if (flags & HAS_SSSE3) vp9_h_predictor_8x8 = vp9_h_predictor_8x8_ssse3; |
| 410 | 409 |
| 411 | 410 |
| 412 | 411 |
| 413 | 412 |
| 414 | 413 |
| 415 | 414 |
| 416 | 415 |
| 417 | 416 |
| 418 | 417 |
| 419 | 418 |
| 420 | 419 |
| 420 vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_c; |
| 421 if (flags & HAS_SSSE3) vp9_d45_predictor_16x16 = vp9_d45_predictor_16x16_sss
e3; |
| 421 | 422 |
| 422 | 423 |
| 423 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; | 424 vp9_h_predictor_16x16 = vp9_h_predictor_16x16_c; |
| 424 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; | 425 if (flags & HAS_SSSE3) vp9_h_predictor_16x16 = vp9_h_predictor_16x16_ssse3; |
| 425 | 426 |
| 426 | 427 |
| 427 | 428 |
| 428 | 429 |
| 429 | 430 |
| 430 | 431 |
| 431 | 432 |
| 432 | 433 |
| 433 | 434 |
| 434 | 435 |
| 435 | 436 |
| 437 vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_c; |
| 438 if (flags & HAS_SSSE3) vp9_d45_predictor_32x32 = vp9_d45_predictor_32x32_sss
e3; |
| 439 |
| 440 |
| 441 |
| 436 | 442 |
| 437 | 443 |
| 438 vp9_h_predictor_32x32 = vp9_h_predictor_32x32_c; | |
| 439 if (flags & HAS_SSSE3) vp9_h_predictor_32x32 = vp9_h_predictor_32x32_ssse3; | |
| 440 | |
| 441 | |
| 442 | |
| 443 | 444 |
| 444 | 445 |
| 445 | 446 |
| 446 | 447 |
| 447 | 448 |
| 448 | 449 |
| 449 | 450 |
| 450 | 451 |
| 451 | 452 |
| 452 | 453 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 478 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; | 479 if (flags & HAS_SSSE3) vp9_convolve8_avg = vp9_convolve8_avg_ssse3; |
| 479 | 480 |
| 480 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; | 481 vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_c; |
| 481 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; | 482 if (flags & HAS_SSSE3) vp9_convolve8_avg_horiz = vp9_convolve8_avg_horiz_sss
e3; |
| 482 | 483 |
| 483 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; | 484 vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_c; |
| 484 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; | 485 if (flags & HAS_SSSE3) vp9_convolve8_avg_vert = vp9_convolve8_avg_vert_ssse3
; |
| 485 } | 486 } |
| 486 #endif | 487 #endif |
| 487 #endif | 488 #endif |
| OLD | NEW |