Commit b8d39d75 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: libmpeg2 simplistic NEON acceleration for motion compensation

Those are highly incomplete, especially as they aren't unrolled.
But it already decreases libmpeg2 CPU usage by 20%.
parent a282f146
...@@ -543,6 +543,8 @@ libmpeg2-$(LIBMPEG2_VERSION).tar.gz: ...@@ -543,6 +543,8 @@ libmpeg2-$(LIBMPEG2_VERSION).tar.gz:
libmpeg2: libmpeg2-$(LIBMPEG2_VERSION).tar.gz libmpeg2: libmpeg2-$(LIBMPEG2_VERSION).tar.gz
$(EXTRACT_GZ) $(EXTRACT_GZ)
cd libmpeg2 && patch -p0 < ../Patches/libmpeg2-mc-neon.patch
cd libmpeg2 && ./bootstrap
.mpeg2: libmpeg2 .mpeg2: libmpeg2
(cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --without-x --disable-sdl && cd libmpeg2 && make && make install && cd ../include && make && make install) (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --without-x --disable-sdl && cd libmpeg2 && make && make install && cd ../include && make && make install)
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment