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

Unified Diff: dm/DM.cpp

Issue 1656543002: NEON for table lookups? (Closed) Base URL: https://skia.googlesource.com/skia.git@index
Patch Set: Inline assembly Created 4 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 | « bench/nanobench.cpp ('k') | src/codec/SkSwizzler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dm/DM.cpp
diff --git a/dm/DM.cpp b/dm/DM.cpp
index d53402e723b6295dc121a2c8bd0358570f2bea23..9b3d14c8bfcfca7048d78e911ed8e0ff9ea738e5 100644
--- a/dm/DM.cpp
+++ b/dm/DM.cpp
@@ -314,11 +314,11 @@ static void push_codec_srcs(Path path) {
// TODO (msarett): Implement scaling tests for SkImageDecoder in order to compare with these
// tests. SkImageDecoder supports downscales by integer factors.
// SkJpegCodec natively supports scaling to: 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875
- const float nativeScales[] = { 0.125f, 0.25f, 0.375f, 0.5f, 0.625f, 0.750f, 0.875f, 1.0f };
+ const float nativeScales[] = { /*0.125f, 0.25f, 0.375f, 0.5f, 0.625f, 0.750f, 0.875f,*/ 1.0f };
- const CodecSrc::Mode nativeModes[] = { CodecSrc::kCodec_Mode, CodecSrc::kCodecZeroInit_Mode,
+ const CodecSrc::Mode nativeModes[] = { CodecSrc::kCodec_Mode, /*CodecSrc::kCodecZeroInit_Mode,
CodecSrc::kScanline_Mode, CodecSrc::kStripe_Mode, CodecSrc::kSubset_Mode,
- CodecSrc::kGen_Mode };
+ CodecSrc::kGen_Mode*/ };
CodecSrc::DstColorType colorTypes[3];
uint32_t numColorTypes;
@@ -380,7 +380,7 @@ static void push_codec_srcs(Path path) {
}
}
- const int sampleSizes[] = { 1, 2, 3, 4, 5, 6, 7, 8 };
+ const int sampleSizes[] = { /*1, 2, 3, 4, 5, 6, 7, 8*/ };
for (int sampleSize : sampleSizes) {
for (uint32_t i = 0; i < numColorTypes; i++) {
@@ -477,7 +477,7 @@ static void push_brd_srcs(Path path) {
// - multiples of 2 which are not divisible by 4 (analogous for 4)
// - larger powers of two, since BRD clients generally use powers of 2
// We will only produce output for the larger sizes on large images.
- const uint32_t sampleSizes[] = { 1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 64 };
+ const uint32_t sampleSizes[] = { /*1, 2, 3, 4, 5, 6, 7, 8, 12, 16, 24, 32, 64*/ };
// We will only test to one backend (8888), but we will test all of the
// color types that we need to decode to on this backend.
« no previous file with comments | « bench/nanobench.cpp ('k') | src/codec/SkSwizzler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698