diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-29 17:57:10 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-22 17:17:29 +0400 |
commit | 82dd1026cfc1d72b04019185bea4c1c9621ace3f (patch) | |
tree | 50872156bd85c747bb1aa1ad619cbe3cc95de224 /libavcodec/x86/hpeldsp.h | |
parent | ae116cd3ed908d28b69d5198712217ec743d74f6 (diff) |
x86: dsputil: Move hpeldsp-related declarations to a separate header
Diffstat (limited to 'libavcodec/x86/hpeldsp.h')
-rw-r--r-- | libavcodec/x86/hpeldsp.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/libavcodec/x86/hpeldsp.h b/libavcodec/x86/hpeldsp.h new file mode 100644 index 0000000000..47b0b8b825 --- /dev/null +++ b/libavcodec/x86/hpeldsp.h @@ -0,0 +1,38 @@ +/* + * 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_X86_HPELDSP_H +#define AVCODEC_X86_HPELDSP_H + +#include <stddef.h> +#include <stdint.h> + +void ff_avg_pixels8_x2_mmx(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); + +void ff_avg_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); +void ff_avg_pixels16_xy2_mmx(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); + +void ff_put_pixels8_xy2_mmx(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); +void ff_put_pixels16_xy2_mmx(uint8_t *block, const uint8_t *pixels, + ptrdiff_t line_size, int h); + +#endif /* AVCODEC_X86_HPELDSP_H */ |