FFmpeg  4.0
hpeldsp_init_armv6.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009 Mans Rullgard <mans@mansr.com>
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg 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.
10  *
11  * FFmpeg 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.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #include <stddef.h>
22 #include <stdint.h>
23 
24 #include "libavutil/attributes.h"
25 #include "hpeldsp_arm.h"
26 
27 void ff_put_pixels16_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
28 void ff_put_pixels16_x2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
29 void ff_put_pixels16_y2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
30 
31 void ff_put_pixels16_x2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
32 void ff_put_pixels16_y2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
33 
34 void ff_avg_pixels16_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
35 
36 void ff_put_pixels8_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
37 void ff_put_pixels8_x2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
38 void ff_put_pixels8_y2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
39 
40 void ff_put_pixels8_x2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
41 void ff_put_pixels8_y2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
42 
43 void ff_avg_pixels8_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int);
44 
46 {
50 /* c->put_pixels_tab[0][3] = ff_put_pixels16_xy2_armv6; */
54 /* c->put_pixels_tab[1][3] = ff_put_pixels8_xy2_armv6; */
55 
59 /* c->put_no_rnd_pixels_tab[0][3] = ff_put_pixels16_xy2_no_rnd_armv6; */
63 /* c->put_no_rnd_pixels_tab[1][3] = ff_put_pixels8_xy2_no_rnd_armv6; */
64 
67 }
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_x2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
Macro definitions for various function/variable attributes.
void ff_put_pixels16_y2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_x2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
uint8_t
#define av_cold
Definition: attributes.h:82
void ff_avg_pixels8_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_y2_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
static int flags
Definition: log.c:55
void ff_put_pixels16_y2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels16_x2_no_rnd_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_put_pixels8_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
Half-pel DSP context.
Definition: hpeldsp.h:45
av_cold void ff_hpeldsp_init_armv6(HpelDSPContext *c, int flags)
void ff_put_pixels16_x2_armv6(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_y2_no_rnd_armv6(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:82
static double c[64]
void ff_put_pixels16_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)
void ff_avg_pixels16_armv6(uint8_t *, const uint8_t *, ptrdiff_t, int)