from_fourcc


Description:

public static Format from_fourcc (uint32 fourcc)

Converts a FOURCC value into the corresponding Format.

If the FOURCC cannot be represented by Format, UNKNOWN is returned.

Parameters:

fourcc

a FOURCC value representing raw YUV video

Returns:

the Format describing the FOURCC value