Unified · Split
| @@ -92,54 +92,24 @@ void ff_hevc_idct_8x8_dc_10_neon(int16_t *coeffs); · 91 unmodified lines | |||
| 92 | void ff_hevc_idct_16x16_dc_10_neon(int16_t *coeffs); | 92 | void ff_hevc_idct_16x16_dc_10_neon(int16_t *coeffs); |
| 93 | void ff_hevc_idct_32x32_dc_10_neon(int16_t *coeffs); | 93 | void ff_hevc_idct_32x32_dc_10_neon(int16_t *coeffs); |
| 94 | void ff_hevc_transform_luma_4x4_neon_8(int16_t *coeffs); | 94 | void ff_hevc_transform_luma_4x4_neon_8(int16_t *coeffs); |
| 95 | void ff_hevc_put_hevc_qpel_h4_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 95 | |
| 96 | intptr_t mx, intptr_t my, int width); | 96 | #define NEON8_FNPROTO_PARTIAL_6(fn, args, ext) \ |
| 97 | void ff_hevc_put_hevc_qpel_h6_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 97 | void ff_hevc_put_hevc_##fn##_h4_8_neon##ext args; \ |
| 98 | intptr_t mx, intptr_t my, int width); | 98 | void ff_hevc_put_hevc_##fn##_h6_8_neon##ext args; \ |
| 99 | void ff_hevc_put_hevc_qpel_h8_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 99 | void ff_hevc_put_hevc_##fn##_h8_8_neon##ext args; \ |
| 100 | intptr_t mx, intptr_t my, int width); | 100 | void ff_hevc_put_hevc_##fn##_h12_8_neon##ext args; \ |
| 101 | void ff_hevc_put_hevc_qpel_h12_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 101 | void ff_hevc_put_hevc_##fn##_h16_8_neon##ext args; \ |
| 102 | intptr_t mx, intptr_t my, int width); | 102 | void ff_hevc_put_hevc_##fn##_h32_8_neon##ext args; |
| 103 | void ff_hevc_put_hevc_qpel_h16_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 103 | |
| 104 | intptr_t mx, intptr_t my, int width); | 104 | NEON8_FNPROTO_PARTIAL_6(qpel, (int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, |
| 105 | void ff_hevc_put_hevc_qpel_h32_8_neon(int16_t *dst, const uint8_t *_src, ptrdiff_t _srcstride, int height, | 105 | intptr_t mx, intptr_t my, int width),) |
| 106 | intptr_t mx, intptr_t my, int width); | 106 | |
| 107 | void ff_hevc_put_hevc_qpel_uni_h4_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | 107 | NEON8_FNPROTO_PARTIAL_6(qpel_uni, (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, |
| 108 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my, | 108 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my, int width),) |
| 109 | int width); | 109 | |
| 110 | void ff_hevc_put_hevc_qpel_uni_h6_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | 110 | NEON8_FNPROTO_PARTIAL_6(qpel_bi, (uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, |
| 111 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my, | 111 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t |
| 112 | int width); | 112 | mx, intptr_t my, int width),) |
| 113 | void ff_hevc_put_hevc_qpel_uni_h8_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 114 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my, | ||
| 115 | int width); | ||
| 116 | void ff_hevc_put_hevc_qpel_uni_h12_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 117 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t | ||
| 118 | my, int width); | ||
| 119 | void ff_hevc_put_hevc_qpel_uni_h16_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 120 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t | ||
| 121 | my, int width); | ||
| 122 | void ff_hevc_put_hevc_qpel_uni_h32_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 123 | ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t | ||
| 124 | my, int width); | ||
| 125 | void ff_hevc_put_hevc_qpel_bi_h4_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 126 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 127 | mx, intptr_t my, int width); | ||
| 128 | void ff_hevc_put_hevc_qpel_bi_h6_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 129 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 130 | mx, intptr_t my, int width); | ||
| 131 | void ff_hevc_put_hevc_qpel_bi_h8_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 132 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 133 | mx, intptr_t my, int width); | ||
| 134 | void ff_hevc_put_hevc_qpel_bi_h12_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 135 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 136 | mx, intptr_t my, int width); | ||
| 137 | void ff_hevc_put_hevc_qpel_bi_h16_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 138 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 139 | mx, intptr_t my, int width); | ||
| 140 | void ff_hevc_put_hevc_qpel_bi_h32_8_neon(uint8_t *_dst, ptrdiff_t _dststride, const uint8_t *_src, | ||
| 141 | ptrdiff_t _srcstride, const int16_t *src2, int height, intptr_t | ||
| 142 | mx, intptr_t my, int width); | ||
| 143 | 113 | ||
| 144 | #define NEON8_FNPROTO(fn, args, ext) \ | 114 | #define NEON8_FNPROTO(fn, args, ext) \ |
| 145 | void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \ | 115 | void ff_hevc_put_hevc_##fn##4_8_neon##ext args; \ |