VideoFormat.getPalette

Get the default palette of format. This the palette used in the pack function for paletted formats.

struct VideoFormat
static
const(void)*
getPalette

Parameters

format gstvideo.types.VideoFormat

a #GstVideoFormat

size size_t

size of the palette in bytes

Return Value

Type: const(void)*

the default palette of format or null when format does not have a palette.