humble-video-noarch/src/main/java/io/humble/video/PixelFormat.java
public static PixelFormat.Type swapEndianness(PixelFormat.Type pix_fmt) {
    return PixelFormat.Type.swigToEnum(VideoJNI.PixelFormat_swapEndianness(pix_fmt.swigValue()));
  }
public static PixelFormat.Type swapEndianness(PixelFormat.Type pix_fmt) {
    return PixelFormat.Type.swigToEnum(VideoJNI.PixelFormat_swapEndianness(pix_fmt.swigValue()));
  }
Utility function to swap the endianness of a pixel format.<br>
<br>
pix_fmt the pixel format<br>
<br>
@return pixel format with swapped endianness if it exists,<br>
otherwise AV_PIX_FMT_NONE