to_fourcc


Description:

public uint32 to_fourcc ()

Converts a Format value into the corresponding FOURCC.

Only a few YUV formats have corresponding FOURCC values. If format has no corresponding FOURCC value, 0 is returned.

Parameters:

format

a Format video format

Returns:

the FOURCC corresponding to format