pixblockdsp, avdct: Add get_pixels_unaligned

Multimedia / FFmpeg - Martin Storsjö [martin.st] - 13 May 2020 10:20 EDT

Use this in vf_spp.c, where the get_pixels operation is done on unaligned source addresses.

Hook up the x86 (mmx and sse) versions of get_pixels to this function pointer, as those implementations seem to support unaligned use.

This fixes fate-filter-spp on armv7.

353aecbb28 pixblockdsp, avdct: Add get_pixels_unaligned
libavcodec/avdct.c | 1 +
libavcodec/avdct.h | 4 ++++
libavcodec/pixblockdsp.c | 2 ++
libavcodec/pixblockdsp.h | 3 +++
libavcodec/x86/pixblockdsp_init.c | 8 ++++++--
libavfilter/vf_spp.c | 2 +-
6 files changed, 17 insertions(+), 3 deletions(-)

  • Share