| OLD | NEW |
| 1 | |
| 2 /* | 1 /* |
| 3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
| 4 * | 3 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 7 */ | 6 */ |
| 8 #include "SkDither.h" | 7 #include "SkDither.h" |
| 9 | 8 |
| 10 /* The base dither matrix we use to derive optimized ones for 565 and 4444 | 9 /* The base dither matrix we use to derive optimized ones for 565 and 4444 |
| 11 | 10 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 | 45 |
| 47 const uint16_t gDitherMatrix_4Bit_16[4] = { | 46 const uint16_t gDitherMatrix_4Bit_16[4] = { |
| 48 0xA280, 0x6E4C, 0x91B3, 0x5D7F | 47 0xA280, 0x6E4C, 0x91B3, 0x5D7F |
| 49 }; | 48 }; |
| 50 | 49 |
| 51 const uint16_t gDitherMatrix_3Bit_16[4] = { | 50 const uint16_t gDitherMatrix_3Bit_16[4] = { |
| 52 0x5140, 0x3726, 0x4051, 0x2637 | 51 0x5140, 0x3726, 0x4051, 0x2637 |
| 53 }; | 52 }; |
| 54 | 53 |
| 55 #endif | 54 #endif |
| OLD | NEW |