OLD | NEW |
| (Empty) |
1 // Copyright (c) 2012 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 [ | |
6 { | |
7 "namespace": "chromePrivate", | |
8 "nodoc": "true", | |
9 "functions": [ | |
10 { | |
11 "name": "decodeJPEG", | |
12 "description": "Decodes JPEG image array to raw bitmap array", | |
13 "parameters": [ | |
14 { | |
15 "name": "jpeg_image", | |
16 "type": "array", | |
17 "optional": false, | |
18 "description": "The JPEG image bytes array", | |
19 "items": {"type": "number"} | |
20 } | |
21 ], | |
22 "returns": { | |
23 "type": "array", | |
24 "description": "Decoded bitmap RGB array formatted as (B | G << 8 | R
<< 16)", | |
25 "items": {"type": "number"} | |
26 } | |
27 } | |
28 ] | |
29 } | |
30 ] | |
OLD | NEW |