File: libwebp.vapi

package info (click to toggle)
shotwell 0.32.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 57,512 kB
  • sloc: xml: 55,555; cpp: 354; ansic: 157; python: 130; sh: 46; makefile: 12
file content (15 lines) | stat: -rw-r--r-- 542 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[CCode (cheader_filename = "webp/decode.h")]
namespace WebP {
    public struct BitstreamFeatures {
        int width;
        int height;
        bool has_alpha;
        bool has_animation;
        int format;
    }
    [CCode (array_length = false, cname="WebPDecodeRGBA")]
    public static uint8[] DecodeRGBA([CCode (array_length_pos=1.1)]uint8[] data, out int width, out int height);

    [CCode (cname = "WebPGetFeatures")]
    public static int GetFeatures([CCode (array_length_pos=1.1)]uint8[] data, out BitstreamFeatures featues);
}