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

Side by Side Diff: third_party/WebKit/Source/platform/image-encoders/RGBAtoRGB.h

Issue 2878333004: Use SkJpegEncoder in WebKit platform (Closed)
Patch Set: Create instead of Make Created 3 years, 7 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 | « third_party/WebKit/Source/platform/image-encoders/JPEGImageEncoderTest.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef RGBAtoRGB_h
6 #define RGBAtoRGB_h
7
8 // TODO(cavalcantii): use regular macro, see https://crbug.com/673067.
9 #ifdef __ARM_NEON__
10 #include <arm_neon.h>
11 #define RGBAtoRGB RGBAtoRGBNeon
12 #else
13 #define RGBAtoRGB RGBAtoRGBScalar
14 #endif
15
16 #include "platform/PlatformExport.h"
17
18 namespace blink {
19 PLATFORM_EXPORT void RGBAtoRGBScalar(const unsigned char* pixels,
20 unsigned pixel_count,
21 unsigned char* output);
22 #ifdef __ARM_NEON__
23 PLATFORM_EXPORT void RGBAtoRGBNeon(const unsigned char* input,
24 const unsigned pixel_count,
25 unsigned char* output);
26 #endif
27
28 } // namespace blink
29
30 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/image-encoders/JPEGImageEncoderTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698