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

Side by Side Diff: gyp/codec.gyp

Issue 1719073002: Use new jpeg_crop_scanlines() API to optimize jpeg subset decodes (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add to assert Created 4 years, 10 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 | « dm/DMSrcSink.cpp ('k') | src/codec/SkCodec.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 # Copyright 2015 Google Inc. 1 # Copyright 2015 Google Inc.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 # Copyright 2015 Google Inc. 5 # Copyright 2015 Google Inc.
6 # 6 #
7 # Use of this source code is governed by a BSD-style license that can be 7 # Use of this source code is governed by a BSD-style license that can be
8 # found in the LICENSE file. 8 # found in the LICENSE file.
9 9
10 # GYP file for codec project. 10 # GYP file for codec project.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 # appropriate version of libjpeg-turbo is present. 77 # appropriate version of libjpeg-turbo is present.
78 'TURBO_HAS_SKIP', 78 'TURBO_HAS_SKIP',
79 'TURBO_HAS_565', 79 'TURBO_HAS_565',
80 ], 80 ],
81 'conditions': [ 81 'conditions': [
82 ['skia_codec_decodes_raw', { 82 ['skia_codec_decodes_raw', {
83 'dependencies': [ 83 'dependencies': [
84 'raw_codec', 84 'raw_codec',
85 ], 85 ],
86 },], 86 },],
87 ['skia_android_framework == 0', {
88 'defines': [
89 # TODO (msarett): Add this optimization to Android.
90 # https://buganizer.corp.google.com/u/0/issues/27290496
91 'TURBO_HAS_CROP',
92 ],
93 },],
87 ], 94 ],
88 }, { 95 }, {
89 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be 96 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be
90 # controlled by skia_codec_decodes_raw flag. 97 # controlled by skia_codec_decodes_raw flag.
91 'target_name': 'raw_codec', 98 'target_name': 'raw_codec',
92 'product_name': 'raw_codec', 99 'product_name': 'raw_codec',
93 'type': 'static_library', 100 'type': 'static_library',
94 'dependencies': [ 101 'dependencies': [
95 'core.gyp:*', 102 'core.gyp:*',
96 'dng_sdk.gyp:dng_sdk-selector', 103 'dng_sdk.gyp:dng_sdk-selector',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 ['skia_os == "ios" or skia_os == "mac"', { 138 ['skia_os == "ios" or skia_os == "mac"', {
132 'xcode_settings': { 139 'xcode_settings': {
133 'OTHER_CFLAGS': ['-fexceptions'], 140 'OTHER_CFLAGS': ['-fexceptions'],
134 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], 141 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
135 }, 142 },
136 }], 143 }],
137 ], 144 ],
138 }, 145 },
139 ], 146 ],
140 } 147 }
OLDNEW
« no previous file with comments | « dm/DMSrcSink.cpp ('k') | src/codec/SkCodec.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698