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

Unified Diff: source/scale_msa.cc

Issue 2675583002: Fix dspr2 rename changes. Fix unused variables (Closed)
Patch Set: scale unused vars for msa removed Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: source/scale_msa.cc
diff --git a/source/scale_msa.cc b/source/scale_msa.cc
index 8324407be507dd2991ce947e996ef20026fe66c4..4c01241a6611f63bdcda8011ed02ac6e77710dcd 100644
--- a/source/scale_msa.cc
+++ b/source/scale_msa.cc
@@ -223,7 +223,7 @@ void ScaleRowDown2Box_MSA(const uint8_t* src_ptr,
const uint8_t* s = src_ptr;
const uint8_t* t = src_ptr + src_stride;
v16u8 src0, src1, src2, src3, src4, src5, src6, src7, dst0, dst1;
- v8u16 vec0, vec1, vec2, vec3, vec4, vec5, vec6, vec7;
+ v8u16 vec0, vec1, vec2, vec3;
for (x = 0; x < dst_width; x += 32) {
src0 = (v16u8)__msa_ld_b((v16i8*)s, 0);
@@ -521,7 +521,7 @@ void ScaleRowDown38_3_Box_MSA(const uint8_t* src_ptr,
void ScaleAddRow_MSA(const uint8_t* src_ptr, uint16_t* dst_ptr, int src_width) {
int x;
v16u8 src0;
- v8u16 vec0, vec1, dst0, dst1;
+ v8u16 dst0, dst1;
v16i8 zero = {0};
assert(src_width > 0);
« no previous file with comments | « include/libyuv/version.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698