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

Unified Diff: src/codec/SkMaskSwizzler.h

Issue 1012873002: Revert "Implementation of image decoding for bmp files, in accordance with the new API." (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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 | « src/codec/SkCodec_libpng.cpp ('k') | src/codec/SkMaskSwizzler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/codec/SkMaskSwizzler.h
diff --git a/src/codec/SkMaskSwizzler.h b/src/codec/SkMaskSwizzler.h
deleted file mode 100644
index 9351f0228ba2a771e418a768752ed71b1bbf750b..0000000000000000000000000000000000000000
--- a/src/codec/SkMaskSwizzler.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- * Copyright 2015 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkMasks.h"
-#include "SkSwizzler.h"
-#include "SkTypes.h"
-
-/*
- *
- * Used to swizzle images whose pixel components are extracted by bit masks
- * Currently only used by bmp
- *
- */
-class SkMaskSwizzler {
-public:
-
- /*
- *
- * Create a new swizzler
- * @param masks Unowned pointer to helper class
- *
- */
- static SkMaskSwizzler* CreateMaskSwizzler(const SkImageInfo& imageInfo,
- SkMasks* masks,
- uint32_t bitsPerPixel);
-
- /*
- *
- * Swizzle the next row
- *
- */
- SkSwizzler::ResultAlpha next(void* dst, const uint8_t* src);
-
-private:
-
- /*
- *
- * Row procedure used for swizzle
- *
- */
- typedef SkSwizzler::ResultAlpha (*RowProc)(
- void* dstRow, const uint8_t* srcRow, int width,
- SkMasks* masks);
-
- /*
- *
- * Constructor for mask swizzler
- *
- */
- SkMaskSwizzler(const SkImageInfo& info, SkMasks* masks, RowProc proc);
-
- // Fields
- const SkImageInfo& fImageInfo;
- SkMasks* fMasks; // unowned
- const RowProc fRowProc;
-};
« no previous file with comments | « src/codec/SkCodec_libpng.cpp ('k') | src/codec/SkMaskSwizzler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698