diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-09 19:24:45 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-05-09 19:24:45 +0400 |
commit | 1e1e72543f3e54ccd542d55d080dcd16e9245456 (patch) | |
tree | 16ca28eafc7f21d80bef2d6d135c4e9ad2505968 /decoder | |
parent | ed7726af6e24af0b1d2bf0a8ce0999ff6097f5ac (diff) |
Rename macros to be more generic
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 6 |
1 files changed, 4 insertions, 2 deletions
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 |