| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebM project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 |
| (...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 "subu_s.qb %[r_k], %[q0], %[q3] \n\t" | 348 "subu_s.qb %[r_k], %[q0], %[q3] \n\t" |
| 349 "or %[r_k], %[r_k], %[c] \n\t" | 349 "or %[r_k], %[r_k], %[c] \n\t" |
| 350 "cmpgu.lt.qb %[c], %[flat_thresh], %[r_k] \n\t" | 350 "cmpgu.lt.qb %[c], %[flat_thresh], %[r_k] \n\t" |
| 351 "or %[r_flat], %[r_flat], %[c] \n\t" | 351 "or %[r_flat], %[r_flat], %[c] \n\t" |
| 352 "sll %[r_flat], %[r_flat], 24 \n\t" | 352 "sll %[r_flat], %[r_flat], 24 \n\t" |
| 353 "wrdsp %[r_flat] \n\t" | 353 "wrdsp %[r_flat] \n\t" |
| 354 "pick.qb %[flat1], $0, %[ones] \n\t" | 354 "pick.qb %[flat1], $0, %[ones] \n\t" |
| 355 /* flat & flatmask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3) */ | 355 /* flat & flatmask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3) */ |
| 356 "and %[flat1], %[flat3], %[flat1] \n\t" | 356 "and %[flat1], %[flat3], %[flat1] \n\t" |
| 357 | 357 |
| 358 : [c] "=&r" (c), [r_k] "=&r" (r_k), [r] "=&r" (r), | 358 : [c] "=&r" (c), [r_k] "=&r" (r_k), [r] "=&r" (r), |
| 359 [r_flat] "=&r" (r_flat), [flat1] "=&r" (flat1), [flat3] "=&r" (flat3) | 359 [r_flat] "=&r" (r_flat), [flat1] "=&r" (flat1), [flat3] "=&r" (flat3) |
| 360 : [p4] "r" (p4), [p3] "r" (p3), [p2] "r" (p2), | 360 : [p4] "r" (p4), [p3] "r" (p3), [p2] "r" (p2), |
| 361 [p1] "r" (p1), [p0] "r" (p0), [q0] "r" (q0), [q1] "r" (q1), | 361 [p1] "r" (p1), [p0] "r" (p0), [q0] "r" (q0), [q1] "r" (q1), |
| 362 [q2] "r" (q2), [q3] "r" (q3), [q4] "r" (q4), | 362 [q2] "r" (q2), [q3] "r" (q3), [q4] "r" (q4), |
| 363 [flat_thresh] "r" (flat_thresh), [ones] "r" (ones) | 363 [flat_thresh] "r" (flat_thresh), [ones] "r" (ones) |
| 364 ); | 364 ); |
| 365 | 365 |
| 366 *flat2 = flat1; | 366 *flat2 = flat1; |
| 367 } | 367 } |
| 368 #endif // #if HAVE_DSPR2 | 368 #endif // #if HAVE_DSPR2 |
| 369 #ifdef __cplusplus | 369 #ifdef __cplusplus |
| 370 } // extern "C" | 370 } // extern "C" |
| 371 #endif | 371 #endif |
| 372 | 372 |
| 373 #endif // VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MASKS_DSPR2_H_ | 373 #endif // VP9_COMMON_MIPS_DSPR2_VP9_LOOPFILTER_MASKS_DSPR2_H_ |
| OLD | NEW |