public static PixelFormat.Type getFormat(String name) {
    return PixelFormat.Type.swigToEnum(VideoJNI.PixelFormat_getFormat(name));
  }
public static PixelFormat.Type getFormat(String name) {
    return PixelFormat.Type.swigToEnum(VideoJNI.PixelFormat_getFormat(name));
  }
public static PixelFormat . Type getFormat ( String name ) { return PixelFormat . Type . swigToEnum ( VideoJNI . PixelFormat_getFormat ( name ) ) ; }
Return the pixel format corresponding to name.<br>
<br>
If there is no pixel format with name name, then looks for a<br>
pixel format with the name corresponding to the native endian<br>
format of name.<br>
For example in a little-endian system, first looks for "gray16",<br>
then for "gray16le".<br>
<br>
Finally if no pixel format has been found, returns AV_PIX_FMT_NONE.
Return the pixel format corresponding to name . <br > <br > If there is no pixel format with name name then looks for a<br > pixel format with the name corresponding to the native endian<br > format of name . <br > For example in a little - endian system first looks for gray16 <br > then for gray16le . <br > <br > Finally if no pixel format has been found returns AV_PIX_FMT_NONE .