FFmpeg
hpeldsp_mips.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Parag Salasakar (Parag.Salasakar@imgtec.com)
3  * Copyright (c) 2016 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
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 #ifndef AVCODEC_MIPS_HPELDSP_MIPS_H
23 #define AVCODEC_MIPS_HPELDSP_MIPS_H
24 
26 
28  ptrdiff_t line_size, int32_t h);
30  ptrdiff_t line_size, int32_t h);
32  ptrdiff_t line_size, int32_t h);
34  ptrdiff_t line_size, int32_t h);
36  ptrdiff_t line_size, int32_t h);
38  ptrdiff_t line_size, int32_t h);
40  ptrdiff_t line_size, int32_t h);
42  ptrdiff_t line_size, int32_t h);
44  ptrdiff_t line_size, int32_t h);
46  ptrdiff_t line_size, int32_t h);
48  ptrdiff_t line_size, int32_t h);
50  ptrdiff_t line_size, int32_t h);
52  ptrdiff_t line_size, int32_t h);
54  ptrdiff_t line_size, int32_t h);
56  ptrdiff_t line_size, int32_t h);
58  ptrdiff_t line_size, int32_t h);
60  ptrdiff_t line_size, int32_t h);
62  ptrdiff_t line_size, int32_t h);
64  ptrdiff_t line_size, int32_t h);
66  ptrdiff_t line_size, int32_t h);
68  ptrdiff_t line_size, int32_t h);
70  ptrdiff_t line_size, int32_t h);
72  ptrdiff_t line_size, int32_t h);
74  ptrdiff_t line_size, int32_t h);
76  ptrdiff_t line_size, int32_t h);
78  ptrdiff_t line_size, int32_t h);
80  ptrdiff_t line_size, int32_t h);
82  ptrdiff_t line_size, int32_t h);
84  ptrdiff_t line_size, int32_t h);
86  ptrdiff_t line_size, int32_t h);
87 
89  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
90  int h);
92  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
93  int h);
95  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
96  int h);
98  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
99  int h);
100 void ff_avg_pixels8_l2_8_mmi(uint8_t *dst, const uint8_t *src1,
101  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
102  int h);
103 void ff_avg_pixels4_l2_8_mmi(uint8_t *dst, const uint8_t *src1,
104  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
105  int h);
107  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
108  int h);
110  const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2,
111  int h);
112 
114  ptrdiff_t line_size, int32_t h);
116  ptrdiff_t line_size, int32_t h);
118  ptrdiff_t line_size, int32_t h);
120  ptrdiff_t line_size, int32_t h);
122  ptrdiff_t line_size, int32_t h);
124  ptrdiff_t line_size, int32_t h);
126  ptrdiff_t line_size, int32_t h);
128  ptrdiff_t line_size, int32_t h);
130  ptrdiff_t line_size, int32_t h);
132  ptrdiff_t line_size, int32_t h);
134  ptrdiff_t line_size, int32_t h);
136  ptrdiff_t line_size, int32_t h);
138  ptrdiff_t line_size, int32_t h);
140  ptrdiff_t line_size, int32_t h);
142  ptrdiff_t line_size, int32_t h);
144  ptrdiff_t line_size, int32_t h);
146  ptrdiff_t line_size, int32_t h);
148  ptrdiff_t line_size, int32_t h);
150  ptrdiff_t line_size, int32_t h);
152  ptrdiff_t line_size, int32_t h);
154  ptrdiff_t line_size, int32_t h);
156  ptrdiff_t line_size, int32_t h);
158  ptrdiff_t line_size, int32_t h);
160  ptrdiff_t line_size, int32_t h);
162  ptrdiff_t line_size, int32_t h);
164  ptrdiff_t line_size, int32_t h);
166  ptrdiff_t line_size, int32_t h);
168  ptrdiff_t line_size, int32_t h);
170  ptrdiff_t line_size, int32_t h);
172  ptrdiff_t line_size, int32_t h);
173 
174 #endif // #ifndef AVCODEC_MIPS_HPELDSP_MIPS_H
ff_put_pixels16_x2_8_mmi
void ff_put_pixels16_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_xy2_msa
void ff_avg_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_l2_8_mmi
void ff_put_pixels4_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:303
ff_avg_pixels4_x2_msa
void ff_avg_pixels4_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
pixels
int pixels
Definition: avisynth_c.h:390
ff_put_no_rnd_pixels16_x2_msa
void ff_put_no_rnd_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_y2_msa
void ff_put_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_y2_8_mmi
void ff_put_pixels16_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_y2_msa
void ff_put_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_x2_msa
void ff_put_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_y2_msa
void ff_avg_pixels4_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_msa
void ff_avg_pixels4_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_x2_msa
void ff_put_no_rnd_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_8_mmi
void ff_avg_pixels8_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_x2_8_mmi
void ff_avg_pixels16_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_l2_8_mmi
void ff_avg_pixels4_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:486
ff_put_pixels4_xy2_msa
void ff_put_pixels4_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_y2_msa
void ff_put_no_rnd_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_8_mmi
void ff_put_pixels8_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_xy2_8_mmi
void ff_put_pixels16_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_xy2_8_mmi
void ff_avg_pixels16_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_y2_msa
void ff_put_pixels4_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_x2_8_mmi
void ff_avg_pixels4_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_x2_msa
void ff_put_pixels4_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_l2_8_mmi
void ff_put_no_rnd_pixels8_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:656
int32_t
int32_t
Definition: audio_convert.c:194
ff_put_no_rnd_pixels16_y2_8_mmi
void ff_put_no_rnd_pixels16_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_y2_8_mmi
void ff_avg_pixels16_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_x2_8_mmi
void ff_avg_pixels8_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_y2_8_mmi
void ff_put_no_rnd_pixels8_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_xy2_8_mmi
void ff_avg_pixels4_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
bit_depth_template.c
ff_put_pixels16_msa
void ff_put_pixels16_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_x2_msa
void ff_avg_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_y2_8_mmi
void ff_put_pixels8_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_msa
void ff_put_pixels4_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels4_y2_8_mmi
void ff_avg_pixels4_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_l2_8_mmi
void ff_avg_pixels16_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:604
ff_avg_pixels4_xy2_msa
void ff_avg_pixels4_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_x2_8_mmi
void ff_put_pixels4_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels16_xy2_8_mmi
void ff_put_no_rnd_pixels16_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_xy2_8_mmi
void ff_put_no_rnd_pixels8_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
src1
#define src1
Definition: h264pred.c:139
ff_avg_pixels16_y2_msa
void ff_avg_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_xy2_msa
void ff_put_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_xy2_8_mmi
void ff_put_pixels4_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_xy2_msa
void ff_put_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_xy2_msa
void ff_put_no_rnd_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
uint8_t
uint8_t
Definition: audio_convert.c:194
ff_avg_pixels8_l2_8_mmi
void ff_avg_pixels8_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:532
ff_avg_pixels16_8_mmi
void ff_avg_pixels16_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_msa
void ff_avg_pixels8_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels16_x2_8_mmi
void ff_put_no_rnd_pixels16_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels8_x2_8_mmi
void ff_put_no_rnd_pixels8_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels16_msa
void ff_avg_pixels16_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_8_mmi
void ff_put_pixels4_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_x2_8_mmi
void ff_put_pixels8_x2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels4_y2_8_mmi
void ff_put_pixels4_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels16_y2_msa
void ff_put_no_rnd_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_xy2_8_mmi
void ff_put_pixels8_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_y2_msa
void ff_avg_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_x2_msa
void ff_put_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_msa
void ff_put_pixels8_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_y2_8_mmi
void ff_avg_pixels8_y2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels16_8_mmi
void ff_put_pixels16_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_x2_msa
void ff_avg_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
block
The exact code depends on how similar the blocks are and how related they are to the block
Definition: filter_design.txt:207
ff_put_no_rnd_pixels16_xy2_msa
void ff_put_no_rnd_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
h
h
Definition: vp9dsp_template.c:2038
ff_avg_pixels8_xy2_8_mmi
void ff_avg_pixels8_xy2_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_avg_pixels8_xy2_msa
void ff_avg_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_no_rnd_pixels16_l2_8_mmi
void ff_put_no_rnd_pixels16_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
ff_put_pixels16_l2_8_mmi
void ff_put_pixels16_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:407
ff_avg_pixels4_8_mmi
void ff_avg_pixels4_8_mmi(uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int32_t h)
ff_put_pixels8_l2_8_mmi
void ff_put_pixels8_l2_8_mmi(uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
Definition: hpeldsp_mmi.c:346