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

Side by Side Diff: include/libyuv/scale_row.h

Issue 1677633002: rename MIPS_DSPR2 to DSPR2 for consistency (Closed) Base URL: https://chromium.googlesource.com/libyuv/libyuv@master
Patch Set: git cl try Created 4 years, 10 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 | « include/libyuv/row.h ('k') | include/libyuv/version.h » ('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 2013 The LibYuv Project Authors. All rights reserved. 2 * Copyright 2013 The LibYuv 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 #define HAS_SCALEROWDOWN2_NEON 83 #define HAS_SCALEROWDOWN2_NEON
84 #define HAS_SCALEROWDOWN34_NEON 84 #define HAS_SCALEROWDOWN34_NEON
85 #define HAS_SCALEROWDOWN38_NEON 85 #define HAS_SCALEROWDOWN38_NEON
86 #define HAS_SCALEROWDOWN4_NEON 86 #define HAS_SCALEROWDOWN4_NEON
87 #define HAS_SCALEARGBFILTERCOLS_NEON 87 #define HAS_SCALEARGBFILTERCOLS_NEON
88 #endif 88 #endif
89 89
90 // The following are available on Mips platforms: 90 // The following are available on Mips platforms:
91 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \ 91 #if !defined(LIBYUV_DISABLE_MIPS) && !defined(__native_client__) && \
92 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2) 92 defined(__mips__) && defined(__mips_dsp) && (__mips_dsp_rev >= 2)
93 #define HAS_SCALEROWDOWN2_MIPS_DSPR2 93 #define HAS_SCALEROWDOWN2_DSPR2
94 #define HAS_SCALEROWDOWN4_MIPS_DSPR2 94 #define HAS_SCALEROWDOWN4_DSPR2
95 #define HAS_SCALEROWDOWN34_MIPS_DSPR2 95 #define HAS_SCALEROWDOWN34_DSPR2
96 #define HAS_SCALEROWDOWN38_MIPS_DSPR2 96 #define HAS_SCALEROWDOWN38_DSPR2
97 #endif 97 #endif
98 98
99 // Scale ARGB vertically with bilinear interpolation. 99 // Scale ARGB vertically with bilinear interpolation.
100 void ScalePlaneVertical(int src_height, 100 void ScalePlaneVertical(int src_height,
101 int dst_width, int dst_height, 101 int dst_width, int dst_height,
102 int src_stride, int dst_stride, 102 int src_stride, int dst_stride,
103 const uint8* src_argb, uint8* dst_argb, 103 const uint8* src_argb, uint8* dst_argb,
104 int x, int y, int dy, 104 int x, int y, int dy,
105 int bpp, enum FilterMode filtering); 105 int bpp, enum FilterMode filtering);
106 106
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 void ScaleAddRow_NEON(const uint8* src_ptr, uint16* dst_ptr, int src_width); 462 void ScaleAddRow_NEON(const uint8* src_ptr, uint16* dst_ptr, int src_width);
463 void ScaleAddRow_Any_NEON(const uint8* src_ptr, uint16* dst_ptr, int src_width); 463 void ScaleAddRow_Any_NEON(const uint8* src_ptr, uint16* dst_ptr, int src_width);
464 464
465 void ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr, 465 void ScaleFilterCols_NEON(uint8* dst_ptr, const uint8* src_ptr,
466 int dst_width, int x, int dx); 466 int dst_width, int x, int dx);
467 467
468 void ScaleFilterCols_Any_NEON(uint8* dst_ptr, const uint8* src_ptr, 468 void ScaleFilterCols_Any_NEON(uint8* dst_ptr, const uint8* src_ptr,
469 int dst_width, int x, int dx); 469 int dst_width, int x, int dx);
470 470
471 471
472 void ScaleRowDown2_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 472 void ScaleRowDown2_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
473 uint8* dst, int dst_width); 473 uint8* dst, int dst_width);
474 void ScaleRowDown2Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 474 void ScaleRowDown2Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
475 uint8* dst, int dst_width); 475 uint8* dst, int dst_width);
476 void ScaleRowDown4_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 476 void ScaleRowDown4_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
477 uint8* dst, int dst_width); 477 uint8* dst, int dst_width);
478 void ScaleRowDown4Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 478 void ScaleRowDown4Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
479 uint8* dst, int dst_width); 479 uint8* dst, int dst_width);
480 void ScaleRowDown34_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 480 void ScaleRowDown34_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
481 uint8* dst, int dst_width); 481 uint8* dst, int dst_width);
482 void ScaleRowDown34_0_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 482 void ScaleRowDown34_0_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
483 uint8* d, int dst_width); 483 uint8* d, int dst_width);
484 void ScaleRowDown34_1_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 484 void ScaleRowDown34_1_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
485 uint8* d, int dst_width); 485 uint8* d, int dst_width);
486 void ScaleRowDown38_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 486 void ScaleRowDown38_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
487 uint8* dst, int dst_width); 487 uint8* dst, int dst_width);
488 void ScaleRowDown38_2_Box_MIPS_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride, 488 void ScaleRowDown38_2_Box_DSPR2(const uint8* src_ptr, ptrdiff_t src_stride,
489 uint8* dst_ptr, int dst_width); 489 uint8* dst_ptr, int dst_width);
490 void ScaleRowDown38_3_Box_MIPS_DSPR2(const uint8* src_ptr, 490 void ScaleRowDown38_3_Box_DSPR2(const uint8* src_ptr,
491 ptrdiff_t src_stride, 491 ptrdiff_t src_stride,
492 uint8* dst_ptr, int dst_width); 492 uint8* dst_ptr, int dst_width);
493 493
494 #ifdef __cplusplus 494 #ifdef __cplusplus
495 } // extern "C" 495 } // extern "C"
496 } // namespace libyuv 496 } // namespace libyuv
497 #endif 497 #endif
498 498
499 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT 499 #endif // INCLUDE_LIBYUV_SCALE_ROW_H_ NOLINT
OLDNEW
« no previous file with comments | « include/libyuv/row.h ('k') | include/libyuv/version.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698