1 ;************************************************************************
2 ;* VC3/DNxHD SIMD functions
3 ;* Copyright (c) 2007 Baptiste Coudurier <baptiste dot coudurier at smartjog dot com>
4 ;* Copyright (c) 2014 Tiancheng "Timothy" Gu <timothygu99@gmail.com>
6 ;* This file is part of Libav.
8 ;* Libav is free software; you can redistribute it and/or
9 ;* modify it under the terms of the GNU Lesser General Public
10 ;* License as published by the Free Software Foundation; either
11 ;* version 2.1 of the License, or (at your option) any later version.
13 ;* Libav is distributed in the hope that it will be useful,
14 ;* but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 ;* Lesser General Public License for more details.
18 ;* You should have received a copy of the GNU Lesser General Public
19 ;* License along with Libav; if not, write to the Free Software
20 ;* 51, Inc., Foundation Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 ;******************************************************************************
23 %include "libavutil/x86/x86util.asm"
27 ; void get_pixels_8x4_sym_sse2(int16_t *block, const uint8_t *pixels,
28 ; ptrdiff_t line_size)
30 cglobal get_pixels_8x4_sym
, 3,3,5, block
, pixels
, linesize
33 add pixelsq
, linesizeq
35 movq m2
, [pixelsq
+linesizeq
]
36 movq m3
, [pixelsq
+linesizeq
*2]