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 .