FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hpeldsp_init_neon.c
Go to the documentation of this file.
1 /*
2  * ARM NEON optimised DSP functions
3  * Copyright (c) 2008 Mans Rullgard <mans@mansr.com>
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg 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.
11  *
12  * FFmpeg 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.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 
22 #include <stddef.h>
23 #include <stdint.h>
24 
25 #include "libavutil/attributes.h"
26 #include "hpeldsp_arm.h"
27 
28 void ff_put_pixels16_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
29 void ff_put_pixels16_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
30 void ff_put_pixels16_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
31 void ff_put_pixels16_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
32 void ff_put_pixels8_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
33 void ff_put_pixels8_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
34 void ff_put_pixels8_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
35 void ff_put_pixels8_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
36 void ff_put_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
37 void ff_put_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
38 void ff_put_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
39 void ff_put_pixels8_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
40 void ff_put_pixels8_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
41 void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
42 
43 void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
44 void ff_avg_pixels16_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
45 void ff_avg_pixels16_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
46 void ff_avg_pixels16_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
47 void ff_avg_pixels8_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
48 void ff_avg_pixels8_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
49 void ff_avg_pixels8_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
50 void ff_avg_pixels8_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
51 void ff_avg_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
52 void ff_avg_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
53 void ff_avg_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int);
54 
56 {
65 
74 
83 
88 }
void ff_avg_pixels16_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
op_pixels_func avg_pixels_tab[4][4]
Halfpel motion compensation with rounding (a+b+1)>>1.
Definition: hpeldsp.h:68
void ff_put_pixels8_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
Macro definitions for various function/variable attributes.
void ff_avg_pixels8_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
uint8_t
#define av_cold
Definition: attributes.h:74
void ff_put_pixels16_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels8_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
av_cold void ff_hpeldsp_init_neon(HpelDSPContext *c, int flags)
void ff_avg_pixels16_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
Half-pel DSP context.
Definition: hpeldsp.h:45
void ff_avg_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels8_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels16_y2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels16_xy2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels16_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels16_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels8_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels16_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
op_pixels_func put_pixels_tab[4][4]
Halfpel motion compensation with rounding (a+b+1)>>1.
Definition: hpeldsp.h:56
void ff_put_pixels8_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
op_pixels_func put_no_rnd_pixels_tab[4][4]
Halfpel motion compensation with no rounding (a+b)>>1.
Definition: hpeldsp.h:80
void ff_avg_pixels16_x2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
static int flags
Definition: cpu.c:47
void ff_put_pixels16_x2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_xy2_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)
static double c[64]
op_pixels_func avg_no_rnd_pixels_tab[4]
Halfpel motion compensation with no rounding (a+b)>>1.
Definition: hpeldsp.h:92
void ff_put_pixels16_y2_no_rnd_neon(uint8_t *, const uint8_t *, ptrdiff_t, int)