Class WebpEncoderNativeCalls | Project Tiny | 0.28.0-preview.40
docs.unity3d.com
    Show / Hide Table of Contents

    Class WebpEncoderNativeCalls

    Inheritance
    Object
    WebpEncoderNativeCalls
    Namespace: WebP
    Syntax
    public static class WebpEncoderNativeCalls

    Methods

    WebPConfigInitInternal(ref WebPConfig, WebPPreset, Single, Int32)

    Declaration
    public static int WebPConfigInitInternal(ref WebPConfig config, WebPPreset preset, float quality, int version)
    Parameters
    Type Name Description
    WebPConfig config
    WebPPreset preset
    Single quality
    Int32 version
    Returns
    Type Description
    Int32

    WebPConfigLosslessPreset(ref WebPConfig, Int32)

    Declaration
    public static int WebPConfigLosslessPreset(ref WebPConfig config, int level)
    Parameters
    Type Name Description
    WebPConfig config
    Int32 level
    Returns
    Type Description
    Int32

    WebPEncode(ref WebPConfig, ref WebPPicture)

    Declaration
    public static int WebPEncode(ref WebPConfig config, ref WebPPicture picture)
    Parameters
    Type Name Description
    WebPConfig config
    WebPPicture picture
    Returns
    Type Description
    Int32

    WebPGetEncoderVersion()

    Declaration
    public static int WebPGetEncoderVersion()
    Returns
    Type Description
    Int32

    WebPPictureAlloc(ref WebPPicture)

    Declaration
    public static int WebPPictureAlloc(ref WebPPicture picture)
    Parameters
    Type Name Description
    WebPPicture picture
    Returns
    Type Description
    Int32

    WebPPictureFree(ref WebPPicture)

    Declaration
    public static void WebPPictureFree(ref WebPPicture picture)
    Parameters
    Type Name Description
    WebPPicture picture

    WebPPictureImportRGB(ref WebPPicture, Byte*, Int32)

    Declaration
    public static int WebPPictureImportRGB(ref WebPPicture picture, byte *rgb, int rgb_stride)
    Parameters
    Type Name Description
    WebPPicture picture
    Byte* rgb
    Int32 rgb_stride
    Returns
    Type Description
    Int32

    WebPPictureImportRGBA(ref WebPPicture, Byte*, Int32)

    Declaration
    public static int WebPPictureImportRGBA(ref WebPPicture picture, byte *rgba, int rgba_stride)
    Parameters
    Type Name Description
    WebPPicture picture
    Byte* rgba
    Int32 rgba_stride
    Returns
    Type Description
    Int32

    WebPPictureInitInternal(ref WebPPicture, Int32)

    Declaration
    public static int WebPPictureInitInternal(ref WebPPicture picture, int version)
    Parameters
    Type Name Description
    WebPPicture picture
    Int32 version
    Returns
    Type Description
    Int32

    WebPValidateConfig(ref WebPConfig)

    Declaration
    public static int WebPValidateConfig(ref WebPConfig config)
    Parameters
    Type Name Description
    WebPConfig config
    Returns
    Type Description
    Int32
    In This Article
    • Methods
      • WebPConfigInitInternal(ref WebPConfig, WebPPreset, Single, Int32)
      • WebPConfigLosslessPreset(ref WebPConfig, Int32)
      • WebPEncode(ref WebPConfig, ref WebPPicture)
      • WebPGetEncoderVersion()
      • WebPPictureAlloc(ref WebPPicture)
      • WebPPictureFree(ref WebPPicture)
      • WebPPictureImportRGB(ref WebPPicture, Byte*, Int32)
      • WebPPictureImportRGBA(ref WebPPicture, Byte*, Int32)
      • WebPPictureInitInternal(ref WebPPicture, Int32)
      • WebPValidateConfig(ref WebPConfig)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023