There were static functions which built for x86_32, but the simd functions they reference only available for x86_64.
Unified · Split
| @@ -30,6 +30,8 @@ · 29 unmodified lines | ||
| 30 | 30 | #include "libavcodec/vvc/dsp.h" |
| 31 | 31 | #include "libavcodec/x86/h26x/h2656dsp.h" |
| 32 | 32 | |
| 33 | +#if ARCH_X86_64 | |
| 34 | + | |
| 33 | 35 | #define PUT_PROTOTYPE(name, depth, opt) \ |
| 34 | 36 | void ff_vvc_put_ ## name ## _ ## depth ## _##opt(int16_t *dst, const uint8_t *src, ptrdiff_t srcstride, int height, const int8_t *hf, const int8_t *vf, int width); |
| 35 | 37 | |
| @@ -356,6 +358,9 @@ int ff_vvc_sad_avx2(const int16_t *src0, const int16_t *src1, int dx, int dy, in · 320 unmodified lines | ||
| 356 | 358 | #define SAD_INIT() c->inter.sad = ff_vvc_sad_avx2 |
| 357 | 359 | #endif |
| 358 | 360 | |
| 361 | + | |
| 362 | +#endif // ARCH_X86_64 | |
| 363 | + | |
| 359 | 364 | void ff_vvc_dsp_init_x86(VVCDSPContext *const c, const int bd) |
| 360 | 365 | { |
| 361 | 366 | #if ARCH_X86_64 |