From 1e1e72543f3e54ccd542d55d080dcd16e9245456 Mon Sep 17 00:00:00 2001 From: Hendrik Leppkes Date: Thu, 9 May 2013 17:24:45 +0200 Subject: Rename macros to be more generic --- decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'decoder') diff --git a/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h b/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h index 3adf20ea..124851b0 100644 --- a/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h +++ b/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h @@ -75,12 +75,14 @@ #define PIXCONV_LOAD_PIXEL8(reg,src) \ reg = _mm_loadu_si128((const __m128i *)(src)); /* load (unaligned) */ -// Load 16 8-bit pixels into a register, using aligned memory access +// Load 128-bit into a register, using aligned memory access // reg - register to store pixels in // src - memory pointer of the source -#define PIXCONV_LOAD_PIXEL8_ALIGNED(reg,src) \ +#define PIXCONV_LOAD_ALIGNED(reg,src) \ reg = _mm_load_si128((const __m128i *)(src)); /* load (aligned) */ +#define PIXCONV_LOAD_PIXEL8_ALIGNED PIXCONV_LOAD_ALIGNED + // Load 4 8-bit pixels into the register // reg - register to store pixels in // src - source memory -- cgit v1.2.3