OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 | 8 |
9 #ifndef SkJpegUtility_codec_DEFINED | 9 #ifndef SkJpegUtility_codec_DEFINED |
10 #define SkJpegUtility_codec_DEFINED | 10 #define SkJpegUtility_codec_DEFINED |
(...skipping 30 matching lines...) Expand all Loading... |
41 SkStream* fStream; // unowned | 41 SkStream* fStream; // unowned |
42 enum { | 42 enum { |
43 // TODO (msarett): Experiment with different buffer sizes. | 43 // TODO (msarett): Experiment with different buffer sizes. |
44 // This size was chosen because it matches SkImageDecoder. | 44 // This size was chosen because it matches SkImageDecoder. |
45 kBufferSize = 1024 | 45 kBufferSize = 1024 |
46 }; | 46 }; |
47 uint8_t fBuffer[kBufferSize]; | 47 uint8_t fBuffer[kBufferSize]; |
48 }; | 48 }; |
49 | 49 |
50 #endif | 50 #endif |
OLD | NEW |