Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Side by Side Diff: source/libvpx/vpx_dsp/mips/loopfilter_masks_dspr2.h

Issue 1339513003: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/libvpx/vpx_dsp/bitreader.c ('k') | source/libvpx/vpx_dsp/vpx_dsp.mk » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « source/libvpx/vpx_dsp/bitreader.c ('k') | source/libvpx/vpx_dsp/vpx_dsp.mk » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698