gstvideo.video_format
Module for [VideoFormat] enum namespace
struct VideoFormat
Types 1
structVideoFormat
Namespace for [VideoFormat] enum
Methods
gstvideo.types.VideoFormat fromFourcc(uint fourcc)Converts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, #GSTVIDEOFORMAT_UNKNOWN is returned.gstvideo.types.VideoFormat fromMasks(int depth, int bpp, int endianness, uint redMask, uint greenMask, uint blueMask, uint alphaMask)Find the #GstVideoFormat for the given parameters.gstvideo.types.VideoFormat fromString(string format)Convert the format string to its #GstVideoFormat.gstvideo.video_format_info.VideoFormatInfo getInfo(gstvideo.types.VideoFormat format)Get the #GstVideoFormatInfo for formatconst(void) * getPalette(gstvideo.types.VideoFormat format, out size_t size)Get the default palette of format. This the palette used in the pack function for paletted formats.uint toFourcc(gstvideo.types.VideoFormat format)Converts a #GstVideoFormat value into the corresponding FOURCC. Only a few YUV formats have corresponding FOURCC values. If format has no corresponding FOURCC value, 0 is returned.string toString_(gstvideo.types.VideoFormat format)Returns a string containing a descriptive name for the #GstVideoFormat if there is one, or NULL otherwise.