FFmpeg
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:5954
void ff_hv_mc_qpel_aver_v_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6205
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:6465
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:6306
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:6104
void ff_hv_mc_qpel_aver_hv_src01_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6186
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:6259
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:6266
void ff_hv_mc_qpel_aver_hv_src00_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6119
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:6038
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:6444
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:6355
void ff_horiz_mc_qpel_aver_src1_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5897
void ff_hv_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6168
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:5980
void ff_vert_mc_qpel_no_rnd_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6045
void ff_avg_width16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5949
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:6231
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:6031
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:6341
void ff_hv_mc_qpel_no_rnd_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6410
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:6376
#define src
Definition: vp8dsp.c:254
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:6245
void ff_vert_mc_qpel_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6007
void ff_vert_mc_qpel_avg_dst_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6085
void ff_hv_mc_qpel_aver_h_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6156
void ff_copy_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5854
void ff_hv_mc_qpel_aver_v_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6125
void ff_hv_mc_qpel_aver_h_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6180
void ff_horiz_mc_qpel_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5878
void ff_copy_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5859
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:5974
void ff_hv_mc_qpel_avg_dst_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6280
void ff_vert_mc_qpel_aver_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5995
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:6224
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:5937
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:6299
void ff_horiz_mc_qpel_no_rnd_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5918
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:6078
void ff_horiz_mc_qpel_aver_src1_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5890
void ff_hv_mc_qpel_aver_h_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6174
void ff_vert_mc_qpel_no_rnd_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6051
void ff_horiz_mc_qpel_avg_dst_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5968
void ff_hv_mc_qpel_aver_hv_src11_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6218
void ff_vert_mc_qpel_aver_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6025
void ff_hv_mc_qpel_aver_v_src1_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6199
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:6273
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:6390
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:6238
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:6437
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:5911
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:5961
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:6348
void ff_hv_mc_qpel_aver_hv_src10_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6137
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:6071
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:6327
void ff_vert_mc_qpel_aver_src1_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6019
void ff_hv_mc_qpel_aver_hv_src01_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6193
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:6064
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:6383
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:6458
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:6292
void ff_horiz_mc_qpel_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5884
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:5987
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:6369
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:6362
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:6397
void ff_hv_mc_qpel_aver_hv_src11_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6211
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:6416
void ff_hv_mc_qpel_aver_hv_src00_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6112
void ff_vert_mc_qpel_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6013
void ff_horiz_mc_qpel_aver_src0_8width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5864
void ff_horiz_mc_qpel_aver_src0_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5871
void ff_vert_mc_qpel_aver_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6001
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:6451
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:6334
void ff_hv_mc_qpel_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6162
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:104
void ff_hv_mc_qpel_avg_dst_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6286
void ff_hv_mc_qpel_aver_h_src0_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6150
void ff_avg_width8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5944
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:6313
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:6057
void ff_hv_mc_qpel_aver_hv_src10_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6144
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:6252
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:5904
void ff_vert_mc_qpel_avg_dst_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6091
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:6320
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:6430
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:6423
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:6097
void ff_hv_mc_qpel_no_rnd_16x16_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6404
void ff_horiz_mc_qpel_no_rnd_16width_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:5924
void ff_hv_mc_qpel_aver_v_src0_8x8_msa(uint8_t *dst, const uint8_t *src, ptrdiff_t stride)
Definition: qpeldsp_msa.c:6131
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:5930