VideoFormat.getPalette

const(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.

Parameters

formata #GstVideoFormat
sizesize of the palette in bytes

Returns

the default palette of format or null when

format does not have a palette.