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