docs.unity3d.com
    Show / Hide Table of Contents

    Method sad_epu8

    sad_epu8(v128, v128)

    Compute the absolute differences of packed unsigned 8-bit integers in "a" and "b", then horizontally sum each consecutive 8 differences to produce two unsigned 16-bit integers, and pack these unsigned 16-bit integers in the low 16 bits of 64-bit elements in "dst".

    Declaration
    public static v128 sad_epu8(v128 a, v128 b)
    Parameters
    Type Name Description
    v128 a

    Vector a

    v128 b

    Vector b

    Returns
    Type Description
    v128

    Vector

    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