gstvideo.video_format
Module for [VideoFormat] enum namespace
struct VideoFormat
Types 1
structVideoFormat
Namespace for [VideoFormat] enum
Methods
gstvideo.types.VideoFormat fromFourcc(uint fourcc) static nothrowConverts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, #GST_VIDEO_FORMAT_UNKNOWN is returned.gstvideo.types.VideoFormat fromMasks(int depth, int bpp, int endianness, uint redMask, uint greenMask, uint blueMask, uint alphaMask) static nothrowFind the #GstVideoFormat for the given parameters.gstvideo.types.VideoFormat fromString(string format) static nothrowConvert the format string to its #GstVideoFormat.gstvideo.video_format_info.VideoFormatInfo getInfo(gstvideo.types.VideoFormat format) static nothrowGet the #GstVideoFormatInfo for formatconst(void) * getPalette(gstvideo.types.VideoFormat format, out size_t size) static nothrowGet the default palette of format. This the palette used in the pack function for paletted formats.uint toFourcc(gstvideo.types.VideoFormat format) static nothrowConverts 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) static nothrowReturns a string containing a descriptive name for the #GstVideoFormat if there is one, or NULL otherwise.