Beispiel #1
0
 public static extern int WebPPictureImportBGRX(ref WebPPicture picture, [InAttribute()] IntPtr bgrx, int bgrx_stride);
Beispiel #2
0
 public static extern int WebPPictureView(ref WebPPicture src, int left, int top, int width, int height, ref WebPPicture dst);
Beispiel #3
0
 public static extern int WebPPictureRescale(ref WebPPicture pic, int width, int height);
Beispiel #4
0
 public static extern void WebPPictureFree(ref WebPPicture picture);
Beispiel #5
0
 public static extern int WebPPictureDistortion(ref WebPPicture src, ref WebPPicture reference, int metric_type, ref float result);
Beispiel #6
0
 public static extern int WebPMemoryWrite([InAttribute()] IntPtr data, UIntPtr data_size, ref WebPPicture picture);
Beispiel #7
0
 public static extern int WebPPictureInitInternal(ref WebPPicture param0, int param1);
Beispiel #8
0
 public static extern int WebPPictureCrop(ref WebPPicture picture, int left, int top, int width, int height);
Beispiel #9
0
 public static extern int WebPPictureView(ref WebPPicture src, int left, int top, int width, int height, ref WebPPicture dst);
Beispiel #10
0
 public static extern int WebPPictureCopy(ref WebPPicture src, ref WebPPicture dst);
Beispiel #11
0
 public static extern int WebPPictureDistortion(ref WebPPicture src, ref WebPPicture reference, int metric_type, ref float result);
Beispiel #12
0
 public static extern void WebPPictureFree(ref WebPPicture picture);
Beispiel #13
0
 public static extern int WebPPictureAlloc(ref WebPPicture picture);
Beispiel #14
0
 public static extern int WebPPictureInitInternal(ref WebPPicture param0, int param1);
Beispiel #15
0
 public static extern int WebPPictureYUVAToARGB(ref WebPPicture picture);
Beispiel #16
0
 public static extern int WebPPictureIsView(ref WebPPicture picture);
Beispiel #17
0
 public static extern int WebPPictureHasTransparency(ref WebPPicture picture);
Beispiel #18
0
 public static extern int WebPPictureRescale(ref WebPPicture pic, int width, int height);
Beispiel #19
0
 public static extern int WebPMemoryWrite([InAttribute()] IntPtr data, UIntPtr data_size, ref WebPPicture picture);
Beispiel #20
0
 public static extern int WebPPictureImportRGBX(ref WebPPicture picture, [InAttribute()] IntPtr rgbx, int rgbx_stride);
Beispiel #21
0
 public static extern int WebPPictureAlloc(ref WebPPicture picture);
Beispiel #22
0
 public static extern int WebPPictureImportBGRX(ref WebPPicture picture, [InAttribute()] IntPtr bgrx, int bgrx_stride);
Beispiel #23
0
 public static extern int WebPPictureCopy(ref WebPPicture src, ref WebPPicture dst);
Beispiel #24
0
 public static extern int WebPPictureARGBToYUVA(ref WebPPicture picture, WebPEncCSP colorspace);
Beispiel #25
0
 public static extern int WebPPictureCrop(ref WebPPicture picture, int left, int top, int width, int height);
Beispiel #26
0
 public static extern int WebPPictureYUVAToARGB(ref WebPPicture picture);
Beispiel #27
0
 public static extern int WebPPictureIsView(ref WebPPicture picture);
Beispiel #28
0
 public static extern void WebPCleanupTransparentArea(ref WebPPicture picture);
Beispiel #29
0
 public static extern int WebPPictureImportRGBX(ref WebPPicture picture, [InAttribute()] IntPtr rgbx, int rgbx_stride);
Beispiel #30
0
 public static extern int WebPPictureHasTransparency(ref WebPPicture picture);
Beispiel #31
0
 public static extern int WebPPictureARGBToYUVA(ref WebPPicture picture, WebPEncCSP colorspace);
Beispiel #32
0
 public static extern int WebPEncode(ref WebPConfig config, ref WebPPicture picture);
Beispiel #33
0
 public static extern void WebPCleanupTransparentArea(ref WebPPicture picture);
Beispiel #34
0
 /// <summary>
 /// Should always be called, to initialize the structure. Returns false in case
 /// of version mismatch. WebPPictureInit() must have succeeded before using the
 /// 'picture' object.
 /// Note that, by default, use_argb is false and colorspace is WEBP_YUV420.
 /// </summary>
 /// <param name="picture"></param>
 /// <returns></returns>
 public static int WebPPictureInit(ref WebPPicture picture)
 {
     return NativeMethods.WebPPictureInitInternal(ref picture, WEBP_ENCODER_ABI_VERSION);
 }
Beispiel #35
0
 public static extern int WebPEncode(ref WebPConfig config, ref WebPPicture picture);
Beispiel #36
0
 public static extern int WebPPictureSmartARGBToYUVA(ref WebPPicture picture);