diff options
Diffstat (limited to 'decoder/LAVVideo/pixconv/pixconv_sse2_templates.h')
-rw-r--r-- | decoder/LAVVideo/pixconv/pixconv_sse2_templates.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h b/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h index 6b913ad8..602b6905 100644 --- a/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h +++ b/decoder/LAVVideo/pixconv/pixconv_sse2_templates.h @@ -97,6 +97,12 @@ #define PIXCONV_LOAD_ALIGNED(reg,src) \ reg = _mm_load_si128((const __m128i *)(src)); /* load (aligned) */ +// Load 128-bit into a register, using streaming memory access +// reg - register to store pixels in +// src - memory pointer of the source +#define PIXCONV_STREAM_LOAD(reg,src) \ + reg = _mm_stream_load_si128((__m128i *)(src)); /* load (streaming) */ + #define PIXCONV_LOAD_PIXEL8_ALIGNED PIXCONV_LOAD_ALIGNED // Put 128-bit into memory, using streaming write |