示例#1
0
 public static extern int WebPPictureHasTransparency(ref WebPPicture picture);
示例#2
0
 public static extern int WebPPictureYUVAToARGB(ref WebPPicture picture);
示例#3
0
 public static extern void WebPCleanupTransparentArea(ref WebPPicture picture);
示例#4
0
 public static extern int WebPPictureImportBGRX(ref WebPPicture picture, [InAttribute()] IntPtr bgrx, int bgrx_stride);
示例#5
0
 public static extern int WebPPictureARGBToYUVA(ref WebPPicture picture, WebPEncCSP colorspace);
示例#6
0
 public static extern int WebPPictureInitInternal(ref WebPPicture param0, int param1);
示例#7
0
 public static extern int WebPPictureImportRGBX(ref WebPPicture picture, [InAttribute()] IntPtr rgbx, int rgbx_stride);
示例#8
0
 public static extern int WebPPictureView(ref WebPPicture src, int left, int top, int width, int height, ref WebPPicture dst);
示例#9
0
 public static extern int WebPPictureIsView(ref WebPPicture picture);
示例#10
0
 public static extern int WebPPictureDistortion(ref WebPPicture src, ref WebPPicture reference, int metric_type, ref float result);
示例#11
0
 public static extern int WebPPictureCrop(ref WebPPicture picture, int left, int top, int width, int height);
示例#12
0
 public static extern int WebPPictureCopy(ref WebPPicture src, ref WebPPicture dst);
示例#13
0
 public static extern void WebPPictureFree(ref WebPPicture picture);
示例#14
0
 public static extern int WebPPictureAlloc(ref WebPPicture picture);
示例#15
0
 public static extern int WebPEncode(ref WebPConfig config, ref WebPPicture picture);
示例#16
0
 public static extern int WebPPictureRescale(ref WebPPicture pic, int width, int height);
示例#17
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(Decode.WebPPictureInitInternal(ref picture, WEBP_ENCODER_ABI_VERSION));
 }
示例#18
0
 public static extern int WebPMemoryWrite([InAttribute()] IntPtr data, UIntPtr data_size, ref WebPPicture picture);