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

Side by Side Diff: src/images/SkJPEGImageEncoder.cpp

Issue 2212473002: SkRTConf: eliminate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: `git grep SK_CONF` now returns nothing Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/gpu/vk/GrVkPipelineStateCache.cpp ('k') | src/images/SkPNGImageEncoder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
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 #include "SkImageEncoder.h" 9 #include "SkImageEncoder.h"
10 #include "SkColorPriv.h" 10 #include "SkColorPriv.h"
11 #include "SkDither.h" 11 #include "SkDither.h"
12 #include "SkStream.h" 12 #include "SkStream.h"
13 #include "SkTemplates.h" 13 #include "SkTemplates.h"
14 #include "SkTime.h" 14 #include "SkTime.h"
15 #include "SkUtils.h" 15 #include "SkUtils.h"
16 #include "SkRTConf.h"
17 #include "SkRect.h" 16 #include "SkRect.h"
18 #include "SkCanvas.h" 17 #include "SkCanvas.h"
19 18
20 19
21 #include <stdio.h> 20 #include <stdio.h>
22 #include "SkJPEGWriteUtility.h" 21 #include "SkJPEGWriteUtility.h"
23 extern "C" { 22 extern "C" {
24 #include "jpeglib.h" 23 #include "jpeglib.h"
25 #include "jerror.h" 24 #include "jerror.h"
26 } 25 }
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 175
177 /////////////////////////////////////////////////////////////////////////////// 176 ///////////////////////////////////////////////////////////////////////////////
178 DEFINE_ENCODER_CREATOR(JPEGImageEncoder); 177 DEFINE_ENCODER_CREATOR(JPEGImageEncoder);
179 /////////////////////////////////////////////////////////////////////////////// 178 ///////////////////////////////////////////////////////////////////////////////
180 179
181 static SkImageEncoder* sk_libjpeg_efactory(SkImageEncoder::Type t) { 180 static SkImageEncoder* sk_libjpeg_efactory(SkImageEncoder::Type t) {
182 return (SkImageEncoder::kJPEG_Type == t) ? new SkJPEGImageEncoder : nullptr; 181 return (SkImageEncoder::kJPEG_Type == t) ? new SkJPEGImageEncoder : nullptr;
183 } 182 }
184 183
185 static SkImageEncoder_EncodeReg gEReg(sk_libjpeg_efactory); 184 static SkImageEncoder_EncodeReg gEReg(sk_libjpeg_efactory);
OLDNEW
« no previous file with comments | « src/gpu/vk/GrVkPipelineStateCache.cpp ('k') | src/images/SkPNGImageEncoder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698