Enumeration (GI Enum)

Meta-18MetaMultiTextureFormat

A representation for complex pixel formats

Some pixel formats that are used in the wild are a bit more complex than just ARGB and all its variants. For example: a component might be put in a different plane (i.e. at a different place in memory). Another example are formats that use Y, U, and V components rather than RGB; if we composite them onto an RGBA framebuffer, we have to make sure for example that these get converted to the right color format first (using e.g. a shader).

Index
META_MULTI_TEXTURE_FORMAT_INVALID: 0

Invalid value

META_MULTI_TEXTURE_FORMAT_NV12: 6

2 planes: 1 Y-plane, 1 UV-plane (2x2 subsampled)

META_MULTI_TEXTURE_FORMAT_NV16: 8
META_MULTI_TEXTURE_FORMAT_NV21: 7
META_MULTI_TEXTURE_FORMAT_NV24: 10
META_MULTI_TEXTURE_FORMAT_NV42: 11
META_MULTI_TEXTURE_FORMAT_NV61: 9
META_MULTI_TEXTURE_FORMAT_P010: 12
META_MULTI_TEXTURE_FORMAT_P012: 13
META_MULTI_TEXTURE_FORMAT_P016: 14
META_MULTI_TEXTURE_FORMAT_S010: 21
META_MULTI_TEXTURE_FORMAT_S012: 24
META_MULTI_TEXTURE_FORMAT_S016: 27
META_MULTI_TEXTURE_FORMAT_S210: 22
META_MULTI_TEXTURE_FORMAT_S212: 25
META_MULTI_TEXTURE_FORMAT_S216: 28
META_MULTI_TEXTURE_FORMAT_S410: 23
META_MULTI_TEXTURE_FORMAT_S412: 26
META_MULTI_TEXTURE_FORMAT_S416: 29
META_MULTI_TEXTURE_FORMAT_SIMPLE: 1

Any format supported by Cogl (see Cogl.PixelFormat)

META_MULTI_TEXTURE_FORMAT_UYVY: 4
META_MULTI_TEXTURE_FORMAT_VYUY: 5
META_MULTI_TEXTURE_FORMAT_YUV420: 15

3 planes: 1 Y-plane, 1 U-plane (2x2 subsampled), 1 V-plane (2x2 subsampled)

META_MULTI_TEXTURE_FORMAT_YUV422: 17
META_MULTI_TEXTURE_FORMAT_YUV444: 19
META_MULTI_TEXTURE_FORMAT_YUYV: 2

YUYV, 32 bits, 16 bpc (Y), 8 bpc (U & V)

META_MULTI_TEXTURE_FORMAT_YVU420: 16
META_MULTI_TEXTURE_FORMAT_YVU422: 18
META_MULTI_TEXTURE_FORMAT_YVU444: 20
META_MULTI_TEXTURE_FORMAT_YVYU: 3
N_META_MULTI_TEXTURE_FORMATS: 30

Variables

$gtype