From ae116cd3ed908d28b69d5198712217ec743d74f6 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 29 Jan 2014 16:06:28 -0800 Subject: ppc: dsputil: Move hpeldsp-related declarations to a separate header --- libavcodec/ppc/hpeldsp_altivec.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 libavcodec/ppc/hpeldsp_altivec.h (limited to 'libavcodec/ppc/hpeldsp_altivec.h') diff --git a/libavcodec/ppc/hpeldsp_altivec.h b/libavcodec/ppc/hpeldsp_altivec.h new file mode 100644 index 0000000000..98dd80ea1c --- /dev/null +++ b/libavcodec/ppc/hpeldsp_altivec.h @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2002 Brian Foley + * Copyright (c) 2002 Dieter Shirley + * Copyright (c) 2003-2004 Romain Dolbeau + * + * This file is part of Libav. + * + * Libav is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Libav is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_PPC_HPELDSP_ALTIVEC_H +#define AVCODEC_PPC_HPELDSP_ALTIVEC_H + +#include +#include + +void ff_avg_pixels16_altivec(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); +void ff_put_pixels16_altivec(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); + +#endif /* AVCODEC_PPC_HPELDSP_ALTIVEC_H */ -- cgit v1.2.3