OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebM project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "vpx_rtcd.h" | 11 #include "vp8_rtcd.h" |
12 | 12 |
13 #if HAVE_DSPR2 | 13 #if HAVE_DSPR2 |
14 #define CROP_WIDTH 256 | 14 #define CROP_WIDTH 256 |
15 | 15 |
16 /****************************************************************************** | 16 /****************************************************************************** |
17 * Notes: | 17 * Notes: |
18 * | 18 * |
19 * This implementation makes use of 16 bit fixed point version of two multiply | 19 * This implementation makes use of 16 bit fixed point version of two multiply |
20 * constants: | 20 * constants: |
21 * 1. sqrt(2) * cos (pi/8) | 21 * 1. sqrt(2) * cos (pi/8) |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 "sh %[a1], 416(%[mb_dqcoeff]) \n\t" | 360 "sh %[a1], 416(%[mb_dqcoeff]) \n\t" |
361 "sh %[a1], 448(%[mb_dqcoeff]) \n\t" | 361 "sh %[a1], 448(%[mb_dqcoeff]) \n\t" |
362 "sh %[a1], 480(%[mb_dqcoeff]) \n\t" | 362 "sh %[a1], 480(%[mb_dqcoeff]) \n\t" |
363 | 363 |
364 : | 364 : |
365 : [a1] "r" (a1), [mb_dqcoeff] "r" (mb_dqcoeff) | 365 : [a1] "r" (a1), [mb_dqcoeff] "r" (mb_dqcoeff) |
366 ); | 366 ); |
367 } | 367 } |
368 | 368 |
369 #endif | 369 #endif |
OLD | NEW |