From 38a175cad5a894467cb7187ad0187db1ae3f89ff Mon Sep 17 00:00:00 2001 From: "Dr.Smile" Date: Fri, 26 Jun 2015 02:14:21 +0300 Subject: Switch to virtual function table Use one pointer to table of functions instead of scattered bunch of function pointers. Different versions of these tables can be constructed in compile time. Also, bitmap memory alignment now depends only on SSE2/AVX2 support and is constant for every width. That simplifies code without noticeable performance penalty. --- libass/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libass/Makefile.am') diff --git a/libass/Makefile.am b/libass/Makefile.am index 31dd9aa..13c533e 100644 --- a/libass/Makefile.am +++ b/libass/Makefile.am @@ -13,9 +13,9 @@ yasm_verbose_0 = @echo " YASM " $@; .asm.lo: $(yasm_verbose)$(LIBTOOL) $(AM_V_lt) --mode=compile $(AS) $(ASFLAGS) -o $@ $< -prefer-non-pic -SRC_INTEL = x86/blend_bitmaps.asm x86/cpuid.asm x86/blend_bitmaps.h x86/cpuid.h -SRC_INTEL64 = x86/be_blur.asm x86/be_blur.h -SRC_INTEL_RASTERIZER = x86/rasterizer.asm x86/rasterizer.h +SRC_INTEL = x86/blend_bitmaps.asm x86/cpuid.asm x86/cpuid.h +SRC_INTEL64 = x86/be_blur.asm +SRC_INTEL_RASTERIZER = x86/rasterizer.asm SRC_RASTERIZER = ass_rasterizer.h ass_rasterizer.c ass_rasterizer_c.c -- cgit v1.2.3