humble-video-noarch/src/main/java/io/humble/video/Codec.java
public java.util.Collection<PixelFormat.Type>
  getSupportedVideoPixelFormats()
  {
    java.util.List<PixelFormat.Type> retval =
      new java.util.LinkedList<PixelFormat.Type>();
    int count = getNumSupportedVideoPixelFormats();
    for(int i=0;i<count;i++)
    {
      PixelFormat.Type type = getSupportedVideoPixelFormat(i);
      if (type != null && type != PixelFormat.Type.PIX_FMT_NONE)
        retval.add(type);
    }
    return retval;
  }
public java.util.Collection<PixelFormat.Type>
  getSupportedVideoPixelFormats()
  {
    java.util.List<PixelFormat.Type> retval =
      new java.util.LinkedList<PixelFormat.Type>();
    int count = getNumSupportedVideoPixelFormats();
    for(int i=0;i<count;i++)
    {
      PixelFormat.Type type = getSupportedVideoPixelFormat(i);
      if (type != null && type != PixelFormat.Type.PIX_FMT_NONE)
        retval.add(type);
    }
    return retval;
  }
Returns a list of supported pixel formats this codec can encode
video in.

<p>

Not all codecs support reporting this, in which case the returned list
will be empty.

</p>

@return a list