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

Unified Diff: media/base/simd/convert_yuv_to_rgb_c.cc

Issue 10825108: Remove a bunch of dead fields found by Scythe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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
Index: media/base/simd/convert_yuv_to_rgb_c.cc
diff --git a/media/base/simd/convert_yuv_to_rgb_c.cc b/media/base/simd/convert_yuv_to_rgb_c.cc
index abd7bfcc51e89a6ea087401c5b1a67e02a3f9117..db6e557d28b8e2187f2ff0c89bc0047b25b46fa7 100644
--- a/media/base/simd/convert_yuv_to_rgb_c.cc
+++ b/media/base/simd/convert_yuv_to_rgb_c.cc
@@ -39,11 +39,6 @@ static inline void ConvertYUVToRGB32_C(uint8 y,
(packuswb(a) << 24);
}
-// 16.16 fixed point arithmetic
-const int kFractionBits = 16;
-const int kFractionMax = 1 << kFractionBits;
-const int kFractionMask = ((1 << kFractionBits) - 1);
-
extern "C" {
void ConvertYUVToRGB32Row_C(const uint8* y_buf,

Powered by Google App Engine
This is Rietveld 408576698