1 ;******************************************************************************
2 ;* x86 optimized Format Conversion Utils
3 ;* Copyright (c) 2008 Loren Merritt
5 ;* This file is part of Libav.
7 ;* Libav is free software; you can redistribute it and/or
8 ;* modify it under the terms of the GNU Lesser General Public
9 ;* License as published by the Free Software Foundation; either
10 ;* version 2.1 of the License, or (at your option) any later version.
12 ;* Libav is distributed in the hope that it will be useful,
13 ;* but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 ;* Lesser General Public License for more details.
17 ;* You should have received a copy of the GNU Lesser General Public
18 ;* License along with Libav; if not, write to the Free Software
19 ;* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 ;******************************************************************************
23 %include "x86util.asm"
27 ;-----------------------------------------------------------------------------
28 ; void ff_conv_fltp_to_flt_6ch(float *dst, float *const *src, int len,
30 ;-----------------------------------------------------------------------------
32 %macro CONV_FLTP_TO_FLT_6CH 0
33 cglobal conv_fltp_to_flt_6ch, 2,8,7, dst, src, src1, src2, src3, src4, src5, len
37 %define lend dword r2m
39 mov src1q, [srcq+1*gprsize]
40 mov src2q, [srcq+2*gprsize]
41 mov src3q, [srcq+3*gprsize]
42 mov src4q, [srcq+4*gprsize]
43 mov src5q, [srcq+5*gprsize]
78 SBUTTERFLY dq, 0, 1, 6
79 SBUTTERFLY dq, 2, 3, 6
80 SBUTTERFLY dq, 4, 5, 6