OLD | NEW |
1 /* | 1 /* |
2 * Alpha optimized DSP utils | 2 * Alpha optimized DSP utils |
3 * Copyright (c) 2002 Falk Hueffner <falk@debian.org> | 3 * Copyright (c) 2002 Falk Hueffner <falk@debian.org> |
4 * | 4 * |
5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
6 * | 6 * |
7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
11 * | 11 * |
12 * FFmpeg is distributed in the hope that it will be useful, | 12 * FFmpeg is distributed in the hope that it will be useful, |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Lesser General Public License for more details. | 15 * Lesser General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Lesser General Public | 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 | 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 | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 */ | 20 */ |
21 | 21 |
22 #include "libavcodec/dsputil.h" | 22 #include "libavcodec/dsputil.h" |
| 23 #include "dsputil_alpha.h" |
23 #include "asm.h" | 24 #include "asm.h" |
24 | 25 |
25 void get_pixels_mvi(DCTELEM *restrict block, | 26 void get_pixels_mvi(DCTELEM *restrict block, |
26 const uint8_t *restrict pixels, int line_size) | 27 const uint8_t *restrict pixels, int line_size) |
27 { | 28 { |
28 int h = 8; | 29 int h = 8; |
29 | 30 |
30 do { | 31 do { |
31 uint64_t p; | 32 uint64_t p; |
32 | 33 |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 | 337 |
337 p1_l = np1_l; | 338 p1_l = np1_l; |
338 p1_r = np1_r; | 339 p1_r = np1_r; |
339 p2_l = np2_l; | 340 p2_l = np2_l; |
340 p2_r = np2_r; | 341 p2_r = np2_r; |
341 p2_x = np2_x; | 342 p2_x = np2_x; |
342 } while (--h); | 343 } while (--h); |
343 | 344 |
344 return result; | 345 return result; |
345 } | 346 } |
OLD | NEW |