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

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: 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
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.
scroggo 2016/02/22 15:55:03 Do you have a (NYC triaged) bug open for Android?
msarett 2016/02/22 17:38:16 Just opened one. Done.
90 'TURBO_HAS_CROP',
91 ],
92 },],
87 ], 93 ],
88 }, { 94 }, {
89 # RAW codec needs exceptions. Due to that, it is a separate target. Its us age can be 95 # 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. 96 # controlled by skia_codec_decodes_raw flag.
91 'target_name': 'raw_codec', 97 'target_name': 'raw_codec',
92 'product_name': 'raw_codec', 98 'product_name': 'raw_codec',
93 'type': 'static_library', 99 'type': 'static_library',
94 'dependencies': [ 100 'dependencies': [
95 'core.gyp:*', 101 'core.gyp:*',
96 'dng_sdk.gyp:dng_sdk-selector', 102 '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"', { 137 ['skia_os == "ios" or skia_os == "mac"', {
132 'xcode_settings': { 138 'xcode_settings': {
133 'OTHER_CFLAGS': ['-fexceptions'], 139 'OTHER_CFLAGS': ['-fexceptions'],
134 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'], 140 'OTHER_CPLUSPLUSFLAGS': ['-fexceptions'],
135 }, 141 },
136 }], 142 }],
137 ], 143 ],
138 }, 144 },
139 ], 145 ],
140 } 146 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698