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

Side by Side Diff: services/shape_detection/detection_utils_mac.h

Issue 2655303005: Shape detection service: Add QR detection in Mac (Closed)
Patch Set: Don't init explicitly a vector of vectors Created 3 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
(Empty)
1 // Copyright 2017 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 SERVICES_SHAPE_DETECTION_DETECTION_UTILS_MAC_H_
6 #define SERVICES_SHAPE_DETECTION_DETECTION_UTILS_MAC_H_
7
8 #import <QuartzCore/QuartzCore.h>
9
10 #include "base/mac/scoped_nsobject.h"
11 #include "services/shape_detection/public/interfaces/barcodedetection.mojom.h"
12
13 namespace shape_detection {
14
15 // Takes a ScopedSharedBufferHandle with dimensions and produces a new CIImage
16 // with the same contents, or a null scoped_nsobject is something goes wrong.
17 base::scoped_nsobject<CIImage> CreateCIImageFromSharedMemory(
18 mojo::ScopedSharedBufferHandle frame_data,
19 uint32_t width,
20 uint32_t height);
21
22 } // namespace shape_detection
23
24 #endif // SERVICES_SHAPE_DETECTION_DETECTION_UTILS_MAC_H_
OLDNEW
« no previous file with comments | « services/shape_detection/barcode_detection_impl_mac.mm ('k') | services/shape_detection/detection_utils_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698