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