| 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 #include "SkCodec.h" | 8 #include "SkCodec.h" |
| 9 #include "SkImageInfo.h" | 9 #include "SkImageInfo.h" |
| 10 #include "SkStream.h" | 10 #include "SkStream.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 // Only used by the scanline decoder. onStartScanlineDecode() will set | 78 // Only used by the scanline decoder. onStartScanlineDecode() will set |
| 79 // fCurrScanlineCodec to one of the fEmbeddedCodecs, if it can find a | 79 // fCurrScanlineCodec to one of the fEmbeddedCodecs, if it can find a |
| 80 // codec of the appropriate size. We will use fCurrScanlineCodec for | 80 // codec of the appropriate size. We will use fCurrScanlineCodec for |
| 81 // subsequent calls to onGetScanlines() or onSkipScanlines(). | 81 // subsequent calls to onGetScanlines() or onSkipScanlines(). |
| 82 // fCurrScanlineCodec is owned by this class, but should not be an | 82 // fCurrScanlineCodec is owned by this class, but should not be an |
| 83 // SkAutoTDelete. It will be deleted by the destructor of fEmbeddedCodecs. | 83 // SkAutoTDelete. It will be deleted by the destructor of fEmbeddedCodecs. |
| 84 SkCodec* fCurrScanlineCodec; | 84 SkCodec* fCurrScanlineCodec; |
| 85 | 85 |
| 86 typedef SkCodec INHERITED; | 86 typedef SkCodec INHERITED; |
| 87 }; | 87 }; |
| OLD | NEW |