FFmpeg  4.0
qpeldsp_mips.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 Parag Salasakar (Parag.Salasakar@imgtec.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 #ifndef AVCODEC_MIPS_QPELDSP_MIPS_H
22 #define AVCODEC_MIPS_QPELDSP_MIPS_H
23 
24 #include "../mpegvideo.h"
25 
26 void ff_copy_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
27 void ff_copy_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
28 void ff_avg_width8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
29 void ff_avg_width16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
30 
32  ptrdiff_t stride);
34  ptrdiff_t stride);
36  ptrdiff_t stride);
38  ptrdiff_t stride);
40  ptrdiff_t stride);
42  ptrdiff_t stride);
44  const uint8_t *src,
45  ptrdiff_t stride);
47  const uint8_t *src,
48  ptrdiff_t stride);
50  ptrdiff_t stride);
52  ptrdiff_t stride);
54  const uint8_t *src,
55  ptrdiff_t stride);
57  const uint8_t *src,
58  ptrdiff_t stride);
60  const uint8_t *src,
61  ptrdiff_t stride);
63  const uint8_t *src,
64  ptrdiff_t stride);
66  ptrdiff_t stride);
68  ptrdiff_t stride);
70  const uint8_t *src,
71  ptrdiff_t stride);
73  const uint8_t *src,
74  ptrdiff_t stride);
75 
77  ptrdiff_t stride);
79  ptrdiff_t stride);
80 void ff_vert_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src,
81  ptrdiff_t stride);
83  ptrdiff_t stride);
85  ptrdiff_t stride);
87  ptrdiff_t stride);
89  const uint8_t *src,
90  ptrdiff_t stride);
92  const uint8_t *src,
93  ptrdiff_t stride);
95  ptrdiff_t stride);
97  ptrdiff_t stride);
99  const uint8_t *src,
100  ptrdiff_t stride);
102  const uint8_t *src,
103  ptrdiff_t stride);
105  const uint8_t *src,
106  ptrdiff_t stride);
108  const uint8_t *src,
109  ptrdiff_t stride);
111  ptrdiff_t stride);
113  ptrdiff_t stride);
115  const uint8_t *src,
116  ptrdiff_t stride);
118  const uint8_t *src,
119  ptrdiff_t stride);
120 
122  ptrdiff_t stride);
124  ptrdiff_t stride);
126  ptrdiff_t stride);
128  ptrdiff_t stride);
130  ptrdiff_t stride);
132  ptrdiff_t stride);
134  ptrdiff_t stride);
136  ptrdiff_t stride);
137 void ff_hv_mc_qpel_16x16_msa(uint8_t *dst, const uint8_t *src,
138  ptrdiff_t stride);
139 void ff_hv_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride);
141  ptrdiff_t stride);
143  ptrdiff_t stride);
145  ptrdiff_t stride);
147  ptrdiff_t stride);
149  ptrdiff_t stride);
151  ptrdiff_t stride);
153  ptrdiff_t stride);
155  ptrdiff_t stride);
157  const uint8_t *src,
158  ptrdiff_t stride);
160  const uint8_t *src,
161  ptrdiff_t stride);
163  const uint8_t *src,
164  ptrdiff_t stride);
166  const uint8_t *src,
167  ptrdiff_t stride);
169  const uint8_t *src,
170  ptrdiff_t stride);
172  const uint8_t *src,
173  ptrdiff_t stride);
175  const uint8_t *src,
176  ptrdiff_t stride);
178  const uint8_t *src,
179  ptrdiff_t stride);
181  ptrdiff_t stride);
183  ptrdiff_t stride);
185  const uint8_t *src,
186  ptrdiff_t stride);
188  const uint8_t *src,
189  ptrdiff_t stride);
191  const uint8_t *src,
192  ptrdiff_t stride);
194  const uint8_t *src,
195  ptrdiff_t stride);
197  const uint8_t *src,
198  ptrdiff_t stride);
200  const uint8_t *src,
201  ptrdiff_t stride);
203  const uint8_t *src,
204  ptrdiff_t stride);
206  const uint8_t *src,
207  ptrdiff_t stride);
209  const uint8_t *src,
210  ptrdiff_t stride);
212  const uint8_t *src,
213  ptrdiff_t stride);
215  const uint8_t *src,
216  ptrdiff_t stride);
218  const uint8_t *src,
219  ptrdiff_t stride);
221  const uint8_t *src,
222  ptrdiff_t stride);
224  const uint8_t *src,
225  ptrdiff_t stride);
227  const uint8_t *src,
228  ptrdiff_t stride);
230  const uint8_t *src,
231  ptrdiff_t stride);
233  ptrdiff_t stride);
235  ptrdiff_t stride);
237  const uint8_t *src,
238  ptrdiff_t stride);
240  const uint8_t *src,
241  ptrdiff_t stride);
243  const uint8_t *src,
244  ptrdiff_t stride);
246  const uint8_t *src,
247  ptrdiff_t stride);
249  const uint8_t *src,
250  ptrdiff_t stride);
252  const uint8_t *src,
253  ptrdiff_t stride);
255  const uint8_t *src,
256  ptrdiff_t stride);
258  const uint8_t *src,
259  ptrdiff_t stride);
260 
261 #endif // #ifndef AVCODEC_MIPS_QPELDSP_MIPS_H
void ff_horiz_mc_qpel_avg_dst_aver_src0_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6002
void ff_hv_mc_qpel_aver_v_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6253
void ff_hv_mc_qpel_no_rnd_aver_hv_src11_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6513
void ff_hv_mc_qpel_avg_dst_aver_hv_src01_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6354
void ff_vert_mc_qpel_avg_dst_aver_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6152
void ff_hv_mc_qpel_aver_hv_src01_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6234
void ff_hv_mc_qpel_avg_dst_aver_hv_src10_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6307
void ff_hv_mc_qpel_avg_dst_aver_h_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6314
void ff_hv_mc_qpel_aver_hv_src00_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6167
void ff_vert_mc_qpel_no_rnd_aver_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6086
void ff_hv_mc_qpel_no_rnd_aver_v_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6492
void ff_hv_mc_qpel_no_rnd_aver_hv_src00_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6403
void ff_horiz_mc_qpel_aver_src1_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5945
void ff_hv_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6216
void ff_horiz_mc_qpel_avg_dst_aver_src1_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6028
void ff_vert_mc_qpel_no_rnd_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6093
void ff_avg_width16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5997
void ff_hv_mc_qpel_avg_dst_aver_hv_src00_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6279
void ff_vert_mc_qpel_no_rnd_aver_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6079
void ff_hv_mc_qpel_avg_dst_aver_hv_src11_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6389
void ff_hv_mc_qpel_no_rnd_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6458
void ff_hv_mc_qpel_no_rnd_aver_hv_src10_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6424
#define src
Definition: vp8dsp.c:254
int stride
Definition: mace.c:144
void ff_hv_mc_qpel_avg_dst_aver_v_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6293
void ff_vert_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6055
void ff_vert_mc_qpel_avg_dst_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6133
void ff_hv_mc_qpel_aver_h_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6204
void ff_copy_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5902
void ff_hv_mc_qpel_aver_v_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6173
void ff_hv_mc_qpel_aver_h_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6228
void ff_horiz_mc_qpel_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5926
void ff_copy_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5907
uint8_t
void ff_horiz_mc_qpel_avg_dst_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6022
void ff_hv_mc_qpel_avg_dst_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6328
void ff_vert_mc_qpel_aver_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6043
void ff_hv_mc_qpel_avg_dst_aver_hv_src00_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6272
void ff_horiz_mc_qpel_no_rnd_aver_src1_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5985
void ff_hv_mc_qpel_avg_dst_aver_h_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6347
void ff_horiz_mc_qpel_no_rnd_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5966
void ff_vert_mc_qpel_avg_dst_aver_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6126
void ff_horiz_mc_qpel_aver_src1_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5938
void ff_hv_mc_qpel_aver_h_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6222
void ff_vert_mc_qpel_no_rnd_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6099
void ff_horiz_mc_qpel_avg_dst_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6016
void ff_hv_mc_qpel_aver_hv_src11_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6266
void ff_vert_mc_qpel_aver_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6073
void ff_hv_mc_qpel_aver_v_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6247
void ff_hv_mc_qpel_avg_dst_aver_h_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6321
void ff_hv_mc_qpel_no_rnd_aver_h_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6438
void ff_hv_mc_qpel_avg_dst_aver_v_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6286
void ff_hv_mc_qpel_no_rnd_aver_hv_src01_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6485
void ff_horiz_mc_qpel_no_rnd_aver_src0_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5959
void ff_horiz_mc_qpel_avg_dst_aver_src0_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6009
void ff_hv_mc_qpel_no_rnd_aver_hv_src00_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6396
void ff_hv_mc_qpel_aver_hv_src10_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6185
void ff_vert_mc_qpel_avg_dst_aver_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6119
void ff_hv_mc_qpel_avg_dst_aver_v_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6375
void ff_vert_mc_qpel_aver_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6067
void ff_hv_mc_qpel_aver_hv_src01_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6241
void ff_vert_mc_qpel_no_rnd_aver_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6112
void ff_hv_mc_qpel_no_rnd_aver_hv_src10_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6431
void ff_hv_mc_qpel_no_rnd_aver_hv_src11_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6506
void ff_hv_mc_qpel_avg_dst_aver_h_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6340
void ff_horiz_mc_qpel_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5932
void ff_horiz_mc_qpel_avg_dst_aver_src1_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6035
void ff_hv_mc_qpel_no_rnd_aver_v_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6417
void ff_hv_mc_qpel_no_rnd_aver_v_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6410
void ff_hv_mc_qpel_no_rnd_aver_h_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6445
void ff_hv_mc_qpel_aver_hv_src11_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6259
void ff_hv_mc_qpel_no_rnd_aver_h_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6464
void ff_hv_mc_qpel_aver_hv_src00_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6160
void ff_vert_mc_qpel_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6061
void ff_horiz_mc_qpel_aver_src0_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5912
void ff_horiz_mc_qpel_aver_src0_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5919
void ff_vert_mc_qpel_aver_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6049
void ff_hv_mc_qpel_no_rnd_aver_v_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6499
void ff_hv_mc_qpel_avg_dst_aver_hv_src11_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6382
void ff_hv_mc_qpel_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6210
void ff_hv_mc_qpel_avg_dst_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6334
void ff_hv_mc_qpel_aver_h_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6198
void ff_avg_width8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5992
void ff_hv_mc_qpel_avg_dst_aver_hv_src01_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6361
void ff_vert_mc_qpel_no_rnd_aver_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6105
void ff_hv_mc_qpel_aver_hv_src10_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6192
void ff_hv_mc_qpel_avg_dst_aver_hv_src10_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6300
void ff_horiz_mc_qpel_no_rnd_aver_src0_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5952
void ff_vert_mc_qpel_avg_dst_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6139
void ff_hv_mc_qpel_avg_dst_aver_v_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6368
void ff_hv_mc_qpel_no_rnd_aver_hv_src01_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6478
void ff_hv_mc_qpel_no_rnd_aver_h_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6471
void ff_vert_mc_qpel_avg_dst_aver_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6145
void ff_hv_mc_qpel_no_rnd_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6452
void ff_horiz_mc_qpel_no_rnd_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5972
void ff_hv_mc_qpel_aver_v_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6179
void ff_horiz_mc_qpel_no_rnd_aver_src1_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5978