1 ;******************************************************************************
2 ;* SIMD-optimized halfpel functions
4 ;* This file is part of Libav.
6 ;* Libav is free software; you can redistribute it and/or
7 ;* modify it under the terms of the GNU Lesser General Public
8 ;* License as published by the Free Software Foundation; either
9 ;* version 2.1 of the License, or (at your option) any later version.
11 ;* Libav is distributed in the hope that it will be useful,
12 ;* but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 ;* Lesser General Public License for more details.
16 ;* You should have received a copy of the GNU Lesser General Public
17 ;* License along with Libav; if not, write to the Free Software
18 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 ;******************************************************************************
21 %include "libavutil/x86/x86util.asm"
28 ; void ff_put_pixels8_x2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
29 %macro PUT_PIXELS8_X2 0
30 cglobal put_pixels8_x2, 4,5
60 ; void ff_put_pixels16_x2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
61 %macro PUT_PIXELS_16 0
62 cglobal put_pixels16_x2, 4,5
104 ; void ff_put_no_rnd_pixels8_x2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
105 %macro PUT_NO_RND_PIXELS8_X2 0
106 cglobal put_no_rnd_pixels8_x2, 4,5
140 PUT_NO_RND_PIXELS8_X2
142 PUT_NO_RND_PIXELS8_X2
145 ; void ff_put_pixels8_y2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
146 %macro PUT_PIXELS8_Y2 0
147 cglobal put_pixels8_y2, 4,5
179 ; void ff_put_no_rnd_pixels8_y2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
180 %macro PUT_NO_RND_PIXELS8_Y2 0
181 cglobal put_no_rnd_pixels8_y2, 4,5
211 PUT_NO_RND_PIXELS8_Y2
213 PUT_NO_RND_PIXELS8_Y2
216 ; void ff_avg_pixels8(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
218 cglobal avg_pixels8, 4,5
246 ; void ff_avg_pixels8_x2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
247 %macro AVG_PIXELS8_X2 0
248 cglobal avg_pixels8_x2, 4,5
282 ; void ff_avg_pixels8_y2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
283 %macro AVG_PIXELS8_Y2 0
284 cglobal avg_pixels8_y2, 4,5
324 ; void ff_avg_pixels8_xy2(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
325 %macro AVG_PIXELS8_XY2 0
326 cglobal avg_pixels8_xy2, 4,5